![]() |
Advanced Robot Control System
5.1-REV.51SF170515
|
#include <ARCSprint.hh>
静的公開メンバ関数 | |
static void | __PassedLog (const std::string &file, const int line) |
通過確認用ログを残す関数(ファイルと行番号のみ記録版) [詳解] | |
static void | __EventLog (const std::string &str, const std::string &file, const int line) |
イベントログを残す関数 (任意メッセージ記録版) [詳解] | |
static void | __EventLogVar (const double u, const std::string &varname, const std::string &file, const int line) |
変数用イベントログ [詳解] | |
static void | _DebugPrint (const std::string &str) |
文字列用デバッグプリント [詳解] | |
static void | _DebugPrintVar (const double u, const std::string &varname) |
変数用デバッグプリント [詳解] | |
static void | _DebugPrintVarFmt (const double u, const std::string &format, const std::string &varname) |
変数用デバッグプリント [詳解] | |
static void | _DebugPrintMat (const ARCS::Matrix &u, const std::string &varname) |
行列用デバッグプリント [詳解] | |
static void | _InitDebugPrint (void) |
デバッグプリントを初期化する関数 [詳解] | |
static void | _InitEventLog (void) |
イベントログを初期化する関数 [詳解] | |
static void | WriteEventLog (const std::string &str, const std::string &file, const int line) |
イベントログをファイルに書き出す [詳解] | |
静的公開変数類 | |
static WINDOW * | ARCSmainscr = nullptr |
非公開メンバ関数 | |
ARCSprint () | |
~ARCSprint () | |
ARCSprint (const ARCSprint &) | |
const ARCSprint & | operator= (const ARCSprint &) |
静的非公開メンバ関数 | |
static void | IncrementLineCounter (void) |
行カウンタを進める関数 [詳解] | |
static void | ClearLine (void) |
一行を空白で埋めて表示する関数 [詳解] | |
static void | ClearEventLog (void) |
イベントログを空白で埋めて表示する関数 [詳解] | |
static void | ShowEventLog (void) |
イベントログを表示する関数 [詳解] | |
static void | RenewEventLogLines (const std::string &str) |
イベントログの行データを更新する関数 [詳解] | |
static void | LockEventLog (void) |
イベントログ排他ロック [詳解] | |
static void | UnlockEventLog (void) |
イベントログ排他ロック解除 [詳解] | |
static void | LockDebugPrint (void) |
デバッグプリント排他ロック [詳解] | |
static void | UnlockDebugPrint (void) |
デバッグプリント排他ロック解除 [詳解] | |
static std::string | DoubleToString (double u, const std::string &format) |
浮動小数点から文字列へ (std::to_stringだとフォーマット指定できないぽいので仕方なく実装) [詳解] | |
static std::string | GetNowTime (void) |
現在時刻を取得する関数 [詳解] | |
静的非公開変数類 | |
static constexpr unsigned int | LOCKCHECK_TIME = 1000 |
排他ロック確認ポーリング周期 [詳解] | |
static constexpr unsigned int | START_POS_TOP = 6 |
プリント開始上位置 [詳解] | |
static constexpr unsigned int | START_POS_LEFT = 36 |
プリント開始左位置 [詳解] | |
static constexpr unsigned int | NUM_CHARBUFF = 32 |
文字列バッファ数 [詳解] | |
static constexpr unsigned int | EVLOG_LINE1_TOP = 2 |
イベントログの1行目の縦位置 [詳解] | |
static constexpr unsigned int | EVLOG_LINE2_TOP = 3 |
イベントログの2行目の縦位置 [詳解] | |
static constexpr unsigned int | EVLOG_LINE3_TOP = 4 |
イベントログの3行目の縦位置 [詳解] | |
static constexpr unsigned int | EVLOG_LEFT = 68 |
イベントログの横位置 [詳解] | |
static bool | DebugPrintLocked = false |
static unsigned int | ARCSprint_count = 0 |
static std::string | DebugPrintSpace = "" |
static bool | EventLogLocked = false |
static std::string | EventLogSpace = "" |
static std::string | EventLogLine1 = "" |
static std::string | EventLogLine2 = "" |
static std::string | EventLogLine3 = "" |
static std::string | EventtLogFileName |
ARCS printライブラリ
|
private |
|
private |
|
private |
|
static |
イベントログを残す関数 (任意メッセージ記録版)
[in] | str | 記録したいメッセージ |
[in] | file | 記録したいファイル名 |
[in] | line | 記録したい行番号 |
|
static |
変数用イベントログ
[in] | u | 表示する変数 |
[in] | varname | 変数名 |
|
static |
通過確認用ログを残す関数(ファイルと行番号のみ記録版)
[in] | str | 記録したいメッセージ |
[in] | file | 記録したいファイル名 |
[in] | line | 記録したい行番号 |
|
static |
文字列用デバッグプリント
[in] | str | 表示する文字列 |
|
static |
行列用デバッグプリント
[in] | u | 表示する行列 |
[in] | varname | 変数名 |
|
static |
変数用デバッグプリント
[in] | u | 表示する変数 |
[in] | varname | 変数名 |
|
static |
変数用デバッグプリント
[in] | u | 表示する変数 |
[in] | format | 表示形式 (%1.3e とか %5.3f とか printfと同じ) |
[in] | varname | 変数名 |
|
static |
デバッグプリントを初期化する関数
|
static |
イベントログを初期化する関数
|
staticprivate |
イベントログを空白で埋めて表示する関数
|
staticprivate |
一行を空白で埋めて表示する関数
|
staticprivate |
浮動小数点から文字列へ (std::to_stringだとフォーマット指定できないぽいので仕方なく実装)
[in] | u | 浮動小数点数 |
[in] | format | 表示フォーマット (printfと同一の書式) |
|
staticprivate |
現在時刻を取得する関数
|
staticprivate |
行カウンタを進める関数
|
staticprivate |
デバッグプリント排他ロック
|
staticprivate |
イベントログ排他ロック
|
staticprivate |
イベントログの行データを更新する関数
[in] | str | イベントログに新たに追加する文字列 |
|
staticprivate |
イベントログを表示する関数
|
staticprivate |
デバッグプリント排他ロック解除
|
staticprivate |
イベントログ排他ロック解除
|
static |
イベントログをファイルに書き出す
[in] | str | ログに書き残したい文字列 |
[in] | file | ファイル名 |
[in] | line | 行番号 |
|
static |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
イベントログの横位置
|
staticprivate |
イベントログの1行目の縦位置
|
staticprivate |
イベントログの2行目の縦位置
|
staticprivate |
イベントログの3行目の縦位置
|
staticprivate |
排他ロック確認ポーリング周期
|
staticprivate |
文字列バッファ数
|
staticprivate |
プリント開始左位置
|
staticprivate |
プリント開始上位置