VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
makVrf::DtScenarioDescriptionManager Class Reference

Manages scenario description importers/exporter. Reference by name (e.g. "msdl") to create or add new importer. Existing importers will be replaced. The GUI version of this differs from the VR-Forces back-end version in that it will use the back-end importers/exporters to discover if there is any information needed to be retrieved from the user before asking the back-end to import the file.

Related Examples

Inheritance diagram for makVrf::DtScenarioDescriptionManager:
Inheritance graph
[legend]

Public Member Functions

virtual void addScenarioDescriptionImporterExporter (const std::string &s, DtVrfGuiScenarioDescriptionImporterExporter *)
 
virtual
DtVrfGuiScenarioDescriptionImporterExporter
importerExporter (const std::string &s)
 
virtual std::map< std::string,
std::string > 
scenarioDescriptions (bool forImport) const
 
virtual
DtVrfGuiScenarioDescriptionImporterExporter
scenarioDescriptionThatCanLoad (const DtFilename &) const
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 
virtual ~DtVirtualBaseClass ()
 

Static Public Member Functions

static
DtScenarioDescriptionManager
instance (makVrv::DtDe &de)
 
static void registerInstance (makVrv::DtDe &, DtScenarioDescriptionManager *)
 

Protected Types

typedef std::map< std::string,
DtVrfGuiScenarioDescriptionImporterExporter * > 
ScenarioDescriptions
 

Protected Member Functions

 DtScenarioDescriptionManager (makVrv::DtDe &sim)
 
virtual ~DtScenarioDescriptionManager ()
 

Protected Attributes

ScenarioDescriptions myScenarioDescriptions
 

Member Typedef Documentation

Constructor & Destructor Documentation

makVrf::DtScenarioDescriptionManager::DtScenarioDescriptionManager ( makVrv::DtDe sim)
protected

CTOR.

virtual makVrf::DtScenarioDescriptionManager::~DtScenarioDescriptionManager ( )
protectedvirtual

DTOR.

Member Function Documentation

static DtScenarioDescriptionManager& makVrf::DtScenarioDescriptionManager::instance ( makVrv::DtDe de)
static

Returns instance of the messager.

static void makVrf::DtScenarioDescriptionManager::registerInstance ( makVrv::DtDe ,
DtScenarioDescriptionManager  
)
static
virtual void makVrf::DtScenarioDescriptionManager::addScenarioDescriptionImporterExporter ( const std::string &  s,
DtVrfGuiScenarioDescriptionImporterExporter  
)
virtual
virtual DtVrfGuiScenarioDescriptionImporterExporter* makVrf::DtScenarioDescriptionManager::importerExporter ( const std::string &  s)
virtual

Retrns the importer/exporter associated with the string or 0 if no association.

virtual std::map<std::string, std::string> makVrf::DtScenarioDescriptionManager::scenarioDescriptions ( bool  forImport) const
virtual

Returns a list of importers/exporters available. The map is the type and the space delimited extensions it supports. Supply flag to get the list of thos that are available for import or export.

virtual DtVrfGuiScenarioDescriptionImporterExporter* makVrf::DtScenarioDescriptionManager::scenarioDescriptionThatCanLoad ( const DtFilename &  ) const
virtual

Returns a cloned descriptor that must be freed by the caller that can load the specified scenario file Returns 0 if no descriptor exists.

Member Data Documentation

ScenarioDescriptions makVrf::DtScenarioDescriptionManager::myScenarioDescriptions
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)