VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtStealthControlWidgetLogic.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2026 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #pragma once
10 #include <vrvCoreQt/vrvCoreQt.h>
11 #include <vrvCore/DtObserver.h>
14 
15 namespace makVrv
16 {
17  class DtDe;
18  class DtStealthControlWidgetInterface;
19  class DtInputDriver;
20  class DtObserver;
21 
26  {
27 
28  public:
29 
31  static DtStealthControlWidgetLogic* create(DtDe& de,
33 
35  virtual ~DtStealthControlWidgetLogic();
36 
38  void setCurrentObserver( const std::string& displayName,
39  const DtUniqueID& id );
40 
43  void onObserverCreationRequested(const std::string& observerName);
44 
47  void onObserverDeletionRequested(const std::string& observerName);
48 
49  DtObserver* currentObserver();
50 
52  virtual void setAutoHide(bool);
53 
54  bool autoHide() const;
55 
56  protected:
57 
60 
62  void onInputDriverCreated( DtInputDriver* inputDriver );
63 
65  void onInputDriverAboutToBeDestroyed( DtInputDriver* inputDriver );
66 
68  void onObserverCreated( DtInputDriver* inputDriver,
69  DtObserver* observer );
70 
72  void onObserverAboutToBeDestroyed( DtInputDriver* inputDriver,
73  DtObserver* observer );
74 
75  void onCurrentObserverChanged( DtInputDriver* inputDriver,
76  DtObserver* observer );
77 
78  virtual void slot_activate(DtDe* subject);
79 
80  virtual void slot_deactivate(DtDe* subject);
81 
83  virtual void checkVisibility();
84 
85  protected:
86 
90  std::string myCurrentObserverName;
91  bool myAutoHide;
92 
95  };
96 }
Contains makVrv::DtSubjectObserver class.
DtInputDriver * myInputDriver
Definition: DtStealthControlWidgetLogic.h:89
bool myAutoHide
Definition: DtStealthControlWidgetLogic.h:91
The logic for controlling and updating the makVrv::DtStealthControlWidget.
Definition: DtStealthControlWidgetLogic.h:25
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
Contains DLL export macros.
DtStealthControlWidgetInterface * myInterface
Definition: DtStealthControlWidgetLogic.h:88
std::string myCurrentObserverName
Definition: DtStealthControlWidgetLogic.h:90
A facade for a DtObserverObject.
Definition: DtObserver.h:38
Contains makVrv::DtObserver class.
DtSignalConnectionManager myConnections
Auto-disconnects on destruction; avoids singleton lookups in the DTOR.
Definition: DtStealthControlWidgetLogic.h:94
This class&#39;s main responsibility is to handle keyboard and mouse events from OSG (Qt events are route...
Definition: DtInputDriver.h:45
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
Abstract interface for the stealth control widget.
Definition: DtStealthControlWidgetInterface.h:23
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
Base class to provide boost signal/slot management.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
DtDe & myDe
Definition: DtStealthControlWidgetLogic.h:87

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)