Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Subordinate Class Template Reference

#include <Supervisor.h>

Inheritance diagram for Subordinate::

SubordinateBase List of all members.

Public Methods

 Subordinate (B &boss)
W* operator-> ()
SupervisorgetBoss () const
ComputationManagergetWorker () const
void terminateWorker ()
bool exists () const

Protected Methods

void acceptAllocation (OID oid, ARCSlotID asi, ARC arc, bool overrides)

Private Methods

void deleteWorker ()

Private Attributes

B& theBoss
W* theWorker

Friends

class  MirrorSubordinate

template<class B, class W> class Subordinate


Constructor & Destructor Documentation

template<class B, class W>
Subordinate<B, W>::Subordinate<B, W> ( B & boss ) [inline]
 

Definition at line 186 of file Supervisor.h.


Member Function Documentation

template<class B, class W>
W * Subordinate<B, W>::operator-> ( ) [inline]
 

Definition at line 195 of file Supervisor.h.

Referenced by acceptAllocation().

template<class B, class W>
Supervisor & Subordinate<B, W>::getBoss ( ) const [inline, virtual]
 

Reimplemented from SubordinateBase.

Definition at line 208 of file Supervisor.h.

template<class B, class W>
ComputationManager * Subordinate<B, W>::getWorker ( ) const [inline, virtual]
 

Reimplemented from SubordinateBase.

Definition at line 210 of file Supervisor.h.

template<class B, class W>
void Subordinate<B, W>::terminateWorker ( ) [inline, virtual]
 

Reimplemented from SubordinateBase.

Definition at line 213 of file Supervisor.h.

template<class B, class W>
bool Subordinate<B, W>::exists ( ) const [inline, virtual]
 

Reimplemented from SubordinateBase.

Definition at line 221 of file Supervisor.h.

template<class B, class W>
void Subordinate<B, W>::acceptAllocation ( OID oid,
ARCSlotID asi,
ARC arc,
bool overrides ) [inline, protected, virtual]
 

Reimplemented from SubordinateBase.

Definition at line 225 of file Supervisor.h.

template<class B, class W>
void Subordinate<B, W>::deleteWorker ( ) [inline, private, virtual]
 

Reimplemented from SubordinateBase.

Definition at line 235 of file Supervisor.h.


Friends And Related Function Documentation

template<class B, class W>
friend class MirrorSubordinate<B, W> [friend]
 

Definition at line 182 of file Supervisor.h.


Member Data Documentation

template<class B, class W>
B& Subordinate<B, W>::theBoss [private]
 

Definition at line 243 of file Supervisor.h.

template<class B, class W>
W* Subordinate<B, W>::theWorker [private]
 

Definition at line 245 of file Supervisor.h.


The documentation for this class was generated from the following file:
Generated at Tue Jun 19 09:50:09 2001 for Magnus Classes by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001