![]() |
VR-Forces 4.3 Class Documentation
|
The makVrf::DtMsdlExporter class will allow the user to specify any mappings that do not exist for entities/tactical graphics that appear in the VR-Forcees scenario. More...

Public Member Functions | |
| DtMsdlExporter (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0) | |
| virtual | ~DtMsdlExporter () |
| virtual void | exportFile (const QString &) |
| Will request of the currently selected back-end the current MSDL to SIDC code mappings. | |
Public Attributes | |
| QLabel * | myDescription |
| QVBoxLayout * | myEntitiesLayout |
| QLabel * | myEntitiesLabel |
| QFrame * | myEntitiesLine |
| QTreeWidget * | myMissingEntitiesTree |
| QVBoxLayout * | myTacticalGraphicsLayout |
| QLabel * | myTacticalGraphicsLabel |
| QFrame * | myTacticalGraphicsLine |
| QTreeWidget * | myMissingTacticalGraphicsTree |
| QHBoxLayout * | myButtonLayout |
| QPushButton * | myOKButton |
| QPushButton * | myCancelButton |
Protected Member Functions | |
| virtual void | processMsdlSidcMessage (DtSimMessage *m) |
| virtual void | processMissingItems () |
| Processes the missing items and puts this dialog into exec mode to allow user to select mappings for tactical graphics and entities. | |
| virtual void | accept () |
| Called to accept this dialog, will start the import process. | |
| virtual QComboBox * | createSidcSelectionWidget (bool forEntities) |
| Returns a new combo box with all potential SIDC codes items that can be selected. | |
| virtual void | setupMissingEntities () |
| Setup section for missing entities to pick enumerations for. | |
| virtual void | setupMissingTacticalGraphics () |
| Setup section for missing tactical graphics to pick enumerations for. | |
| virtual void | exportScenarioDescription () |
| Sends message to back-end to export scenario description, including any mappings. | |
| virtual void | addMissingEntities () |
| Iterates over entity states and adds missing entities to SIDC code mappings. | |
| virtual void | addMissingTacticalGraphics () |
| Iterates over tactical graphics and adds missing tactical graphics to SIDC code mappings. | |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| DtFilename | myMsdlFile |
| int | myRequestId |
| DtMsdlHierarchyPropertyMappings | myCurrentMappings |
| DtMsdlHierarchyPropertyMappings | myNewMappings |
| std::map< std::string, QTreeWidgetItem * > | myMissingItems |
| std::map< std::string, std::string > | myMissingEntities |
| std::map< std::string, std::string > | myMissingTacticalGraphics |
The makVrf::DtMsdlExporter class will allow the user to specify any mappings that do not exist for entities/tactical graphics that appear in the VR-Forcees scenario.
If everything is properly mapped then the process of export will begin without user interaction. The back-end will be queried for the current mappings file and the current entities/tactical graphics will be checked to see if there are mappings between dis enumeration and SIDC code
| makVrf::DtMsdlExporter::DtMsdlExporter | ( | makVrv::DtDe & | de, |
| QWidget * | parent, | ||
| const Qt::WindowFlags & | flags = 0 |
||
| ) |
|
virtual |
|
virtual |
Will request of the currently selected back-end the current MSDL to SIDC code mappings.
The MSDL scenario will then be exported. 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 export
|
protectedvirtual |
|
protectedvirtual |
Processes the missing items and puts this dialog into exec mode to allow user to select mappings for tactical graphics and entities.
|
protectedvirtual |
Called to accept this dialog, will start the import process.
|
protectedvirtual |
Returns a new combo box with all potential SIDC codes items that can be selected.
|
protectedvirtual |
Setup section for missing entities to pick enumerations for.
|
protectedvirtual |
Setup section for missing tactical graphics to pick enumerations for.
|
protectedvirtual |
Sends message to back-end to export scenario description, including any mappings.
|
protectedvirtual |
Iterates over entity states and adds missing entities to SIDC code mappings.
|
protectedvirtual |
Iterates over tactical graphics and adds missing tactical graphics to SIDC code mappings.
| QLabel* makVrf::DtMsdlExporter::myDescription |
| QVBoxLayout* makVrf::DtMsdlExporter::myEntitiesLayout |
| QLabel* makVrf::DtMsdlExporter::myEntitiesLabel |
| QFrame* makVrf::DtMsdlExporter::myEntitiesLine |
| QTreeWidget* makVrf::DtMsdlExporter::myMissingEntitiesTree |
| QVBoxLayout* makVrf::DtMsdlExporter::myTacticalGraphicsLayout |
| QLabel* makVrf::DtMsdlExporter::myTacticalGraphicsLabel |
| QFrame* makVrf::DtMsdlExporter::myTacticalGraphicsLine |
| QTreeWidget* makVrf::DtMsdlExporter::myMissingTacticalGraphicsTree |
| QHBoxLayout* makVrf::DtMsdlExporter::myButtonLayout |
| QPushButton* makVrf::DtMsdlExporter::myOKButton |
| QPushButton* makVrf::DtMsdlExporter::myCancelButton |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |