VR-Forces 4.6 Class Documentation
 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 Reference

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

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 &)
 Will request of the currently selected back-end the current MSDL to SIDC code mappings.

Public Attributes

QWidget myFrame

Protected Member Functions

virtual void setupGui ()=0
virtual void importScenarioDescription ()
 Sends message off to back-end to import the scenario description.
virtual void accept ()
 Called to accept this dialog, will start the import process.

Protected Attributes

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

Detailed Description

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

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

Implemented in makVrf::DtCsvImporter.

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

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

Reimplemented in makVrf::DtCsvImporter.

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 Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)