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

ResourceManager Class Reference

#include <ResourceManager.h>

Inheritance diagram for ResourceManager::

ComputationManager AbelianEltPowerSubgrComp AbelianHomIsEpiComp AbelianHomIsMonoComp AbelianInvariants AbelianInvariantsOfFactor AbelianMaximalRootComp AbelianPrimes AbelianRank AbelianSGInvariants AbelianSGPrimes AGSupervisor APofFreeIsFree ApproxMethod AutEnumerator CommutatorRewriteProblem EqSystemInAbelianCM EquationInAbelianCM EquationRandomSolutions EquationSolver FastComputation FNWPCM FPConjugacyWrapper FPImagePresentationCM FPKernelPresentationCM FreeGeneralIsPartOfBasis FreeIsPartOfBasis GAConjugacyForORGroup GAEquationCM GAIsPartOfBasisCM GAWordForORGroup GeneticWPCM HNNofFreeIsFree HomologyProblem HSGIndexToddCoxeter HToddCoxeter IsWordAPE KBSupervisor KBSupervisorCM MSCConjugacyWrapper NGcomputeBasis NGdecomposeWord NGIsomorphismProblem NilpotentQuotients NilpotentWP NilpotentWPInQuotients NormalClosure OrderOfEltInQuotients ORExtendedWordProblemCM ORIsFreeProblem ORWordProblemCM RankOfElement RankOfSubgroup SCPinNilpotentQuotients SGIndexToddCoxeter SGNilpotentQuotients SGOfNGinitializeProblem SGOfNGinitPreimageProblem SGOfNGWordContain SMListGeneticWPCM SMListSGAbelianComputation SMListSGCentralComputation SMListSGTrivialComputation SMListWordIsCentralComputation SMListWPCheckComputation SquareRewriteProblem SubgroupContainment Supervisor TCMethod ToddCoxeter TTCM TwoCommCM UnboundedSupervisor WordRepresentative List of all members.

Public Methods

 ResourceManager (OID oid)
 ~ResourceManager ()
OID getOID () const
ARC freeARCs () const
bool workingFor (OID oid) const
bool isNeeded () const
void freeze ()
void liquefy ()
void allocate (ResourceManager &recipient, ARC arcs)
void acceptAllocation (OID benefactor, ARCSlotID asi, ARC arcs, bool overrides=false)
void usedARCs (ARC arcs)
void usedOneARC ()
void usedMemory (int kilobytes)

Private Methods

bool isLiquid (OID oid) const
 ResourceManager (const ResourceManager &)
ResourceManager& operator= (const ResourceManager &)

Private Attributes

ResourcestoUse
ResourceslastDrawnFrom
OID theOID

Constructor & Destructor Documentation

ResourceManager::ResourceManager ( OID oid )
 

ResourceManager::~ResourceManager ( )
 

ResourceManager::ResourceManager ( const ResourceManager & ) [private]
 


Member Function Documentation

OID ResourceManager::getOID ( ) const
 

ARC ResourceManager::freeARCs ( ) const
 

bool ResourceManager::workingFor ( OID oid ) const
 

bool ResourceManager::isNeeded ( ) const
 

void ResourceManager::freeze ( )
 

void ResourceManager::liquefy ( )
 

void ResourceManager::allocate ( ResourceManager & recipient,
ARC arcs )
 

void ResourceManager::acceptAllocation ( OID benefactor,
ARCSlotID asi,
ARC arcs,
bool overrides = false )
 

void ResourceManager::usedARCs ( ARC arcs )
 

void ResourceManager::usedOneARC ( )
 

void ResourceManager::usedMemory ( int kilobytes ) [inline]
 

Definition at line 104 of file ResourceManager.h.

bool ResourceManager::isLiquid ( OID oid ) const [private]
 

ResourceManager& ResourceManager::operator= ( const ResourceManager & ) [private]
 


Member Data Documentation

Resources* ResourceManager::toUse [private]
 

Definition at line 147 of file ResourceManager.h.

Resources* ResourceManager::lastDrawnFrom [private]
 

Definition at line 150 of file ResourceManager.h.

OID ResourceManager::theOID [private]
 

Definition at line 153 of file ResourceManager.h.


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