17#include <vlpi/entityIdentifier.h>
116 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 deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
virtual ~RwrDataMessage() override
Destructor.
virtual void setHostId(const DtEntityIdentifier &val)
virtual const std::string & type() const override
Get the message type string for this instance.
static const std::string & theType()
Get the message type string for this instance.
bool operator==(const RwrDataMessage &rhs) const
bool operator!=(const RwrDataMessage &rhs) const
RwrDataData myData
Definition rwrData.h:168
RwrDataData getData()
Get a copy of the message data.
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
virtual void setContacts(const std::vector< RwrContact > &val)
static RwrDataMessage * createFrom(RwrDataMessage *origMsg)
Create a copy of the given message.
static RwrDataMessage * createFromData(const RwrDataData data)
Create a new message initialized with the given data.
virtual const std::vector< RwrContact > & getContacts() const
RwrDataData getData() const
Get a copy of the message data (const).
virtual int messageSize() const override
Get a copy of the message data.
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
static UInt64 theVersion
Definition rwrData.h:166
virtual const DtEntityIdentifier & getHostId() const
static RwrDataMessage * create()
Create a copy of the given message.
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
static makVre::DtVreMessageId theMessageId
Definition rwrData.h:165
static UInt64 theVersionNumber()
Get the version number for this message class.
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 * RwrDataMessageType
Message type identifier for RwrDataMessage.
Definition rwrData.h:23
unsigned long long UInt64
Unsigned 64-bit integer type.
Definition utilFunctions.h:42
Data payload for RwrDataMessage.
Definition rwrData.h:66
bool operator!=(const RwrDataData &rhs) const
bool operator==(const RwrDataData &rhs) const
std::vector< RwrContact > myContacts
Definition rwrData.h:74
DtEntityIdentifier myHostId
Definition rwrData.h:73
RwrDataData()
Default constructor.
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.