VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtObserverModeSelectionWidgetLogic.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2026 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 #include <vrvCoreQt/vrvCoreQt.h>
12 #include <vrvCore/DtObserver.h>
15 #include <string>
16 
17 namespace makVrv
18 {
19  class DtDe;
20  class DtObserverModeSelectionWidgetInterface;
21  class DtInputDriver;
22  class DtObserver;
23 
27  {
28 
29  public:
30 
32  static DtObserverModeSelectionWidgetLogic* create(DtDe& de,
34 
37 
39  virtual void setObserverMode( int mode );
40 
41  virtual void slot_activate(DtDe* de);
42  virtual void slot_deactivate(DtDe* de);
43 
44  protected:
45 
48 
50  virtual void setCurrentObserver( DtObserver* observer );
51 
53  virtual void populateWidget();
54 
56  virtual void onObserverAboutToBeDestroyed( DtInputDriver* inputDriver,
57  DtObserver* observer );
58 
60  virtual void onCurrentObserverChanged( DtInputDriver* inputDriver,
61  DtObserver* observer );
62 
64  virtual void onObserverModeChanged( DtObserver* observer, int newObserverMode );
65 
67  virtual void onObserverModeNameChanged( int observerMode );
68 
70  virtual void slot_observerModeAdded( int mode );
71 
73  virtual void slot_observerModeRemoved( int mode );
74 
75  virtual void slot_observerModeModelSetChanged( int mode );
76 
77  virtual void setupObserverModes();
78 
81  virtual void initializeFromObserverMode( int observerMode );
82 
83  protected:
84 
87 
89 
92  };
93 }
Contains makVrv::DtSubjectObserver class.
DtObserver * myCurrentObserver
Definition: DtObserverModeSelectionWidgetLogic.h:88
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
DtDe & myDe
Definition: DtObserverModeSelectionWidgetLogic.h:85
Contains DLL export macros.
DtObserverModeSelectionWidgetInterface * myInterface
Definition: DtObserverModeSelectionWidgetLogic.h:86
Logic to manage the Observer Mode Selection Widget.
Definition: DtObserverModeSelectionWidgetLogic.h:26
A facade for a DtObserverObject.
Definition: DtObserver.h:38
DtSignalConnectionManager myConnections
Auto-disconnects on destruction; avoids singleton lookups in the DTOR.
Definition: DtObserverModeSelectionWidgetLogic.h:91
Contains makVrv::DtObserver class.
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
Base class to provide boost signal/slot management.
The interface of the makVrv::DtObserverModeSelectionWidget for the makVrv::DtObserverModeSelectionLog...
Definition: DtObserverModeSelectionWidgetInterface.h:18
const char int mode
Definition: ioapi.h:38
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

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)