VR-Forces Developer's Guide
 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 
14 
17 {
18 public:
21 
24 
28  virtual bool loadScenarioDescription(const DtFilename& file, const std::map<std::string, std::string>& importData);
29 
32 
36 
39  virtual bool importFromSimulation(DtSimulationServices*, const std::map<std::string, std::string>& exportData,
41 
44  virtual bool saveScenarioDescription(const DtFilename& file, const DtScenario&) const;
45 
47  virtual std::string supportedExtensions();
48 
50  virtual bool canImportFile(const DtFilename&);
51 
53  virtual DtObjectParser * parser();
54 
55  virtual void setDesiredObjectType(const DtObjectType& type);
56  virtual DtObjectType desiredObjectType() const;
57 
58 protected:
59  DtObjectType myDesiredObjectType;
60 };
DtObjectType myDesiredObjectType
Definition: tleScenarioDescriptionImporterExporter.h:59
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.
Imports TLE (two line elements) to create orbiting objects.
Definition: tleScenarioDescriptionImporterExporter.h:16
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:95
#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 Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)