rGeddei::RemoteDomProcessor Class Reference
[rGeddei's core classes.]

RemoteProcessor refinement and AbstractDomProcessor realisation. More...

#include <remotedomprocessor.h>

Inheritance diagram for rGeddei::RemoteDomProcessor:

Inheritance graph
[legend]
Collaboration diagram for rGeddei::RemoteDomProcessor:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual const bool spawnWorker (RemoteSession &session)
virtual const bool spawnWorker (LocalSession &session)
virtual ~RemoteDomProcessor ()

Friends

class AbstractDomProcessor

Detailed Description

RemoteProcessor refinement and AbstractDomProcessor realisation.

Author:
Gav Wood <gav@cs.york.ac.uk>
This class is used in exactly the same way as a RemoteProcessor class. It accomplishes exactly the same job. However it caters for the situation where a DomProcessor is to be used. It provides convenience methods for creating DomProcessor representations directly from a SubProcessor type (i.e. class name).


Constructor & Destructor Documentation

rGeddei::RemoteDomProcessor::~RemoteDomProcessor (  )  [virtual]

Default destructor.


Member Function Documentation

const bool rGeddei::RemoteDomProcessor::spawnWorker ( LocalSession session  )  [virtual]

Create and couple a SubProcessor hosted in session session to this, using it as a worker.

Similar concept to Geddei::DomProcessor::createAndAddWorker, but a different name to prevent confusion, since this works with sessions rather than lower level concepts.

Parameters:
session The local session under which to create the SubProcessor worker object.
Returns:
true if the worker was created successfully.

Implements rGeddei::AbstractDomProcessor.

const bool rGeddei::RemoteDomProcessor::spawnWorker ( RemoteSession session  )  [virtual]

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Create and couple a SubProcessor hosted in session session to this, using it as a worker.

Similar concept to Geddei::DomProcessor::createAndAddWorker, but a different name to prevent confusion, since this works with sessions rather than lower level concepts.

Parameters:
session The remote session under which to create the SubProcessor worker object.
Returns:
true if the worker was created successfully.

Implements rGeddei::AbstractDomProcessor.


The documentation for this class was generated from the following files:
Generated on Thu Jul 13 06:56:52 2006 for Exscalibar by  doxygen 1.4.7