VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvGlStudioQt
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
15
#include <
vrvGlStudioQt/DtGlStudioQt.h
>
16
#include <
vrvUtil/DtSignalConnectionManager.h
>
17
18
#include <string>
19
20
class
DtExerciseConnInitializer;
21
22
namespace
makVrv
23
{
24
25
class
DtCockpitSettingsInterface;
26
class
DtPersistenceControlsInterface;
27
class
DtDe;
28
class
DtSettingsBackup;
29
32
class
DT_DLL_VRVGLSTUDIO_QT
DtCockpitSettingsLogic
:
DtSignalConnectionManager
33
{
34
public
:
35
37
DtCockpitSettingsLogic
(
DtDe
& de,
38
DtPersistenceControlsInterface
& persistenceControls,
39
DtCockpitSettingsInterface
& widget);
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
70
DtCockpitSettingsInterface
&
myWidget
;
71
DtPersistenceControlsInterface
&
myPersistenceInterface
;
72
DtDe
&
myDe
;
73
};
74
}
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)