Sourceforge.net - The VCF's Project Host
   The VCF Website Home   |   Online Discussion Forums   |   Sourceforge.net Project Page   

VCF::Win32ProcessPeer Class Reference

#include <Win32ProcessPeer.h>

Inheritance diagram for VCF::Win32ProcessPeer:

VCF::ProcessPeer List of all members.

Public Member Functions

 Win32ProcessPeer ()
virtual ~Win32ProcessPeer ()
virtual int getProcessID ()
 returns an int that uniquely identifies the process on a given machine
virtual int getProcessThreadID ()
 returns the process's main thread ID
virtual bool createProcess (const String &processName, const String &arguments)
 creates a new process specified by the fully qualified file name in the processName argument.
virtual String getProcessFileName ()
 returns the fully qualified file name of the process the object represents.
virtual OSHandleID getHandleID ()
virtual uint32 terminate ()
virtual Waitable::WaitResult wait (uint32 milliseconds)
virtual Waitable::WaitResult wait ()

Protected Attributes

VCF::String processFileName_
PROCESS_INFORMATION win32ProcessInfo_

Constructor & Destructor Documentation

VCF::Win32ProcessPeer::Win32ProcessPeer  ) 
 

virtual VCF::Win32ProcessPeer::~Win32ProcessPeer  )  [virtual]
 


Member Function Documentation

virtual bool VCF::Win32ProcessPeer::createProcess const String processName,
const String arguments
[virtual]
 

creates a new process specified by the fully qualified file name in the processName argument.

Parameters:
String the fully qualified file name of process to start. This must represent an actual executable file
Returns:
bool returns true if the process was successfully started otherwise false.

Implements VCF::ProcessPeer.

virtual OSHandleID VCF::Win32ProcessPeer::getHandleID  )  [virtual]
 

Implements VCF::ProcessPeer.

virtual String VCF::Win32ProcessPeer::getProcessFileName  )  [virtual]
 

returns the fully qualified file name of the process the object represents.

Implements VCF::ProcessPeer.

virtual int VCF::Win32ProcessPeer::getProcessID  )  [virtual]
 

returns an int that uniquely identifies the process on a given machine

Implements VCF::ProcessPeer.

virtual int VCF::Win32ProcessPeer::getProcessThreadID  )  [virtual]
 

returns the process's main thread ID

Implements VCF::ProcessPeer.

virtual uint32 VCF::Win32ProcessPeer::terminate  )  [virtual]
 

Implements VCF::ProcessPeer.

virtual Waitable::WaitResult VCF::Win32ProcessPeer::wait  )  [virtual]
 

Implements VCF::ProcessPeer.

virtual Waitable::WaitResult VCF::Win32ProcessPeer::wait uint32  milliseconds  )  [virtual]
 

Implements VCF::ProcessPeer.


Member Data Documentation

VCF::String VCF::Win32ProcessPeer::processFileName_ [protected]
 

PROCESS_INFORMATION VCF::Win32ProcessPeer::win32ProcessInfo_ [protected]
 


The documentation for this class was generated from the following file:
   Comments or Suggestions?    License Information