ACE_Process_Descriptor Class Reference

Information describing each process that's controlled by an <ACE_Process_Manager>. More...

#include <Process_Manager.h>

Collaboration diagram for ACE_Process_Descriptor:

Collaboration graph
[legend]
List of all members.

Private Member Functions

 ACE_Process_Descriptor (void)
 Default ctor/dtor.

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


Private Attributes

ACE_Processprocess_
 Describes the process itself.

ACE_Event_Handlerexit_notify_
 function to call when process exits


Friends

class ACE_Process_Manager

Detailed Description

Information describing each process that's controlled by an <ACE_Process_Manager>.

Definition at line 42 of file Process_Manager.h.


Constructor & Destructor Documentation

ACE_Process_Descriptor::ACE_Process_Descriptor void   )  [private]
 

Default ctor/dtor.

Definition at line 101 of file Process_Manager.cpp.

References ACE_TRACE.

00102   : process_ (0),
00103     exit_notify_ (0)
00104 {
00105   ACE_TRACE ("ACE_Process_Descriptor::ACE_Process_Descriptor");
00106 }

ACE_Process_Descriptor::~ACE_Process_Descriptor void   )  [private]
 

Definition at line 64 of file Process_Manager.cpp.

00065 {
00066 }


Member Function Documentation

void ACE_Process_Descriptor::dump void   )  const [private]
 

Dump the state of an object.

Definition at line 69 of file Process_Manager.cpp.

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

Referenced by ACE_Process_Manager::dump().

00070 {
00071 #if defined (ACE_HAS_DUMP)
00072   ACE_TRACE ("ACE_Process_Descriptor::dump");
00073 
00074   ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
00075 
00076   ACE_DEBUG ((LM_DEBUG,  ACE_LIB_TEXT ("\nproc_id_ = %d"),
00077                           this->process_->getpid( )));
00078 
00079   ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
00080 #endif /* ACE_HAS_DUMP */
00081 }


Friends And Related Function Documentation

friend class ACE_Process_Manager [friend]
 

Definition at line 45 of file Process_Manager.h.


Member Data Documentation

ACE_Event_Handler* ACE_Process_Descriptor::exit_notify_ [private]
 

function to call when process exits

Definition at line 55 of file Process_Manager.h.

Referenced by ACE_Process_Manager::append_proc(), ACE_Process_Manager::notify_proc_handler(), ACE_Process_Manager::register_handler(), and ACE_Process_Manager::remove_proc().

ACE_Process* ACE_Process_Descriptor::process_ [private]
 

Describes the process itself.

Definition at line 52 of file Process_Manager.h.

Referenced by ACE_Process_Manager::append_proc(), ACE_Process_Manager::find_proc(), ACE_Process_Manager::handle_signal(), ACE_Process_Manager::notify_proc_handler(), ACE_Process_Manager::remove_proc(), ACE_Process_Manager::set_scheduler_all(), and ACE_Process_Manager::wait().


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