Reference

ACE_Event_Tuple(3)

An ACE_Event_Handler and its associated ACE_HANDLE.

NAME

ACE_Event_Tuple - An ACE_Event_Handler and its associated ACE_HANDLE.

SYNOPSIS

#include <ace/Select_Reactor_Base.h>
class ACE_Event_Tuple
{
  public:
    ACE_Event_Tuple (void);
    ACE_Event_Tuple (ACE_Event_Handler *eh, ACE_HANDLE h);
    ~ACE_Event_Tuple (void);
    int operator== (const ACE_Event_Tuple &rhs) const;
    int operator!= (const ACE_Event_Tuple &rhs) const;
    ACE_HANDLE handle_;
    ACE_Event_Handler* event_handler_;
};

DESCRIPTION

One ACE_Event_Handler is registered for one or more ACE_HANDLE, in some points this information must be stored explicitly. This structure provides a lightweight mechanism to do so.

PUBLIC MEMBERS

ACE_Event_Tuple (void);

ACE_Event_Tuple (ACE_Event_Handler *eh, ACE_HANDLE h);

~ACE_Event_Tuple (void);

int operator== (const ACE_Event_Tuple &rhs) const;

Equality operator.

int operator!= (const ACE_Event_Tuple &rhs) const;

Inequality operator.

ACE_HANDLE handle_;

ACE_Event_Handler* event_handler_;

AUTHOR

Doug Schmidt

LIBRARY

ace