ACE_Event_Tuple Class Reference

An ACE_Event_Handler and its associated ACE_HANDLE. More...

#include <Select_Reactor_Base.h>

Collaboration diagram for ACE_Event_Tuple:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ACE_Event_Tuple (void)
 Default constructor.

 ACE_Event_Tuple (ACE_Event_Handler *eh, ACE_HANDLE h)
 Constructor.

 ~ACE_Event_Tuple (void)
 Destructor.

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_Handlerevent_handler_
 ACE_Event_Handler associated with the ACE_HANDLE.


Detailed Description

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 79 of file Select_Reactor_Base.h.


Constructor & Destructor Documentation

ACE_INLINE ACE_Event_Tuple::ACE_Event_Tuple void   ) 
 

Default constructor.

Definition at line 31 of file Select_Reactor_Base.inl.

00032 :  handle_ (ACE_INVALID_HANDLE),
00033    event_handler_ (0)
00034 {
00035 }

ACE_INLINE ACE_Event_Tuple::ACE_Event_Tuple ACE_Event_Handler eh,
ACE_HANDLE  h
 

Constructor.

Definition at line 38 of file Select_Reactor_Base.inl.

00040 : handle_ (h),
00041   event_handler_ (eh)
00042 {
00043 }

ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE ACE_Event_Tuple::~ACE_Event_Tuple void   ) 
 

Destructor.

Definition at line 10 of file Select_Reactor_Base.inl.

00011 {
00012 }


Member Function Documentation

ACE_INLINE bool ACE_Event_Tuple::operator!= const ACE_Event_Tuple rhs  )  const
 

Inequality operator.

Definition at line 52 of file Select_Reactor_Base.inl.

00053 {
00054   return !(*this == rhs);
00055 }

ACE_INLINE bool ACE_Event_Tuple::operator== const ACE_Event_Tuple rhs  )  const
 

Equality operator.

Definition at line 46 of file Select_Reactor_Base.inl.

References handle_.

00047 {
00048   return this->handle_ == rhs.handle_;
00049 }


Member Data Documentation

ACE_Event_Handler* ACE_Event_Tuple::event_handler_
 

ACE_Event_Handler associated with the ACE_HANDLE.

Definition at line 102 of file Select_Reactor_Base.h.

Referenced by ACE_Priority_Reactor::build_bucket(), and ACE_Priority_Reactor::dispatch_io_set().

ACE_HANDLE ACE_Event_Tuple::handle_
 

Handle.

Definition at line 99 of file Select_Reactor_Base.h.

Referenced by ACE_Priority_Reactor::dispatch_io_set(), and operator==().


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 11:22:07 2006 for ACE by doxygen 1.3.6