OpenWalnut  1.2.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Public Attributes
Callable Class Reference

Helper class. More...

#include <WCondition_test.h>

List of all members.

Public Member Functions

void threadMain ()
 Thread main method.
void threadMain ()
 The thread.
void threadMain ()
 Thread main method.
 Callable ()
 Constructor.
void threadMain ()
 Thread function.

Public Attributes

bool flag
 Flag set to true when thread starts.
WConditionc
 The condition to be used for signalling.
WConditionOneShotc
 The condition to use.
WFlag< bool > * flag
 The flag to be tested.
bool finished
 True if the thread finishes.

Detailed Description

Helper class.

Definition at line 38 of file WCondition_test.h.


Constructor & Destructor Documentation

Callable::Callable ( )
inline

Constructor.

To init the Flag.

Definition at line 56 of file WFlag_test.h.

References finished, and flag.


Member Function Documentation

void Callable::threadMain ( )
inline
void Callable::threadMain ( )
inline

The thread.

Definition at line 55 of file WConditionOneShot_test.h.

References c, flag, and WCondition::notify().

void Callable::threadMain ( )
inline

Thread main method.

Definition at line 56 of file WConditionSet_test.h.

References c, flag, and WCondition::notify().

void Callable::threadMain ( )
inline

Thread function.

Definition at line 65 of file WFlag_test.h.

References finished, and flag.


Member Data Documentation

WCondition * Callable::c

The condition to be used for signalling.

Definition at line 50 of file WCondition_test.h.

Referenced by WConditionSetTest::testWait(), WConditionTest::testWaitNotify(), WConditionOneShotTest::testWaitNotify(), and threadMain().

WConditionOneShot* Callable::c

The condition to use.

Definition at line 50 of file WConditionOneShot_test.h.

bool Callable::finished

True if the thread finishes.

Definition at line 51 of file WFlag_test.h.

Referenced by Callable(), WFlagTest::testWaitNotify(), and threadMain().

bool Callable::flag

Flag set to true when thread starts.

Flag set true when the thread starts.

Definition at line 45 of file WCondition_test.h.

Referenced by Callable(), WConditionSetTest::testWait(), WConditionTest::testWaitNotify(), WConditionOneShotTest::testWaitNotify(), WFlagTest::testWaitNotify(), and threadMain().

WFlag<bool>* Callable::flag

The flag to be tested.

Definition at line 46 of file WFlag_test.h.


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