18#include <vlpi/entityIdentifier.h>
89 virtual const std::string&
type()
const override;
97 virtual const std::string&
getName()
const;
98 virtual void setName(
const std::string& val);
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 int messageSize() const override
Get a copy of the message data.
static UInt64 theVersionNumber()
Get the version number for this message class.
static NewOwnshipCreatedMessage * createFrom(NewOwnshipCreatedMessage *origMsg)
Create a copy of the given message.
virtual const std::string & type() const override
Get the message type string for this instance.
bool operator!=(const NewOwnshipCreatedMessage &rhs) const
static UInt64 theVersion
Definition newOwnshipCreated.h:139
virtual ~NewOwnshipCreatedMessage() override
Destructor.
NewOwnshipCreatedData getData()
Get a copy of the message data.
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
virtual void setName(const std::string &val)
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
NewOwnshipCreatedData myData
Definition newOwnshipCreated.h:141
static const std::string & theType()
Get the message type string for this instance.
bool operator==(const NewOwnshipCreatedMessage &rhs) const
virtual const std::string & getName() const
NewOwnshipCreatedData getData() const
Get a copy of the message data (const).
virtual void setEntityId(const DtEntityIdentifier &val)
virtual const DtEntityIdentifier & getEntityId() const
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
static makVre::DtVreMessageId theMessageId
Definition newOwnshipCreated.h:138
NewOwnshipCreatedMessage()
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
static NewOwnshipCreatedMessage * createFromData(const NewOwnshipCreatedData data)
Create a new message initialized with the given data.
static NewOwnshipCreatedMessage * create()
Create a copy of the given message.
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 * NewOwnshipCreatedMessageType
Message type identifier for NewOwnshipCreatedMessage.
Definition newOwnshipCreated.h:23
Data payload for NewOwnshipCreatedMessage.
Definition newOwnshipCreated.h:39
std::string myName
Definition newOwnshipCreated.h:46
bool operator!=(const NewOwnshipCreatedData &rhs) const
NewOwnshipCreatedData()
Default constructor.
bool operator==(const NewOwnshipCreatedData &rhs) const
DtEntityIdentifier myEntityId
Definition newOwnshipCreated.h:47
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.