![]() |
VR-Forces 4.8 Class Documentation
|
Time saving override. Do not allow backups. More...

Public Member Functions | |
| DtVrfModelDefinitionManager (makVrv::DtDe &de) | |
| virtual void | backup () |
| Backs up model definitions to backup manager. More... | |
Public Member Functions inherited from makVrv::DtModelDefinitionManager | |
| virtual | ~DtModelDefinitionManager () |
| DTOR. More... | |
| virtual void | loadDefinitions () |
| Load all the models in a given directory. More... | |
| virtual bool | skipDefaultDefinitions () |
| Should we skip the default model definitions for example, if –noAppDataModelDefs is on the command line. More... | |
| virtual void | saveDefinitions () |
| Save all of the model definitions to a directory. More... | |
| virtual void | saveAllDefinitions () |
| Saves out all model definitions to each of of their perspective file locations. More... | |
| virtual void | saveDefinitions (const std::string &) |
| Run through all files in directory and assign the matching definitions to each file. More... | |
| virtual void | addDefinition (const DtModelDefinition &definition, bool autoSave=true) |
| Add a model definition. More... | |
| virtual void | destroyDefinition (const DtModelDefinition &def) |
| Remove and destroy a definition. More... | |
| DtModelDefinition * | findDefinition (const std::string &modelName) const |
| Find a a model definition. More... | |
| const DefinitionMap & | definitions () const |
| Get a const ref to the map of definitions used for iteration. More... | |
| DefinitionMap & | definitions () |
| void | renameDefinition (const std::string &oldModelName, const std::string &newModelName) |
| renames model definition More... | |
| const std::string & | modelFilename () const |
| Set the model filename. The default is "Model Definitions.ommx". More... | |
| void | setModelFilename (const std::string &extension) |
| Set the model filename. More... | |
| bool | modelInstancingEnabled () const |
| Set if model instance sharing is enabled. More... | |
| void | setModelInstancingEnabled (bool enabled) |
| Set if model instance sharing is enabled. More... | |
| void | clearModelInstancingCache () |
| Clears the cache of all model definitions. More... | |
| void | clear () |
| Clears out entire manager. More... | |
| virtual void | merge (const DtModelDefinitionManager &) |
| Merges contents of supplied model definition manager into this one. More... | |
| virtual bool | loadModelDefinitions (const std::string &filename, bool merge=true) |
| Load a specific model definition manager file. More... | |
| virtual bool | loadModelDefinition (const std::string &filename) |
| Load a specific model file. More... | |
| virtual bool | exportToFile (const std::vector< std::string > &defs, const std::string &filename) const |
| Exports the named definitions to the specified file. More... | |
| virtual bool | schemaInUse (const std::string &) const |
| Returns true if the schema is in use by and model definition. More... | |
| virtual bool | schemaInUse (const std::string &, std::vector< std::string > &) const |
| true if schema is in use and the vector of model defs for those that do More... | |
| virtual bool | mergeModelDefinitions (const std::string &fileOrDirName) |
| merge in model definitions from a file or directory More... | |
| virtual bool | modifiedSinceStartup () |
| return whether the model definitions have modified since start up More... | |
| virtual void | addToModifiedDefinitionsMap (DtModelDefinition modelDefinition) |
| add a model definition to the modifiedDefinitions map More... | |
| virtual void | addToAddedDefinitionsMap (DtModelDefinition modelDefinition) |
| add a model definition to the addedDefinitions map More... | |
| virtual void | addToDeletedDefinitionsMap (DtModelDefinition modelDefinition) |
| add a model definition to the deletedDefinitions map More... | |
| virtual void | resetModifiedFlags () |
| reset the flags about the modification after you have save it. More... | |
| virtual int | getNumOfDefinitionsExcludeTerrain () |
| exclude the definition that has terrain schema More... | |
| const DtSettingsBackup * | settingsBackup () const |
| DtSettingsBackup * | settingsBackup () |
| virtual DtModelDefinitionManager & | operator= (const DtModelDefinitionManager &) |
| Assignment operator. More... | |
| void | setAutoSave (bool b) |
| Sets whether or not to automatically save model definition manager on any change. Default is true. More... | |
| bool | autoSave () const |
| virtual void | removeNonPersistentItems () |
| Removes items that are not persistent. These items should not be saved to disk or backed-up. More... | |
Additional Inherited Members | |
Public Types inherited from makVrv::DtModelDefinitionManager | |
| typedef std::map< std::string, DtModelDefinition > | DefinitionMap |
Protected Member Functions inherited from makVrv::DtModelDefinitionManager | |
| DtModelDefinitionManager (DtDe &) | |
| CTOR. More... | |
| DtModelDefinitionManager (const DtModelDefinitionManager &) | |
| template<typename Archive > | |
| void | serialize (Archive &ar, unsigned int version) |
Protected Attributes inherited from makVrv::DtModelDefinitionManager | |
| DtDe & | myDe |
| DefinitionMap | myDefinitions |
| std::string | myModelFileName |
| std::string | myModelFileExtension |
| bool | myAutoSave |
| DtSignalConnectionManager | myConnectionManager |
| bool | myModelInstancingFlag |
| DtModelDefinitionManagerSignaler & | mySignaler |
| DtModelDefinitionManagerBackup * | myBackup |
| int | myStartupNumOfDefinition |
| DefinitionMap | myModifiedDefinitions |
| DefinitionMap | myAddedDefinitions |
| DefinitionMap | myDeletedDefinitions |
Time saving override. Do not allow backups.
|
inline |
|
inlinevirtual |
Backs up model definitions to backup manager.
Reimplemented from makVrv::DtModelDefinitionManager.