|
IBR-DTNSuite
0.12
|
#include <Conditional.h>


Public Member Functions | |
| StatefulConditional (T state) | |
| virtual | ~StatefulConditional () |
| void | setState (T state) |
| bool | waitState (T state) |
| T | getState () |
| bool | ifState (T state) |
Public Member Functions inherited from ibrcommon::Conditional | |
| Conditional () | |
| virtual | ~Conditional () |
| void | signal (bool broadcast=false) throw () |
| void | wait (size_t timeout=0) throw (ConditionalAbortException) |
| void | wait (struct timespec *ts) throw (ConditionalAbortException) |
| void | abort () throw () |
| void | reset () throw () |
Public Member Functions inherited from ibrcommon::Mutex | |
| Mutex (MUTEX_TYPE type=MUTEX_NORMAL) | |
| virtual | ~Mutex () |
| virtual void | trylock () throw (MutexException) |
| virtual void | enter () throw (MutexException) |
| virtual void | leave () throw (MutexException) |
Public Member Functions inherited from ibrcommon::MutexInterface | |
| virtual | ~MutexInterface ()=0 |
Additional Inherited Members | |
Public Types inherited from ibrcommon::Mutex | |
| enum | MUTEX_TYPE { MUTEX_NORMAL = PTHREAD_MUTEX_NORMAL, MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE, MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK } |
Static Public Member Functions inherited from ibrcommon::Conditional | |
| static void | gettimeout (size_t timeout, struct timespec *hires) throw () |
Protected Attributes inherited from ibrcommon::Mutex | |
| pthread_mutex_t | m_mutex |
| pthread_mutexattr_t | m_attr |
Definition at line 102 of file Conditional.h.
|
inline |
Definition at line 105 of file Conditional.h.
|
inlinevirtual |
Definition at line 106 of file Conditional.h.
|
inline |
Definition at line 126 of file Conditional.h.
|
inline |
Definition at line 131 of file Conditional.h.
Referenced by ibrcommon::StatefulConditional< ibrcommon::Timer::TIMER_STATE, TIMER_STOPPED >::setState(), and ibrcommon::StatefulConditional< ibrcommon::Timer::TIMER_STATE, TIMER_STOPPED >::waitState().
|
inline |
Definition at line 108 of file Conditional.h.
|
inline |
Definition at line 115 of file Conditional.h.