18#include <vlpi/entityIdentifier.h>
91 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 void setReceiverEntityID(const DtEntityIdentifier &val)
static makVre::DtVreMessageId theMessageId
Definition vrfTextMessage.h:146
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
VrfTextData getData() const
Get a copy of the message data (const).
virtual const std::string & type() const override
Get the message type string for this instance.
virtual const std::string & getMessage() const
static const std::string & theType()
Get the message type string for this instance.
virtual void setMessage(const std::string &val)
static VrfTextMessage * createFrom(VrfTextMessage *origMsg)
Create a copy of the given message.
VrfTextData getData()
Get a copy of the message data.
static UInt64 theVersion
Definition vrfTextMessage.h:147
virtual double getTime() const
virtual const DtEntityIdentifier & getReceiverEntityID() const
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
virtual const DtEntityIdentifier & getSenderEntityID() const
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
virtual void setSenderEntityID(const DtEntityIdentifier &val)
virtual int messageSize() const override
Get a copy of the message data.
VrfTextData myData
Definition vrfTextMessage.h:149
bool operator==(const VrfTextMessage &rhs) const
virtual ~VrfTextMessage() override
Destructor.
static VrfTextMessage * create()
Create a copy of the given message.
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
virtual void setTime(double val)
static VrfTextMessage * createFromData(const VrfTextData data)
Create a new message initialized with the given data.
static UInt64 theVersionNumber()
Get the version number for this message class.
bool operator!=(const VrfTextMessage &rhs) const
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 * VrfTextMessageType
Message type identifier for VrfTextMessage.
Definition vrfTextMessage.h:23
Data payload for VrfTextMessage.
Definition vrfTextMessage.h:39
std::string myMessage
Definition vrfTextMessage.h:46
double myTime
Definition vrfTextMessage.h:47
DtEntityIdentifier myReceiverEntityID
Definition vrfTextMessage.h:49
bool operator!=(const VrfTextData &rhs) const
DtEntityIdentifier mySenderEntityID
Definition vrfTextMessage.h:48
VrfTextData()
Default constructor.
bool operator==(const VrfTextData &rhs) const
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.