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

LocalProcessor refinement and AbstractDomProcessor realisation. More...

#include <localdomprocessor.h>

Inheritance diagram for rGeddei::LocalDomProcessor:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Friends

class AbstractDomProcessor

Detailed Description

LocalProcessor refinement and AbstractDomProcessor realisation.

Author:
Gav Wood <gav@cs.york.ac.uk>
This class is used in exactly the same way as a LocalProcessor 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 from a SubProcessor or existing DomProcessor objects.


Constructor & Destructor Documentation

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

Default destructor.


Member Function Documentation

const bool rGeddei::LocalDomProcessor::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.

const bool rGeddei::LocalDomProcessor::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.


The documentation for this class was generated from the following files:
Generated on Fri Nov 10 21:58:40 2006 for Exscalibar by  doxygen 1.5.1