VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtCockpitSettingsLogic.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
14 
15 #include <string>
16 
18 
19 namespace makVrv
20 {
21 
22  class DtCockpitSettingsInterface;
23  class DtPersistenceControlsInterface;
24  class DtDe;
25  class DtSettingsBackup;
26 
30  {
31  public:
32 
35  DtPersistenceControlsInterface& persistenceControls,
37 
39  virtual ~DtCockpitSettingsLogic();
40 
41  protected:
43  virtual void sendSettingsToGui();
44 
46  //@ {
47 
49  void slot_cockpitsEnabled(bool enabled);
50 
52  void slot_smoothingEnabled(bool enabled);
53 
55  void slot_smoothingPeriodSet(float time);
56 
58  virtual void on_import();
59  virtual void on_export();
60  virtual void on_importFilePathChosen(const std::string& filePath);
61  virtual void on_exportFilePathChosen(const std::string& filePath);
62  //@ }
63 
65  virtual void settingsRestored(const DtSettingsBackup*);
66 
70  };
71 }
#define DT_DLL_VRVGLSTUDIO_QT
Definition: DtGlStudioQt.h:18
Definition: DtCockpitSettingsLogic.h:29
Abstract interface for controlling persistence of state in a dialog.
Definition: DtPersistenceControlsInterface.h:20
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
DtPersistenceControlsInterface & myPersistenceInterface
Called when cockpits are enabled/disabled by the gui.
Definition: DtCockpitSettingsLogic.h:68
Provides a method of doign settings backup.
Definition: DtSettingsBackup.h:23
DtCockpitSettingsInterface & myWidget
Called when cockpits are enabled/disabled by the gui.
Definition: DtCockpitSettingsLogic.h:67
Base class to provide boost signal/slot management.
DtDe & myDe
Called when cockpits are enabled/disabled by the gui.
Definition: DtCockpitSettingsLogic.h:69
Interface for widget to edit cockpit settings.
Definition: DtCockpitSettingsInterface.h:22
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 Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)