ACE  6.2.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | List of all members
ACE_Managed_Process Class Reference

A process easily managed by ACE_Process_Manager. More...

#include <Process.h>

Inheritance diagram for ACE_Managed_Process:
Inheritance graph
[legend]
Collaboration diagram for ACE_Managed_Process:
Collaboration graph
[legend]

Public Member Functions

virtual void unmanage (void)
 Cleanup by deleting this. More...
 
- Public Member Functions inherited from ACE_Process
 ACE_Process (void)
 Default construction. Use ACE_Process::spawn() to start a process. More...
 
virtual ~ACE_Process (void)
 Destructor. More...
 
virtual int prepare (ACE_Process_Options &options)
 
virtual pid_t spawn (ACE_Process_Options &options)
 
virtual void parent (pid_t child)
 
virtual void child (pid_t parent)
 
pid_t wait (ACE_exitcode *status=0, int wait_options=0)
 
pid_t wait (const ACE_Time_Value &tv, ACE_exitcode *status=0)
 
int kill (int signum=SIGINT)
 
int terminate (void)
 
pid_t getpid (void) const
 Return the process id of the new child process. More...
 
ACE_HANDLE gethandle (void) const
 Return the handle of the process, if it has one. More...
 
int running (void) const
 Return 1 if running; 0 otherwise. More...
 
ACE_exitcode exit_code (void) const
 
int return_value (void) const
 
void close_dup_handles (void)
 
void close_passed_handles (void)
 
PROCESS_INFORMATION process_info (void)
 

Protected Member Functions

virtual ~ACE_Managed_Process (void)
 Make sure that we're allocated dynamically! More...
 
- Protected Member Functions inherited from ACE_Process
void exit_code (ACE_exitcode code)
 

Additional Inherited Members

- Protected Attributes inherited from ACE_Process
PROCESS_INFORMATION process_info_
 
ACE_exitcode exit_code_
 
ACE_Handle_Set handles_passed_
 Set of handles that were passed to the child process. More...
 
ACE_Handle_Set dup_handles_
 Handle duplicates made for the child process. More...
 

Detailed Description

A process easily managed by ACE_Process_Manager.

Constructor & Destructor Documentation

ACE_Managed_Process::~ACE_Managed_Process ( void  )
protectedvirtual

Make sure that we're allocated dynamically!

Member Function Documentation

void ACE_Managed_Process::unmanage ( void  )
virtual

Cleanup by deleting this.

Reimplemented from ACE_Process.


The documentation for this class was generated from the following files: