VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 DtLocalObject. 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.

Inheritance diagram for DtTopLevelComponentSystem:
Inheritance graph
[legend]

Public Member Functions

 DtTopLevelComponentSystem (DtLocalObject *owner, DtSimulationServices *simManager)
 
virtual ~DtTopLevelComponentSystem ()
 
virtual bool init ()
 
virtual DtSimResourceManagerresourceManager ()
 
virtual const
DtSimResourceManager
resourceManager () const
 
- Public Member Functions inherited from DtComponentSystem
 DtComponentSystem (DtLocalObject *owner, DtSimulationServices *simManager, const DtComponentSystemDescriptor *desc, DtComponentSystem *parentSystem)
 
virtual ~DtComponentSystem ()
 
virtual bool initializeFromDescriptor (int &priority, bool remoteOnly)
 
virtual bool postAddComponentsInit ()
 
virtual void tick ()
 
virtual DtString name () const
 
virtual DtString fullName () const
 
virtual DtString systemName () const
 
virtual DtString printName () const
 
virtual void setPrintName (const DtString &name)
 
virtual DtComponentSystemlookupSystem (const DtString &printName)
 
virtual DtComponentSystemlookupSystemFromRwName (const DtString &rwName)
 
virtual DtComponentSystemlookupSystemFromFullName (const DtString &fullName)
 
virtual void getSystemNames (std::list< std::string > &nameList) const
 
virtual
DtVrfProcessStateRepositoryManager
processStateRepositoryManager ()
 
virtual void restoreResources ()
 
virtual DtComponentSystemPSRprocessStateRepository ()
 
virtual DtSimComponentNetworkcomponentNetwork ()
 
virtual const
DtSimComponentNetwork
componentNetwork () const
 
virtual void resolveSystemOutput (const DtString &outputName, DtComponentPortList &componentOutputs)
 
virtual void resolveSystemInput (const DtString &inputName, DtComponentPortList &componentInputs)
 
virtual void enable ()
 
virtual void disable ()
 
virtual bool isEnabled () const
 
virtual void setIsEnabled (bool yesNo)
 
virtual bool canBeDisabled () const
 
virtual bool addAttributeProviderFunction (const DtString &attributeName, genericAttributeProviderFunctionType attributeFunction, void *controller)
 
virtual bool addAttributeSetFunction (const DtString &attributeName, genericAttributeSetterFunctionType attributeFunction, void *controller)
 
virtual DtReaderWritergetAttribute (const DtString &attributeName, bool &error) const
 
virtual bool setAttribute (const DtString &attributeName, DtReaderWriter *value)
 
virtual std::list< std::string > getAllAttributeNames () const
 
virtual void setUseParentSystemResourceManager (bool)
 
virtual bool useParentSystemResourceManager () const
 

Protected Attributes

DtSimResourceManagermyResouceManager
 
- Protected Attributes inherited from DtComponentSystem
const DtComponentSystemDescriptormySystemDescriptor
 
DtSimulationServicesmySimManager
 
DtLocalObjectmyVrfObject
 
DtSimComponentNetworkmyComponentNetwork
 
DtComponentSystemPSRmyProcessStateRepository
 
DtComponentSystemmyParentSystem
 
DtString myPrintName
 
std::map< DtString, std::pair
< genericAttributeProviderFunctionType,
void * > > 
myReadableAttributes
 
std::map< DtString, std::pair
< genericAttributeSetterFunctionType,
void * > > 
myWritableAttributes
 
std::list< std::pair< DtString,
DtVrfProcessStateRepositoryManager * > > 
myAddedCompatibilityPsrs
 
bool myUseParentSystemResourceManager
 
DtPlatformLocalObjectFacade myPlatformLocalObjectFacade
 

Private Member Functions

 DtTopLevelComponentSystem ()
 
 DtTopLevelComponentSystem (const DtTopLevelComponentSystem &orig)
 
DtTopLevelComponentSystemoperator= (const DtTopLevelComponentSystem &orig)
 

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 ()
 
void removeCompatibilityPsrs ()
 
virtual void restore (DtSimComponentList *)
 

Constructor & Destructor Documentation

DtTopLevelComponentSystem::DtTopLevelComponentSystem ( )
private

Not Implemented.

DtTopLevelComponentSystem::DtTopLevelComponentSystem ( const DtTopLevelComponentSystem orig)
private

Not Implemented.

DtTopLevelComponentSystem::DtTopLevelComponentSystem ( DtLocalObject owner,
DtSimulationServices 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 Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)