Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes | List of all members
Condition::ConditionCheckTask Class Reference

試験用タスク。起動するとwaitして、起こされると生成時に渡された値をConditionStatusに加算する。 More...

Inheritance diagram for Condition::ConditionCheckTask:
Inheritance graph
[legend]

Public Member Functions

 ConditionCheckTask ()
 
 ConditionCheckTask (coil::Mutex &aMutex, coil::Condition< coil::Mutex > &aCondition, int anId)
 
virtual int svc ()
 Execute thread. More...
 
virtual ~ConditionCheckTask ()
 
- Public Member Functions inherited from coil::Task
virtual void activate ()
 Create a thread. More...
 
virtual void activate ()
 Create a thread. More...
 
virtual int close (unsigned long flags=0)
 Task close. More...
 
virtual int close (unsigned long flags=0)
 Task close. More...
 
virtual void finalize ()
 Finalizing the task. More...
 
virtual void finalize ()
 Finalizing the task. More...
 
virtual int open (void *args=0)
 Task open. More...
 
virtual int open (void *args=0)
 Task open. More...
 
virtual void reset ()
 Reset of task count. More...
 
virtual void reset ()
 Reset of task count. More...
 
virtual int resume (void)
 Resuming the suspended task. More...
 
virtual int resume (void)
 Resuming the suspended task. More...
 
virtual int suspend (void)
 Suspending the task. More...
 
virtual int suspend (void)
 Suspending the task. More...
 
 Task ()
 Constructor. More...
 
 Task ()
 Constructor. More...
 
virtual int wait (void)
 Waiting for the thread terminate. More...
 
virtual int wait (void)
 Waiting for the thread terminate. More...
 
virtual ~Task ()
 Destructor. More...
 
virtual ~Task ()
 Destructor. More...
 

Static Public Member Functions

static int getStatus ()
 結果情報のConditionStatusの現在値を返す More...
 
static void resteStatus ()
 結果情報のConditionStatusをクリアする More...
 
- Static Public Member Functions inherited from coil::Task
static void * svc_run (void *args=0)
 Start thread Execution. More...
 
static unsigned int WINAPI svc_run (void *args=0)
 Start thread Execution. More...
 

Private Attributes

coil::Condition< coil::Mutex > * cond
 
int id
 
coil::Mutexmutex
 

Static Private Attributes

static int ConditionStatus
 

Detailed Description

試験用タスク。起動するとwaitして、起こされると生成時に渡された値をConditionStatusに加算する。

Definition at line 62 of file ConditionTests.cpp.

Constructor & Destructor Documentation

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 ( )
inlinevirtual

Definition at line 73 of file ConditionTests.cpp.

Member Function Documentation

static int Condition::ConditionCheckTask::getStatus ( )
inlinestatic

結果情報のConditionStatusの現在値を返す

Definition at line 93 of file ConditionTests.cpp.

static void Condition::ConditionCheckTask::resteStatus ( )
inlinestatic

結果情報のConditionStatusをクリアする

Definition at line 89 of file ConditionTests.cpp.

virtual int Condition::ConditionCheckTask::svc ( void  )
inlinevirtual

Execute thread.

Execute thread

Reimplemented from coil::Task.

Definition at line 77 of file ConditionTests.cpp.

Member Data Documentation

coil::Condition<coil::Mutex>* Condition::ConditionCheckTask::cond
private

Definition at line 97 of file ConditionTests.cpp.

int Condition::ConditionCheckTask::ConditionStatus
staticprivate

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.


The documentation for this class was generated from the following file:


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Jun 10 2019 14:07:59