VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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.
virtual std::map< std::string,
std::string > 
scenarioDescriptions () const
 Returns a list of importers/exporters available.
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.
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor.
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor.

Static Public Member Functions

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

Protected Types

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

Protected Member Functions

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

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 ( ) const
virtual

Returns a list of importers/exporters available.

The map is the type and the space delimited extensions it supports

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 Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)