VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtCockpitMappingEditorLogic Class Reference

Logic for editing mappings from entities to cockpits. More...

List of all members.

Public Member Functions

 DtCockpitMappingEditorLogic (DtDe &de, const std::string &definitionSchema, DtEntityMappingEditorInterface &editorInterface, DtEntityTypeMapEditorInterface &entityTypeMapInterface, DtMultiMapEditorInterface &mapInterface, DtPersistenceControlsInterface &toolbarInterface)
 CTOR.
virtual ~DtCockpitMappingEditorLogic ()
virtual void rebuildDefinitions ()
DtEntityTypeMappercurrentMapper (DtWriteSettingsLock< DtSharedCockpitSettings > &settings)
const DtEntityTypeMappercurrentMapper (const DtReadSettingsLock< DtSharedCockpitSettings > &settings) const
virtual void on_modelDefinitionAdded (const DtModelDefinition &definition)
virtual void on_modelDefinitionToBeDestroyed (const DtModelDefinition &definition)
virtual void modelDefinitionChanged (const DtSettingsChangeObject *)

Protected Member Functions

void updatePossibleValues ()
void updateSettings ()
void refreshPage ()
void buildFiltersFromDefinitions ()
virtual void on_addValue (const std::string &name, const std::string &value, int index)
virtual void on_changeValue (const std::string &name, const std::string &oldValue, const std::string &value, int index)
virtual void on_deleteValue (const std::string &name, const std::string &value)
virtual void on_renameValue (const std::string &oldName, const std::string &value, const std::string &newName)
virtual void on_import ()
virtual void on_export ()
virtual void on_importFilePathChosen (const std::string &filePath)
virtual void on_exportFilePathChosen (const std::string &filePath)
virtual void on_filterChanged (const DtUnicode &filter)
virtual void on_lookupChanged (const std::string &filter)
virtual void on_selectMatch ()
void entityTypeMappingsRestored (const DtSettingsBackup *s)
void askForNewElementDefinitionForEntityType (std::string entType)

Protected Attributes

DtDemyDe
DtSignalConnectionManager myConnections
DtSharedSimulationSettingsManagermyManager
DtEntityMappingEditorInterfacemyEditorInterface
DtEntityTypeMapEditorInterfacemyEntityTypeMapInterface
DtMultiMapEditorInterfacemyMapInterface
DtPersistenceControlsInterfacemyToolbarInterface
QStringList myDefinitions
std::string myDefinitionSchema
DtEntityType myLookupType
DtSharedCockpitTypeMapper * myMapperObject

Detailed Description

Logic for editing mappings from entities to cockpits.


Constructor & Destructor Documentation

makVrv::DtCockpitMappingEditorLogic::DtCockpitMappingEditorLogic ( DtDe de,
const std::string &  definitionSchema,
DtEntityMappingEditorInterface editorInterface,
DtEntityTypeMapEditorInterface entityTypeMapInterface,
DtMultiMapEditorInterface mapInterface,
DtPersistenceControlsInterface toolbarInterface 
)

CTOR.


Member Function Documentation

virtual void makVrv::DtCockpitMappingEditorLogic::on_addValue ( const std::string &  name,
const std::string &  value,
int  index 
) [protected, virtual]
virtual void makVrv::DtCockpitMappingEditorLogic::on_changeValue ( const std::string &  name,
const std::string &  oldValue,
const std::string &  value,
int  index 
) [protected, virtual]
virtual void makVrv::DtCockpitMappingEditorLogic::on_deleteValue ( const std::string &  name,
const std::string &  value 
) [protected, virtual]
virtual void makVrv::DtCockpitMappingEditorLogic::on_renameValue ( const std::string &  oldName,
const std::string &  value,
const std::string &  newName 
) [protected, virtual]
virtual void makVrv::DtCockpitMappingEditorLogic::on_import ( ) [protected, virtual]
virtual void makVrv::DtCockpitMappingEditorLogic::on_export ( ) [protected, virtual]
virtual void makVrv::DtCockpitMappingEditorLogic::on_importFilePathChosen ( const std::string &  filePath) [protected, virtual]
virtual void makVrv::DtCockpitMappingEditorLogic::on_exportFilePathChosen ( const std::string &  filePath) [protected, virtual]
virtual void makVrv::DtCockpitMappingEditorLogic::on_filterChanged ( const DtUnicode filter) [protected, virtual]
virtual void makVrv::DtCockpitMappingEditorLogic::on_lookupChanged ( const std::string &  filter) [protected, virtual]
virtual void makVrv::DtCockpitMappingEditorLogic::on_selectMatch ( ) [protected, virtual]

Member Data Documentation

DtSharedCockpitTypeMapper* makVrv::DtCockpitMappingEditorLogic::myMapperObject [protected]

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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)