VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
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 DtTimeZoneManager;
28  class DtLocalWeatherManager;
29  class DtVrfSimBackendManager;
30 
32  {
33 
34  public:
35 
37  static DtEnvironmentControlAreaLogic* create(makVrv::DtDe& de,
39 
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 DtTimeZoneManager& timeZoneManager() const;
50  virtual DtLocalWeatherManager& localWeatherManager() const;
51  virtual DtVrfSimBackendManager& backendManager() const;
52 
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 
72 
74 
78 
79  DtGeodeticCoord myEyepoint;
80 
82  };
83 }
84 
#define DT_DLL_VRFGUICOREQT
Definition: vrfGuiCoreQt.h:26
makVrv::DtSignalConnectionManager myConnectionManager
Definition: environmentControlAreaLogic.h:73
Definition: localWeatherManager.h:31
size_t myTimeUpdateCounter
Definition: environmentControlAreaLogic.h:70
DtEnvironmentControlAreaInterface * myInterface
Definition: environmentControlAreaLogic.h:69
DtLocalWeatherManager * myLocalWeatherManager
Definition: environmentControlAreaLogic.h:76
DtTimeZoneManager * myTimeZoneManager
Definition: environmentControlAreaLogic.h:75
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
Abstract interface for the environment area widget.
Definition: environmentControlAreaInterface.h:22
Definition: environmentControlAreaLogic.h:31
size_t myLastDateAndTimeOfDay
Definition: environmentControlAreaLogic.h:71
Base class to provide boost signal/slot management.
Maintains and signals state of the simulation engines that are currently connected to the GUI...
Definition: vrfSimBackendManager.h:79
bool myInitialized
Definition: environmentControlAreaLogic.h:81
makVrv::DtDe & myDe
Definition: environmentControlAreaLogic.h:68
DtGeodeticCoord myEyepoint
Definition: environmentControlAreaLogic.h:79
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
DtVrfSimBackendManager * myBackendManager
Definition: environmentControlAreaLogic.h:77
The timezone manager keeps track of all timezones available for the user to select from in the system...
Definition: timeZoneManager.h:36

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)