VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes
DtVrfTleScenarioDescriptionImporterExporter Class Reference
Inheritance diagram for DtVrfTleScenarioDescriptionImporterExporter:
Inheritance graph
[legend]

Public Member Functions

 DtVrfTleScenarioDescriptionImporterExporter ()
 DtVrfTleScenarioDescriptionImporterExporter.
virtual ~DtVrfTleScenarioDescriptionImporterExporter ()
 DTOR.
virtual
DtScenarioDescriptionImporterExporter
clone ()
 Clone to create a new copy of the object. Will be used as a "clean" version for import.
virtual bool importIntoSimulation (DtSimManager *)
 Imports into the simulation.
virtual bool importFromSimulation (DtSimManager *, const std::map< std::string, std::string > &exportData, const DtMsdlHierarchyPropertyMappings &)
 Imports from the simulation into internal structures.
- Public Member Functions inherited from DtTleScenarioDescriptionImporterExporter
 DtTleScenarioDescriptionImporterExporter ()
 CTOR.
virtual ~DtTleScenarioDescriptionImporterExporter ()
 DTOR.
virtual bool loadScenarioDescription (const DtFilename &file, const std::map< std::string, std::string > &importData)
 Loads information from the supplied ACO file into internal structures.
virtual bool saveScenarioDescription (const DtFilename &file, const DtScenario &) const
 Saves the scenario description information to the specified file.
virtual std::string supportedExtensions ()
 Returns a space delimeted list of the extensions supported ("ACO txt")
virtual bool canImportFile (const DtFilename &)
 Returns true if the supplied file can be loaded by this importer.
virtual DtObjectParserparser ()
 Returns parser, if doesn't exist yet will create it.
virtual void setDesiredObjectType (const DtObjectType &type)
virtual DtObjectType desiredObjectType () const
- Public Member Functions inherited from DtScenarioDescriptionImporterExporter
 DtScenarioDescriptionImporterExporter ()
 CTOR Derived classes will need to create a parser.
virtual ~DtScenarioDescriptionImporterExporter ()
 DTOR.
const DtScenarioscenario () const
const std::string & error () const
virtual void setDesiredForce (int force)

Protected Member Functions

virtual bool complete () const
 Return true if import is complete. Default is true.
virtual void processCreateObjects ()
virtual void createOrbitingEntity (TleParsedItem &tleItem)
 Creates an entity or an aggregate. If an aggregate will also aggregate entities into the hierarchy.

Static Protected Member Functions

static void createObjectsCallback (void *)
 Creates objects.

Protected Attributes

DtSimManagermySimManager
- Protected Attributes inherited from DtTleScenarioDescriptionImporterExporter
DtObjectType myDesiredObjectType
- Protected Attributes inherited from DtScenarioDescriptionImporterExporter
DtScenario myScenario
std::string myError
DtObjectParsermyParser
DtForceType myDesiredForce

Constructor & Destructor Documentation

DtVrfTleScenarioDescriptionImporterExporter::DtVrfTleScenarioDescriptionImporterExporter ( )
virtual DtVrfTleScenarioDescriptionImporterExporter::~DtVrfTleScenarioDescriptionImporterExporter ( )
virtual

DTOR.

Member Function Documentation

virtual DtScenarioDescriptionImporterExporter* DtVrfTleScenarioDescriptionImporterExporter::clone ( )
virtual

Clone to create a new copy of the object. Will be used as a "clean" version for import.

Reimplemented from DtTleScenarioDescriptionImporterExporter.

virtual bool DtVrfTleScenarioDescriptionImporterExporter::importIntoSimulation ( DtSimManager )
virtual

Imports into the simulation.

Reimplemented from DtTleScenarioDescriptionImporterExporter.

virtual bool DtVrfTleScenarioDescriptionImporterExporter::importFromSimulation ( DtSimManager ,
const std::map< std::string, std::string > &  exportData,
const DtMsdlHierarchyPropertyMappings  
)
virtual

Imports from the simulation into internal structures.

Reimplemented from DtTleScenarioDescriptionImporterExporter.

virtual bool DtVrfTleScenarioDescriptionImporterExporter::complete ( ) const
protectedvirtual

Return true if import is complete. Default is true.

Reimplemented from DtScenarioDescriptionImporterExporter.

static void DtVrfTleScenarioDescriptionImporterExporter::createObjectsCallback ( void *  )
staticprotected

Creates objects.

virtual void DtVrfTleScenarioDescriptionImporterExporter::processCreateObjects ( )
protectedvirtual
virtual void DtVrfTleScenarioDescriptionImporterExporter::createOrbitingEntity ( TleParsedItem tleItem)
protectedvirtual

Creates an entity or an aggregate. If an aggregate will also aggregate entities into the hierarchy.

Member Data Documentation

DtSimManager* DtVrfTleScenarioDescriptionImporterExporter::mySimManager
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)