Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
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

◆ ~Process()

~Process ( void  )
virtual

Member Function Documentation

◆ isAlive()

bool 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.

◆ kill()

void kill ( void  )
pure virtual

Kill the given thread.

Exceptions
SystemExceptionOn process system error.

◆ returnCode()

int returnCode ( void  )
pure virtual

If the process is terminated, get the return code.

Returns
Process termination return code.
Exceptions
SystemExceptionOn process system error.

◆ wait()

void wait ( void  )
pure virtual

Wait the termination of the process.


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