![]() |
VR-Forces 4.8 Class Documentation
|

Public Member Functions | |
| DtSimulationVisualMetaDataManager (makVrv::DtDe &de, makVrv::DtDe &appDe) | |
| virtual | ~DtSimulationVisualMetaDataManager () |
| virtual DtVrfVisualMetaDataManager::Markings | visualMetaDataFor (const DtEntityType &et) |
| Pass to DtSimulationModelSetManager to update with temporary changes to selection methodology. More... | |
Public Member Functions inherited from makVrf::DtVrfVisualMetaDataManager | |
| DtVrfVisualMetaDataManager (makVrv::DtDe &) | |
| DtVrfVisualMetaDataManager (const DtVrfVisualMetaDataManager &) | |
| virtual | ~DtVrfVisualMetaDataManager () |
| Destructor. More... | |
| virtual std::vector < DtVrfModelManager::ModelInformation > | modelDefinitionsFor (const DtEntityType &objectType) const |
| Returns the model definition for the given entity type. More... | |
| virtual DtFilename | metaDataFileFor (const DtEntityType &) const |
| Returns the meta data file that is used for the given entity type. More... | |
| virtual std::map< std::string, std::string > | markingsFromVisualMetaData (const DtEntityType &, bool skipVariants=false, const std::map< std::string, std::string > &variantSelections=std::map< std::string, std::string >()) |
| Given the variable data rules, return a map that contains the annoation and the value for that annotation to be set. More... | |
| virtual std::map< std::string, std::string > | markingsFromVisualMetaData (const std::vector< DtEntityType > &, bool skipVariants=false, const std::map< std::string, std::string > &variantSelections=std::map< std::string, std::string >()) |
| virtual Markings | visualMetaDataFor (const std::vector< DtEntityType > &types, bool unionOf=true) |
| Returns the visual meta data for the given entity type. More... | |
| virtual Markings | visualMetaDataFor (const DtEntityType &types, bool unionOf) |
| virtual std::map< std::string, std::string > | subvariantToVariantMap (const std::vector< DtEntityType > &) const |
| Returns a map of all subvariants to variants in the given entity type list. More... | |
| virtual std::map< std::string, std::string > | subvariantToVariantMap (const DtEntityType &) const |
| virtual bool | isCountryLinkage (const std::string &) const |
| Returns true if the curreent linkage can be considered a country linkage. More... | |
| virtual void | setSelectedCountry (const std::string &) |
| Special case for variant selection. Will set the country that should be used if there is no country by force. More... | |
| virtual std::string | selectedCountry (int force, std::string &forceCountry) const |
| Force country will be filled in for the country selected by the force. More... | |
| virtual void | setSelectionByLinkage (const std::string &linkage, const std::string &marking) |
| Sets a selection by the linkage name. More... | |
| virtual std::string | selectionByLinkage (const std::string &linkage) const |
| virtual std::map< std::string, std::string > | markingsFor (const std::vector< makVrv::DtSimEntry * > &data) const |
| Goes over all the objects in the entries, and, if aggregates, their subordinates, to figure out all the markings that are set. More... | |
| virtual std::map< std::string, std::string > | markingsFor (makVrv::DtUniqueID id) const |
| virtual std::map< std::string, std::string > | markingsFor (const std::vector< makVrv::DtUniqueID > &) const |
Public Member Functions inherited from DtVisualMetaDataManager | |
| DtVisualMetaDataManager () | |
| CTOR. More... | |
| DtVisualMetaDataManager (const DtVisualMetaDataManager &) | |
| Copy Constructor. More... | |
| virtual | ~DtVisualMetaDataManager () |
| Destructor. More... | |
| virtual Markings | visualMetaDataFor (const DtFilename &metaDataFile, const DtRwVisualMetaData &vmd=DtRwVisualMetaData("")) |
| virtual void | clear () |
| Clears out markings. More... | |
| virtual std::map< std::string, std::string > | markingsFromVisualMetaData (const DtFilename &metaDataFile, const DtRwVisualMetaData &, bool skipVariants=false, const std::map< std::string, std::string > &variantSelections=std::map< std::string, std::string >()) |
| Given the variable data rules, return a map that contains the linkage and the value for that linkage to be set. More... | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. More... | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. More... | |
Protected Attributes | |
| makVrv::DtDe & | myAppDe |
Protected Attributes inherited from makVrf::DtVrfVisualMetaDataManager | |
| makVrv::DtDe & | myDe |
| std::string | mySelectedCountry |
| SelectionsByLinkage | mySelectionsByLinkage |
Protected Attributes inherited from DtVisualMetaDataManager | |
| StoredMarkings | myStoredMarkings |
Additional Inherited Members | |
Public Types inherited from DtVisualMetaDataManager | |
| typedef std::map< std::string, Mapping > | MarkingMappings |
| typedef std::map< std::string, Marking > | Markings |
Static Public Member Functions inherited from makVrf::DtVrfVisualMetaDataManager | |
| static DtVrfVisualMetaDataManager & | instance (makVrv::DtDe &de) |
| Returns instance of the DtActiveSonarModeRequestor. More... | |
| static void | registerInstance (makVrv::DtDe &de, DtVrfVisualMetaDataManager *object) |
| Register a subclass version of this class. More... | |
| static std::string | uncategorizedCode () |
| The internal code that will select "Uncategorized". More... | |
| static std::string | allCode () |
| The internal code that will select "All". More... | |
Static Public Member Functions inherited from DtVisualMetaDataManager | |
| static DtVisualMetaDataManager * | setInstance (DtVisualMetaDataManager *) |
| Returns the current instance. More... | |
| static DtVisualMetaDataManager * | instance () |
| If instance does not exist will create a new version of this class. More... | |
Protected Types inherited from makVrf::DtVrfVisualMetaDataManager | |
| typedef std::map< std::string, std::string > | SelectionsByLinkage |
Protected Types inherited from DtVisualMetaDataManager | |
| typedef std::map< std::string, Markings > | StoredMarkings |
Protected Member Functions inherited from makVrf::DtVrfVisualMetaDataManager | |
| virtual bool | intersectMarkings (Markings &result, const Markings &source) const |
| Returns false if intersection should stop. More... | |
| virtual void | unionMarkings (Markings &result, const Markings &source) const |
| virtual std::vector< DtEntityType > | typesToCheck (const std::vector< DtEntityType > &) const |
Protected Member Functions inherited from DtVisualMetaDataManager | |
| virtual std::vector< OrderedInfo > | orderFromSelection (const MarkingMappings &, const DtRwNLengthStringVector &) const |
| Given the list of potential items to select from, return an in order list of the items to select. More... | |
| virtual std::string | randomlySelect (const std::vector< OrderedInfo > &, double topPercentToChoose, double topRandomPrecent) const |
| Given the ordered list return an randomly selected item. More... | |
| virtual std::string | weightedExponential (const std::vector< OrderedInfo > &) const |
| Given the ordered list return an randomly selected item as an exponential floor(num_items * pow(rand(0 ... 1), 2));. More... | |
| virtual void * | loadMetaFile (const DtFilename &) const |
| Returns the document for the given filename. User must close the document handle returned to prevent leak. More... | |
| virtual std::string | variantSelection (const std::string &linkage, const Markings &, const DtRwVisualMetaDataEntry &) const |
| Assuming a variant, given the linkage, return the first item. More... | |
| virtual std::string | subvariantSelection (const std::string &linkage, const Markings &, const DtRwVisualMetaData &, const std::map< std::string, std::string > &variantSelections) const |
| Assuming a subvariant, given the linkage, return the first item that satisfies the parent variant. More... | |
Static Protected Attributes inherited from DtVisualMetaDataManager | |
| static DtVisualMetaDataManager * | theInstance |
| DtSimulationVisualMetaDataManager::DtSimulationVisualMetaDataManager | ( | makVrv::DtDe & | de, |
| makVrv::DtDe & | appDe | ||
| ) |
|
virtual |
|
virtual |
Pass to DtSimulationModelSetManager to update with temporary changes to selection methodology.
Reimplemented from makVrf::DtVrfVisualMetaDataManager.
|
protected |