87 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
StartBackendData getData()
Get a copy of the message data.
static StartBackendMessage * create()
Create a copy of the given message.
virtual ~StartBackendMessage() override
Destructor.
StartBackendData getData() const
Get a copy of the message data (const).
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
StartBackendData myData
Definition startBackend.h:139
static UInt64 theVersion
Definition startBackend.h:137
static const std::string & theType()
Get the message type string for this instance.
virtual const std::string & type() const override
Get the message type string for this instance.
bool operator==(const StartBackendMessage &rhs) const
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
virtual bool getAsOwnship() const
static UInt64 theVersionNumber()
Get the version number for this message class.
virtual int messageSize() const override
Get a copy of the message data.
static makVre::DtVreMessageId theMessageId
Definition startBackend.h:136
virtual bool getAsHost() const
virtual void setAsOwnship(bool val)
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
virtual void setAsHost(bool val)
static StartBackendMessage * createFromData(const StartBackendData data)
Create a new message initialized with the given data.
bool operator!=(const StartBackendMessage &rhs) const
static StartBackendMessage * createFrom(StartBackendMessage *origMsg)
Create a copy of the given message.
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.
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 * StartBackendMessageType
Message type identifier for StartBackendMessage.
Definition startBackend.h:21
unsigned long long UInt64
Unsigned 64-bit integer type.
Definition utilFunctions.h:42
Data payload for StartBackendMessage.
Definition startBackend.h:37
bool operator==(const StartBackendData &rhs) const
bool myAsHost
Definition startBackend.h:44
StartBackendData()
Default constructor.
bool myAsOwnship
Definition startBackend.h:45
bool operator!=(const StartBackendData &rhs) const
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.