#include <Dev_Poll_Reactor.h>
Collaboration diagram for ACE_Dev_Poll_Event_Tuple:
Public Member Functions | |
ACE_Dev_Poll_Event_Tuple (void) | |
Constructor. | |
Public Attributes | |
ACE_Event_Handler * | event_handler |
The event handler. | |
ACE_Reactor_Mask | mask |
The event mask for the above event handler. | |
char | suspended |
Flag that states whether or not the event handler is suspended. |
This class 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_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE ACE_Dev_Poll_Event_Tuple::ACE_Dev_Poll_Event_Tuple | ( | void | ) |
Constructor.
The event handler.
The event mask for the above event handler.
Flag that states whether or not the event handler is suspended.