VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfGuiCoreQt
DtSimulationTimeScaleWidgetLogic.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2013 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
8
10
11
#pragma once
12
13
#include <
vrfGuiCoreQt/vrfGuiCoreQt.h
>
14
15
namespace
makVrv
16
{
17
class
DtDe
;
18
}
19
20
namespace
makVrf
21
{
22
class
DtVrfBackendState;
23
class
DtSimulationTimeScaleWidgetInterface;
24
25
class
DT_DLL_VRFGUICOREQT
DtSimulationTimeScaleWidgetLogic
26
{
27
28
public
:
29
31
DtSimulationTimeScaleWidgetLogic
(makVrv::DtDe& de,
DtSimulationTimeScaleWidgetInterface
* iFace );
32
34
virtual
~
DtSimulationTimeScaleWidgetLogic
();
35
36
virtual
void
setupGui();
37
39
virtual
void
setTimeMultiplier(
double
,
bool
sendMessage =
true
);
40
virtual
double
timeMultiplier()
const
;
41
43
virtual
void
setTimeMultiplier(
int
);
44
46
virtual
void
setDisplayOnly(
bool
);
47
48
protected
:
49
virtual
void
slot_selectedBackendChanged();
50
virtual
void
slot_allBackendsAboutToBeRemoved();
51
virtual
void
slot_backendUpdated(
const
DtVrfBackendState
&,
int
);
52
53
virtual
int
convertToTick(
double
)
const
;
54
virtual
int
convertToSliderTick(
double
d)
const
;
55
virtual
double
convertToMultiplier(
int
)
const
;
56
57
virtual
void
setRange(
double
low,
double
high);
58
59
protected
:
60
makVrv::DtDe&
myDe
;
61
DtSimulationTimeScaleWidgetInterface
*
myInterface
;
62
DtVrfBackendState
*
myBackend
;
63
double
myLowRange
;
64
double
myHighRange
;
65
double
myTimeMultiplier
;
66
bool
myDisplayOnly
;
67
};
68
}
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)