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

VCF::OSXProcessPeer Class Reference

#include <OSXProcessPeer.h>

Inheritance diagram for VCF::OSXProcessPeer:

VCF::ProcessPeer List of all members.

Public Member Functions

 OSXProcessPeer ()
virtual ~OSXProcessPeer ()
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 ()

Static Protected Member Functions

static OSStatus osxProcessTerminated (EventHandlerCallRef inHandlerCallRef, EventRef inEvent, void *inUserData)

Protected Attributes

OSXProcessHandle processHandle_
VCF::String processFileName_
bool processTerminated_

Constructor & Destructor Documentation

VCF::OSXProcessPeer::OSXProcessPeer  ) 
 

virtual VCF::OSXProcessPeer::~OSXProcessPeer  )  [virtual]
 


Member Function Documentation

virtual bool VCF::OSXProcessPeer::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::OSXProcessPeer::getHandleID  )  [inline, virtual]
 

Implements VCF::ProcessPeer.

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

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

Implements VCF::ProcessPeer.

virtual int VCF::OSXProcessPeer::getProcessID  )  [inline, virtual]
 

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

Implements VCF::ProcessPeer.

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

returns the process's main thread ID

Implements VCF::ProcessPeer.

static OSStatus VCF::OSXProcessPeer::osxProcessTerminated EventHandlerCallRef  inHandlerCallRef,
EventRef  inEvent,
void *  inUserData
[static, protected]
 

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

Implements VCF::ProcessPeer.

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

Implements VCF::ProcessPeer.

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

Implements VCF::ProcessPeer.


Member Data Documentation

VCF::String VCF::OSXProcessPeer::processFileName_ [protected]
 

OSXProcessHandle VCF::OSXProcessPeer::processHandle_ [protected]
 

bool VCF::OSXProcessPeer::processTerminated_ [protected]
 


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