VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
tleScenarioDescriptionImporterExporter.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2018 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
7 
8 #pragma once
9 
12 
13 class DtVrfObject;
15 
18 {
19 public:
22 
25 
29  virtual bool loadScenarioDescription(const DtFilename& file, const std::map<std::string, std::string>& importData);
30 
33 
36  virtual bool importIntoSimulation(DtSimManager*);
37 
40  virtual bool importFromSimulation(DtSimManager*, const std::map<std::string, std::string>& exportData,
42 
45  virtual bool saveScenarioDescription(const DtFilename& file, const DtScenario&) const;
46 
48  virtual std::string supportedExtensions();
49 
51  virtual bool canImportFile(const DtFilename&);
52 
54  virtual DtObjectParser * parser();
55 
56  virtual void setDesiredObjectType(const DtObjectType& type);
57  virtual DtObjectType desiredObjectType() const;
58 
59 protected:
61 };
DtObjectType myDesiredObjectType
Definition: tleScenarioDescriptionImporterExporter.h:60
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
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.
Definition: scenarioDescriptionImporterExporter.h:27
virtual bool importFromSimulation(DtSimManager *, const std::map< std::string, std::string > &exportData, const DtMsdlHierarchyPropertyMappings &)=0
Imports from the simulation into internal structures.
virtual bool saveScenarioDescription(const DtFilename &file, const DtScenario &) const =0
Saves the scenario description information to the specified file.
Imports TLE (two line elements) to create orbiting objects.
Definition: tleScenarioDescriptionImporterExporter.h:17
Definition: objectType.h:27
This class is the base class for parsing out creation information from various textual formats...
Definition: createObjectParser.h:45
Definition: msdlHierarchyPropertyMappings.h:37
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 DtObjectParser * parser()=0
Returns parser, if doesn&#39;t exist yet will create it.
#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
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102
virtual bool canImportFile(const DtFilename &)=0
Returns true if the supplied file can be loaded by this importer.
virtual bool importIntoSimulation(DtSimManager *)=0
Imports into the simulation.
virtual bool loadScenarioDescription(const DtFilename &file, const std::map< std::string, std::string > &importData)=0

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)