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

A DtCigiComponentMappingLogic provides the logic for a widget that maps component ID's to components. More...

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

List of all members.

Public Member Functions

 DtCigiComponentMappingLogic (makArchives::DtCigiComponentClass compClass, DtDe &de, DtCigiComponentMappingInterface *componentMapIf, DtCigiSettingsInterface *settingsIf, DtMapEditorInterface *editorIf, DtPersistenceControlsInterface *toolbarIf)
 Constructor.
virtual ~DtCigiComponentMappingLogic ()
 Destructor.

Protected Member Functions

virtual void updateValues ()
 Update the values in the GUI from the shared settings.
virtual void on_valueAdded (const std::string &key, const std::string &value, int index)
 Called when a new mapping is added.
virtual void on_valueDeleted (const std::string &key)
 Called when a mapping is removed.
virtual void on_valueRenamed (const std::string &oldName, const std::string &newName)
 Called when the component ID is changed for a mapping.
virtual void cigiMappingsRestored (const DtSettingsBackup *s)

Protected Attributes

DtCigiComponentMappingInterfacemyMapInterface
DtMapEditorInterfacemyEditorInterface
makArchives::DtCigiComponentClass myComponentClass

Detailed Description

A DtCigiComponentMappingLogic provides the logic for a widget that maps component ID's to components.

This class takes a component class parameter, which describes what type of component it maps (i.e. Entity, System, View)


Constructor & Destructor Documentation

Constructor.

Destructor.


Member Function Documentation

virtual void makVrv::DtCigiComponentMappingLogic::updateValues ( ) [protected, virtual]

Update the values in the GUI from the shared settings.

Reimplemented from makVrv::DtCigiSettingsLogic.

virtual void makVrv::DtCigiComponentMappingLogic::on_valueAdded ( const std::string &  key,
const std::string &  value,
int  index 
) [protected, virtual]

Called when a new mapping is added.

virtual void makVrv::DtCigiComponentMappingLogic::on_valueDeleted ( const std::string &  key) [protected, virtual]

Called when a mapping is removed.

virtual void makVrv::DtCigiComponentMappingLogic::on_valueRenamed ( const std::string &  oldName,
const std::string &  newName 
) [protected, virtual]

Called when the component ID is changed for a mapping.

virtual void makVrv::DtCigiComponentMappingLogic::cigiMappingsRestored ( const DtSettingsBackup s) [protected, virtual]

Member Data Documentation


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)