ACE 8.0.3
|
This struct contains the necessary information for every Event_Handler entry. The reason the event is not in this structure is because we need to pass an event array into WaitForMultipleObjects and therefore keeping the events separate makes sense. More...
#include <WFMO_Reactor.h>
Public Member Functions | |
Common_Info ()=default | |
Default constructor. | |
void | reset () |
Reset the state of the structure. | |
void | set (bool io_entry, ACE_Event_Handler *event_handler, ACE_HANDLE io_handle, long network_events, bool delete_event, bool delete_entry, ACE_Reactor_Mask close_masks) |
Set the structure to these new values. | |
void | set (Common_Info &common_info) |
Set the structure to these new values. | |
void | dump () const |
Dump the state of an object. | |
Public Attributes | |
bool | io_entry_ {} |
ACE_Event_Handler * | event_handler_ {} |
The associated Event_Handler. | |
ACE_HANDLE | io_handle_ { ACE_INVALID_HANDLE } |
long | network_events_ {} |
bool | delete_event_ {} |
bool | delete_entry_ {} |
This is set when the entry needed to be deleted. | |
ACE_Reactor_Mask | close_masks_ { ACE_Event_Handler::NULL_MASK } |
This struct contains the necessary information for every Event_Handler entry. The reason the event is not in this structure is because we need to pass an event array into WaitForMultipleObjects and therefore keeping the events separate makes sense.
|
default |
Default constructor.
|
inline |
Dump the state of an object.
|
inline |
Reset the state of the structure.
|
inline |
Set the structure to these new values.
|
inline |
Set the structure to these new values.
ACE_Reactor_Mask ACE_WFMO_Reactor_Handler_Repository::Common_Info::close_masks_ { ACE_Event_Handler::NULL_MASK } |
These are the masks related to handle_close() for the Event_Handler. This is only valid when delete_entry_ is set.
bool ACE_WFMO_Reactor_Handler_Repository::Common_Info::delete_entry_ {} |
This is set when the entry needed to be deleted.
bool ACE_WFMO_Reactor_Handler_Repository::Common_Info::delete_event_ {} |
This flag indicates that WFMO_Reactor created the event on behalf of the user. Therefore we need to clean this up when the Event_Handler removes itself from WFMO_Reactor. This entry is only valid if the io_entry_ flag is true.
ACE_Event_Handler* ACE_WFMO_Reactor_Handler_Repository::Common_Info::event_handler_ {} |
The associated Event_Handler.
bool ACE_WFMO_Reactor_Handler_Repository::Common_Info::io_entry_ {} |
This indicates whether this entry is for I/O or for a regular event
ACE_HANDLE ACE_WFMO_Reactor_Handler_Repository::Common_Info::io_handle_ { ACE_INVALID_HANDLE } |
The I/O handle related to the Event_Handler. This entry is only valid if the io_entry_ flag is true.
long ACE_WFMO_Reactor_Handler_Repository::Common_Info::network_events_ {} |
This is the set of events that the Event_Handler is interested in. This entry is only valid if the io_entry_ flag is true.