VR-Forces 4.10 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 | Protected Attributes
makVrv::DtCigiActiveRegionMappingLogic Class Reference

A DtCigiActiveRegionMappingLogic object provides the logic for a widget that maps active region numbers to activeRegion strings for CIGI active region component control messages. More...

Inheritance diagram for makVrv::DtCigiActiveRegionMappingLogic:
Inheritance graph
[legend]

Public Member Functions

 DtCigiActiveRegionMappingLogic (DtDe &de, DtCigiActiveRegionMappingInterface *componentMapIf, DtCigiSettingsInterface *settingsIf, DtMapEditorInterface *editorIf, DtPersistenceControlsInterface *toolbarIf)
 Constructor. More...
 
virtual ~DtCigiActiveRegionMappingLogic ()
 Destructor. More...
 
- Public Member Functions inherited from makVrv::DtCigiSettingsLogic
 DtCigiSettingsLogic (DtDe &de, DtCigiSettingsInterface *settingsIf, DtPersistenceControlsInterface *toolbarIf)
 Constructor. More...
 
virtual ~DtCigiSettingsLogic ()
 Destructor. More...
 

Protected Member Functions

virtual void updateValues ()
 Updates the GUI from the DtSharedCigiSettings. More...
 
virtual void on_valueAdded (const std::string &key, const std::string &value, int index)
 Called when a value pair is to be added to the mapping. More...
 
virtual void on_valueDeleted (const std::string &key)
 Called when a mapping is deleted. More...
 
virtual void on_valueRenamed (const std::string &oldName, const std::string &newName)
 Called when a mapping is renamed. More...
 
virtual void cigiMappingsRestored (const DtSettingsBackup *s)
 
- Protected Member Functions inherited from makVrv::DtCigiSettingsLogic
virtual void on_newSettingsRequested ()
 Called when new settings are added. More...
 
virtual void on_deleteSettingsRequested (const std::string &mapperName)
 Called when settings are deleted. More...
 
virtual void on_renameSettingsRequested (const std::string &oldName, const std::string &newName)
 Called when settings are renamed. More...
 
virtual void on_currentSettingsChanged (const std::string &name)
 Called when the current settings change. More...
 
virtual void on_pageEnabled (bool trueFalse)
 Called when the page is enabled. More...
 
virtual std::string generateName () const
 Generates a new name. Used when new settings are created. More...
 
virtual void on_import ()
 Called when import is requested. More...
 
virtual void on_importFilenameChosen (const std::string &name)
 Called when the user chooses a file to import. More...
 
virtual void on_export ()
 Called when export is requested. More...
 
virtual void on_exportFilenameChosen (const std::string &name)
 Called when the user chooses a file to import to. More...
 
virtual void on_settingsToBeDeletedExternal (const std::string &name)
 Called when the settngs manager reports a settings object is to be deleted. More...
 
int stringToInt (const std::string &str)
 Utility function translates str into an integer. Returns -1 if fails. More...
 

Protected Attributes

DtCigiActiveRegionMappingInterfacemyMapInterface
 
DtMapEditorInterfacemyEditorInterface
 
QStringList myPossibleValues
 
- Protected Attributes inherited from makVrv::DtCigiSettingsLogic
DtDemyDe
 
DtCigiSettingsInterfacemySettingsInterface
 
DtPersistenceControlsInterfacemyToolbarInterface
 
DtSharedCigiSettingsManagermySettingsManager
 
DtSignalConnectionManager myConnectionManager
 

Detailed Description

A DtCigiActiveRegionMappingLogic object provides the logic for a widget that maps active region numbers to activeRegion strings for CIGI active region component control messages.

Constructor & Destructor Documentation

makVrv::DtCigiActiveRegionMappingLogic::DtCigiActiveRegionMappingLogic ( DtDe de,
DtCigiActiveRegionMappingInterface componentMapIf,
DtCigiSettingsInterface settingsIf,
DtMapEditorInterface editorIf,
DtPersistenceControlsInterface toolbarIf 
)

Constructor.

virtual makVrv::DtCigiActiveRegionMappingLogic::~DtCigiActiveRegionMappingLogic ( )
virtual

Destructor.

Member Function Documentation

virtual void makVrv::DtCigiActiveRegionMappingLogic::updateValues ( )
protectedvirtual

Updates the GUI from the DtSharedCigiSettings.

Reimplemented from makVrv::DtCigiSettingsLogic.

virtual void makVrv::DtCigiActiveRegionMappingLogic::on_valueAdded ( const std::string &  key,
const std::string &  value,
int  index 
)
protectedvirtual

Called when a value pair is to be added to the mapping.

virtual void makVrv::DtCigiActiveRegionMappingLogic::on_valueDeleted ( const std::string &  key)
protectedvirtual

Called when a mapping is deleted.

virtual void makVrv::DtCigiActiveRegionMappingLogic::on_valueRenamed ( const std::string &  oldName,
const std::string &  newName 
)
protectedvirtual

Called when a mapping is renamed.

virtual void makVrv::DtCigiActiveRegionMappingLogic::cigiMappingsRestored ( const DtSettingsBackup s)
protectedvirtual

Member Data Documentation

DtCigiActiveRegionMappingInterface& makVrv::DtCigiActiveRegionMappingLogic::myMapInterface
protected
DtMapEditorInterface& makVrv::DtCigiActiveRegionMappingLogic::myEditorInterface
protected
QStringList makVrv::DtCigiActiveRegionMappingLogic::myPossibleValues
protected

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)