VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtCigiEntityMappingLogic.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2009 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: DtCigiEntityMappingLogic.h,v $ $Revision: 1.1 $ $State: Exp $
7 *********************************************************************/
8 
12 
13 #ifndef DtCigiEntityMappingLogic_H_
14 #define DtCigiEntityMappingLogic_H_
15 
16 #include <vrvCigiQt/vrvCigiQt.h>
18 
19 #include <QtCore/QStringList>
20 
21 namespace makVrv
22 {
23  class DtCigiEntityMappingInterface;
24  class DtCigiEntityMappingInterface;
25  class DtMapEditorInterface;
26  class DtPersistenceControlsInterface;
27  class DtSharedCigiSettingsManager;
28  class DtPersistenceControlsInterface;
29  class DtSettingsBackup;
30  class DtSettingsChangeObject;
31 
37  {
38  public:
41  DtCigiSettingsInterface* settingsIf,
42  DtMapEditorInterface* entTypeIf, DtMapEditorInterface* artPartIf,
43  DtPersistenceControlsInterface* importExportIf);
44 
46  virtual ~DtCigiEntityMappingLogic();
47 
48  protected:
50  virtual void updateValues();
51 
53  virtual void updatePossibleValues();
54 
56  virtual void rebuildDefinitions();
57 
59  virtual void updateEntityMappings();
60 
62  virtual void updateArtParts();
63  virtual void cigiMappingsRestored(const DtSettingsBackup* s);
64 
66  void on_deleteEntityTypeValue(const std::string& key);
67 
69  void on_addEntityTypeValue(const std::string& key,const std::string& value, int index);
70 
72  void on_renameEntityTypeValue(const std::string& oldName, const std::string& newName );
73 
76  void on_newEntityTypeSelected(const std::string& entType);
77 
79  void on_addArtPartValue(const std::string& key, const std::string& value, int index);
80 
82  void on_renameArtPartValue(const std::string& oldName, const std::string& newName);
83 
85  void on_deleteArtPartValue(const std::string& key);
86 
88  virtual void on_currentSettingsChanged(const std::string& name);
89 
91  std::string schemaForModel(const std::string& modelName);
92 
93  virtual void modelDefinitionChanged( const DtSettingsChangeObject* definition );
94 
95  protected:
99  QStringList myModelDefinitions;
102  };
103 }
104 
105 #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)