ACE  6.1.0
Public Member Functions | Public Attributes
ACE_Dev_Poll_Reactor::Event_Tuple Struct Reference

Struct that collects event registration information for a handle. More...

Collaboration diagram for ACE_Dev_Poll_Reactor::Event_Tuple:
Collaboration graph
[legend]

List of all members.

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_Handlerevent_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.

Detailed Description

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.

Note:
An ACE_Handle_Set is not used since the number of handles may exceed its capacity (ACE_DEFAULT_SELECT_REACTOR_SIZE).

Constructor & Destructor Documentation

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.


Member Data Documentation

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.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines