An ACE_Event_Handler and its associated ACE_HANDLE. More...
#include <Select_Reactor_Base.h>
Public Member Functions | |
ACE_Event_Tuple (void) | |
Default constructor. | |
ACE_Event_Tuple (ACE_Event_Handler *eh, ACE_HANDLE h) | |
Constructor. | |
bool | operator== (const ACE_Event_Tuple &rhs) const |
Equality operator. | |
bool | operator!= (const ACE_Event_Tuple &rhs) const |
Inequality operator. | |
Public Attributes | |
ACE_HANDLE | handle_ |
Handle. | |
ACE_Event_Handler * | event_handler_ |
ACE_Event_Handler associated with the ACE_HANDLE. |
An ACE_Event_Handler and its associated ACE_HANDLE.
One ACE_Event_Handler is registered for one or more ACE_HANDLE. At various points, this information must be stored explicitly. This class provides a lightweight mechanism to do so.
Definition at line 92 of file Select_Reactor_Base.h.
ACE_Event_Tuple::ACE_Event_Tuple | ( | void | ) |
Default constructor.
Definition at line 89 of file Select_Reactor_Base.inl.
: handle_ (ACE_INVALID_HANDLE), event_handler_ (0) { }
ACE_Event_Tuple::ACE_Event_Tuple | ( | ACE_Event_Handler * | eh, | |
ACE_HANDLE | h | |||
) |
Constructor.
Definition at line 96 of file Select_Reactor_Base.inl.
: handle_ (h), event_handler_ (eh) { }
bool ACE_Event_Tuple::operator!= | ( | const ACE_Event_Tuple & | rhs | ) | const |
Inequality operator.
Definition at line 110 of file Select_Reactor_Base.inl.
{ return !(*this == rhs); }
bool ACE_Event_Tuple::operator== | ( | const ACE_Event_Tuple & | rhs | ) | const |
Equality operator.
Definition at line 104 of file Select_Reactor_Base.inl.
ACE_Event_Handler associated with the ACE_HANDLE.
Definition at line 114 of file Select_Reactor_Base.h.
ACE_HANDLE ACE_Event_Tuple::handle_ |
Handle.
Definition at line 111 of file Select_Reactor_Base.h.