VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtCigiModelStateMappingLogic.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2009 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: DtCigiModelStateMappingLogic.h,v $ $Revision: 1.1 $ $State: Exp $
7 *********************************************************************/
8 
12 
13 #ifndef DtCigiModelStateMappingLogic_H_
14 #define DtCigiModelStateMappingLogic_H_
15 
16 #include <vrvCigiQt/vrvCigiQt.h>
18 
19 #include <QtCore/QStringList>
20 
21 namespace makVrv
22 {
23  class DtDe;
24  class DtCigiModelStateMappingInterface;
25  class DtModelSemanticsMapper;
26  class DtMapEditorInterface;
27  class DtSharedCigiSettingsManager;
28  class DtPersistenceControlsInterface;
29  class DtSettingsBackup;
30 
35  {
36  public:
39  componentMapIf, DtCigiSettingsInterface* settingsIf,
40  DtMapEditorInterface* editorIf,
42 
45 
46  protected:
48  virtual void updateValues();
49 
51  virtual void initializeStateStrings();
52 
54  virtual void on_valueAdded(const std::string& key, const std::string& value, int index);
55 
57  virtual void on_valueDeleted(const std::string& key);
58 
60  virtual void on_valueRenamed(const std::string& oldName, const std::string& newName);
61  virtual void cigiMappingsRestored(const DtSettingsBackup* s);
62 
63  protected:
67  QStringList myStateStrings;
68  std::map<int, std::string> myStateIdToNameMap;
69  std::map<std::string, int> myNameToStateIdMap;
70  };
71 }
72 
73 #endif

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)