VR-Forces 4.8 Class Documentation
 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 /******************************************************************************
6 ** $RCSfile: DtCockpitSettingsLogic.h,v $ $Revision: 1.1 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 
17 
18 #include <string>
19 
21 
22 namespace makVrv
23 {
24 
25  class DtCockpitSettingsInterface;
26  class DtPersistenceControlsInterface;
27  class DtDe;
28  class DtSettingsBackup;
29 
33  {
34  public:
35 
38  DtPersistenceControlsInterface& persistenceControls,
40 
42  virtual ~DtCockpitSettingsLogic();
43 
44  protected:
46  virtual void sendSettingsToGui();
47 
49  //@ {
50 
52  void slot_cockpitsEnabled(bool enabled);
53 
55  void slot_smoothingEnabled(bool enabled);
56 
58  void slot_smoothingPeriodSet(float time);
59 
61  virtual void on_import();
62  virtual void on_export();
63  virtual void on_importFilePathChosen(const std::string& filePath);
64  virtual void on_exportFilePathChosen(const std::string& filePath);
65  //@ }
66 
68  virtual void settingsRestored(const DtSettingsBackup*);
69 
73  };
74 }
#define DT_DLL_VRVGLSTUDIO_QT
Definition: DtGlStudioQt.h:21
Definition: DtCockpitSettingsLogic.h:32
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:24
DtPersistenceControlsInterface & myPersistenceInterface
Definition: DtCockpitSettingsLogic.h:71
Provides a method of doign settings backup.
Definition: DtSettingsBackup.h:26
DtCockpitSettingsInterface & myWidget
Definition: DtCockpitSettingsLogic.h:70
Base class to provide boost signal/slot management.
DtDe & myDe
Definition: DtCockpitSettingsLogic.h:72
Interface for widget to edit cockpit settings.
Definition: DtCockpitSettingsInterface.h:25
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)