Gizmod::Processes Class Reference

Base class for functions related to operating system processes. More...

#include <Processes.hpp>

Inheritance diagram for Gizmod::Processes:

Inheritance graph

List of all members.

Public Member Functions

 Processes ()
 Default Constructor.
virtual ~Processes ()

Static Public Member Functions

static int isProcessRunning (std::string ProcessName)
 Check is a process is running.
static void setTimeBetweenUpdates (float Seconds)
 Time between updates in seconds.
static void updateProcessTree ()
 Force an update of the process tree.

Detailed Description

Base class for functions related to operating system processes.

Definition at line 82 of file Processes.hpp.

Constructor & Destructor Documentation

Processes::Processes (  ) 

Default Constructor.

Processes Default Constructor.

Definition at line 78 of file Processes.cpp.

References isProcessRunning().

Processes::~Processes (  )  [virtual]


Processes Destructor.

Definition at line 93 of file Processes.cpp.

Member Function Documentation

int Processes::isProcessRunning ( std::string  ProcessName  )  [static]

Check is a process is running.

ProcessName The name of the process to check on
PID of the process if found, or a negative value if not found

Definition at line 111 of file Processes.cpp.

References updateProcessTree().

Referenced by Processes().

void Processes::setTimeBetweenUpdates ( float  Seconds  )  [static]

Time between updates in seconds.

Set the time between updates in seconds.

Seconds Number of seconds between updates

Definition at line 129 of file Processes.cpp.

The documentation for this class was generated from the following files:
Generated on Wed Nov 7 10:07:09 2007 for gizmod by  doxygen 1.5.3