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 #include <vlpi/entityType.h>
13 
15 
18 {
19 public:
22 
24  virtual ~DtTleScenarioDescriptionImporterExporter() override;
25 
29  virtual bool loadScenarioDescription(const DtFilename& file, const std::map<std::string, std::string>& importData) override;
30 
32  virtual DtScenarioDescriptionImporterExporter* clone() override;
33 
36  virtual bool importIntoSimulation(DtSimulationServices*) override;
37 
40  virtual bool importFromSimulation(DtSimulationServices*, const std::map<std::string, std::string>& exportData,
41  const DtMsdlHierarchyPropertyMappings&) override;
42 
45  virtual bool saveScenarioDescription(const DtFilename& file, const DtScenario&) const override;
46 
48  virtual std::string supportedExtensions() override;
49 
51  virtual bool canImportFile(const DtFilename&) override;
52 
54  virtual DtObjectParser * parser() override;
55 
56  virtual void setDesiredObjectType(const DtEntityType& type);
57  virtual DtEntityType desiredObjectType() const;
58 
59 protected:
60  DtEntityType myDesiredObjectType;
61 };
DtEntityType myDesiredObjectType
Definition: tleScenarioDescriptionImporterExporter.h:60
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:17
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:96
#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 Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)