VR-Forces 4.5 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrfGuiCoreQt
vrfEnvironmentConditionsDateAndTimeLogic.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2015 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
10
11
#pragma once
12
13
#include <
vrfGuiCoreQt/vrfGuiCoreQt.h
>
14
#include <
vrvCoreQt/DtDateAndTimeLogic.h
>
15
#include <
vrvUtil/DtSignalConnectionManager.h
>
16
17
namespace
makVrf
18
{
21
class
DT_DLL_VRFGUICOREQT
DtVrfEnvironmentConditionsDateAndTimeLogic
:
public
makVrv::DtDateAndTimeLogic
22
{
23
24
public
:
25
27
DtVrfEnvironmentConditionsDateAndTimeLogic
(
makVrv::DtDe
& de,
28
makVrv::DtDateAndTimeInterface
& iface,
makVrv::DtPersistenceControlsInterface
& persistanceIface);
29
31
~
DtVrfEnvironmentConditionsDateAndTimeLogic
();
32
33
virtual
void
setDataEntryOnly(
bool
);
34
virtual
bool
dataEntryOnly()
const
;
35
36
virtual
void
setSendToBackendOnly(
bool
);
37
virtual
bool
sendToBackendOnly()
const
;
38
39
protected
:
40
42
virtual
void
onChangeTime(
int
hour,
int
minutes,
double
seconds);
43
45
virtual
void
onChangeDate(
int
year,
int
month,
int
day );
46
47
virtual
void
onUpdateTimeRequested();
48
49
virtual
void
slot_useDayNightIlluminationModelChanged(
bool
);
50
51
virtual
void
slot_timezoneChanged(
const
std::string& oldTimezone,
const
std::string& newTimezone);
52
virtual
void
slot_dateAndTimeFormattingChanged(
const
std::string& newFormat);
53
54
protected
:
55
bool
myDataEntryOnly
;
56
bool
mySendToBackendOnly
;
57
makVrv::DtSignalConnectionManager
myConnections
;
58
};
59
62
class
DtVrfEnvironmentConditionsDateAndTimeEntryLogic
63
{
64
public
:
66
DtVrfEnvironmentConditionsDateAndTimeEntryLogic
(
makVrv::DtDe
& de,
makVrv::DtDateAndTimeInterface
& iface);
67
69
virtual
~DtVrfEnvironmentConditionsDateAndTimeEntryLogic
();
70
71
protected
:
73
virtual
void
onChangeTime
(
int
hour,
int
minutes,
double
seconds);
74
76
virtual
void
onChangeDate
(
int
year,
int
month,
int
day );
77
78
protected
:
79
makVrv::DtDe
&
myDe
;
80
makVrv::DtDateAndTimeInterface
&
myInterface
;
81
makVrv::DtSignalConnectionManager
myConnections
;
82
};
83
}
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)