ACE 8.0.5
Loading...
Searching...
No Matches
ACE_Managed_Process Class Reference

A process easily managed by ACE_Process_Manager. More...

#include <Process.h>

Inheritance diagram for ACE_Managed_Process:
Collaboration diagram for ACE_Managed_Process:

Public Member Functions

void unmanage () override
 Cleanup by deleting this.
Public Member Functions inherited from ACE_Process
 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
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.
ACE_Handle_Set dup_handles_
 Handle duplicates made for the child process.

Detailed Description

A process easily managed by ACE_Process_Manager.

Constructor & Destructor Documentation

◆ ~ACE_Managed_Process()

ACE_Managed_Process::~ACE_Managed_Process ( )
overrideprotecteddefault

Member Function Documentation

◆ unmanage()

void ACE_Managed_Process::unmanage ( )
overridevirtual

Cleanup by deleting this.

Reimplemented from ACE_Process.

Member Data Documentation

◆ ACE_ALLOC_HOOK_DECLARE

ACE_Managed_Process::ACE_ALLOC_HOOK_DECLARE

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