VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes
makVrf::DtObjectImporter Class Referenceabstract

Dialog to allow user to customize object parser when inputing a file for scenario laydown.

Inheritance diagram for makVrf::DtObjectImporter:
Inheritance graph
[legend]

Public Member Functions

 DtObjectImporter (makVrv::DtDe &de, DtScenarioDescriptionImporterExporter *imp, QWidget *parent, const Qt::WindowFlags &flags)
 
virtual ~DtObjectImporter ()
 
virtual void initializeForces ()
 
virtual void initializeObjectMap ()
 
virtual void import (const QString &)
 

Public Attributes

QWidget myFrame
 

Protected Member Functions

virtual void setupGui ()=0
 
virtual void importScenarioDescription ()
 
virtual void accept ()
 

Protected Attributes

makVrv::DtDemyDe
 
std::map< std::string,
std::string > 
myTypeMap
 
DtFilename myFile
 
DtScenarioDescriptionImporterExportermyImporter
 

Constructor & Destructor Documentation

makVrf::DtObjectImporter::DtObjectImporter ( makVrv::DtDe de,
DtScenarioDescriptionImporterExporter imp,
QWidget *  parent,
const Qt::WindowFlags &  flags 
)
virtual makVrf::DtObjectImporter::~DtObjectImporter ( )
virtual

Member Function Documentation

virtual void makVrf::DtObjectImporter::initializeForces ( )
virtual

Reimplemented in makVrf::DtCsvImporter.

virtual void makVrf::DtObjectImporter::initializeObjectMap ( )
virtual

Reimplemented in makVrf::DtCsvImporter.

virtual void makVrf::DtObjectImporter::import ( const QString &  )
virtual

Will request of the currently selected back-end the current MSDL to SIDC code mappings. The MSDL scenario will then be imported. Any equipment or tactical graphics that do not have a valid mapping will be presented to the user for mapping. If no mappings are needed then the scenario will be sent to the back-end for import.

virtual void makVrf::DtObjectImporter::setupGui ( )
protectedpure virtual
virtual void makVrf::DtObjectImporter::importScenarioDescription ( )
protectedvirtual

Sends message off to back-end to import the scenario description.

Reimplemented in makVrf::DtCsvImporter, and makVrf::DtTleImporter.

virtual void makVrf::DtObjectImporter::accept ( )
protectedvirtual

Called to accept this dialog, will start the import process.

Member Data Documentation

QWidget makVrf::DtObjectImporter::myFrame
makVrv::DtDe& makVrf::DtObjectImporter::myDe
protected
std::map<std::string, std::string> makVrf::DtObjectImporter::myTypeMap
protected
DtFilename makVrf::DtObjectImporter::myFile
protected
DtScenarioDescriptionImporterExporter* makVrf::DtObjectImporter::myImporter
protected

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

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)