ACE_Process_Manager::Process_Descriptor Struct Reference

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

Collaboration diagram for ACE_Process_Manager::Process_Descriptor:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Process_Descriptor (void)
 Default ctor/dtor.
 ~Process_Descriptor (void)
void dump (void) const
 Dump the state of an object.

Public Attributes

ACE_Processprocess_
 Describes the process itself.
ACE_Event_Handlerexit_notify_
 Function to call when process exits.

Detailed Description

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

For internal use only.

This struct is for internal use only by ACE_Process_Manager.

Definition at line 391 of file Process_Manager.h.


Constructor & Destructor Documentation

ACE_Process_Manager::Process_Descriptor::Process_Descriptor ( void   ) 

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_Manager::Process_Descriptor::Process_Descriptor");
00106 }

ACE_Process_Manager::Process_Descriptor::~Process_Descriptor ( void   ) 

Definition at line 64 of file Process_Manager.cpp.

00065 {
00066 }


Member Function Documentation

void ACE_Process_Manager::Process_Descriptor::dump ( void   )  const

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_TEXT, ACE_TRACE, and LM_DEBUG.

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


Member Data Documentation

ACE_Event_Handler* ACE_Process_Manager::Process_Descriptor::exit_notify_

Function to call when process exits.

Definition at line 401 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_Manager::Process_Descriptor::process_

Describes the process itself.

Definition at line 398 of file Process_Manager.h.

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


The documentation for this struct was generated from the following files:
Generated on Tue Feb 2 17:35:27 2010 for ACE by  doxygen 1.4.7