VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtTacticalGraphicOverlayTreeInterface.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 #include <vrvCoreQt/vrvCoreQt.h>
12 #include <vrvCore/DtUniqueID.h>
13 
14 namespace makVrv
15 {
20  {
21  public:
23 
25 
28  virtual void clearOverlays() = 0;
29 
31  virtual void addOverlay(const std::string& name) = 0;
32 
35  virtual void collapseOverlay(const std::string& name) = 0;
36 
39  virtual void expandOverlay(const std::string& name) = 0;
40 
42  virtual void removeOverlay(const std::string& name) = 0;
43 
47  virtual void addTacticalGraphic(const DtUniqueID& id,
48  const std::string& name, const std::string& ovrName) = 0;
49 
52  virtual void moveTacticalGraphic(const DtUniqueID& id,
53  const std::string& toOvrName) = 0;
54 
56  virtual void renameTacticalGraphic(const DtUniqueID& id,
57  const std::string& newName) = 0;
58 
60  virtual void removeTacticalGraphic(const DtUniqueID& id) = 0;
61 
64  virtual void setTacticalGraphicSelected(const DtUniqueID& id,
65  bool flag) = 0;
66 
69  virtual void setOverlayLayerVisible(const std::string& overlay, bool b) = 0;
70 
72  boost::signalslib::signal<void (const std::string&, bool)> signal_filterStatusChanged;
73 
76  boost::signalslib::signal<void (const std::string&, bool)>
78 
81  boost::signalslib::signal<void (const DtUniqueID&, bool)>
83 
85  boost::signalslib::signal<void (bool)> signal_showEmptyOverlays;
86 
88  boost::signalslib::signal<void (const std::string&)> signal_overlaySelected;
89 
92  boost::signalslib::signal<void (const DtUniqueID&)> signal_tacticalGraphicSelected;
93 
94  };
95 }
96 
boost::signalslib::signal< void(const std::string &, bool)> signal_overlayVisibilityChanged
Signal to the logic that an overlay was checked/unchecked for visibility.
Definition: DtTacticalGraphicOverlayTreeInterface.h:77
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
Contains DLL export macros.
boost::signalslib::signal< void(const std::string &)> signal_overlaySelected
Signal to the logic that an overlay has been selected in the GUI.
Definition: DtTacticalGraphicOverlayTreeInterface.h:88
boost::signalslib::signal< void(const DtUniqueID &)> signal_tacticalGraphicSelected
Signal to the logic that a tactical graphic has been selected in the GUI.
Definition: DtTacticalGraphicOverlayTreeInterface.h:92
boost::signalslib::signal< void(const DtUniqueID &, bool)> signal_tacticalGraphicVisibilityChanged
Signal to the logic that a object inside an overlay was checked/unchecked for visibility.
Definition: DtTacticalGraphicOverlayTreeInterface.h:82
The interface used by the DtTacticalGraphicOverlaysTreeWidget and the DtTacticalGraphicsTreeWidgetLog...
Definition: DtTacticalGraphicOverlayTreeInterface.h:19
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
Contains makVrv::DtUniqueID type.
boost::signalslib::signal< void(bool)> signal_showEmptyOverlays
Signal to the logic to show/hide empty overlays.
Definition: DtTacticalGraphicOverlayTreeInterface.h:85
boost::signalslib::signal< void(const std::string &, bool)> signal_filterStatusChanged
Signal to the logic that a filter was checked/unchecked.
Definition: DtTacticalGraphicOverlayTreeInterface.h:72

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)