VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
acoScenarioDescriptionImporterExporter.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2017 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
7 
8 #pragma once
9 
11 
13 
19 
21 
22 #include "vrfutil/vrfutilDefines.h"
24 {
25 public:
28 
31 
35  virtual bool loadScenarioDescription(const DtFilename& file, const std::map<std::string, std::string>& importData);
36 
39 
43 
46  virtual bool importFromSimulation(DtSimulationServices*, const std::map<std::string, std::string>& exportData,
48 
51  virtual bool saveScenarioDescription(const DtFilename& file, const DtScenario&) const;
52 
54  virtual std::string supportedExtensions();
55 
57  virtual bool canImportFile(const DtFilename&);
58 
60  virtual DtObjectParser * parser();
61 
62 protected:
63 
66  //typedef std::map<DtString, std::vector<ObjectInformation*> > WaitingMap;
67  //WaitingMap myToBeParented;
68 };
Definition: scenario.h:52
virtual DtScenarioDescriptionImporterExporter * clone()=0
Clone to create a new copy of the object. Will be used as a &quot;clean&quot; version for import.
This class is the interface for a scenario description importer/exporter. Subclasses will implement t...
Definition: scenarioDescriptionImporterExporter.h:27
virtual bool saveScenarioDescription(const DtFilename &file, const DtScenario &) const =0
Saves the scenario description information to the specified file.
This class is the base class for parsing out creation information from various textual formats...
Definition: createObjectParser.h:48
Definition: msdlHierarchyPropertyMappings.h:56
virtual std::string supportedExtensions()=0
Returns a space delimeted list of the extensions supported (i.e. &quot;xml&quot; or &quot;csv txt&quot;) ...
virtual bool importFromSimulation(DtSimulationServices *, const std::map< std::string, std::string > &exportData, const DtMsdlHierarchyPropertyMappings &)=0
Imports from the simulation into internal structures. DtSimulationServices is not defined at this lev...
virtual bool importIntoSimulation(DtSimulationServices *)=0
Imports into the simulation. DtSimulationServices is not defined at this level, so subclasses at vrfo...
virtual DtObjectParser * parser()=0
Returns parser, if doesn&#39;t exist yet will create it.
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:90
Definition: acoScenarioDescriptionImporterExporter.h:23
#define DT_DLL_vrfutil
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfutilDefines.h:34
virtual bool canImportFile(const DtFilename &)=0
Returns true if the supplied file can be loaded by this importer.
virtual bool loadScenarioDescription(const DtFilename &file, const std::map< std::string, std::string > &importData)=0

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)