VR-Forces Development_Version 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 
17 
18 #include <QtCore/QStringList>
19 
20 namespace makVrv
21 {
22  class DtDe;
23  class DtCigiModelStateMappingInterface;
24  class DtModelSemanticsMapper;
25  class DtMapEditorInterface;
26  class DtSharedCigiSettingsManager;
27  class DtPersistenceControlsInterface;
28  class DtSettingsBackup;
29 
34  {
35  public:
38  componentMapIf, DtCigiSettingsInterface* settingsIf,
39  DtMapEditorInterface* editorIf,
41 
44 
45  protected:
47  virtual void updateValues();
48 
50  virtual void initializeStateStrings();
51 
53  virtual void on_valueAdded(const std::string& key, const std::string& value, int index);
54 
56  virtual void on_valueDeleted(const std::string& key);
57 
59  virtual void on_valueRenamed(const std::string& oldName, const std::string& newName);
60  virtual void cigiMappingsRestored(const DtSettingsBackup* s);
61 
62  protected:
66  QStringList myStateStrings;
67  std::map<int, std::string> myStateIdToNameMap;
68  std::map<std::string, int> myNameToStateIdMap;
69  };
70 }
71 
72 #endif

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)