Public Member Functions |
| virtual | ~DtSharedCigiSettings () |
| | Destructor.
|
| virtual void | addCigiSettings (const std::string &settingsName) |
| | Create new settings with the specified name.
|
| virtual void | setCigiSettings (const std::string &settingsName, const makArchives::DtCigiSettingsRecord &record) |
| | Set the specified settings with the name.
|
| virtual void | removeCigiSettings (const std::string &settingsName) |
| | Remove the settings with the specified name.
|
| virtual void | setCurrentSettingsName (const std::string &settingsName) |
| | Sets the name of the current settings being used.
|
virtual const
makArchives::DtCigiSettingsRecord * | currentSettings () const |
| | Returns the current settings.
|
| virtual const std::string & | currentSettingsName () const |
| | Returns the name of the current settings.
|
virtual
makArchives::DtCigiSettingsRecord * | findCigiSettingsByName (const std::string &settingsName) |
| | Returns a pointer of the settings of the given name.
|
virtual const
makArchives::DtCigiSettingsRecord * | findCigiSettingsByName (const std::string &settingsName) const |
| | Const version of the above method.
|
| virtual bool | definitionInUse (const std::string &def) const |
| | Returns true if any of the mappers use the given definition.
|
| virtual const std::string & | mapEntityModelDefinition (int entType) const |
| | Returns the model definition that the CIGI entity type maps to for the particular settings.
|
| virtual const std::string & | mapEntityModelSchemaName (int entType) const |
| | Returns the schema type that the CIGI entity type maps to for the particular settings.
|
virtual
StringToSettingsMap::const_iterator | begin () const |
| | Iterators that point to the beginning and end of the settings map.
|
virtual
StringToSettingsMap::const_iterator | end () const |
| virtual unsigned int | settingsCount () const |
| | Returns the number of settings contained in the settings map.
|
| virtual const std::string & | findDatabaseFilename (int databaseNumber) |
| | Returns the filename that corresponds to the database number.
|
| virtual const std::string & | findAnimationName (int animationId) |
| | Returns the animation that corresponds to the specified ID.
|
| virtual const std::string & | findActiveRegionName (int regionId) |
| | Returns the active sensor region that corresponds to the specified ID.
|
virtual const std::vector
< std::string > & | componentStrings (makArchives::DtCigiComponentClass compClass) const |
| | Returns a list of all the possible components for the specified component class.
|
| virtual const DtSettingsBackup * | settingsBackup (const std::string &name) const |
| | Returns a backup object by cigi settings name.
|
| virtual DtSettingsBackup * | settingsBackup (const std::string &name) |
| virtual void | addModelStateMapping (int cigiId, int stateId) |
| | Adds a CIGI Component ID to state ID mapping.
|
| virtual void | removeModelStateMapping (int cigiId) |
| | Removes the CIGI Component ID to State ID mapping.
|
| virtual void | setArtPartMapping (int entType, int cigiId, int disId) |
| | Sets the mapping from CIGI ID to DIS ID for the specified entity type.
|
| virtual void | removeArtPartMapping (int entType, int cigiId) |
| | Removes the articulated part mapping for the particular entity type.
|
| virtual void | addDatabaseMapping (int databaseNumber, const std::string &filename) |
| | Adds a database number to filename mapping.
|
| virtual void | removeDatabaseMapping (int databaseNumber) |
| | Removes the database mapping with the specified database number.
|
| virtual void | addObserverModeMapping (int observerNumber, const std::string &filename) |
| | Adds an observer mode number to observer name mapping.
|
| virtual void | removeObserverModeMapping (int observerNumber) |
| | Removes the observer mode mapping with the specified observer mode number.
|
| virtual void | addComponentIdMapping (makArchives::DtCigiComponentClass compClass, int compId, const std::string &compName) |
| | Adds a mapping of component ID to name for the particular component class.
|
| virtual void | removeComponentIdMapping (makArchives::DtCigiComponentClass compClass, int compId) |
| | Removes the component ID mapping with the specified ID for the particular component class.
|
| virtual void | addAnimationMapping (int animationId, const std::string &animationName) |
| | Adds an animation ID to name mapping.
|
| virtual void | removeAnimationMapping (int animationId) |
| | Removes the animation mapping with the specified ID.
|
| virtual void | addActiveRegionMapping (int regionId, const std::string ®ionName) |
| | Adds an active sensor region ID to name mapping.
|
| virtual void | removeActiveRegionMapping (int regionId) |
| | Removes the active sensor region name mapping with the specified ID.
|
| virtual void | setEntityTypeModelMapping (int entType, const std::string &modelName, const std::string &schemaName) |
| | Sets the model definition and schema type for the CIGI entity type.
|
| virtual void | removeEntityTypeModelMapping (int entType) |
| | Removes the entity type mapping for the CIGI entity type.
|
| virtual bool | remapEntityType (int oldType, int newType) |
| | Changes the entity type in the mapping from oldType to newType.
|
| virtual bool | renameModelDefinition (const std::string &oldName, const std::string &newName, std::vector< std::string > &mappersChanged) |
| | Goes through all the mappers and renames the model definition to the new name.
|
| | DtSharedSettings (const DtSharedSettingsManager &manager) |
| | CTOR.
|
| virtual | ~DtSharedSettings () |
| | DTOR.
|
| boost::shared_mutex & | mutex () |
| | Get the mutex for the settings object.
|
| SafetyKey | safeToEmitSignals () |
| | Create a safety key for the function, see above example.
|
| void | setCurrentWriteLock (boost::unique_lock< boost::shared_mutex > *currentWriteLock) |
| | No need to call, set by the DtWriteSettingLock object.
|
| virtual const DtSettingsBackup * | settingsBackup () const |
| | Accessor for the settings backup (const).
|
| virtual DtSettingsBackup * | settingsBackup () |
| | Accessor for the settings backup.
|
| virtual void | backup () |
| | Called to back up the settings.
|
| | DtVirtualBaseClass () |
| | Do nothing constructor.
|
| virtual | ~DtVirtualBaseClass () |
| | Virtual do nothing destructor.
|
The shared CIGI settings.
This class contains all of the settings, and each has a name. The current settings should be set, and then all of the add/set/remove/find methods will act on the current settings. This class also emits thread-safe signals via the DtCigiSettingsSignaler so that the settings contained within the DtCigiConnection can be updated while running.