VR-Engage  2.3
Loading...
Searching...
No Matches
tdlTrackData.h
Go to the documentation of this file.
1/*********************************************************************************
2** Copyright (c) 2026 MAK Technologies, Inc.
3** All rights reserved.
4*********************************************************************************/
5
6/**
7* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
8* !!!!!!!!!This is an auto-generated file. Any changes will be destroyed!!!!!!!!!!!
9* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10* Generated from: /home/data/exports/DEV-CAM-BML-305/nightly/3375/libsrc/framework/vreMessages/tdl.lua
11*/
12#pragma once
13
16#include <vreMessages/export.h>
17#include <vlpi/entityIdentifier.h>
18#include <string>
19#include <vector>
20
21namespace makVre
22{
23//! \brief Message type identifier for TdlTrackDataMessage.
24constexpr const char* TdlTrackDataMessageType = "Tdl.TdlTrackData";
25
26/**
27 * \class TdlTrackDataMessage
28 * \brief This message is used to transmit TDL track lists to the Common Operating Picture (COP) display.
29 *
30 * Message type: "Tdl.TdlTrackData"
31 *
32 * \note This is an auto-generated class. Do not modify directly.
33 */
35{
36public:
37 //! \brief TrackIdentity enumeration.
46 //! \brief TrackSymbol enumeration.
59
60 //! \brief Nested data structure.
62 {
63 //! \brief Default constructor.
65
66 //! \brief Get the serialized size in bytes.
67 int size() const;
68 //! \brief Serialize to a stream writer.
69 void serialize(DtStreamWriter& writer) const;
70 //! \brief Deserialize from a stream reader.
72 //! \brief Equality comparison operator.
73 bool operator==(const TdlTrack& rhs) const;
74 //! \brief Inequality comparison operator.
75 bool operator!=(const TdlTrack& rhs) const;
76
77 std::string myTrackNumber;
79 double myLatitude;
82 double myCourse;
84 std::string mySpecPlatformType;
88 std::string myVoiceCallSign;
99 std::string myWingManId;
102
103 };
104
105 //! \brief Data payload for TdlTrackDataMessage.
107 {
108 //! \brief Default constructor.
110
111 //! \name Data Members
112 //! \{
113
114 DtEntityIdentifier myHostId;
116 std::vector<TdlTrack> myTracks;
118 //! \}
119
120 //! \name Operators
121 //! \{
122 bool operator==(const TdlTrackDataData& rhs) const;
123 bool operator!=(const TdlTrackDataData& rhs) const;
124 //! \}
125 };
126
127 //! \brief Destructor.
128 virtual ~TdlTrackDataMessage() override;
129
130 //! \name Static Creators
131 //! \{
132 //! \brief Create a new default instance.
133 //! \return A dynamically allocated default message. Caller takes ownership.
135
136 //! \brief Create a copy of the given message.
137 //! \param origMsg The message to copy. Must not be null.
138 //! \return A dynamically allocated copy. Caller takes ownership.
140
141 //! \brief Create a new message initialized with the given data.
142 //! \param data The data payload to initialize the message with.
143 //! \return A dynamically allocated message. Caller takes ownership.
145 //! \}
146
147 //! \name Type Identity
148 //! \{
149 //! \brief Get the message type string for this message class.
150 static const std::string& theType();
151
152 //! \brief Get the message identifier for this message class.
154
155 //! \brief Get the version number for this message class.
157
158 //! \brief Get the message type string for this instance.
159 virtual const std::string& type() const override;
160
161 //! \brief Get the message identifier for this instance.
162 virtual const makVre::DtVreMessageId& messageId() const override;
163 //! \}
164
165 //! \name Accessors
166 //! \{
167 virtual const DtEntityIdentifier& getHostId() const;
168 virtual void setHostId(const DtEntityIdentifier& val);
169
170 virtual const std::string& getSourceTrackNumber() const;
171 virtual void setSourceTrackNumber(const std::string& val);
172
173 virtual const std::vector<TdlTrack>& getTracks() const;
174 virtual void setTracks(const std::vector<TdlTrack>& val);
175
176 virtual bool getClearAllTracks() const;
177 virtual void setClearAllTracks(bool val);
178 //! \}
179
180 //! \name Serialization
181 //! \{
182 //! \copydoc makVre::DtVreMessage::messageSize()
183 virtual int messageSize() const override;
184
185 //! \brief Decode a message from a byte buffer.
186 //! \param buffer The raw byte buffer to decode from.
187 //! \param length The length of the buffer in bytes.
188 //! \return A dynamically allocated decoded message. Caller takes ownership.
189 static makVre::DtVreMessage* decode(char* buffer, int length);
190
191 //! \brief Get a copy of the message data.
193
194 //! \brief Get a copy of the message data (const).
196 //! \}
197
198 //! \name Operators
199 //! \{
200 bool operator==(const TdlTrackDataMessage& rhs) const;
201 bool operator!=(const TdlTrackDataMessage& rhs) const;
202 //! \}
203
204protected:
206
207 //! \copydoc makVre::DtVreMessage::serialize()
208 virtual void serialize(DtStreamWriter& writer) const override;
209
210 //! \copydoc makVre::DtVreMessage::deserialize()
211 virtual void deserialize(DtStreamReader& reader) override;
212
213protected:
216
218};
219} // namespace makVre
220
Reader class for decoding values from a byte array.
Definition byteStream.h:43
Writer class for encoding values into a byte array.
Definition byteStream.h:166
Abstract base class for all VREngage messages.
Definition vreMessage.h:50
Message identifier class for the VREngage messaging system.
Definition vreMessageId.h:35
static UInt64 theVersion
Definition tdlTrackData.h:215
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
virtual void setTracks(const std::vector< TdlTrack > &val)
static makVre::DtVreMessageId theMessageId
Definition tdlTrackData.h:214
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
TdlTrackDataData getData()
Get a copy of the message data.
virtual void setSourceTrackNumber(const std::string &val)
virtual const std::string & getSourceTrackNumber() const
TrackIdentity
TrackIdentity enumeration.
Definition tdlTrackData.h:39
@ TrackIdentity_SUSPECT
Definition tdlTrackData.h:40
@ TrackIdentity_NEUTRAL
Definition tdlTrackData.h:42
@ TrackIdentity_HOSTILE
Definition tdlTrackData.h:43
@ TrackIdentity_FRIENDLY
Definition tdlTrackData.h:41
@ TrackIdentity_UNKNOWN
Definition tdlTrackData.h:44
static TdlTrackDataMessage * create()
Create a copy of the given message.
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
static TdlTrackDataMessage * createFromData(const TdlTrackDataData data)
Create a new message initialized with the given data.
virtual ~TdlTrackDataMessage() override
Destructor.
TdlTrackDataData myData
Definition tdlTrackData.h:217
virtual const std::vector< TdlTrack > & getTracks() const
bool operator!=(const TdlTrackDataMessage &rhs) const
virtual const DtEntityIdentifier & getHostId() const
virtual int messageSize() const override
Get a copy of the message data.
virtual bool getClearAllTracks() const
static const std::string & theType()
Get the message type string for this instance.
virtual const std::string & type() const override
Get the message type string for this instance.
virtual void setHostId(const DtEntityIdentifier &val)
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
TdlTrackDataData getData() const
Get a copy of the message data (const).
static TdlTrackDataMessage * createFrom(TdlTrackDataMessage *origMsg)
Create a copy of the given message.
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
virtual void setClearAllTracks(bool val)
bool operator==(const TdlTrackDataMessage &rhs) const
static UInt64 theVersionNumber()
Get the version number for this message class.
TrackSymbol
TrackSymbol enumeration.
Definition tdlTrackData.h:48
@ TrackSymbol_LAND_PPLI
Definition tdlTrackData.h:54
@ TrackSymbol_LAND
Definition tdlTrackData.h:53
@ TrackSymbol_EMERGENCY_POINT
Definition tdlTrackData.h:56
@ TrackSymbol_SURFACE
Definition tdlTrackData.h:51
@ TrackSymbol_AIR
Definition tdlTrackData.h:49
@ TrackSymbol_REFERENCE_POINT
Definition tdlTrackData.h:55
@ TrackSymbol_SURFACE_PPLI
Definition tdlTrackData.h:52
@ TrackSymbol_AIR_PPLI
Definition tdlTrackData.h:50
@ TrackSymbol_UNSUPPORTED
Definition tdlTrackData.h:57
Defines export macros for the VREngage Messages library.
#define VREMESSAGES_DLL
Export/import macro for non-Windows platforms.
Definition export.h:39
!
Definition glsVreMessageUtil.h:50
constexpr const char * TdlTrackDataMessageType
Message type identifier for TdlTrackDataMessage.
Definition tdlTrackData.h:24
unsigned long long UInt64
Unsigned 64-bit integer type.
Definition utilFunctions.h:42
Data payload for TdlTrackDataMessage.
Definition tdlTrackData.h:107
bool myClearAllTracks
Definition tdlTrackData.h:117
std::string mySourceTrackNumber
Definition tdlTrackData.h:115
DtEntityIdentifier myHostId
Definition tdlTrackData.h:114
bool operator!=(const TdlTrackDataData &rhs) const
bool operator==(const TdlTrackDataData &rhs) const
std::vector< TdlTrack > myTracks
Definition tdlTrackData.h:116
double myLongitude
Definition tdlTrackData.h:80
int myStrength
Definition tdlTrackData.h:83
int myNumFox1
Definition tdlTrackData.h:93
bool myThreatWarningActive
Definition tdlTrackData.h:101
TrackIdentity myIdentity
Definition tdlTrackData.h:100
bool myC2Indicator
Definition tdlTrackData.h:87
bool myDeleteRequest
Definition tdlTrackData.h:86
double myCourse
Definition tdlTrackData.h:82
int myNumFox3
Definition tdlTrackData.h:95
bool operator==(const TdlTrack &rhs) const
Equality comparison operator.
int myNumOther
Definition tdlTrackData.h:96
bool myBailout
Definition tdlTrackData.h:91
std::string myTrackNumber
Definition tdlTrackData.h:77
bool operator!=(const TdlTrack &rhs) const
Inequality comparison operator.
bool myIsTanker
Definition tdlTrackData.h:92
double myOffloadFuel
Definition tdlTrackData.h:97
double myBurnableFuel
Definition tdlTrackData.h:98
bool myMissionCommander
Definition tdlTrackData.h:90
void deserialize(DtStreamReader &reader)
Deserialize from a stream reader.
TrackSymbol mySymbol
Definition tdlTrackData.h:78
std::string myWingManId
Definition tdlTrackData.h:99
double myLatitude
Definition tdlTrackData.h:79
std::string mySpecPlatformType
Definition tdlTrackData.h:84
bool myLeader
Definition tdlTrackData.h:89
std::string myVoiceCallSign
Definition tdlTrackData.h:88
int size() const
Get the serialized size in bytes.
bool myAgeingOut
Definition tdlTrackData.h:85
int myNumFox2
Definition tdlTrackData.h:94
void serialize(DtStreamWriter &writer) const
Serialize to a stream writer.
double myAltitudeElevDepth
Definition tdlTrackData.h:81
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.