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

VCF::Process Class Reference

#include <vcf/FoundationKit/VCFProcess.h>

Inheritance diagram for VCF::Process:

VCF::Object VCF::Waitable List of all members.

Public Member Functions

 Process ()
virtual ~Process ()
int getID ()
int getThreadID ()
bool createProcess (const String &processName, const String &arguments)
 The default behaviour is to just start the process, assuming the processName is a path to the executable.
String getName ()
uint32 terminate ()
virtual WaitResult wait ()
virtual WaitResult wait (uint32 milliseconds)
virtual OSHandleID getPeerHandleID ()

Protected Attributes

ProcessPeerprocessPeer_

Constructor & Destructor Documentation

VCF::Process::Process  ) 
 

virtual VCF::Process::~Process  )  [virtual]
 


Member Function Documentation

bool VCF::Process::createProcess const String processName,
const String arguments
 

The default behaviour is to just start the process, assuming the processName is a path to the executable.

However, we are now going to get a tad fancier!

If the processName is a directory, we will try and locate the Info.plist/Info.xml file, read it, and, based on the info we get, attempt to use this to open the binary inside.

Parameters:
String the fully qualified file name of the process to create, or a directory that includes a Info.plist/Info.xml file in it identifying the process's ProgramInfo.
See also:
System::getProgramInfoFromFileName()

ProgramInfo

Parameters:
String the command line arguments to pass to the newly created process.

int VCF::Process::getID  ) 
 

String VCF::Process::getName  ) 
 

virtual OSHandleID VCF::Process::getPeerHandleID  )  [virtual]
 

Implements VCF::Waitable.

int VCF::Process::getThreadID  ) 
 

uint32 VCF::Process::terminate  ) 
 

virtual WaitResult VCF::Process::wait uint32  milliseconds  )  [virtual]
 

Implements VCF::Waitable.

virtual WaitResult VCF::Process::wait  )  [virtual]
 

Implements VCF::Waitable.


Member Data Documentation

ProcessPeer* VCF::Process::processPeer_ [protected]
 


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