![]() |
MAK RTIspy API Documentation for HLA 1.3
|
Platform independent condition variable. More...
Inheritance diagram for DtIpcCondVar__rti__:
Collaboration diagram for DtIpcCondVar__rti__:Public Member Functions | |
| DtIpcCondVar__rti__ (pthread_cond_t *cond, MAKRti::DtMutex__rti__ *condMutex) | |
| constructor for inter-process condition variables | |
| virtual | ~DtIpcCondVar__rti__ () |
| virtual void | init () |
| initialize condition variable attributes | |
Public Member Functions inherited from DtCondVar__rti__ | |
| DtCondVar__rti__ (MAKRti::DtMutex__rti__ *condMutex) | |
| constructor | |
| virtual | ~DtCondVar__rti__ () |
| destructor | |
| virtual void | destroy () |
| destroy the condition variable. | |
| virtual void | signal () |
| signal next waiting process that the condition has been met | |
| virtual void | broadcast () |
| signal all waiting processes that the condition has been met | |
| virtual int | wait (DtTime waitTime=0.0) |
| wait for the condition to be met. | |
Additional Inherited Members | |
Protected Member Functions inherited from DtCondVar__rti__ | |
| DtCondVar__rti__ (const DtCondVar__rti__ &orig) | |
| copy constructor | |
| const DtCondVar__rti__ & | operator= (const DtCondVar__rti__ &orig) |
| assignment operator | |
Protected Attributes inherited from DtCondVar__rti__ | |
| DtClock | myClock |
| pthread_cond_t | myPtCond |
| for expiration timer in pthreads implementations. | |
| pthread_cond_t * | myCond |
| MAKRti::DtMutex__rti__ * | myCondMutex |
Platform independent condition variable.
Instances of DtCondVar are used to provide a platform independent condition variable mechanism which can be accessed by threads in different processes
| DtIpcCondVar__rti__::DtIpcCondVar__rti__ | ( | pthread_cond_t * | cond, |
| MAKRti::DtMutex__rti__ * | condMutex | ||
| ) |
constructor for inter-process condition variables
|
virtual |
|
virtual |
initialize condition variable attributes
Reimplemented from DtCondVar__rti__.