28 class DtWeatherLookModificationOperation;
29 class DtLocalWeatherLookOperationManager;
38 bool isTimeFrozen =
true;
39 bool isTimeSetToLocalOnFirstPlacement =
true;
40 bool userModifiedTime =
false;
60 return myWeatherObjects;
64 virtual bool hasEnvironment(
const std::string&)
const;
81 virtual int nextPriority()
const;
84 virtual void setShowWeather(
bool);
85 virtual bool showWeather()
const;
88 virtual void setUseGlobalTimeZone(
bool);
89 virtual bool useGlobalTimeZone()
const;
93 virtual void increasePriorityOf(
const DtUUID&);
97 virtual void decreasePriorityOf(
const DtUUID&);
100 virtual void bringWeatherToFront(
const DtUUID&);
104 virtual void sendWeatherToBack(
const DtUUID&);
108 virtual void changePriorityOf(
const DtUUID&,
int);
112 return myGlobalWeatherObjects;
117 return (myGlobalWeatherObjects.size() != 0);
122 virtual void setTimeBasedOnCreation(
bool,
int session = -1);
130 virtual void removeWeatherLookModificationOperation(
int);
151 return myLocalWeatherOperationLookManager;
155 virtual bool isTimeFrozen()
const;
158 virtual bool isTimeSetToLocalOnFirstPlacement();
161 virtual bool userModifiedTime()
const;
163 virtual bool isLocalWeatherArea(
const DtUUID&
id)
const;
167 return myGlobalWeather;
170 virtual bool isWeatherObject(
const DtUUID&)
const;
173 virtual const DtUUID& weatherAreaNear(
const DtUUID&)
const;
177 virtual const DtUUID& weatherAreaNear(
const DtVector&)
const;
215 virtual void initExistingWeatherObjects();
222 virtual void offsetPriorityBy(
const DtUUID&
id,
int by);
223 virtual void scenarioRewound();
237 bool myIsTimeFrozen =
true;
238 bool myIsTimeSetToLocalOnFirstPlacement =
true;
239 double myLastTOD = 0.;
242 DT_DLL_VRFGUICORE bool operator==(
const std::vector<makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord>& lhs,
const std::vector<makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord>& rhs);
243 DT_DLL_VRFGUICORE bool operator!=(
const std::vector<makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord>& lhs,
const std::vector<makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord>& rhs);
boost::signals2::signal< void(DtSimObjectReference)> signal_weatherUpdated
Signal sent when the local weather area is updated.
Definition: localWeatherManager.h:184
UUID is a unique ID wrapper class.
Definition: uuid.h:59
std::map< DtUUID, DtSimObjectReference > WeatherObjects
Definition: localWeatherManager.h:34
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
WeatherConnections myWeatherConnections
Definition: localWeatherManager.h:235
Definition: localWeatherLookOperationManager.h:22
boost::signals2::signal< void()> signal_globalWeatherObjectStateUpdated
Definition: localWeatherManager.h:200
const GlobalWeatherObjects & globalWeatherObjects() const
Definition: localWeatherManager.h:110
std::map< DtUUID, makVrv::DtSignalConnectionManager * > WeatherConnections
Definition: localWeatherManager.h:233
boost::signals2::signal< void(const DtUUID &)> signal_globalWeatherDiscovered
Signal when global weather is discovered.
Definition: localWeatherManager.h:195
DT_DLL_VRFGUICORE bool operator==(const std::vector< makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord > &lhs, const std::vector< makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord > &rhs)
DtSimObjectReference myGlobalWeather
Definition: localWeatherManager.h:236
bool hasGlobalWeather() const
Definition: localWeatherManager.h:115
makVrv::DtDe & myDe
Definition: localWeatherManager.h:226
Definition: localWeatherManager.h:31
#define DT_DLL_VRFGUICORE
Contains DLL export macros.
Definition: vrfGuiCore.h:25
DtLocalWeatherLookOperationManager * myLocalWeatherOperationLookManager
Definition: localWeatherManager.h:229
Contains makVrv::DtObserverSettingsManager class.
Record for an elevational configuration A record of this type consists of 1) a base MSL altitude...
Definition: DtEnvironmentRecord.h:251
boost::signals2::signal< void()> signal_weatherLookRulesChanged
Signal sent when the weather look rules have changed.
Definition: localWeatherManager.h:192
std::vector< DtWeatherLookModificationOperation * > WeatherLookModificationOperations
Definition: localWeatherLookOperationManager.h:25
Contains makVrv::DtVirtualBaseClass class.
std::map< DtUUID, GlobalScenarioCreationData > GlobalWeatherObjects
Definition: localWeatherManager.h:43
Definition: localWeatherManager.h:36
The declaration of the makArchives::DtEnvironmentRecord class.
boost::signals2::signal< void(const DtUUID &, bool)> signal_isTimeFrozenChanged
Signals sent when information about a particular global weather has updated. If ID is 0 check to see ...
Definition: localWeatherManager.h:188
virtual const WeatherObjects & weatherObjects() const
Definition: localWeatherManager.h:58
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
GlobalWeatherObjects myGlobalWeatherObjects
Definition: localWeatherManager.h:231
Record of environment/weather settings Includes precipitation, air, and clouds.
Definition: DtEnvironmentRecord.h:45
boost::signals2::signal< void(const DtUUID &)> signal_removed
Signal sent when the local weather area is removed.
Definition: localWeatherManager.h:181
A DtSimCommand subclass which specifies a change to the weather settings for the specified weather ar...
Definition: changeWeatherCommand.h:29
DT_DLL_VRFGUICORE bool operator!=(const std::vector< makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord > &lhs, const std::vector< makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord > &rhs)
Base class to provide boost signal/slot management.
DtSimObjectReference globalWeather() const
Definition: localWeatherManager.h:165
boost::signals2::signal< void(const DtUUID &, bool)> signal_isTimeSetToLocalOnFirstPlacementChanged
Definition: localWeatherManager.h:189
DtLocalWeatherLookOperationManager * localWeatherLookManager() const
Accessor for the manager.
Definition: localWeatherManager.h:149
WeatherObjects myWeatherObjects
Definition: localWeatherManager.h:227
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
This class will be the interface for deciding what icons or colors to display for weather areas...
Definition: weatherLookModificationOperation.h:24
boost::signals2::signal< void(const DtUUID &)> signal_globalWeatherRemoved
Signal when all global weathers are removed.
Definition: localWeatherManager.h:198
WeatherConnections myGlobalWeatherObjectConnections
Definition: localWeatherManager.h:234
makVrv::DtSignalConnectionManager myConnectionManager
Definition: localWeatherManager.h:228