VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtBullseyeSelectionLogic.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 
13 #include <vrvCore/DtUniqueID.h>
14 
16 
17 #include <set>
18 #include <iostream>
19 
20 namespace makVrv
21 {
22  class DtBullseyeSelectionWidgetInterface;
23  class DtObserver;
24  class DtInputDriver;
25 
35  {
36 
37  public:
39  static DtBullseyeSelectionLogic* create(DtDe& de,
41 
43  virtual ~DtBullseyeSelectionLogic();
44 
46  DtBullseyeSelectionLogic() = delete;
47 
50 
52  DtBullseyeSelectionLogic& operator=(const DtBullseyeSelectionLogic&) = delete;
53 
54  protected:
57 
59  virtual void selectBullseye(const std::string& name);
60 
62  virtual void bullseyeAdded(const std::string& name);
63 
65  virtual void bullseyeRemoved(const std::string& name);
66 
68  virtual void bullseyeUpdated(const std::string& oldName, const std::string& newName);
69 
72  virtual void slot_onSelectedBullseyeChanged(const std::string& name);
73 
74  protected:
77 
78  std::set<std::string> myGroups;
80 
82  };
83 
84 }
DtBullseyeSelectionWidgetInterface * myInterface
Definition: DtBullseyeSelectionLogic.h:76
DtSignalConnectionManager myConnectionManager
Definition: DtBullseyeSelectionLogic.h:79
DtObserver * myCurrentObserver
Definition: DtBullseyeSelectionLogic.h:81
This logic class is responsible for populating the bullseye selection widget with all the names of th...
Definition: DtBullseyeSelectionLogic.h:34
std::set< std::string > myGroups
Definition: DtBullseyeSelectionLogic.h:78
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
Contains DLL export macros.
Abstract interface for the stealth control widget.
Definition: DtBullseyeSelectionWidgetInterface.h:18
A facade for a DtObserverObject.
Definition: DtObserver.h:37
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
DtDe & myDe
Definition: DtBullseyeSelectionLogic.h:75
Base class to provide boost signal/slot management.
Contains makVrv::DtUniqueID type.
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:72

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)