VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtPaperMapLogic.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <vrvCoreQt/vrvCoreQt.h>
12 
14 
15 #include <set>
16 #include <iostream>
17 
18 namespace makVrv
19 {
20  class DtPaperMapWidgetInterface;
21  class DtObserver;
22  class DtInputDriver;
23 
29  {
30 
31  public:
32 
34  static DtPaperMapLogic* create(DtDe& de,
36 
38  virtual ~DtPaperMapLogic();
39 
41  DtPaperMapLogic(DtPaperMapLogic& in) = delete;
42 
44  DtPaperMapLogic& operator=(const DtPaperMapLogic&) = delete;
45 
47  virtual void onGroupAdded(std::string groupName);
48 
50  virtual void onGroupRemoved(std::string groupName);
51 
53  virtual void onGroupSelected(std::string groupName);
54 
56  virtual void setActiveLayer(const std::string& groupName);
57 
59  virtual void reset();
60 
62  virtual void slot_paperMapEnabledChanged(bool setting);
63 
65  virtual void setCurrentObserver(DtObserver* observer);
66 
68  virtual void onObserverAboutToBeDestroyed(DtInputDriver* inputDriver,
69  DtObserver* observer);
70 
72  virtual void onCurrentObserverChanged(DtInputDriver* inputDriver,
73  DtObserver* observer);
74 
76  virtual void onObserverModeChanged(DtObserver* observer, int newObserverMode);
77 
78  protected:
79 
82 
83  protected:
84 
87 
88  std::set<std::string> myGroups;
90 
92  };
93 }
Abstract interface for the stealth control widget.
Definition: DtPaperMapWidgetInterface.h:18
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
DtDe & myDe
Definition: DtPaperMapLogic.h:85
Contains DLL export macros.
DtSignalConnectionManager myConnectionManager
Definition: DtPaperMapLogic.h:89
A facade for a DtObserverObject.
Definition: DtObserver.h:37
std::set< std::string > myGroups
Definition: DtPaperMapLogic.h:88
This class&#39;s main responsibility is to handle keyboard and mouse events from OSG (Qt events are route...
Definition: DtInputDriver.h:43
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
DtPaperMapWidgetInterface * myInterface
Definition: DtPaperMapLogic.h:86
Base class to provide boost signal/slot management.
DtObserver * myCurrentObserver
Definition: DtPaperMapLogic.h:91
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
The logic for controlling and updating the DtPaperMapWidget and communicating with the DtOsgEarthPape...
Definition: DtPaperMapLogic.h:28

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)