AP_Process Class Reference

#include <AP_Process.h>

Collaboration diagram for AP_Process:

Collaboration graph

Public Member Functions

 AP_Process (const AP_String &name, const AP_ProcessAttribute &attribute, const AP_String &path=AP_TMP_PATH)
AP_ProcessAttribute attribute (void) const
AP_Bool kill (AP_Sint32 signal)
AP_Bool spawn (void)
AP_Bool wait (void)
virtual ~AP_Process (void)

Static Public Member Functions

static void childHandler (AP_Int signal)
static void doExit (AP_Int signal)
static void doNothing (AP_Int signal)
static void init (void)
 Set terminal settings to reasonable defaults.

Private Member Functions

AP_Sint32 exec (void)
AP_Bool shell (const AP_String &script)

Private Attributes

AP_ProcessAttribute _m_attribute
AP_Bool _m_halt
AP_ProcessHandle _m_handle
AP_Sint32 _m_PID

Constructor & Destructor Documentation

AP_Process ( const AP_String name,
const AP_ProcessAttribute attribute,
const AP_String path = AP_TMP_PATH 

~AP_Process ( void   )  [virtual]

Member Function Documentation

AP_ProcessAttribute attribute ( void   )  const [inline]


void childHandler ( AP_Int  signal  )  [static]

void doExit ( AP_Int  signal  )  [static]

void doNothing ( AP_Int  signal  )  [static]

AP_Sint32 exec ( void   )  [private]

void init ( void   )  [static]

Set terminal settings to reasonable defaults.

AP_Bool kill ( AP_Sint32  signal  ) 

AP_Bool shell ( const AP_String script  )  [private]

AP_Bool spawn ( void   ) 

AP_Bool wait ( void   ) 

Field Documentation

AP_Bool _m_halt [private]

AP_Sint32 _m_PID [private]

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

Generated on Fri Mar 5 16:50:45 2010 for CarLinO by  doxygen 1.5.8