ACE
6.1.6
|
A process easily managed by ACE_Process_Manager. More...
#include <Process.h>
Public Member Functions | |
virtual void | unmanage (void) |
Cleanup by deleting this . | |
![]() | |
ACE_Process (void) | |
Default construction. Must use <ACE_Process::spawn> to start. | |
virtual | ~ACE_Process (void) |
Destructor. | |
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. | |
ACE_HANDLE | gethandle (void) const |
Return the handle of the process, if it has one. | |
int | running (void) const |
Return 1 if running; 0 otherwise. | |
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! | |
![]() | |
void | exit_code (ACE_exitcode code) |
Additional Inherited Members | |
![]() | |
PROCESS_INFORMATION | process_info_ |
ACE_exitcode | exit_code_ |
ACE_Handle_Set | handles_passed_ |
Set of handles that were passed to the child process. | |
ACE_Handle_Set | dup_handles_ |
Handle duplicates made for the child process. |
A process easily managed by ACE_Process_Manager.
|
protectedvirtual |
Make sure that we're allocated dynamically!
|
virtual |
Cleanup by deleting this
.
Reimplemented from ACE_Process.