Elm  1.0
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
elm::sys::Process Class Referenceabstract

#include <elm/sys/Process.h>

Public Member Functions

virtual ~Process (void)
 
virtual bool isAlive (void)=0
 
virtual int returnCode (void)=0
 
virtual void kill (void)=0
 
virtual void wait (void)=0
 

Detailed Description

An interface with the processes of the OS.

Constructor & Destructor Documentation

elm::sys::Process::~Process ( void  )
virtual

Member Function Documentation

bool elm::sys::Process::isAlive ( void  )
pure virtual

Test if the current process is still alive.

Returns
True if it is alive, false else.
Exceptions
SystemExceptionOn process system error.
void elm::sys::Process::kill ( void  )
pure virtual

Kill the given thread.

Exceptions
SystemExceptionOn process system error.
int elm::sys::Process::returnCode ( void  )
pure virtual

If the process is terminated, get the return code.

Returns
Process termination return code.
Exceptions
SystemExceptionOn process system error.
void elm::sys::Process::wait ( void  )
pure virtual

Wait the termination of the process.


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