ACE 8.0.2
|
A process easily managed by ACE_Process_Manager. More...
#include <Process.h>
Public Member Functions | |
void | unmanage () override |
Cleanup by deleting this . | |
![]() | |
ACE_Process () | |
Default construction. Use ACE_Process::spawn() to start a process. | |
virtual | ~ACE_Process () |
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 () |
pid_t | getpid () const |
Return the process id of the new child process. | |
ACE_HANDLE | gethandle () const |
Return the handle of the process, if it has one. | |
int | running () const |
Return 1 if running; 0 otherwise. | |
ACE_exitcode | exit_code () const |
int | return_value () const |
void | close_dup_handles () |
void | close_passed_handles () |
PROCESS_INFORMATION | process_info () |
Public Attributes | |
ACE_ALLOC_HOOK_DECLARE | |
Protected Member Functions | |
~ACE_Managed_Process () override=default | |
![]() | |
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.
|
overrideprotecteddefault |
|
overridevirtual |
Cleanup by deleting this
.
Reimplemented from ACE_Process.
ACE_Managed_Process::ACE_ALLOC_HOOK_DECLARE |