Public Member Functions |
| | DtSimulationModelSetLoader (makVrv::DtDe &) |
| | default constructor
|
| virtual | ~DtSimulationModelSetLoader () |
| virtual bool | load (const DtSimulationModelSet &, LoadFlags flags=LoadAll) |
| virtual bool | save (const DtFilename &) |
| virtual void | setDisplayDe (makVrv::DtDe *) |
| virtual makVrv::DtDe & | displayDe () |
| virtual void | setLoadVisuals (bool) |
| | Whether or not to deal with visuals.
|
| virtual bool | hasFileNamed (const std::string &s) const |
| | Returns true if there is a file named with the supplied file. Strips paths and such.
|
| virtual bool | addNewDataFile (const std::string &) |
| | Copies the data file from the specified location into the simulation model set data directory and loads it into the gui.
|
| virtual bool | addNewSimulationObjectGroup (const std::string &) |
| | Adds a new simulation object group file (blank) to the system. If group exists returns false.
|
| virtual bool | addNewRandomizedObject (const std::string &) |
| | Adds a new randomized object with the given name to the system.
|
| virtual bool | readOnly () const |
| | Whether or not SMS is read only.
|
| virtual void | setReadOnly (bool) |
| virtual void | setSaveReadOnlyFlag (bool) |
| | Set to false to not save the state of the read only flag into the simulation model set on save.
|
| virtual bool | saveReadOnlyFlag () const |
| virtual bool | hasComponentByDescriptorType (const makVrf::DtEntityMapperKey &, const DtString &descriptor) const |
| | Returns true if the give object type has the specified descriptor.
|
| virtual bool | hasComponentByDescriptorType (const DtFilename &, const DtString &descriptor) const |
| virtual bool | hasComponentByComponentType (const makVrf::DtEntityMapperKey &, const DtString &descriptor) const |
| | Returns true if the give object type has the specified component.
|
| virtual bool | hasComponentByComponentType (const DtFilename &, const DtString &descriptor) const |
| virtual bool | simulationObjectGroupExists (const std::string &) const |
| | Checks to see if simulation object group exists.
|
| virtual bool | randomizedObjectExists (const std::string &) const |
| | Checks to see if randomized object exists.
|
| virtual QImage * | warningIcon () const |
| virtual DtModelSetEntry * | createNewSimulationObjectGroupFromExisting (const DtObjectType &base, const std::string &newName, const DtRwNLengthStringVector &categories=DtRwNLengthStringVector("categories")) |
| | Adds a new simulation object group based on an existing one and copies all object group files.
|
| virtual DtModelSetEntry * | createNewSimulationObjectGroupFromExisting (EntityData *data, const std::string &newName, const DtRwNLengthStringVector &categories=DtRwNLengthStringVector("categories")) |
| virtual DtModelSetEntry * | createNewAmmunitionEntryFromExisting (EntityData *data, const std::string &newName, const DtEntityType &newType, const DtRwNLengthStringVector &categories=DtRwNLengthStringVector("categories")) |
| virtual std::string | platform (const makVrf::DtEntityMapperKey &k) const |
| | Returns the platform of the particular item.
|
| virtual std::string | uiFilename (const makVrf::DtEntityMapperKey &k) const |
| | Returns the ui filename of the individual entityType.
|
| virtual std::string | uiFilename (DtComponentSystemDefinition *) const |
| | For systems.
|
| virtual DtSimulationModelSet * | simulationModelSet (const makVrf::DtEntityMapperKey &k) const |
| | Returns the simulation model set this entity type is in.
|
| DtSimulationModelSet * | masterSMS () const |
| virtual DtSimulationModelSet * | simulationModelSet (const DtComponentSystemDefinition *) const |
| | For systems.
|
| virtual DtSimulationModelSet * | simulationModelSet (const DtFilename &) const |
| virtual std::string | platformFileType (const makVrf::DtEntityMapperKey &k) const |
| | Returns the platform file.
|
| virtual std::string | platformKey (const makVrf::DtEntityMapperKey &k) const |
| | Returns the platform key for the given entity key.
|
| virtual DtString | platformDisplayName (const makVrf::DtEntityMapperKey &k) const |
| | Returns the display name of the platform, if it exists, else returns the platformFileType.
|
| virtual DtString | platformDisplayDescription (const makVrf::DtEntityMapperKey &k) const |
| | Returns the display description of the platform, if it exists, else returns the platform file name.
|
| virtual bool | addMissingVariablesFromPlatformsAndSystems (QWidget *parent=0, bool saveAllIfAnyModified=false) |
| | Given platforms and systems, attempt to add missing variables to the correct sections. Returns true if any changes made.
|
| virtual bool | addMissingVariablesFromPlatformsAndSystems (EntityData *data, std::map< DtString, DtRwVariableBindings * > &) |
| virtual void | regenerateOpeFiles () |
| | Saves out master SMS OPE files.
|
| virtual void | regenerateSystemFiles () |
| | Saves out modified system files and all other system files and templates.
|
virtual std::vector
< DtComponentSystemDefinition * > | systemsThatCanBeDamagedBy (const DtString &) const |
| | Systems that can be damaged by the given power.
|
| virtual void | createSupportedDetonations () |
| DtFilename | getSystemDirectory () const |
| DtFilename | getNavDataDirectory () const |
| DtFilename | getFormationDirectory () const |
| DtFilename | getGuiDirectory () const |
| DtFilename | path () const |
| DtFilename | simulationModelSetFilename () const |
| | Returns the filename of the current simulation model set file.
|
| virtual bool | openSystemFiles (DtSimulationModelSet *set, const DtFilename &directory, bool isInMasterSMS) |
| virtual DtString | cleanAmmunitionName (const DtString &) const |
| virtual bool | loadForceHostilityFile (const DtFilename &f) |
| virtual bool | loadAmmunitionParameters (const DtFilename &f, bool inMasterSMS, DtSimulationModelSet *sms) |
| virtual bool | loadDetonationParameters (const DtFilename &f, bool inMasterSMS, DtSimulationModelSet *sms) |
| virtual bool | loadDataFiles (const DtString &, DtSimulationModelSet *, bool fromMasterSMS, LoadFlags flags=LoadAll) |
| | Loads all the data files in the data directory of the simulation model set.
|
| virtual void | loadSimulationObjectGroupFiles (const DtString &, DtSimulationModelSet *, bool fromMasterSMS) |
| | Loads the simulation object group files.
|
| virtual DtModelSetEntry * | reloadSimulationObjectGroup (const DtString &) |
| | Reloads the existing simulation object group. If the simulation object group does not exist will do nothing.
|
| virtual void | loadTemplates (const DtString &, DtSimulationModelSet *) |
| | Loads template files from the given directory. Templates are used in the new model dialog if not created from existing.
|
virtual std::vector
< DtComponentSystemDefinition * > | systemsThatUseAmmunition (const DtString &) const |
virtual std::vector
< DtComponentSystemDefinition * > | systemsThatUseTemplate (const DtFilename &) const |
| virtual void | makeTemplate (EntityData *) |
| | Adds a new template the the internal list and immediately saves it to the templates directory.
|
| virtual void | makeTemplate (const DtObjectType &) |
virtual const std::vector
< DtString > & | iconLists () const |
| | Returns the current list of icons that can be displayed in the gui.
|
| virtual bool | hasIconList (const DtString &) const |
| virtual void | addIconList (const DtString &) |
| | Checks to see if this is in the list before adding.
|
| virtual void | removeIconList (const DtString &) |
| virtual void | setIconLists (const std::vector< DtString > &) |
| virtual void | loadIconLists (const DtFilename &) |
| virtual void | saveIconLists (const DtFilename &) |
| virtual bool | loadParameterFiles (DtSimulationModelSet *sms, bool inMasterSMS) |
| | Loads all the parameter files in the parameter directory of the simulation model set.
|
| virtual bool | loadModelSet () |
| | Creates the model set list from the loaded data files.
|
| virtual DtModelSetEntry * | modelEntry (const DtObjectType &, bool matchPattern=false) const |
| | If there is no model entry, will create one with the object type, using the object types string as a label.
|
| virtual DtFilename | modelDefinitionFile (const DtObjectType &, bool resolve) const |
| | Returns the model definition file for the give object type.
|
| virtual DtString | simulationModelSetFor (const DtEntityType &) const |
| | Returns the simulation model set file that this entity would come from if loaded into a scenario.
|
| virtual DtString | simulationModelSetFor (const DtFilename &) const |
| | Assumes system.
|
| virtual DtModelSetEntry | createModelSetEntryFrom (DtEnvironmentSP env, DtEnvValueSP objectNode) const |
| | Returns a model set entry based on the environment that contains a guiInformation entry.
|
| virtual DtModelSetEntry | createModelSetEntryFrom (const DtObjectType &) const |
| virtual DtModelSetEntry | createModelSetEntryFrom (const DtAmmunitionParamsEntry *) const |
| virtual bool | hasGuiKeyword (const makVrf::DtEntityMapperKey &, const std::string &) const |
| | Returns true if the model set entry has the given keyword.
|
| virtual void | revertData (const makVrf::DtEntityMapperKey &key) |
| | Reverts the data to previous settings.
|
| virtual void | revertData (DtComponentSystemDefinition *) |
| virtual EntityData * | dataFor (const DtObjectType &) const |
| | Returns the variable bindings for the given object type.
|
| virtual EntityData * | dataFor (DtModelSetEntry *) const |
| | Returns the data for the entity data that has the exact model set entry address.
|
| virtual bool | containsObjectType (const DtObjectType &, bool onlyFromMasterSMS=false, DtString *name=0) const |
| | Returns true if an original (unmodified) model contains the object type or if a modified version does.
|
| virtual DtVariableBindingsList | allVariableBindingsInSystemsFor (const DtObjectType &) const |
| | Returns all the variable bindings for all systems for the given object type.
|
| virtual bool | isSimulationObjectGroup (const DtObjectType &) const |
| | Returns true if this item is a simulation object group.
|
| virtual bool | hasModelNamed (const DtString &, bool &isDeleted) |
| | Returns true if an original (unmodified) model contains the object name or if a modified version does.
|
| virtual DtReaderWriter::SearchPaths | searchPaths () const |
virtual std::vector
< DtSimulationModelSet * > | modelSets () const |
| virtual QString | ammunitionDisplayName (const DtEntityType &) const |
| virtual const ParametersMap & | availableParameters () const |
| virtual bool | hasHumanDamageSystem (const std::vector< DtComponentSystemDefinition * > &) const |
| | Returns true if this has a human damage system.
|
| virtual bool | createRwVariable (const DtObjectType &, const std::string &rwType, const std::string &rwName, DtReaderWriter *&source, DtReaderWriter *&backup) |
| | Given an object type create source an backup variables of the given RW type (if it exists).
|
| virtual void | replaceSystem (const DtFilename &) |
| virtual bool | entryIsRandomized (const DtObjectType &) const |
| virtual bool | canAddSubordinatesTo (const DtObjectType &) const |
| virtual bool | isModified (const DtObjectType &) const |
| virtual bool | isModified (EntityData *) const |
| virtual bool | isModified (DtComponentSystemDefinition *) const |
| virtual bool | isModified (const DtFilename &) const |
| | Assumes system.
|
| virtual bool | isModified () const |
| virtual bool | isNew (const DtObjectType &) const |
| virtual bool | isNew (EntityData *) const |
| virtual bool | isDeleted (const DtObjectType &) const |
| virtual bool | isDeleted (EntityData *) const |
| virtual bool | isDeleted (DtComponentSystemDefinition *) const |
| virtual bool | isDeleted (const DtFilename &) const |
| virtual bool | isNew (DtComponentSystemDefinition *) const |
| virtual bool | isNew (const DtFilename &) const |
| virtual std::vector< EntityData * > | objectsThatUseSystems (const std::vector< DtComponentSystemDefinition * > &rw) const |
virtual
makVrf::DtVrfEntityTypeMapper & | entityTypeMapper (const makVrf::DtEntityMapperKey &) |
virtual
makVrf::DtVrfEntityTypeMapper & | aggregateTypeMapper (const makVrf::DtEntityMapperKey &) |
virtual
makVrf::DtVrfEntityTypeMapper & | tacticalGraphicsMapper (const makVrf::DtEntityMapperKey &) |
virtual
makVrv::DtElementDefinitionTypeManager & | elementDefinitionTypeManager (const makVrf::DtEntityMapperKey &) |
virtual
makVrv::DtModelDefinitionManager & | modelDefinitionManager (const makVrf::DtEntityMapperKey &) |
| virtual void | saveModelDefinitionManager () |
| virtual void | saveVisualElementsFor (makVrv::DtElementDefinitionTypeManager::BuiltInElementTypes) |
virtual
makVrf::DtVrfVisualsManager * | visualsManager () |
virtual
makVrf::DtVrfEntityTypeMapper & | defaultEntityTypeMapper () |
virtual
makVrf::DtVrfEntityTypeMapper & | defaultAggregateTypeMapper () |
virtual
makVrf::DtVrfEntityTypeMapper & | defaultTacticalGraphicsMapper () |
virtual
makVrv::DtElementDefinitionTypeManager & | defaultElementDefinitionTypeManager () |
virtual
makVrv::DtModelDefinitionManager & | defaultModelDefinitionManager () |
virtual
makVrv::DtEntityTypeMapper * | systemEntityTypeMapper () |
virtual
makVrv::DtEntityTypeMapper * | systemAggregateTypeMapper () |
virtual
makVrv::DtEntityTypeMapper * | systemTacticalGraphicsMapper () |
virtual
makVrv::DtElementDefinitionTypeManager & | systemElementDefinitionTypeManager () |
virtual
makVrv::DtModelDefinitionManager & | systemModelDefinitionManager () |
| virtual void | createSpotReportDefinitionFor (const makVrf::DtEntityMapperKey &) |
| virtual void | updateVisualsFor (const makVrf::DtEntityMapperKey &) |
| virtual void | removeVisualsFor (const makVrf::DtEntityMapperKey &) |
| virtual void | removeElementDefinition (const makVrf::DtEntityMapperKey &) |
| virtual void | deleteModel (DtModelSetEntry *) |
| | Schedules the model for "deletion".
|
| virtual void | deleteModel (const DtObjectType &) |
| virtual void | deleteModel (EntityData *) |
| virtual void | deleteSystem (const DtComponentSystemDefinition *) |
| virtual void | deleteSystem (const DtFilename &) |
| virtual bool | deleteSystemFromModelSet (const DtComponentSystemDefinition *) |
| | Physically removes the system file and places it into the recycle bin.
|
| virtual bool | changeObjectType (const DtObjectType &oldType, const DtObjectType &newType) |
| | Changes object type on model and data. Returns true if successful.
|
| virtual bool | changeMatchType (const DtObjectType &oldType, const DtObjectType &newType) |
| | Changes match type on data. Returns true if successful.
|
| virtual bool | setAdditionalMatchTypes (const DtObjectType &key, const std::list< DtObjectType > additionalMatchTypes) |
| virtual void | updateGuiInformation (EntityData *) |
| | Updates the model set entry information into the modified model data's gui information section.
|
| virtual void | updateSystemData (EntityData *) |
| | Updates data about systems (adds, removes or modifies)
|
| virtual void | sharedSystems (const DtFilename &systemFile, std::vector< DtModelSetEntry * > &result) const |
| | Returns all the model set entries that share the given system.
|
| virtual void | updateDataInformation (EntityData *) |
| | Updates all the data from the bindings into the modified data.
|
| virtual void | convertRegistryToEnvironment (const DtReaderWriterRegistry &data, DtEnvironmentSP env, DtEnvValueSP objectNode) const |
| | Converts the registry data to the XML environment format.
|
| virtual void | removeSystem (DtEnvironmentSP env, const DtString &system, DtEnvValueSP objectNode) |
| | Removes the system of the given name from the supplied environment.
|
| virtual void | addSystem (DtEnvironmentSP env, const DtRwVariableBindings *, DtEnvValueSP objectNode) |
| | Adds the given system to the environment.
|
| virtual const QStringList & | masterModeCategories (CategoryTypes) const |
| virtual QStringList & | masterModeCategories (CategoryTypes) |
| virtual QStringList | defaultCategoriesAsStringList (CategoryTypes) const |
| DtSimulationObjectCategoryInformation & | defaultCategories (CategoryTypes) |
const
DtSimulationObjectCategoryInformation & | defaultCategories (CategoryTypes) const |
| DtSimulationObjectCategoryInformation & | nonMasterModeCategories (CategoryTypes) |
const
DtSimulationObjectCategoryInformation & | nonMasterModeCategories (CategoryTypes) const |
| virtual void | loadAutoTagInformation () |
| DtAutoTagInformation & | autoTagInformation () |
| const DtAutoTagInformation & | autoTagInformation () const |
| virtual void | setDefaultCategories (const DtSimulationObjectCategoryInformation &, const QStringList &masterMode, CategoryTypes) |
| virtual void | revertCategories (CategoryTypes) |
| virtual bool | hasModifiedCategories (CategoryTypes) const |
| virtual bool | saveDefaultCategories (const DtFilename &, CategoryTypes) |
| virtual bool | loadDefaultCategories (const DtFilename &, CategoryTypes) |
| void | setDefaultOverlayLayers (const QStringList &) |
| const QStringList & | defaultOverlayLayers () const |
| virtual void | revertOverlayLayers () |
| virtual bool | hasModifiedOverlayLayers () const |
| virtual void | changeDefaultOverlayLayer (const QString &old, const QString &newCat) |
| virtual void | addDefaultOverlayLayers (QComboBox *) |
| void | addDefaultOverlayLayer (const QString &) |
| virtual DtRwForces | favoritesFor (const DtModelSetEntry *) const |
| virtual DtRwForces | backupFavoritesFor (const DtModelSetEntry *) const |
| virtual void | setFavoritesFor (DtModelSetEntry *, const DtRwForces &) |
| virtual void | changeDefaultDeployedCountry (const QString &old, const QString &newCat) |
| virtual void | addDefaultDeployedCountries (QComboBox *) |
| void | setDefaultDeployedCountries (const QStringList &) |
| void | addDefaultDeployedCountry (const QString &) |
| const QStringList & | defaultDeployedCountries () const |
| virtual void | revertDeployedCountries () |
| virtual bool | hasModifiedDeployedCountries () const |
| virtual void | resetVisuals () |
| | Tells the system to reset all visuals.
|
| virtual DtRwVariableBindings * | createVariableBindingsForSystem (const DtFilename &, const DtString &newSystemName) |
| | Returns new variable bindings for the specified system.
|
virtual std::map< std::string,
DtEntityType > | templatesForKind (int) const |
| | Returns a list of templates that can be used for the given entity kind. The key is the label.
|
virtual std::map< std::string,
DtEntityType > | templatesThatMatch (const DtEntityType &) const |
| virtual DtModelSetEntry * | addNewEntity (const DtObjectType &base, const DtObjectType &newType, const DtString &name, const DtRwNLengthStringVector &categories, const DtString &uniqueID, const makVrv::DtUnicode &elementDefinition=makVrv::DtUnicode::fromAscii("")) |
| | Adds a new entity of the given type based on the supplied type.
|
| virtual DtModelSetEntry * | addNewEntity (const std::string &platformType, const DtObjectType &newType, const DtString &name, const DtRwNLengthStringVector &categories, const DtString &uniqueID, const makVrv::DtUnicode &elementDefinition=makVrv::DtUnicode::fromAscii("")) |
| | Adds a new entity of the given the supplied platform type.
|
| DtModelSetEntry * | addNewEntity (EntityData *baseData, const DtObjectType &newType, const DtString &name, const DtRwNLengthStringVector &categories, const DtString &uniqueID, const makVrv::DtUnicode &elementDefinition=makVrv::DtUnicode::fromAscii("")) |
| | Adds a new entity given the base data. Will clone the data and add new based on it.
|
| virtual void | removeSystem (const DtFilename &) |
| | Removes the current system from the system database.
|
virtual const
DtRwVariableBindings * | variableBindings () const |
| virtual QPixmap | getIcon (const makVrf::DtEntityMapperKey &key, int pointSize=48, bool sizeToFont=false) |
| virtual QPixmap | getUnfilledIcon (const makVrf::DtEntityMapperKey &key, const QColor &outlineColor=Qt::black, int pointSize=48, bool sizeToFont=false) |
| virtual void | clearIcons (const makVrf::DtEntityMapperKey &key) |
| virtual void | changeSubordinateTypes (const DtObjectType &oldType, const DtObjectType &newType) |
| | Scans all subordinate lists for the old type and changes it to the new type.
|
| virtual void | checkParameterUpdates (EntityData *) |
| virtual void | checkParameterUpdates (const std::set< makVrf::DtEntityMapperKey > &) |
| virtual makVrv::DtUnicode | elementDefinitionFor (const DtEntityType &) |
| | Returns the element definition for the given type.
|
| virtual DtVrfSubObjectParameterList | subordinateObjectsFor (const DtObjectType &) const |
| | Returns a list of subordinate objects associated with the given entity type modified environment.
|
| virtual DtVrfSubObjectParameterList | subordinateObjectsFor (DtEnvironmentSP, DtEnvValueSP objectNode) const |
| virtual void | updateSubordinateObjects (const DtObjectType &, const DtVrfSubObjectParameterList &) |
| | Updates the subordinate objects into the given object's modified environment.
|
| virtual void | updateSubordinateObjects (DtEnvironmentSP, DtEnvValueSP objectNode, const DtVrfSubObjectParameterList &) |
| virtual void | updateFormationTable (const DtObjectType &, const DtFormationTable &) |
| | Updates modified formation table.
|
| virtual DtEmbarkationInformation | embarkationInformationFor (const DtObjectType &) const |
| | Returns a list of embarkation slots and all relevant information about embarkation.
|
| virtual DtEmbarkationInformation | embarkationInformationFor (DtEnvironmentSP, DtEnvValueSP objectNode) const |
| virtual void | updateEmbarkationInformation (const DtObjectType &, const DtEmbarkationInformation &) |
| | Updates the embarkation slots into the given object's modified environment.
|
| virtual void | updateEmbarkationInformation (DtEnvironmentSP, DtEnvValueSP objectNode, const DtEmbarkationInformation &) |
| virtual DtDiGuyInformation | diGuyInformationFor (const DtObjectType &) const |
| | Returns di-guy information for the specified object.
|
| virtual void | updateDiGuyInformation (const DtObjectType &, const DtDiGuyInformation &) |
| | Updates di-guy information for the specified object.
|
virtual
DtSensorSignatureInformation | sensorSignatureInformationFor (const DtObjectType &) const |
| | Returns sensor signature information for the specified object.
|
virtual
DtSensorSignatureInformation | sensorSignatureInformationFor (DtEnvironmentSP, DtEnvValueSP root) const |
| virtual void | updateSensorSignatureInformation (const DtObjectType &, const DtSensorSignatureInformation &) |
| | Updates sensor signature information information for the specified object.
|
| virtual void | updateSensorSignatureInformation (DtEnvironmentSP, DtEnvValueSP root, const DtSensorSignatureInformation &) |
| virtual DtFormationTable * | formationTableFor (const DtObjectType &) |
| | Returns a list of formation table objects associated with the given entity type modified environment.
|
| virtual DtFormationTable * | originalFormationTableFor (const DtObjectType &) |
| virtual Dt3dBoundingVolume | boundingVolumeFor (const DtObjectType &) const |
| | Returns bounding volume for the given object.
|
| virtual bool | isAggregate (const DtObjectType &) const |
| | Returns true if this object is an aggregate.
|
| bool | loaded () const |
const DtOrderedObjectTypeList
< EntityData * > & | entityData () const |
| virtual bool | isTemplate (const DtObjectType &) const |
| virtual bool | templateExists (const DtObjectType &) const |
| virtual void | setForceManagerModified (bool) |
| virtual bool | forceManagerModified () const |
| virtual bool | isInMasterSMS (const DtObjectType &) const |
| virtual bool | isInMasterSMS (const DtFilename &) const |
| virtual bool | isInMasterSMS (const DtComponentSystemDefinition *) const |
| virtual DtString | smsName (const DtObjectType &) const |
| virtual DtString | smsName (const DtFilename &) const |
| virtual DtString | smsName (const DtComponentSystemDefinition *) const |
virtual const
DtComponentSystemDefinition * | originalSystemDefinitionFor (const DtComponentSystemDefinition *) const |
virtual const
DtComponentSystemDefinition * | originalSystemDefinitionFor (const DtFilename &) const |
| virtual bool | saveData () |
| | Walks through all the data and saves it out. Will make current data the modified data.
|
| virtual bool | saveData (EntityData *data, bool force=false) |
| virtual bool | saveFavorites () |
| | Saves out the favorites file.
|
| virtual bool | saveSystems () |
| | Saves out the systems files changed.
|
| virtual bool | saveAmmunitionTable () |
| | Saves out if ammunition table has changed.
|
| virtual bool | saveDetonationTable () |
| | Saves out detonation table if that has changed.
|
| virtual DtObjectType | templateObjectType (const std::string ¶meterType) const |
| | Given the parameter type, returns the first item that matches that type's object type.
|
| virtual void | addInternalItem (const std::string &, bool markDataAsWell=true) |
| | Adds a new item to the internal items list. This is the name of the reader/writer variable.
|
| virtual void | addIgnorePlatformType (const DtString &) |
| | Adds an xml type to ignore if found in the platform file when upgrading variables.
|
| virtual QString | parameterDisplayName (const DtString ¶meterType, bool stopAtFirst=true) const |
| | Returns the display name of the parameter give the available parameter-type.
|
virtual std::map< DtString,
QString > | availableParameterTypes (const std::set< std::string > &except=std::set< std::string >()) const |
| | Returns a map of internal names and display names for all available parameters by parameter type.
|
virtual std::vector
< DtReaderWriter * > | supportPointsFor (const DtObjectType &) const |
| | Returns a list of support points (left/right/other) for the given entity.
|
| virtual DtObjectType | uniqueEntityTypeFrom (const DtObjectType &, bool onlyFromMasterSMS=false) const |
| | Returns a new entity type that is unique based on the supplied type.
|
| virtual makVrv::DtUnicode | systemNameForSystem (const std::string &, DtFilename &fullFilename) const |
| | Returns the system name (from the meta data) for the give system.
|
| virtual bool | hasFactoryChecksums () const |
| | Returns true if the loaded SMS has factory checksums associated with it.
|
| virtual const DtSmsChecksum & | factoryChecksums () const |
| | Returns the factory checksums.
|
| virtual DtRwVisualMetaData * | addOrUpdateVisualMetaData (const DtEntityType &) |
| | Adds or updates visual meta data to the given entity data object.
|
virtual
DtComponentSystemDefinition * | duplicateSystem (const DtComponentSystemDefinition *base, const DtString &systemName, const DtFilename &systemFilename) |
| | Duplicates the system and adds it as new to the modified system database. Will also signal the addition.
|
virtual
DtComponentSystemDefinition * | createFromTemplate (const DtString &systemName, const DtFilename &systemFilename, const DtComponentSystemDefinition *systemTemplate) |
| | Creates a new system from the given template.
|
| virtual DtFilename | filenameToSystemFilename (DtFilename systemFilename) const |
| virtual void | promoteSystem (DtComponentSystemDefinition *) |
| | Promotes the system to the master SMS if not already promoted.
|
virtual std::map
< DtSymbolString,
DtAmmunitionParamsEntry * > | ammunitionTable () const |
| | Returns a table of all current ammunition entries by reader/writer name.
|
| virtual DtAmmunitionParamsEntry * | addAmmunition (const DtString &name, const DtString &label, const DtObjectType &munitionType) |
| | Adds a new ammunition entry with the given label and munition type and returns the parameter entry created.
|
| virtual DtAmmunitionParamsEntry * | ammunitionEntry (const DtSymbolString &) const |
| | Returns the ammunition parameter entry for the ammunition item that has the given name.
|
| virtual DtAmmunitionParamsEntry * | ammunitionEntry (const DtObjectType &) const |
virtual
DtMunitionDetonationPowerEntry * | detonationPowerEntry (const DtObjectType &) const |
| | Returns the detonation table power entry for the given ammunition.
|
| virtual std::set< DtEntityType > | detonationTypes () const |
virtual
DtMunitionDetonationPowerEntry * | duplicatePowerEntry (const DtObjectType &, const DtEntityType &) |
virtual std::vector
< DtTargetingControlTable * > | getTargetingControlTables (const makVrf::DtEntityMapperKey &) const |
| | Returns the targeting control tables for the given entity.
|
virtual std::map
< DtComponentSystemDefinition
*, const
DtRangeProbabilityTable * > | getSystemsAndHitTables () const |
| | Returns the hit tables for all systems that have them.
|
virtual
TargetingControlAndRangeTables | getTargetingControlAndRangeTables (const makVrf::DtEntityMapperKey &) const |
| virtual void | findAllTargetingControlAndRangeTables (const DtString &, TargetingControlAndRangeTables &) const |
virtual
DtRwDamageByMunitionPowerMap * | damageTableFor (const makVrf::DtEntityMapperKey &, DtComponentSystemDefinition **system=0) const |
| | Returns the damage probability table for the damage system that is used by the given entity.
|
| virtual QString | translatedSystemName (const DtComponentSystemDefinition *definition) const |
| virtual QString | translatedSystemDescription (const DtComponentSystemDefinition *definition) const |
| virtual DtObjectType | ammunitionType (const DtSymbolString &) const |
| | Returns the ammunition type for the given name.
|
| virtual QString | ammunitionDisplayName (const DtSymbolString &) const |
| | Returns the display name for the given ammunition entry.
|
| virtual void | setAmmoEntryIfNecessary (EntityData *data, const DtAmmunitionParamsEntry *templateEntry=0) |
| virtual bool | ammunitionCanTarget (const DtSymbolString &, const DtEntityType &) const |
| | Returns true if the given ammunition can target the entity type.
|
| const DtModelSet * | modelSet () const |
| DtModelSet * | modelSet () |
| virtual makVrv::DtForceManager * | forceManager () |
| const DtSimulationModelSet & | simulationModelSet () const |
| bool | hasSimulationModelSet () const |
| DtSimulationModelSet & | simulationModelSet () |
| const DtFilename & | parameterFilename () const |
const
DtSimulationObjectEditorComponentSystemDatabase * | originalSystemDatabase () const |
const
DtSimulationObjectEditorComponentSystemDatabase * | modifiedSystemDatabase () const |
const
DtSimulationObjectEditorComponentSystemDatabase * | templateSystemDatabase () const |
| DtSimulationObjectEditorComponentSystemDatabase * | modifiedSystemDatabase () |
| DtFilename | modelSetDirectory () const |
| virtual void | forceRemoved (DtForceType forceType) |
| const DtRwForces & | allForces () const |
virtual std::vector< const
DtComponentSystemDefinition * > | systemDefinitionsFor (const DtObjectType &o) const |
| virtual const DtReaderWriter * | findVariable (const DtVariableBindingsList &, const DtString &) const |
| virtual const DtReaderWriter * | findOriginalVariable (const makVrf::DtEntityMapperKey &emk, const DtString &) const |
| virtual const DtReaderWriter * | findModifiedVariable (const makVrf::DtEntityMapperKey &emk, const DtString &) const |
| virtual DtReaderWriter * | findVariable (const DtVariableBindingsList &, const DtString &) |
| virtual DtReaderWriter * | findOriginalVariable (const makVrf::DtEntityMapperKey &emk, const DtString &) |
| virtual DtReaderWriter * | findModifiedVariable (const makVrf::DtEntityMapperKey &emk, const DtString &) |
| virtual const DtReaderWriter * | variableFromAnyPlatform (const DtString &varName) const |
| virtual void | addModifiedVariable (const makVrf::DtEntityMapperKey &emk, DtReaderWriter *rw) |
| virtual DtVrfObjectParameters * | platformParameters (const makVrf::DtEntityMapperKey &key) const |
virtual const
DtStandardSensorObjects & | standardSensorObjects () const |
| virtual DtStandardSensorObjects & | standardSensorObjects () |
| virtual bool | processModelSet (DtSimulationModelSet *, LoadFlags flags=LoadAll, bool isMasterSMS=false) |
|
| virtual DtString | rangeTypeFromPower (const DtString &) const |
| | Routines that aide in power from detonation impacts.
|
| virtual void | setDefaultRangeTypeForPower (const DtString &, const DtString &) |
| virtual std::vector< DtString > | rangesByPowerType (const DtString &) const |
| virtual void | setSupportedRangesByPowerType (const DtString &, const std::vector< DtString > &) |
| virtual std::set< DtString > | powerTypes (bool hasHumanActuator) const |
| virtual void | addPowerType (const DtString &, const QString &withoutAddition, const QString &withAddition, bool needForceAdditional=false, const QString &withoutAdditionX="", const QString &witAdditionX="", bool humanOnly=false) |
| virtual QString | powerTitle (const DtString &, const QString &addition="", bool applyAdditionalToAll=false, bool xAxis=false) const |
| | By default the more title is not applied to those that add it but say it is optionsal.
|
| | DtVirtualBaseClass () |
| | Do nothing constructor.
|
| virtual | ~DtVirtualBaseClass () |
| | Virtual do nothing destructor.
|