VR-Forces 4.1.1 Class Documentation
List of all members | Public Member Functions | Protected Attributes
DtTopLevelComponentSystem Class Reference

A specialized version of DtComponentSystem that is used as the root of the all the systems on a DtVrfObject. More...

Inheritance diagram for DtTopLevelComponentSystem:
Inheritance graph
[legend]

Public Member Functions

 DtTopLevelComponentSystem (DtVrfObject *owner, DtSimManager *simManager)
virtual ~DtTopLevelComponentSystem ()
virtual bool init ()
virtual DtSimResourceManagerresourceManager ()
virtual const
DtSimResourceManager
resourceManager () const
- Public Member Functions inherited from DtComponentSystem
 DtComponentSystem (DtVrfObject *owner, DtSimManager *simManager, const DtComponentSystemDescriptor *desc, DtComponentSystem *parentSystem)
virtual ~DtComponentSystem ()
virtual bool initializeFromDescriptor (int &priority)
 Creates the components, systems, and resources specified in the descriptor for the system.
virtual bool postAddComponentsInit ()
 Calls DtSimComponent::postAddComponentsInit() on all contained components.
virtual void tick ()
 Calls DtSimCompoennt::tick() on all contained components.
virtual DtString name () const
virtual DtString fullName () const
virtual
DtVrfProcessStateRepositoryManager
processStateRepositoryManager ()
virtual void restoreResources ()
 Restores resource values to the values specified in the parameters for this system and all child systems.
virtual DtSimComponentNetworkcomponentNetwork ()
virtual const
DtSimComponentNetwork
componentNetwork () const
virtual void resolveSystemOutput (const DtString &outputName, DtComponentPortList &componentOutputs)
 Within systems, connections are made from components to "system" or vice versa.
virtual void resolveSystemInput (const DtString &inputName, DtComponentPortList &componentInputs)
 Within systems, connections are made from components to "system" or vice versa.
virtual void enable ()
 Enables/disables components/systems in the system.
virtual void disable ()
 Enables/disables components/systems in the system.
virtual bool isEnabled ()
 Check if the system is enabled, component's tick function will be called, otherwise it will not.
virtual void setIsEnabled (bool yesNo)
 Check if the system is enabled, component's tick function will be called, otherwise it will not.

Protected Attributes

DtSimResourceManagermyResouceManager
- Protected Attributes inherited from DtComponentSystem
const DtComponentSystemDescriptormySystemDescriptor
DtSimManagermySimManager
DtVrfObjectmyVrfObject
DtSimComponentNetworkmyComponentNetwork
DtComponentSystemPSRmyProcessStateRepository
DtComponentSystemmyParentSystem

Private Member Functions

 DtTopLevelComponentSystem ()
 Not Implemented.
 DtTopLevelComponentSystem (const DtTopLevelComponentSystem &orig)
 Not Implemented.
DtTopLevelComponentSystemoperator= (const DtTopLevelComponentSystem &orig)
 Not Implemented.

Additional Inherited Members

- Public Types inherited from DtComponentSystem
typedef std::list< std::pair
< DtSimComponent *, DtString > > 
DtComponentPortList
- Protected Member Functions inherited from DtComponentSystem
virtual bool createPsr ()
 Creates the PSR and sets it to myProcessStateRepository.

Detailed Description

A specialized version of DtComponentSystem that is used as the root of the all the systems on a DtVrfObject.

This system contains all the other systems, as well as all the top level DtSimComponent instances for an object. One specialization is that it uses the DtSimResouceManager from the main state repository instead of one in its own PSR like most systems do.

Constructor & Destructor Documentation

DtTopLevelComponentSystem::DtTopLevelComponentSystem ( )
private

Not Implemented.

DtTopLevelComponentSystem::DtTopLevelComponentSystem ( const DtTopLevelComponentSystem orig)
private

Not Implemented.

DtTopLevelComponentSystem::DtTopLevelComponentSystem ( DtVrfObject owner,
DtSimManager simManager 
)
virtual DtTopLevelComponentSystem::~DtTopLevelComponentSystem ( )
virtual

Member Function Documentation

DtTopLevelComponentSystem& DtTopLevelComponentSystem::operator= ( const DtTopLevelComponentSystem orig)
private

Not Implemented.

virtual bool DtTopLevelComponentSystem::init ( )
virtual

Reimplemented from DtComponentSystem.

virtual DtSimResourceManager& DtTopLevelComponentSystem::resourceManager ( )
virtual
Returns
The resource manager for this system. This includes resources for this system only.

Reimplemented from DtComponentSystem.

virtual const DtSimResourceManager& DtTopLevelComponentSystem::resourceManager ( ) const
virtual
Returns
The resource manager for this system. This includes resources for this system only.

Reimplemented from DtComponentSystem.

Member Data Documentation

DtSimResourceManager& DtTopLevelComponentSystem::myResouceManager
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)