ProcessLoader Class Reference

The base ProcessLoader. More...

#include <processloader.h>

Inheritance diagram for ProcessLoader:

Inheritance graph
[legend]
Collaboration diagram for ProcessLoader:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ProcessLoader ()
virtual ~ProcessLoader ()
DataBlockClassread (int portId)
void write (int portId, DataBlockClass *dataBlock)
void execute (const char *operation)
void execute (int operation)
LibManagergetLibManager ()
void loadLibraries ()
void loadProcessArgs ()
int getProcessArgc ()
char ** getProcessArgs ()
virtual void init ()
virtual bool load ()
virtual void exit ()
std::string getStateString ()

Friends

std::ostream & operator<< (std::ostream &stream, ProcessLoader &p)

Detailed Description

The base ProcessLoader.

Implements the base functionality of a ProcessLoader common to all types. Specializations of this class provide access to processes of different languages.

See also:
CProcessLoader

CPPProcessLoader


Constructor & Destructor Documentation

ProcessLoader::ProcessLoader  ) 
 

Constructs a ProcessLoader

ProcessLoader::~ProcessLoader  )  [virtual]
 


Member Function Documentation

DataBlockClass * ProcessLoader::read int  portID  ) 
 

Calls come from the user code via an exposed API. Reads from the connected port.

Also sends a read event through the trace channel if mapped.

See also:
PNConnection::read()
Parameters:
portID The id of the in port
Returns:
A data block if successful NULL otherwise. NULLs occur if the port is not connected.

void ProcessLoader::write int  portID,
DataBlockClass dataBlock
 

Calls come from the user code via an exposed API. Writes to the connected port. The write will not occur if the port specified is not connected or invalid or the PNConnection has a limit, is full, and the reader thread has already exited.

Also sends a write event through the trace channel if mapped.

See also:
PNConnection::write()
Parameters:
portID The id of the in port
dataBlock The data to be written.

void ProcessLoader::execute const char *  operation  ) 
 

Sends an execute event through the trace channel if mapped.

Parameters:
operation The operation being executed

void ProcessLoader::execute int  operation  ) 
 

Sends an execute event through the trace channel if mapped.

Parameters:
operation The operation being executed

LibManager* ProcessLoader::getLibManager  )  [inline]
 

void ProcessLoader::loadLibraries  ) 
 

void ProcessLoader::loadProcessArgs  ) 
 

int ProcessLoader::getProcessArgc  )  [inline]
 

char** ProcessLoader::getProcessArgs  )  [inline]
 

void ProcessLoader::init  )  [virtual]
 

Do nothing.

Reimplemented from YMLNode.

bool ProcessLoader::load  )  [virtual]
 

Reimplemented in CPPProcessLoader.

void ProcessLoader::exit  )  [virtual]
 

Reimplemented in CPPProcessLoader.

string ProcessLoader::getStateString  ) 
 


Friends And Related Function Documentation

std::ostream& operator<< std::ostream &  stream,
ProcessLoader p
[friend]
 


The documentation for this class was generated from the following files:
Generated on Wed Apr 5 21:05:09 2006 for Sesame by  doxygen 1.4.6