VR-Forces 4.0.4 Class Documentation
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes
DtRemoteConfigurationEntry Class Reference

This file declares DtRemoteConfigurationEntry. More...

Inheritance diagram for DtRemoteConfigurationEntry:
Inheritance graph
[legend]

List of all members.

Public Types

typedef
DtRemoteConfigurationEntry *(* 
CreatorFcn )(const DtString &name, DtReaderWriterRegistry *parentRegistry)
typedef std::map< std::string,
DtReaderWriter * > 
SharedParameterPartsMap
typedef
SharedParameterPartsMap::iterator 
SharedPartsIterator
typedef
SharedParameterPartsMap::const_iterator 
const_SharedPartsIterator

Public Member Functions

 DtRemoteConfigurationEntry ()
 Default Constructor.
 DtRemoteConfigurationEntry (const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL, bool readonly=false)
 Constructor.
 DtRemoteConfigurationEntry (const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL, bool readonly=false)
 Constructor.
 DtRemoteConfigurationEntry (const DtRemoteConfigurationEntry &orig)
 Copy constructor.
 DtRemoteConfigurationEntry (const DtString &name, const DtRemoteConfigurationEntry &orig, DtReaderWriterRegistry *parentRegistry=NULL)
 Copy constructor.
 DtRemoteConfigurationEntry (const DtSymbolString &name, const DtRemoteConfigurationEntry &orig, DtReaderWriterRegistry *parentRegistry=NULL)
 Copy constructor.
virtual ~DtRemoteConfigurationEntry ()
 Destructor.
virtual
DtRemoteConfigurationEntry
clone () const
 Clone operator.
DtRemoteConfigurationEntryoperator= (const DtRemoteConfigurationEntry &orig)
 Assignment operator.
virtual bool addSharedParameterPart (DtReaderWriter *pParamPart)
 Add the reader writer object to mySharedParameterParts.
virtual void clearSharedParameterParts ()
 Erases the shared parameter parts map.
virtual DtReaderWriterfindSharedParameterPart (const char *pKeyName)
 looks up the parameter chunk by key name and returns it if found, otherwise returns NULL.
virtual void setVariableBindings (const DtVariableBindingsSharedPtr &bindings)
virtual DtVariableBindingsSharedPtr variableBindings ()
SharedParameterPartsMapsharedParameterParts ()
const SharedParameterPartsMapsharedParameterParts () const
const DtStringcomponentConfigurationFilename () const
 Get/set component configuration filename.
void setComponentConfigurationFilename (const DtString &fn)
 Get/set component configuration filename.
const DtStringkeyName () const
 Get/set key name, used to lookup named configuration.
void setKeyName (const DtString &kname)
 Get/set key name, used to lookup named configuration.

Static Public Member Functions

static DtRemoteConfigurationEntrycreate (const DtString &name, DtReaderWriterRegistry *parentRegistry)

Protected Attributes

DtRwString myConfigurationFilePath
 Filepath containing the configuration.
DtRwString myKeyName
 The lookup name of the configuration.
SharedParameterPartsMap mySharedParameterParts
 This is a lookup table for things like descriptor lists, keyed by reader writer name.
DtVariableBindingsSharedPtr myVariableBindings
 These are used to resolve symbols in the configuration file.

Detailed Description

This file declares DtRemoteConfigurationEntry.

DtRemoteConfigurationEntry


Member Typedef Documentation

This map is used to store things like descriptor lists, which are shared among simulated objects that match this entry.

typedef SharedParameterPartsMap::iterator DtRemoteConfigurationEntry::SharedPartsIterator

This map is used to store things like descriptor lists, which are shared among simulated objects that match this entry.

typedef SharedParameterPartsMap::const_iterator DtRemoteConfigurationEntry::const_SharedPartsIterator

This map is used to store things like descriptor lists, which are shared among simulated objects that match this entry.


Constructor & Destructor Documentation

Default Constructor.

DtRemoteConfigurationEntry::DtRemoteConfigurationEntry ( const DtString name,
DtReaderWriterRegistry parentRegistry = NULL,
bool  readonly = false 
)

Constructor.

DtRemoteConfigurationEntry::DtRemoteConfigurationEntry ( const DtSymbolString name,
DtReaderWriterRegistry parentRegistry = NULL,
bool  readonly = false 
)

Constructor.

Copy constructor.

Copy constructor.

Copy constructor.

Destructor.


Member Function Documentation

Clone operator.

DtRemoteConfigurationEntry& DtRemoteConfigurationEntry::operator= ( const DtRemoteConfigurationEntry orig)

Assignment operator.

static DtRemoteConfigurationEntry* DtRemoteConfigurationEntry::create ( const DtString name,
DtReaderWriterRegistry parentRegistry 
) [static]

Add the reader writer object to mySharedParameterParts.

Keyed by pParamPart->name(). If a duplicate is found, the original is retained, and false is returned. Returns true if the item was added. If the item is added, the remoteConfigurationMemory assumes responsibility for deleting it.

Erases the shared parameter parts map.

Get/set component configuration filename.

References myConfigurationFilePath.

Get/set component configuration filename.

References myConfigurationFilePath.

virtual DtReaderWriter* DtRemoteConfigurationEntry::findSharedParameterPart ( const char *  pKeyName) [virtual]

looks up the parameter chunk by key name and returns it if found, otherwise returns NULL.

const DtString & DtRemoteConfigurationEntry::keyName ( ) const [inline]

Get/set key name, used to lookup named configuration.

References myKeyName.

void DtRemoteConfigurationEntry::setKeyName ( const DtString kname) [inline]

Get/set key name, used to lookup named configuration.

References myKeyName.


Member Data Documentation

Filepath containing the configuration.

Referenced by componentConfigurationFilename(), and setComponentConfigurationFilename().

The lookup name of the configuration.

Referenced by keyName(), and setKeyName().

This is a lookup table for things like descriptor lists, keyed by reader writer name.

Referenced by sharedParameterParts().

These are used to resolve symbols in the configuration file.

The variable bindings come from DtMtlParameterDb, and are provided by DtMtlParameterDbReader


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)