17#include <vlpi/entityIdentifier.h>
89 virtual const std::string&
type()
const override;
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
VrfSetAltitudeData getData()
Get a copy of the message data.
virtual const DtEntityIdentifier & getEntityId() const
virtual double getAltitude() const
static VrfSetAltitudeMessage * create()
Create a copy of the given message.
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
static VrfSetAltitudeMessage * createFromData(const VrfSetAltitudeData data)
Create a new message initialized with the given data.
static makVre::DtVreMessageId theMessageId
Definition vrfSetAltitude.h:141
virtual ~VrfSetAltitudeMessage() override
Destructor.
static UInt64 theVersionNumber()
Get the version number for this message class.
static UInt64 theVersion
Definition vrfSetAltitude.h:142
virtual void setEntityId(const DtEntityIdentifier &val)
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
VrfSetAltitudeData getData() const
Get a copy of the message data (const).
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
virtual bool getAboveGround() const
virtual int messageSize() const override
Get a copy of the message data.
static VrfSetAltitudeMessage * createFrom(VrfSetAltitudeMessage *origMsg)
Create a copy of the given message.
bool operator!=(const VrfSetAltitudeMessage &rhs) const
VrfSetAltitudeData myData
Definition vrfSetAltitude.h:144
virtual void setAboveGround(bool val)
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
virtual void setAltitude(double val)
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.
bool operator==(const VrfSetAltitudeMessage &rhs) const
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
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
unsigned long long UInt64
Unsigned 64-bit integer type.
Definition utilFunctions.h:42
constexpr const char * VrfSetAltitudeMessageType
Message type identifier for VrfSetAltitudeMessage.
Definition vrfSetAltitude.h:22
Data payload for VrfSetAltitudeMessage.
Definition vrfSetAltitude.h:38
double myAltitude
Definition vrfSetAltitude.h:46
bool myAboveGround
Definition vrfSetAltitude.h:47
bool operator==(const VrfSetAltitudeData &rhs) const
bool operator!=(const VrfSetAltitudeData &rhs) const
VrfSetAltitudeData()
Default constructor.
DtEntityIdentifier myEntityId
Definition vrfSetAltitude.h:45
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.