Shared information about the current model set and entities/platforms that are available to it.
More...
Public Member Functions |
| virtual | ~DtSharedModelSet () |
| | DTOR.
|
| virtual void | setModelSet (DtModelSet *) |
| | Sets the model set into this manager. Replaces existing model set.
|
| virtual void | clearModelSet () |
| | Creates a new model set.
|
| virtual bool | load (const DtFilename &, bool signal=false) |
| | Loads model set from file.
|
| virtual void | addSimulationObjectGroupModelSetEntry (DtSimulationObjectGroupModelSetEntry *entry) |
| | Adds a new simulation object group model set entry.
|
virtual
DtSimulationObjectGroupModelSetEntry | findSimulationObjectGroup (const std::string &sogName) const |
| | Returns the entry that has a filename which references the given simulation object group.
|
| virtual void | getSupportPoints (const DtEntityType &et, DtVector &left, DtVector &right, DtVector &other) |
| | Gets the support points of the object.
|
| virtual std::string | getNavDataPath (const DtEntityType &et) |
| virtual Dt3dBoundingVolume | getBoundingVolume (const DtEntityMapperKey &et) |
| | Returns the bounding volume of the given entity.
|
| virtual bool | loadFromDataFiles (const DtFilename &entities, const DtFilename &platforms, bool signal=true) |
| | Loads models from data files in given directory for entities and platforms.
|
| virtual void | mergeFavorites (const DtModelSet *f) |
| | Merges favorites into this model set.
|
| virtual DtEntityType | nameToType (const DtString &) const |
| | Give a label return the entity type that has an exact match (case included) for that label.
|
| virtual DtModelSetEntry * | modelSetEntry (const DtEntityMapperKey &key) const |
| | Find exactly or by matching pattern.
|
| virtual std::string | additionalKeywords (const DtEntityMapperKey &) const |
| | Set/get additional keywords that will be used with the given entity mapper key (exact match).
|
| virtual void | setAdditionalKeywords (const DtEntityMapperKey &, const std::string &, bool replace=false) |
| virtual DtModelSetEntry * | exactModelSetEntry (const DtEntityMapperKey &key) const |
| | Find exactly only.
|
| virtual bool | canHoldSubordinates (const DtEntityMapperKey &key) const |
| | Returns true if the given type has the ability to contain subordinates.
|
| virtual DtModelSetEntry * | addModelSetEntry (const DtString &label, const DtEntityMapperKey &, const DtRwNLengthStringVector &cats) |
| | Add a new model set entry.
|
| virtual void | removeModelSetEntry (const DtEntityMapperKey &e) |
| | Removes the model set entry.
|
| virtual std::string | nameFor (const DtEntityMapperKey &) const |
| | Returns the name of the item. Blank if none.
|
| virtual std::string | keywordsFor (const DtEntityMapperKey &) const |
| | Returns the keywords of the item. Blank if none.
|
| virtual DtModelSet * | modelSet () const |
| | Returns the model set.
|
| virtual void | statePropertiesFor (const DtEntityType &, DtRwProperties &) const |
| | If there are state properties in the .ope file referenced by this entity, return them.
|
| virtual void | parameterPropertiesFor (const DtEntityType &, DtRwProperties &) |
| | If there is parameter properties in the .ope file referenced by this entity, return them.
|
| virtual void | parameterPropertiesFor (const std::set< const makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > * > &states, DtRwProperties &) |
| | Given the states, return a total of all the parameter properties for numerical items found within.
|
virtual boost::shared_ptr
< DtReaderWriter > | rwProperty (const DtEntityType &, const std::string &prop) const |
| | Returns the property for the given item.
|
| virtual void | loadPlatforms (const DtString &) |
| | Loads platforms from the given directory.
|
| virtual void | clearPlatforms () |
| | Clears out all platforms.
|
| virtual DtRwDIGuyCharacterInfo | getDIGuyCharacterInformation (const DtEntityMapperKey &) |
| | Gets the DI Guy Character information (if it exists) for the specified entity.
|
| virtual DtVrfObjectParameters * | lookupParametersFor (DtModelSetEntry *entry) |
| | Looks up parameter entry.
|
| virtual DtObjectType | nextAvailableSimulationObjectGroupObjectType () const |
| | Returns the next object typ that can be used for the simulaton object group model set entry.
|
| | 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.
|
Shared information about the current model set and entities/platforms that are available to it.