Main Page | Modules | Class Hierarchy | Data Structures | File List | Data Fields | Globals | Related Pages

openmaiaProcess Class Reference
[openmaia application objects]

#include <openmaiaProcess.h>


Public Member Functions

 openmaiaProcess (openmaiaProcessesHandler *)
virtual void OnTerminate (int, int)
void FlushStream ()

Private Attributes

openmaiaProcessesHandlertoNotify
 Pointer to class that will receive events.


Detailed Description

openmaia child process handler.

This class is used to handle a child process lounched from openmaia. The class is derived from wxProcess class and handle process events such as streams flush and process termination. When a process terminate a NotifyProcessStop is generated and sent to the application processesHandler class.


Constructor & Destructor Documentation

openmaiaProcess::openmaiaProcess openmaiaProcessesHandler proc_handler  ) 
 

Create and openmaia process associated with an handler. This class listen to process events and call handler NotifyProcessStop method when the process stops.

Parameters:
proc_handler Pointer to class processes handler


Member Function Documentation

void openmaiaProcess::FlushStream  ) 
 

Flush the stream of this process to standard out or standard err

void openmaiaProcess::OnTerminate int  pid,
int  status
[virtual]
 

Handle terminate process event. Lounch the appropriate signat to toNotify object.


Field Documentation

openmaiaProcessesHandler* openmaiaProcess::toNotify [private]
 

Pointer to class that will receive events.


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