FARGOS/VISTA Object Management Environment Core
..
|
Base class for events within the FARGOS/VISTA Object Management Environment. More...
#include <OMEevent.h>
Public Types | |
enum | OMEeventType { timerExpired, ioPossible, childDeath, win32Event } |
Public Member Functions | |
OMEevent (OMEeventType t, uint32_t h, OMEeventCallbackFP func, OMEthread *thread=nullptr, void *extra=nullptr) | |
virtual | ~OMEevent () |
bool | operator== (const OMEevent &arg) const |
Event equality. More... | |
bool | operator!= (const OMEevent &arg) const |
Event inequality. More... | |
bool | operator< (const OMEevent &arg) const |
Event ordering. More... | |
bool | postEvent () |
Post event and call callback function. More... | |
bool | isPosted () const |
Check if event has been posted. More... | |
Public Attributes | |
uint64_t | eventHandle |
Event-specific handle. More... | |
OMEeventCallbackFP | callback |
Function to service event. More... | |
OMEthread * | waitingThread |
OMEthread to signal. More... | |
void * | extraData |
Any event-specific data. More... | |
OMEeventType | eventType |
Fundamental event type. More... | |
Private Attributes | |
bool | posted |
Base class for events within the FARGOS/VISTA Object Management Environment.
|
inline |
References callback, eventHandle, eventType, extraData, posted, and waitingThread.
|
inlinevirtual |
|
inline |
Check if event has been posted.
0 | Event has not yet been posted. |
1 | Event has been posted. |
References posted.
|
inline |
Event inequality.
References eventHandle, and eventType.
|
inline |
Event ordering.
References eventHandle, and eventType.
|
inline |
Event equality.
References eventHandle, and eventType.
|
inline |
Post event and call callback function.
0 | Event was handled and event should now be deleted. |
1 | Event record should not be deleted. |
References posted, and waitingThread.
OMEeventCallbackFP OMEevent::callback |
Function to service event.
Referenced by OMEevent().
uint64_t OMEevent::eventHandle |
Event-specific handle.
Referenced by OMEioEvent::deselectIOevent(), OMEevent(), operator!=(), operator<(), and operator==().
OMEeventType OMEevent::eventType |
Fundamental event type.
Referenced by OMEaddEventToQueue(), OMEevent(), operator!=(), operator<(), and operator==().
void* OMEevent::extraData |
Any event-specific data.
Referenced by OMEevent().
|
private |
Referenced by isPosted(), OMEevent(), and postEvent().
OMEthread* OMEevent::waitingThread |
OMEthread to signal.
Referenced by OMEevent(), and postEvent().
![]() | Generated: Tue Jul 28 2020 16:03:27
Support Information |