VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtVectorNetworkTreeInterface.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/DtFeature.h>
13 
14 namespace makVrv
15 {
16  class DtFaccCode;
17 
22  {
23  public:
25 
27 
29  virtual void addLayer(const std::string& layerName) = 0;
30 
32  virtual void removeLayer(const std::string& layerName) = 0;
33 
35  virtual void showLayer(const std::string& layerName) = 0;
36 
38  virtual void hideLayer(const std::string& layerName) = 0;
39 
41  virtual void addPointFeature(DtElementID id, const std::string& layerName,
42  unsigned int index, DFAD::FeatureID feature, const DtFaccCode& code) = 0;
43 
45  virtual void addArealFeature(DtElementID id, const std::string& layerName,
46  unsigned int index, DFAD::FeatureID feature, const DtFaccCode& code) = 0;
47 
49  virtual void addLinearFeature(DtElementID id, const std::string& layerName,
50  unsigned int index, DFAD::FeatureID feature, const DtFaccCode& code) = 0;
51 
53  virtual void removeFeature(DtElementID id) = 0;
54 
56  virtual void setFeatureSelected(DtElementID id, bool selected) = 0;
57 
59  virtual void finishedAdding() = 0;
60 
62  boost::signalslib::signal<void ()> signal_refresh;
63 
65  boost::signalslib::signal<void (DtElementID id, bool selection)>
67 
68  };
69 }
70 
unsigned int FeatureID
Definition: DtFeature.h:21
boost::signalslib::signal< void(DtElementID id, bool selection)> signal_featureSelectionChanged
Signal to the logic that a point was selected.
Definition: DtVectorNetworkTreeInterface.h:66
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
A data type which represents a FACC code.
Definition: DtFaccCode.h:19
boost::signalslib::signal< void()> signal_refresh
Signal to the logic to resend all data to the gui.
Definition: DtVectorNetworkTreeInterface.h:62
Contains DLL export macros.
Contains makVrv::DtFeature class.
The interface used by the DtVectorNetworkTreeWidget and the DtVectorNetworkTreeLogic.
Definition: DtVectorNetworkTreeInterface.h:21

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)