CL_EventProvider Class Reference
[clanCore System]

OS level event provider. More...

#include <event_provider.h>

List of all members.

Public Member Functions

Construction

virtual ~CL_EventProvider ()
Operations

virtual bool check_before_wait ()
 Prepare for OS event waiting.
virtual bool check_after_wait (int index)
 Check for flagging after OS event waiting.
virtual bool set ()
 Raise flag.
virtual bool reset ()
 Reset flag.

Attributes



enum  EventType { type_fd_read, type_fd_write, type_fd_exception }
virtual EventType get_event_type (int index)=0
 Returns the type of event provided.
virtual int get_event_handle (int index)=0
 Returns the OS handle for the event.
virtual int get_num_event_handles ()=0
 Returns the number of OS handles relevant for this event.

Detailed Description

OS level event provider.


Member Enumeration Documentation

Enumerator:
type_fd_read 
type_fd_write 
type_fd_exception 

Constructor & Destructor Documentation

virtual CL_EventProvider::~CL_EventProvider (  )  [inline, virtual]

Member Function Documentation

virtual bool CL_EventProvider::check_after_wait ( int  index  )  [inline, virtual]

Check for flagging after OS event waiting.

virtual bool CL_EventProvider::check_before_wait (  )  [inline, virtual]

Prepare for OS event waiting.

virtual int CL_EventProvider::get_event_handle ( int  index  )  [pure virtual]

Returns the OS handle for the event.

virtual EventType CL_EventProvider::get_event_type ( int  index  )  [pure virtual]

Returns the type of event provided.

virtual int CL_EventProvider::get_num_event_handles (  )  [pure virtual]

Returns the number of OS handles relevant for this event.

virtual bool CL_EventProvider::reset (  )  [inline, virtual]

Reset flag.

virtual bool CL_EventProvider::set (  )  [inline, virtual]

Raise flag.


The documentation for this class was generated from the following file: