VR-Forces 4.8 Class Documentation
 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) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtObserverModeSelectionWidgetLogic.h,v $ $Revision: 1.23 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 #include <vrvCoreQt/vrvCoreQt.h>
15 #include <vrvCore/DtObserver.h>
17 #include <string>
18 
19 namespace makVrv
20 {
21  class DtDe;
22  class DtObserverModeSelectionWidgetInterface;
23  class DtInputDriver;
24  class DtObserver;
25 
29  {
30 
31  public:
32 
34  static DtObserverModeSelectionWidgetLogic* create(DtDe& de,
36 
39 
41  virtual void setObserverMode( int mode );
42 
43  virtual void slot_activate(DtDe* de);
44  virtual void slot_deactivate(DtDe* de);
45 
46  protected:
47 
50 
52  virtual void setCurrentObserver( DtObserver* observer );
53 
55  virtual void populateWidget();
56 
58  virtual void onObserverAboutToBeDestroyed( DtInputDriver* inputDriver,
59  DtObserver* observer );
60 
62  virtual void onCurrentObserverChanged( DtInputDriver* inputDriver,
63  DtObserver* observer );
64 
66  virtual void onObserverModeChanged( DtObserver* observer, int newObserverMode );
67 
69  virtual void onObserverModeNameChanged( int observerMode );
70 
72  virtual void slot_observerModeAdded( int mode );
73 
75  virtual void slot_observerModeRemoved( int mode );
76 
77  virtual void slot_observerModeModelSetChanged( int mode );
78 
79  virtual void setupObserverModes();
80 
83  virtual void initializeFromObserverMode( int observerMode );
84 
85  protected:
86 
89 
91  };
92 }
Contains makVrv::DtSubjectObserver class.
DtObserver * myCurrentObserver
Definition: DtObserverModeSelectionWidgetLogic.h:90
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
DtDe & myDe
Definition: DtObserverModeSelectionWidgetLogic.h:87
Contains DLL export macros.
DtObserverModeSelectionWidgetInterface * myInterface
Definition: DtObserverModeSelectionWidgetLogic.h:88
Logic to manage the Observer Mode Selection Widget.
Definition: DtObserverModeSelectionWidgetLogic.h:28
A facade for a DtObserverObject.
Definition: DtObserver.h:37
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:44
The interface of the makVrv::DtObserverModeSelectionWidget for the makVrv::DtObserverModeSelectionLog...
Definition: DtObserverModeSelectionWidgetInterface.h:21
const char int mode
Definition: ioapi.h:38
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)