試験用タスク。起動するとwaitして、起こされると生成時に渡された値をConditionStatusに加算する。 More...
Public Member Functions | |
ConditionCheckTask () | |
ConditionCheckTask (coil::Mutex &aMutex, coil::Condition< coil::Mutex > &aCondition, int anId) | |
virtual int | svc () |
Execute thread. | |
virtual | ~ConditionCheckTask () |
Static Public Member Functions | |
static int | getStatus () |
結果情報のConditionStatusの現在値を返す | |
static void | resteStatus () |
結果情報のConditionStatusをクリアする | |
Private Attributes | |
coil::Condition< coil::Mutex > * | cond |
int | id |
coil::Mutex * | mutex |
Static Private Attributes | |
static int | ConditionStatus |
試験用タスク。起動するとwaitして、起こされると生成時に渡された値をConditionStatusに加算する。
Definition at line 62 of file ConditionTests.cpp.
Condition::ConditionCheckTask::ConditionCheckTask | ( | ) | [inline] |
Definition at line 65 of file ConditionTests.cpp.
Condition::ConditionCheckTask::ConditionCheckTask | ( | coil::Mutex & | aMutex, |
coil::Condition< coil::Mutex > & | aCondition, | ||
int | anId | ||
) | [inline] |
Definition at line 66 of file ConditionTests.cpp.
virtual Condition::ConditionCheckTask::~ConditionCheckTask | ( | ) | [inline, virtual] |
Definition at line 73 of file ConditionTests.cpp.
static int Condition::ConditionCheckTask::getStatus | ( | ) | [inline, static] |
結果情報のConditionStatusの現在値を返す
Definition at line 93 of file ConditionTests.cpp.
static void Condition::ConditionCheckTask::resteStatus | ( | ) | [inline, static] |
結果情報のConditionStatusをクリアする
Definition at line 89 of file ConditionTests.cpp.
virtual int Condition::ConditionCheckTask::svc | ( | void | ) | [inline, virtual] |
Execute thread.
Execute thread
Reimplemented from coil::Task.
Definition at line 77 of file ConditionTests.cpp.
Definition at line 97 of file ConditionTests.cpp.
int Condition::ConditionCheckTask::ConditionStatus [static, private] |
Definition at line 99 of file ConditionTests.cpp.
int Condition::ConditionCheckTask::id [private] |
Definition at line 98 of file ConditionTests.cpp.
coil::Mutex* Condition::ConditionCheckTask::mutex [private] |
Definition at line 96 of file ConditionTests.cpp.