ACE
6.3.1
|
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. More... | |
Public Attributes | |
ACE_Event_Handler * | event_handler |
The event handler. More... | |
ACE_Reactor_Mask | mask |
The event mask for the above event handler. More... | |
bool | suspended |
Flag that states whether or not the event handler is suspended. More... | |
bool | controlled |
Flag to say whether or not this handle is registered with epoll. More... | |
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.
|
inline |
Constructor to set up defaults.
bool ACE_Dev_Poll_Reactor::Event_Tuple::controlled |
Flag to say whether or not this handle is registered with epoll.
ACE_Event_Handler* ACE_Dev_Poll_Reactor::Event_Tuple::event_handler |
The event handler.
ACE_Reactor_Mask ACE_Dev_Poll_Reactor::Event_Tuple::mask |
The event mask for the above event handler.
bool ACE_Dev_Poll_Reactor::Event_Tuple::suspended |
Flag that states whether or not the event handler is suspended.