ACE_WFMO_Reactor_Handler_Repository::Current_Info Class Reference

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

#include <WFMO_Reactor.h>

Inheritance diagram for ACE_WFMO_Reactor_Handler_Repository::Current_Info:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Current_Info (void)
 Default constructor.

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

void set (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 (Common_Info &common_info, int suspend_entry=0)
 Set the structure to these new values.

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


Public Attributes

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 current entries.

Definition at line 185 of file WFMO_Reactor.h.


Constructor & Destructor Documentation

ACE_INLINE ACE_WFMO_Reactor_Handler_Repository::Current_Info::Current_Info void   ) 
 

Default constructor.

Definition at line 120 of file WFMO_Reactor.inl.

00121   : suspend_entry_ (0)
00122 {
00123 }


Member Function Documentation

ACE_INLINE void ACE_WFMO_Reactor_Handler_Repository::Current_Info::dump ACE_HANDLE  event_handle  )  const
 

Dump the state of an object.

Definition at line 161 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().

00162 {
00163 #if defined (ACE_HAS_DUMP)
00164   ACE_TRACE ("ACE_WFMO_Reactor_Handler_Repository::Current_Info::dump");
00165 
00166   ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
00167 
00168   Common_Info::dump ();
00169 
00170   ACE_DEBUG ((LM_DEBUG,
00171               ACE_LIB_TEXT ("Event Handle = %d\n"),
00172               event_handle));
00173 
00174   ACE_DEBUG ((LM_DEBUG,
00175               ACE_LIB_TEXT ("Suspend Entry = %d\n"),
00176               this->suspend_entry_));
00177 
00178   ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
00179 #else /* !ACE_HAS_DUMP */
00180   ACE_UNUSED_ARG (event_handle);
00181 #endif /* ACE_HAS_DUMP */
00182 }

ACE_INLINE void ACE_WFMO_Reactor_Handler_Repository::Current_Info::reset void   ) 
 

Reset the state of the structure.

Reimplemented from ACE_WFMO_Reactor_Handler_Repository::Common_Info.

Definition at line 154 of file WFMO_Reactor.inl.

References suspend_entry_.

Referenced by ACE_WFMO_Reactor_Handler_Repository::make_changes_in_current_infos().

00155 {
00156   this->suspend_entry_ = 0;
00157   Common_Info::reset ();
00158 }

ACE_INLINE void ACE_WFMO_Reactor_Handler_Repository::Current_Info::set Common_Info common_info,
int  suspend_entry = 0
 

Set the structure to these new values.

Definition at line 146 of file WFMO_Reactor.inl.

References suspend_entry_.

00148 {
00149   this->suspend_entry_ = suspend_entry;
00150   Common_Info::set (common_info);
00151 }

ACE_INLINE void ACE_WFMO_Reactor_Handler_Repository::Current_Info::set 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 126 of file WFMO_Reactor.inl.

References ACE_Reactor_Mask, and suspend_entry_.

Referenced by ACE_WFMO_Reactor_Handler_Repository::make_changes_in_suspension_infos(), and ACE_WFMO_Reactor_Handler_Repository::make_changes_in_to_be_added_infos().

00134 {
00135   this->suspend_entry_ = suspend_entry;
00136   Common_Info::set (io_entry,
00137                     event_handler,
00138                     io_handle,
00139                     network_events,
00140                     delete_event,
00141                     delete_entry,
00142                     close_masks);
00143 }


Member Data Documentation

int ACE_WFMO_Reactor_Handler_Repository::Current_Info::suspend_entry_
 

This is set when the entry needed to be suspended.

Definition at line 189 of file WFMO_Reactor.h.

Referenced by ACE_WFMO_Reactor_Handler_Repository::make_changes_in_current_infos(), ACE_WFMO_Reactor_Handler_Repository::remove_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 Thu Nov 9 11:32:34 2006 for ACE by doxygen 1.3.6