VR-Forces 4.8 Class Documentation
 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. More...

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)
 Retrns the importer/exporter associated with the string or 0 if no association. More...
 
virtual std::map< std::string,
std::string > 
scenarioDescriptions (bool forImport) const
 Returns a list of importers/exporters available. More...
 
virtual
DtVrfGuiScenarioDescriptionImporterExporter
scenarioDescriptionThatCanLoad (const DtFilename &) const
 Returns a cloned descriptor that must be freed by the caller that can load the specified scenario file Returns 0 if no descriptor exists. More...
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor. More...
 
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor. More...
 

Static Public Member Functions

static
DtScenarioDescriptionManager
instance (makVrv::DtDe &de)
 Returns instance of the messager. More...
 
static void registerInstance (makVrv::DtDe &, DtScenarioDescriptionManager *)
 

Protected Types

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

Protected Member Functions

 DtScenarioDescriptionManager (makVrv::DtDe &sim)
 CTOR. More...
 
virtual ~DtScenarioDescriptionManager ()
 DTOR. More...
 

Protected Attributes

ScenarioDescriptions myScenarioDescriptions
 

Detailed Description

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

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 Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)