17#include <matrix/vlVector.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
virtual float getDirection() const
WindStateResponseData getData()
Get a copy of the message data.
virtual void setGeocentricLocation(const DtVector &val)
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
bool operator==(const WindStateResponseMessage &rhs) const
virtual void setDirection(float val)
static makVre::DtVreMessageId theMessageId
Definition windStateResponse.h:141
virtual void setSpeed(float val)
virtual float getSpeed() const
static WindStateResponseMessage * create()
Create a copy of the given message.
virtual const std::string & type() const override
Get the message type string for this instance.
virtual ~WindStateResponseMessage() override
Destructor.
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
bool operator!=(const WindStateResponseMessage &rhs) const
WindStateResponseMessage()
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
static UInt64 theVersion
Definition windStateResponse.h:142
virtual int messageSize() const override
Get a copy of the message data.
static const std::string & theType()
Get the message type string for this instance.
static WindStateResponseMessage * createFrom(WindStateResponseMessage *origMsg)
Create a copy of the given message.
static UInt64 theVersionNumber()
Get the version number for this message class.
virtual const DtVector & getGeocentricLocation() const
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
static WindStateResponseMessage * createFromData(const WindStateResponseData data)
Create a new message initialized with the given data.
WindStateResponseData myData
Definition windStateResponse.h:144
WindStateResponseData getData() const
Get a copy of the message data (const).
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
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 * WindStateResponseMessageType
Message type identifier for WindStateResponseMessage.
Definition windStateResponse.h:22
Data payload for WindStateResponseMessage.
Definition windStateResponse.h:38
float mySpeed
Definition windStateResponse.h:47
DtVector myGeocentricLocation
Definition windStateResponse.h:45
bool operator==(const WindStateResponseData &rhs) const
WindStateResponseData()
Default constructor.
float myDirection
Definition windStateResponse.h:46
bool operator!=(const WindStateResponseData &rhs) const
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.