Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

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 Methods

 ACE_Event_Tuple (void)
 Default constructor. More...

 ACE_Event_Tuple (ACE_Event_Handler *eh, ACE_HANDLE h)
 Constructor. More...

 ~ACE_Event_Tuple (void)
 Destructor. More...

int operator== (const ACE_Event_Tuple &rhs) const
 Equality operator. More...

int operator!= (const ACE_Event_Tuple &rhs) const
 Inequality operator. More...


Public Attributes

ACE_HANDLE handle_
 Handle. More...

ACE_Event_Handlerevent_handler_
 <ACE_Event_Handler> associated with the <ACE_HANDLE>. More...


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


Constructor & Destructor Documentation

ACE_INLINE ACE_Event_Tuple::ACE_Event_Tuple void   
 

Default constructor.

Definition at line 33 of file Select_Reactor_Base.i.

00034 :  handle_ (ACE_INVALID_HANDLE),
00035    event_handler_ (0)
00036 {
00037 }

ACE_INLINE ACE_Event_Tuple::ACE_Event_Tuple ACE_Event_Handler   eh,
ACE_HANDLE    h
 

Constructor.

Definition at line 40 of file Select_Reactor_Base.i.

00042 : handle_ (h),
00043   event_handler_ (eh)
00044 {
00045 }

ACE_INLINE ACE_Event_Tuple::~ACE_Event_Tuple void   
 

Destructor.

Definition at line 7 of file Select_Reactor_Base.i.

00008 {
00009 }


Member Function Documentation

ACE_INLINE int ACE_Event_Tuple::operator!= const ACE_Event_Tuple &    rhs const
 

Inequality operator.

Definition at line 54 of file Select_Reactor_Base.i.

00055 {
00056   return !(*this == rhs);
00057 }

ACE_INLINE int ACE_Event_Tuple::operator== const ACE_Event_Tuple &    rhs const
 

Equality operator.

Definition at line 48 of file Select_Reactor_Base.i.

References handle_.

00049 {
00050   return this->handle_ == rhs.handle_;
00051 }


Member Data Documentation

ACE_Event_Handler* ACE_Event_Tuple::event_handler_
 

<ACE_Event_Handler> associated with the <ACE_HANDLE>.

Definition at line 99 of file Select_Reactor_Base.h.

Referenced by ACE_Priority_Reactor::dispatch_io_set.

ACE_HANDLE ACE_Event_Tuple::handle_
 

Handle.

Definition at line 96 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 Mon Jun 16 12:47:46 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002