VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfGuiCoreQt
environmentControlAreaLogic.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
#include <
vrvUtil/DtSignalConnectionManager.h
>
15
#include <matrix/geodeticCoord.h>
16
17
class
DtSimulationAddress;
18
19
namespace
makVrv
20
{
21
class
DtDe;
22
}
23
24
namespace
makVrf
25
{
26
class
DtEnvironmentControlAreaInterface;
27
class
DtVrfScenarioManager;
28
class
DtLocalWeatherManager;
29
class
DtVrfSimBackendManager;
30
31
class
DT_DLL_VRFGUICOREQT
DtEnvironmentControlAreaLogic
32
{
33
34
public
:
35
37
static
DtEnvironmentControlAreaLogic
* create(
makVrv::DtDe
& de,
38
DtEnvironmentControlAreaInterface
* iFace );
39
41
virtual
~
DtEnvironmentControlAreaLogic
();
42
43
virtual
void
updateTimeOfDay(
bool
force =
false
);
44
virtual
bool
updateDateTimeOfDayDisplay(
bool
force =
false
, time_t* retGmtTime = 0);
45
virtual
void
updateIlluminationIcon(
bool
force =
false
);
46
47
protected
:
48
49
virtual
DtVrfScenarioManager
& vrfScenarioManager()
const
;
50
virtual
DtLocalWeatherManager
& localWeatherManager()
const
;
51
virtual
DtVrfSimBackendManager
& backendManager()
const
;
52
54
DtEnvironmentControlAreaLogic
(
makVrv::DtDe
& de,
DtEnvironmentControlAreaInterface
* iFace );
55
56
protected
:
57
58
virtual
void
slot_dateAndTimeOfDayChanged(
int
year,
int
month,
int
day,
int
hours,
int
mins,
int
secs);
59
virtual
void
slot_timeEnvironmentSettingsRequested();
60
virtual
void
slot_weatherEnvironmentSettingsRequested();
61
virtual
void
timezoneChanged();
62
virtual
void
resetTimer();
63
virtual
void
dateAndTimeFormatChanged(std::string);
64
virtual
void
reseedTimeOfDayCounter();
65
66
protected
:
67
68
makVrv::DtDe
&
myDe
;
69
DtEnvironmentControlAreaInterface
*
myInterface
;
70
size_t
myTimeUpdateCounter
;
71
size_t
myLastDateAndTimeOfDay
;
72
73
makVrv::DtSignalConnectionManager
myConnectionManager
;
74
75
DtGeodeticCoord
myEyepoint
;
76
77
mutable
DtVrfScenarioManager
*
myScenarioManager
;
78
mutable
DtLocalWeatherManager
*
myLocalWeatherManager
;
79
mutable
DtVrfSimBackendManager
*
myBackendManager
;
80
81
bool
myInitialized
;
82
};
83
}
84
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)