17#include <vlpi/entityIdentifier.h>
96 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
static UInt64 theVersion
Definition vrfSetHeading.h:149
bool operator==(const VrfSetHeadingMessage &rhs) const
bool operator!=(const VrfSetHeadingMessage &rhs) const
virtual void setHeading(double val)
virtual Mode getMode() const
Mode
Mode enumeration.
Definition vrfSetHeading.h:37
@ Mode_RELATIVE
Definition vrfSetHeading.h:39
@ Mode_ABSOLUTE
Definition vrfSetHeading.h:38
@ Mode_DELTA
Definition vrfSetHeading.h:40
static VrfSetHeadingMessage * create()
Create a copy of the given message.
virtual void setMode(Mode val)
static const std::string & theType()
Get the message type string for this instance.
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
static makVre::DtVreMessageId theMessageId
Definition vrfSetHeading.h:148
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
virtual ~VrfSetHeadingMessage() override
Destructor.
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
static UInt64 theVersionNumber()
Get the version number for this message class.
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
virtual double getHeading() const
virtual int messageSize() const override
Get a copy of the message data.
virtual void setEntityId(const DtEntityIdentifier &val)
static VrfSetHeadingMessage * createFrom(VrfSetHeadingMessage *origMsg)
Create a copy of the given message.
virtual const std::string & type() const override
Get the message type string for this instance.
VrfSetHeadingData myData
Definition vrfSetHeading.h:151
VrfSetHeadingData getData() const
Get a copy of the message data (const).
virtual const DtEntityIdentifier & getEntityId() const
VrfSetHeadingData getData()
Get a copy of the message data.
static VrfSetHeadingMessage * createFromData(const VrfSetHeadingData data)
Create a new message initialized with the given data.
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 * VrfSetHeadingMessageType
Message type identifier for VrfSetHeadingMessage.
Definition vrfSetHeading.h:22
Data payload for VrfSetHeadingMessage.
Definition vrfSetHeading.h:45
bool operator!=(const VrfSetHeadingData &rhs) const
VrfSetHeadingData()
Default constructor.
DtEntityIdentifier myEntityId
Definition vrfSetHeading.h:52
Mode myMode
Definition vrfSetHeading.h:54
bool operator==(const VrfSetHeadingData &rhs) const
double myHeading
Definition vrfSetHeading.h:53
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.