FARGOS/VISTA Object Management Environment Core  ..
FARGOS/VISTA Object Management Environment Core Table of Contents
OMEioEvent Class Reference

I/O-specific event. More...

#include <OMEioEvents.h>

+ Inheritance diagram for OMEioEvent:

Public Types

enum  OMEfileType {
  file, socket, pipe, process,
  genericEvent
}
 
enum  OMEselectMode { selectRead, selectWrite, eventObj, notUsed }
 
- Public Types inherited from OMEevent
enum  OMEeventType { timerExpired, ioPossible, childDeath, win32Event }
 

Public Member Functions

 OMEioEvent (OMEfileType t, OMEselectMode m, uint64_t handle, OMEeventCallbackFP func, OMEthread *thread=nullptr, void *extra=nullptr)
 
 ~OMEioEvent ()
 
void deselectIOevent ()
 
- Public Member Functions inherited from OMEevent
 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...
 

Static Public Member Functions

static void selectIOevent (OMEioEvent *event)
 

Public Attributes

OMEioEventnextEvent
 
int tableIndex
 
OMEfileType fileType
 
OMEselectMode selectMode
 
- Public Attributes inherited from OMEevent
uint64_t eventHandle
 Event-specific handle. More...
 
OMEeventCallbackFP callback
 Function to service event. More...
 
OMEthreadwaitingThread
 OMEthread to signal. More...
 
void * extraData
 Any event-specific data. More...
 
OMEeventType eventType
 Fundamental event type. More...
 

Detailed Description

I/O-specific event.

Member Enumeration Documentation

◆ OMEfileType

Enumerator
file 
socket 
pipe 
process 
genericEvent 

◆ OMEselectMode

Enumerator
selectRead 
selectWrite 
eventObj 
notUsed 

Constructor & Destructor Documentation

◆ OMEioEvent()

OMEioEvent::OMEioEvent ( OMEioEvent::OMEfileType  t,
OMEselectMode  m,
uint64_t  handle,
OMEeventCallbackFP  func,
OMEthread thread = nullptr,
void *  extra = nullptr 
)

◆ ~OMEioEvent()

OMEioEvent::~OMEioEvent ( )
inline

Member Function Documentation

◆ deselectIOevent()

◆ selectIOevent()

void OMEioEvent::selectIOevent ( OMEioEvent event)
static

Member Data Documentation

◆ fileType

OMEfileType OMEioEvent::fileType

Referenced by OMEioEvent().

◆ nextEvent

OMEioEvent* OMEioEvent::nextEvent

Referenced by deselectIOevent(), and OMEioEvent().

◆ selectMode

OMEselectMode OMEioEvent::selectMode

Referenced by deselectIOevent(), and OMEioEvent().

◆ tableIndex

int OMEioEvent::tableIndex

Referenced by deselectIOevent().


The documentation for this class was generated from the following files:
Generated: Tue Jul 28 2020 16:03:27
Support Information