VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfCsvScenarioDescriptionImporterExporter.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2012 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
12 
27 
29 {
30 public:
34 
37 
40 
43 
45  virtual bool importFromSimulation(DtSimulationServices*, const std::map<std::string, std::string>& exportData,
47 
48 protected:
50  virtual bool exportOrganization(const std::map<std::string, std::string>& exportData,
52 
53  virtual void determineAltitude(const DtVector& local, DtGeodeticCoord& geod, bool useAGL);
54 
56  virtual bool exportTacticalGraphics(const std::map<std::string, std::string>& exportData,
58 
60  virtual bool complete() const;
61 
63  virtual bool importOrganization();
64 
66  virtual bool importTacticalGraphics();
67 
71  virtual bool prepareOrganizationCreationOrder(ObjectInformation* element);
72 
74  static void createObjectsCallback(void*);
75  virtual void processCreateObjects();
76 
78  virtual void createEntity(ObjectInformation*);
79 
81  virtual void createTacticalGraphic(ObjectInformation*);
82 
84  virtual DtString deconflictName(const DtString&, int kind);
85 
86 protected:
89  std::vector<ObjectInformation*> myOrganizedHierarchy;
90 
93  std::vector<ObjectInformation*> myOrganizationCreationOrder;
94 
96 };
This class is the interface for import from or export to CSV files. This class will not interact with...
Definition: vrfCsvScenarioDescriptionImporterExporter.h:28
virtual DtScenarioDescriptionImporterExporter * clone()
Clone to create a new copy of the object. Will be used as a &quot;clean&quot; version for import.
virtual bool importIntoSimulation(DtSimulationServices *)
Imports into the simulation. DtSimulationServices is not defined at this level, so subclasses at vrfo...
This class is the interface for a scenario description importer/exporter. Subclasses will implement t...
Definition: scenarioDescriptionImporterExporter.h:27
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
Class DtObjectParser is an abstract parser that can be configured to parse object creation informatio...
Definition: createObjectParser.h:22
Definition: msdlHierarchyPropertyMappings.h:56
DtSimulationServices * mySimulationServices
Definition: vrfCsvScenarioDescriptionImporterExporter.h:95
virtual bool importFromSimulation(DtSimulationServices *, const std::map< std::string, std::string > &exportData, const DtMsdlHierarchyPropertyMappings &)
Imports from the simulation into internal structures. DtSimulationServices is not defined at this lev...
Definition: csvScenarioDescriptionImporterExporter.h:23
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:94
std::vector< ObjectInformation * > myOrganizationCreationOrder
Order in which to create organization items or tactical graphics. Empty elements will signal to stop ...
Definition: vrfCsvScenarioDescriptionImporterExporter.h:93
std::vector< ObjectInformation * > myOrganizedHierarchy
Hierarchy with top level nodes and tactical graphics only. This is what will be used to create the ob...
Definition: vrfCsvScenarioDescriptionImporterExporter.h:89
virtual bool complete() const
Return true if import is complete. Default is true.

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)