Classes | |
class | TestGuardTask |
Public Member Functions | |
GuardTests () | |
Constructor. More... | |
virtual void | setUp () |
Test initialization. More... | |
int | svc (void) |
Execute thread. More... | |
virtual void | tearDown () |
Test finalization. More... | |
void | test_case0 () |
~GuardTests () | |
Destructor. More... | |
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... | |
Public Attributes | |
coil::Mutex | mtx |
Private Member Functions | |
CPPUNIT_TEST (test_case0) | |
CPPUNIT_TEST_SUITE (GuardTests) | |
CPPUNIT_TEST_SUITE_END () | |
Additional Inherited Members | |
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... | |
Definition at line 42 of file GuardTests.cpp.
|
inline |
Constructor.
Definition at line 99 of file GuardTests.cpp.
|
inline |
Destructor.
Definition at line 107 of file GuardTests.cpp.
|
private |
|
private |
|
private |
|
inlinevirtual |
Test initialization.
Definition at line 114 of file GuardTests.cpp.
|
inlinevirtual |
Execute thread.
Execute thread
Reimplemented from coil::Task.
Definition at line 126 of file GuardTests.cpp.
|
inlinevirtual |
Test finalization.
Definition at line 121 of file GuardTests.cpp.
|
inline |
Definition at line 136 of file GuardTests.cpp.
coil::Mutex Guard::GuardTests::mtx |
Definition at line 53 of file GuardTests.cpp.