VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
temperatureStateData.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2022 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 #pragma once
6 
8 #include <vrvCore/DtSimState.h>
9 #include <vrvCore/DtStateView.h>
11 
12 namespace makVrv
13 {
14  class DtMessage;
15 }
16 
19 {
22 
25 
26  bool operator==(const DtTemperatureStateData& rhs) { return (myTemperature == rhs.myTemperature); }
27  bool operator!=(const DtTemperatureStateData& rhs) { return !(*this == rhs); };
28 
29  double myTemperature = 0.;
30 };
31 
34 
37 
40 
43 {
44 public:
46  makVrv::DtStateViewCollection<DtTemperatureStateData>(de, makVrv::DtSimEntryUpdater::NoUpdates)
47  {
48  }
49 };
Contains makVrv::DtStateViewCollection class.
The IGI Message. Is easily encoded and decoding using stream operators. It also provides validation d...
Definition: DtMessage.h:30
virtual ~DtTemperatureStateData()
DTOR.
Definition: temperatureStateData.h:24
The DtTemperatureStateData contains all information relating to the temperature state data component...
Definition: temperatureStateData.h:18
Contains makVrv::DtStateView class.
DT_DLL_features std::ostream & operator<<(std::ostream &, const DtFeatureTransform &)
std::ostream output.
DtTemperatureStateData()
CTOR.
Definition: temperatureStateData.h:21
makVrv::DtStateView< DtTemperatureStateData > DtTemperatureStateDataView
Create a DtStateView templated on DtTemperatureStateData.
Definition: temperatureStateData.h:39
A DtStateView is a the interface to simulation state information. Users can create DtStateViews for s...
Definition: DtStateView.h:49
A DtStateViewCollection is a collection of DtStateViews of a specific state.
Definition: DtStateViewCollection.h:27
DtStateViewCollection(DtDe &de, DtSimEntryUpdater::UpdateRate rate)
CTOR. Connects to DtSimData for signals about DtSimObjectEntry and DtSimState changes. Sets the update rate of all the DtStateViews created.
bool operator!=(const DtTemperatureStateData &rhs)
Definition: temperatureStateData.h:27
bool operator==(const DtTemperatureStateData &rhs)
Definition: temperatureStateData.h:26
A DtSimState is the base class for all state objects. Derived instances of DtSimState will be created...
Definition: DtSimState.h:19
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:72
DtTemperatureStateDataViewCollection(makVrv::DtDe &de)
Definition: temperatureStateData.h:45
Contains makVrv::DtSimState class.
DT_DLL_features std::istream & operator>>(std::istream &, DtQuery &)
iostream input iteration
Collection of VRF Temperature specific state data. Use this state view to get information for tempera...
Definition: temperatureStateData.h:42
double myTemperature
Definition: temperatureStateData.h:29

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)