|
| static void | timeToCleanup (void *) |
| | Checks to see if descriptions are done loading, and, if so, cleans them up. More...
|
| |
| DtImportExportScenarioDescriptionManager::DtImportExportScenarioDescriptionManager |
( |
DtSimManager * |
| ) |
|
| virtual DtImportExportScenarioDescriptionManager::~DtImportExportScenarioDescriptionManager |
( |
| ) |
|
|
virtual |
| virtual bool DtImportExportScenarioDescriptionManager::importScenarioDescription |
( |
const DtFilename & |
, |
|
|
const DtString & |
, |
|
|
const std::map< std::string, std::string > & |
importData, |
|
|
DtScenario * |
scenario |
|
) |
| |
|
virtual |
Looks up importer and imports it.
| virtual DtString DtImportExportScenarioDescriptionManager::exportScenarioDescription |
( |
const DtFilename & |
, |
|
|
const DtString & |
, |
|
|
const std::map< std::string, std::string > & |
exportData, |
|
|
DtScenario * |
scenario |
|
) |
| |
|
virtual |
Looks up importer and exports scenario information to the specified file.
Adds a new description importer.
If one exists by that name it is replaced. Names are case insensitive. Once added this class will take ownership of the importer
| virtual void DtImportExportScenarioDescriptionManager::loadMsdlSidcMappingFile |
( |
const DtFilename & |
| ) |
|
|
virtual |
Loads the file that maps between Msdl military hierarchy information and SIDC codes.
Might not be needed for all imports.
| virtual void DtImportExportScenarioDescriptionManager::loadCountryCodesMappingFile |
( |
const DtFilename & |
| ) |
|
|
virtual |
Loads the country codes mapping file.
| virtual void DtImportExportScenarioDescriptionManager::mergeScenarioInformation |
( |
DtScenario & |
scenario, |
|
|
const DtScenario & |
importedScenario |
|
) |
| |
|
protectedvirtual |
Merges in scenario information from imported scenario.
This would be a scenario description (if the current scenario has none) and the scenario data
| static void DtImportExportScenarioDescriptionManager::timeToCleanup |
( |
void * |
| ) |
|
|
staticprotected |
Checks to see if descriptions are done loading, and, if so, cleans them up.
| virtual void DtImportExportScenarioDescriptionManager::processCleanupDescriptionImporters |
( |
| ) |
|
|
protectedvirtual |
| static void DtImportExportScenarioDescriptionManager::msdlSidcMappingRequestCallback |
( |
DtSimMessage * |
msg, |
|
|
void * |
usr |
|
) |
| |
|
staticprotected |
Handles requests to deal with msdl to sidc mappings.
| virtual void DtImportExportScenarioDescriptionManager::processMsdlSidcMappingRequest |
( |
DtSimMessage * |
msg | ) |
|
|
protectedvirtual |
| virtual void DtImportExportScenarioDescriptionManager::importEncodedMappings |
( |
const std::string & |
s | ) |
|
|
protectedvirtual |
From import data, if mappings to be imported are specified import them from the encoded buffer here.
| DtSimManager* DtImportExportScenarioDescriptionManager::mySimManager |
|
protected |
The documentation for this class was generated from the following file: