ACE
6.1.0
|
Struct that collects event registration information for a handle. More...
Public Member Functions | |
Event_Tuple (ACE_Event_Handler *eh=0, ACE_Reactor_Mask m=ACE_Event_Handler::NULL_MASK, bool is_suspended=false, bool is_controlled=false) | |
Constructor to set up defaults. | |
Public Attributes | |
ACE_Event_Handler * | event_handler |
The event handler. | |
ACE_Reactor_Mask | mask |
The event mask for the above event handler. | |
bool | suspended |
Flag that states whether or not the event handler is suspended. | |
bool | controlled |
Flag to say whether or not this handle is registered with epoll. |
Struct that collects event registration information for a handle.
Internal use only
This struct merely provides a means to associate an event mask with an event handler. Such an association is needed since it is not possible to retrieve the event mask from the "interest set" stored in the `/dev/poll' or `/dev/epoll' driver. Without this external association, it would not be possible keep track of the event mask for a given event handler when suspending it or resuming it.
ACE_Dev_Poll_Reactor::Event_Tuple::Event_Tuple | ( | ACE_Event_Handler * | eh = 0 , |
ACE_Reactor_Mask | m = ACE_Event_Handler::NULL_MASK , |
||
bool | is_suspended = false , |
||
bool | is_controlled = false |
||
) | [inline] |
Constructor to set up defaults.
Flag to say whether or not this handle is registered with epoll.
The event handler.
The event mask for the above event handler.
Flag that states whether or not the event handler is suspended.