![]() |
OpenZWave Library
1.5.0
|
Platform-independent definition of event objects. More...
#include <Event.h>
Public Member Functions | |
Event () | |
void | Set () |
void | Reset () |
![]() | |
void | AddWatcher (pfnWaitNotification_t _callback, void *_context) |
void | RemoveWatcher (pfnWaitNotification_t _callback, void *_context) |
![]() | |
Ref () | |
void | AddRef () |
int32 | Release () |
Protected Member Functions | |
virtual bool | IsSignalled () |
bool | Wait (int32 _timeout) |
~Event () | |
![]() | |
Wait () | |
virtual | ~Wait () |
void | Notify () |
![]() | |
virtual | ~Ref () |
Friends | |
class | SerialControllerImpl |
class | Wait |
Additional Inherited Members | |
![]() | |
enum | { Timeout_Immediate = 0, Timeout_Infinite = -1 } |
typedef void(* | pfnWaitNotification_t) (void *_context) |
![]() | |
static int32 | Single (Wait *_object, int32 _timeout=-1) |
static int32 | Multiple (Wait **_objects, uint32 _numObjects, int32 _timeout=-1) |
Platform-independent definition of event objects.
Event::Event | ( | ) |
Constructor. Creates a cross-platform event object equivalent to the Windows manual-reset event
|
protected |
Destructor. Destroys the event object.
|
protectedvirtual |
Used by the Wait class to test whether the event is set.
Implements OpenZWave::Wait.
|
protected |
Used by the Wait::Multiple method. returns true if the event signalled, false if it timed out
|
friend |
|
friend |