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

ACE_WFMO_Reactor_Handler_Repository::To_Be_Added_Info Class Reference

This structure inherits from the common structure to add information for <to_be_added> entries. More...

#include <WFMO_Reactor.h>

Inheritance diagram for ACE_WFMO_Reactor_Handler_Repository::To_Be_Added_Info:

Inheritance graph
[legend]
Collaboration diagram for ACE_WFMO_Reactor_Handler_Repository::To_Be_Added_Info:

Collaboration graph
[legend]
List of all members.

Public Methods

 To_Be_Added_Info (void)
 Default constructor. More...

void reset (void)
 Reset the state of the structure. More...

void set (ACE_HANDLE event_handle, int io_entry, ACE_Event_Handler *event_handler, ACE_HANDLE io_handle, long network_events, int delete_event, int delete_entry=0, ACE_Reactor_Mask close_masks=ACE_Event_Handler::NULL_MASK, int suspend_entry=0)
 Set the structure to these new values. More...

void set (ACE_HANDLE event_handle, Common_Info &common_info, int suspend_entry=0)
 Set the structure to these new values. More...

void dump (void) const
 Dump the state of an object. More...


Public Attributes

ACE_HANDLE event_handle_
 Handle for the event. More...

int suspend_entry_
 This is set when the entry needed to be suspended. More...


Detailed Description

This structure inherits from the common structure to add information for <to_be_added> entries.

Definition at line 214 of file WFMO_Reactor.h.


Constructor & Destructor Documentation

ACE_INLINE ACE_WFMO_Reactor_Handler_Repository::To_Be_Added_Info::To_Be_Added_Info void   
 

Default constructor.

Definition at line 178 of file WFMO_Reactor.i.

00179   : event_handle_ (ACE_INVALID_HANDLE),
00180     suspend_entry_ (0)
00181 {
00182 }


Member Function Documentation

ACE_INLINE void ACE_WFMO_Reactor_Handler_Repository::To_Be_Added_Info::dump void    const
 

Dump the state of an object.

Reimplemented from ACE_WFMO_Reactor_Handler_Repository::Common_Info.

Definition at line 225 of file WFMO_Reactor.i.

References ACE_BEGIN_DUMP, ACE_DEBUG, ACE_END_DUMP, ACE_LIB_TEXT, ACE_TRACE, and LM_DEBUG.

Referenced by ACE_WFMO_Reactor_Handler_Repository::dump.

00226 {
00227   ACE_TRACE ("ACE_WFMO_Reactor_Handler_Repository::To_Be_Added_Info::dump");
00228 
00229   ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
00230 
00231   Common_Info::dump ();
00232 
00233   ACE_DEBUG ((LM_DEBUG,
00234               ACE_LIB_TEXT ("Event Handle = %d\n"),
00235               this->event_handle_));
00236 
00237   ACE_DEBUG ((LM_DEBUG,
00238               ACE_LIB_TEXT ("Suspend Entry = %d\n"),
00239               this->suspend_entry_));
00240 
00241   ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
00242 }

ACE_INLINE void ACE_WFMO_Reactor_Handler_Repository::To_Be_Added_Info::reset void   
 

Reset the state of the structure.

Reimplemented from ACE_WFMO_Reactor_Handler_Repository::Common_Info.

Definition at line 217 of file WFMO_Reactor.i.

References event_handle_, and suspend_entry_.

Referenced by ACE_WFMO_Reactor_Handler_Repository::make_changes_in_to_be_added_infos.

00218 {
00219   this->event_handle_ = ACE_INVALID_HANDLE;
00220   this->suspend_entry_ = 0;
00221   Common_Info::reset ();
00222 }

ACE_INLINE void ACE_WFMO_Reactor_Handler_Repository::To_Be_Added_Info::set ACE_HANDLE    event_handle,
Common_Info   common_info,
int    suspend_entry = 0
 

Set the structure to these new values.

Definition at line 207 of file WFMO_Reactor.i.

References event_handle_, and suspend_entry_.

00210 {
00211   this->event_handle_ = event_handle;
00212   this->suspend_entry_ = suspend_entry;
00213   Common_Info::set (common_info);
00214 }

ACE_INLINE void ACE_WFMO_Reactor_Handler_Repository::To_Be_Added_Info::set ACE_HANDLE    event_handle,
int    io_entry,
ACE_Event_Handler   event_handler,
ACE_HANDLE    io_handle,
long    network_events,
int    delete_event,
int    delete_entry = 0,
ACE_Reactor_Mask    close_masks = ACE_Event_Handler::NULL_MASK,
int    suspend_entry = 0
 

Set the structure to these new values.

Definition at line 185 of file WFMO_Reactor.i.

References ACE_Reactor_Mask, event_handle_, and suspend_entry_.

00194 {
00195   this->event_handle_ = event_handle;
00196   this->suspend_entry_ = suspend_entry;
00197   Common_Info::set (io_entry,
00198                     event_handler,
00199                     io_handle,
00200                     network_events,
00201                     delete_event,
00202                     delete_entry,
00203                     close_masks);
00204 }


Member Data Documentation

ACE_HANDLE ACE_WFMO_Reactor_Handler_Repository::To_Be_Added_Info::event_handle_
 

Handle for the event.

Definition at line 218 of file WFMO_Reactor.h.

Referenced by ACE_WFMO_Reactor_Handler_Repository::handler, ACE_WFMO_Reactor_Handler_Repository::make_changes_in_to_be_added_infos, ACE_WFMO_Reactor_Handler_Repository::modify_network_events_i, ACE_WFMO_Reactor_Handler_Repository::remove_to_be_added_handler_i, reset, ACE_WFMO_Reactor_Handler_Repository::resume_handler_i, set, ACE_WFMO_Reactor_Handler_Repository::suspend_handler_i, and ACE_WFMO_Reactor_Handler_Repository::unbind_i.

int ACE_WFMO_Reactor_Handler_Repository::To_Be_Added_Info::suspend_entry_
 

This is set when the entry needed to be suspended.

Definition at line 221 of file WFMO_Reactor.h.

Referenced by ACE_WFMO_Reactor_Handler_Repository::make_changes_in_to_be_added_infos, ACE_WFMO_Reactor_Handler_Repository::remove_to_be_added_handler_i, reset, ACE_WFMO_Reactor_Handler_Repository::resume_handler_i, set, and ACE_WFMO_Reactor_Handler_Repository::suspend_handler_i.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 12:59:17 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002