VR-Forces 4.1.1 Class Documentation
DtTacticalGraphicOverlayTreeLogic.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: $ $Revision: $ $State: $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 #include <vrvCoreQt/vrvCoreQt.h>
18 #include <vrvCore/DtUniqueID.h>
19 #include <QtCore/QHash>
20 #include <boost/unordered_map.hpp>
21 
22 namespace makVrv
23 {
24  class DtTacticalGraphicOverlayTreeInterface;
25  class DtTacticalGraphicOverlayManager;
26  class DtFeatureLayer;
27 
31  {
32 
33  public:
34 
37 
40 
41  protected:
42 
45  virtual void slot_tacticalGraphicAdded(const DtUniqueID& id, const std::string& name);
46 
50  virtual void slot_tacticalGraphicRenamed(const DtUniqueID& id, const std::string& newName);
51 
55  virtual void slot_tacticalGraphicOverlayRenamed(const DtUniqueID& id, const std::string& overlayName);
56 
60  virtual void slot_tacticalGraphicRemoved(const DtUniqueID& id);
61 
64  virtual void slot_overlayDeleted(const std::string& name);
65 
68  virtual void slot_tacticalGraphicSelected(const DtUniqueID& id);
69 
71  virtual void slot_tacticalGraphicVisibilityChanged(const DtUniqueID& id, bool flag);
72 
74  virtual void slot_overlaySelected(const std::string& name);
75 
77  virtual void slot_filterStatusChanged(const std::string& name, bool flag);
78 
80  virtual void slot_overlayVisibilityChanged(const std::string& name, bool flag);
81 
83  virtual void slot_overlayVisibilityChangedFromManager(const std::string& layer, bool b);
84 
86  virtual void slot_showEmptyOverlays(bool flag);
87 
88 
90  virtual void slot_overlayAdded(const std::string& name);
91 
94  virtual void refreshOverlays();
95 
97  virtual void slot_selMgrCurrentSelectionChanged(
98  const DtSelectionManager::IdSet& selected,
99  const DtSelectionManager::IdSet& deselected);
100 
102  virtual void fillGui();
103 
104  protected:
105 
106  typedef boost::unordered_map<DtUniqueID, std::string> KeyToNameMap;
107 
113  };
114 
115  // Creator class for DtTacticalGraphicOverlayTreeLogic
118  {
119 
120  public:
121 
122  // Get the creator instance for this DE object.
123  // DtCorruptedState if no instance is found.
124  static DtTacticalGraphicOverlayTreeLogicCreator& instance(DtDe& de);
125 
126  // Register the creator instance with an DE.
127  static void registerInstance(DtDe& de, DtTacticalGraphicOverlayTreeLogicCreator* instance);
128 
129  //Create the widget's logic.
131 
132  };
133 }
134 

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)