OpenWalnut  1.4.0
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 55 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 54 of file WConditionOneShot_test.h.

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

void Callable::threadMain ( ) [inline]

Thread main method.

Definition at line 55 of file WConditionSet_test.h.

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

void Callable::threadMain ( ) [inline]

Thread function.

Definition at line 64 of file WFlag_test.h.

References finished, and flag.


Member Data Documentation

The condition to be used for signalling.

Definition at line 49 of file WCondition_test.h.

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

The condition to use.

Definition at line 49 of file WConditionOneShot_test.h.

True if the thread finishes.

Definition at line 50 of file WFlag_test.h.

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

Flag set to true when thread starts.

Flag set true when the thread starts.

Definition at line 44 of file WCondition_test.h.

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

The flag to be tested.

Definition at line 45 of file WFlag_test.h.


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