VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtSimulationSettingsLogic.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCoreQt/vrvCoreQt.h>
13 
15 
16 namespace makVrv
17 {
18  class DtSimulationSettingsInterface;
19  class DtDriver;
20 
24  {
25  public:
26 
29  DtSimulationSettingsInterface& simSettingsInterface,
30  const std::string& driverClassName,
31  const std::string& protocolName);
32 
34  virtual ~DtSimulationSettingsLogic();
35 
39  virtual std::string addSimulationConnection();
40 
42  virtual void renameSimulationConnection(const std::string& oldName,
43  const std::string& newName);
44 
46  virtual void removeSimulationConnection(const std::string& driverName);
47 
48  protected:
49 
50  std::string generateName();
51 
52  void on_driverAdded(DtDriver&);
53  void on_driverToBeDestroyed(DtDriver&);
54  void on_autoDriverChanged(const std::string& driver);
55 
58  void slot_refreshIcons();
59 
60  protected:
63  std::string myDriverClassName;
64  std::string myProtocolName;
66  };
67 }
68 
69 
std::string myProtocolName
Definition: DtSimulationSettingsLogic.h:64
std::string myDriverClassName
Definition: DtSimulationSettingsLogic.h:63
DtSimulationSettingsInterface & myInterface
Definition: DtSimulationSettingsLogic.h:62
Logic class for makVrv::DtSimulationSettingsDialog.
Definition: DtSimulationSettingsLogic.h:23
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
Contains DLL export macros.
DtSignalConnectionManager mySignalConnections
Definition: DtSimulationSettingsLogic.h:65
DtDe & myDe
Definition: DtSimulationSettingsLogic.h:61
The DtDriver is an abstract class. Developers derive from this to create logic that &quot;directs&quot; things ...
Definition: DtDriver.h:31
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
Abstract interface for simulation settings UI.
Definition: DtSimulationSettingsInterface.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:70

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)