ACE_WFMO_Reactor_Handler_Repository::To_Be_Added_Info Class Reference

This structure inherits from the common structure to add information for 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 Member Functions

 To_Be_Added_Info (void)
 Default constructor.

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

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.

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

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


Public Attributes

ACE_HANDLE event_handle_
 Handle for the event.

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


Detailed Description

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

Definition at line 221 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 187 of file WFMO_Reactor.inl.

00188   : event_handle_ (ACE_INVALID_HANDLE),
00189     suspend_entry_ (0)
00190 {
00191 }


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 234 of file WFMO_Reactor.inl.

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().

00235 {
00236 #if defined (ACE_HAS_DUMP)
00237   ACE_TRACE ("ACE_WFMO_Reactor_Handler_Repository::To_Be_Added_Info::dump");
00238 
00239   ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
00240 
00241   Common_Info::dump ();
00242 
00243   ACE_DEBUG ((LM_DEBUG,
00244               ACE_LIB_TEXT ("Event Handle = %d\n"),
00245               this->event_handle_));
00246 
00247   ACE_DEBUG ((LM_DEBUG,
00248               ACE_LIB_TEXT ("Suspend Entry = %d\n"),
00249               this->suspend_entry_));
00250 
00251   ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
00252 #endif /* ACE_HAS_DUMP */
00253 }

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 226 of file WFMO_Reactor.inl.

References event_handle_.

Referenced by ACE_WFMO_Reactor_Handler_Repository::make_changes_in_to_be_added_infos().

00227 {
00228   this->event_handle_ = ACE_INVALID_HANDLE;
00229   this->suspend_entry_ = 0;
00230   Common_Info::reset ();
00231 }

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 216 of file WFMO_Reactor.inl.

References event_handle_.

00219 {
00220   this->event_handle_ = event_handle;
00221   this->suspend_entry_ = suspend_entry;
00222   Common_Info::set (common_info);
00223 }

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 194 of file WFMO_Reactor.inl.

References ACE_Reactor_Mask, and event_handle_.

Referenced by ACE_WFMO_Reactor_Handler_Repository::bind_i().

00203 {
00204   this->event_handle_ = event_handle;
00205   this->suspend_entry_ = suspend_entry;
00206   Common_Info::set (io_entry,
00207                     event_handler,
00208                     io_handle,
00209                     network_events,
00210                     delete_event,
00211                     delete_entry,
00212                     close_masks);
00213 }


Member Data Documentation

ACE_HANDLE ACE_WFMO_Reactor_Handler_Repository::To_Be_Added_Info::event_handle_
 

Handle for the event.

Definition at line 225 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(), 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 228 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(), ACE_WFMO_Reactor_Handler_Repository::resume_handler_i(), and ACE_WFMO_Reactor_Handler_Repository::suspend_handler_i().


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