VR-Forces 4.0.4 Class Documentation
include/vrvCigiQt/DtCigiComponentMappingLogic.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2009 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: DtCigiComponentMappingLogic.h,v $ $Revision: 1.1 $ $State: Exp $
00007 *********************************************************************/
00008 
00012 
00013 #ifndef DtCigiComponentMappingLogic_H_
00014 #define DtCigiComponentMappingLogic_H_
00015 
00016 #include <vrvCigiQt/vrvCigiQt.h>
00017 #include <vrvCigiQt/DtCigiSettingsLogic.h>
00018 
00019 #include <makArchives/DtCigiSettingsRecord.h>
00020 
00021 #include <QtCore/QStringList>
00022 
00023 namespace makVrv
00024 {
00025    class DtDe;
00026    class DtCigiComponentMappingInterface;
00027    class DtModelSemanticsMapper;
00028    class DtMapEditorInterface;
00029    class DtSharedCigiSettingsManager;
00030    class DtPersistenceControlsInterface; 
00031    class DtSettingsBackup;
00032 
00037    class DT_DLL_VRVCIGIQT DtCigiComponentMappingLogic : public DtCigiSettingsLogic
00038    {
00039    public:
00041       DtCigiComponentMappingLogic(makArchives::DtCigiComponentClass compClass,
00042          DtDe& de, DtCigiComponentMappingInterface*
00043          componentMapIf, DtCigiSettingsInterface* settingsIf, 
00044          DtMapEditorInterface* editorIf,
00045          DtPersistenceControlsInterface* toolbarIf);
00046 
00048       virtual ~DtCigiComponentMappingLogic();
00049 
00050    protected:
00052       virtual void updateValues();
00053 
00055       virtual void on_valueAdded(const std::string& key, const std::string& value, int index);
00056 
00058       virtual void on_valueDeleted(const std::string& key);
00059 
00061       virtual void on_valueRenamed(const std::string& oldName, const std::string& newName);
00062       virtual void cigiMappingsRestored(const DtSettingsBackup* s);
00063 
00064    protected:
00065       DtCigiComponentMappingInterface& myMapInterface;
00066       DtMapEditorInterface&       myEditorInterface;
00067       makArchives::DtCigiComponentClass myComponentClass;
00068 
00069    };
00070 }
00071 
00072 #endif

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)