22 #include <vlutil/vlString.h>
23 #include <matrix/vlVector.h>
43 void getColor(
float& r,
float& g,
float& b,
float& a)
const
45 a = (float)((myColor & 0xFF000000) >> 24) / 255.0;
46 r = (float)((myColor & 0x00FF0000) >> 16) / 255.0f;
47 g = (float)((myColor & 0x0000FF00) >> 8) / 255.0f;
48 b = (float)(myColor & 0x000000FF) / 255.0f;
53 return ((myType == rhs.
myType) &&
77 return !(*
this == rhs);
128 return !(*
this == rhs);
149 template <
typename T>
makVrv::DtMessage& operator << (makVrv::DtMessage& msg, const std::vector<T>& t)
153 typename std::vector<T>::const_iterator iter = t.begin();
155 while (iter != t.end())
164 template <
typename K,
typename V>
makVrv::DtMessage& operator << (makVrv::DtMessage& msg, const std::map<K, V>& t)
168 typename std::map<K, V>::const_iterator iter = t.begin();
170 while (iter != t.end())
186 for (i = 0; i < iLimit; i++)
203 for (i = 0; i < iLimit; i++)
bool myVrfSimulated
Definition: vrfObjectDataState.h:93
bool operator!=(const DtVrfObjectDataState &rhs) const
Definition: vrfObjectDataState.h:126
std::string myDIGuyHandItem
Definition: vrfObjectDataState.h:103
Contains makVrv::DtStateViewCollection class.
std::map< std::string, std::string > myExtendedData
Definition: vrfObjectDataState.h:86
The IGI Message.
Definition: DtMessage.h:30
DT_DLL_VRFGUICORE makVrv::DtMessage & operator<<(makVrv::DtMessage &msg, const DtVrlinkNetworkUpdateSimulatedAggregateState &state)
Encode a DtVrlinkSimulatedEnvironmentState into a DtMessage.
A DtSimObjectEntryCollection is a collection of DtSimObjectEntry's that have a specific state...
Definition: DtSimObjectEntryCollection.h:25
bool myStatePropertiesInitialized
Definition: vrfObjectDataState.h:132
DtVrfObjectDataStateViewCollection(makVrv::DtDe &de)
Definition: vrfObjectDataState.h:227
Contains DtSimObjectEntryCollection class.
bool myStatePropertiesUpdated
Definition: vrfObjectDataState.h:134
std::vector< DtRangeItem > myRangeItems
Definition: vrfObjectDataState.h:100
DT_DLL_VRFGUICORE bool operator==(const std::vector< makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord > &lhs, const std::vector< makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord > &rhs)
Contains makVrv::DtStateView class.
std::string myObjectType
Definition: vrfObjectDataState.h:81
The class that is the interface between the GUI and the back-end.
Definition: vrfObjectDataState.h:63
int myType
Definition: vrfObjectDataState.h:36
std::string myObjectLabel
Definition: vrfObjectDataState.h:82
std::string myStatePropertiesName
Definition: vrfObjectDataState.h:101
#define DT_DLL_VRFGUICORE
Contains DLL export macros.
Definition: vrfGuiCore.h:25
bool myExecutingPlan
Definition: vrfObjectDataState.h:95
std::string myDIGuyHead
Definition: vrfObjectDataState.h:104
std::string myName
Definition: vrfObjectDataState.h:39
std::string myDIGuyAnimation
Definition: vrfObjectDataState.h:102
DtVector myBoundingVolumeOffset
Definition: vrfObjectDataState.h:99
bool myIndependentlyTasked
Definition: vrfObjectDataState.h:90
bool myIsSubordinateOfForce
Definition: vrfObjectDataState.h:89
int myColor
Definition: vrfObjectDataState.h:40
bool myUnderFire
Definition: vrfObjectDataState.h:92
bool operator!=(const DtVrfNetworkUpdateObjectDataState &rhs) const
Definition: vrfObjectDataState.h:75
A DtStateView is a the interface to simulation state information.
Definition: DtStateView.h:49
A DtStateViewCollection is a collection of DtStateViews of a specific state.
Definition: DtStateViewCollection.h:27
std::map< int, uintptr_t > myGuiStateDataUpdateBuffers
Definition: vrfObjectDataState.h:108
double myRange
Definition: vrfObjectDataState.h:37
std::string myEchelonIdString
Definition: vrfObjectDataState.h:83
makVrv::DtSimObjectEntryCollection< DtVrfNetworkUpdateObjectDataState > DtVrfObjectDataStateCollection
Create a DtSimObjectEntryCollection templated on DtVrfNetworkUpdateObjectDataState.
Definition: vrfObjectDataState.h:220
Collection of VRF Object specific state data.
Definition: vrfObjectDataState.h:224
bool myHasPlan
Definition: vrfObjectDataState.h:94
std::string myRulesOfEngagement
Definition: vrfObjectDataState.h:97
char myVrfObjectDataVersion
Definition: vrfObjectDataState.h:91
int myVrfMessageVersionSupported
Definition: vrfObjectDataState.h:88
makVrv::DtStateView< DtVrfObjectDataState > DtVrfObjectDataStateView
Create a DtStateView templated on DtVrfNetworkUpdateObjectDataState.
Definition: vrfObjectDataState.h:217
DtVector myBoundingVolume
Definition: vrfObjectDataState.h:98
size_t size() const
Get the current size of the message in bytes.
DtRwProperties myStateProperties
Definition: vrfObjectDataState.h:133
std::vector< double > myWedgeSizes
Definition: vrfObjectDataState.h:41
A DtSimState is the base class for all state objects.
Definition: DtSimState.h:19
Definition: vrfObjectDataState.h:34
A list of properties.
Definition: rwProperties.h:126
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
std::string myUUID
Definition: vrfObjectDataState.h:85
bool operator==(const DtRangeItem &rhs) const
Definition: vrfObjectDataState.h:51
void getColor(float &r, float &g, float &b, float &a) const
Definition: vrfObjectDataState.h:43
Contains makVrv::DtSimState class.
std::string myOverlayParent
Definition: vrfObjectDataState.h:84
std::map< int, uintptr_t > myStateDataUpdateBuffers
Once updated this data will be deleted by the main thread.
Definition: vrfObjectDataState.h:107
int myVrfSessionId
Definition: vrfObjectDataState.h:87
DtVector myOffsetPosition
Definition: vrfObjectDataState.h:38
bool myIsCurrentlyTasked
Definition: vrfObjectDataState.h:96
DT_DLL_VRFGUICORE makVrv::DtMessage & operator>>(makVrv::DtMessage &msg, DtVrlinkSimulatedAggregateState &state)
Decode a DtVrlinkSimulatedEnvironmentState from a DtMessage.
Definition: vrfObjectDataState.h:111