88 virtual const std::string&
type()
const override;
virtual const std::string & type() const override
Get the message type string for this instance.
static makVre::DtVreMessageId theMessageId
Definition applicationModeChanged.h:137
static ApplicationModeChangedMessage * create()
Create a copy of the given message.
bool operator==(const ApplicationModeChangedMessage &rhs) const
ApplicationModeChangedMessage()
static const std::string & theType()
Get the message type string for this instance.
static UInt64 theVersionNumber()
Get the version number for this message class.
bool operator!=(const ApplicationModeChangedMessage &rhs) const
ApplicationModeChangedData myData
Definition applicationModeChanged.h:140
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
static ApplicationModeChangedMessage * createFrom(ApplicationModeChangedMessage *origMsg)
Create a copy of the given message.
ApplicationModeChangedData getData() const
Get a copy of the message data (const).
virtual void setOldMode(const std::string &val)
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
static UInt64 theVersion
Definition applicationModeChanged.h:138
static ApplicationModeChangedMessage * createFromData(const ApplicationModeChangedData data)
Create a new message initialized with the given data.
virtual const std::string & getOldMode() const
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
virtual const std::string & getNewMode() const
virtual ~ApplicationModeChangedMessage() override
Destructor.
ApplicationModeChangedData getData()
Get a copy of the message data.
virtual int messageSize() const override
Get a copy of the message data.
virtual void setNewMode(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
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 * ApplicationModeChangedMessageType
Message type identifier for ApplicationModeChangedMessage.
Definition applicationModeChanged.h:22
Data payload for ApplicationModeChangedMessage.
Definition applicationModeChanged.h:38
std::string myNewMode
Definition applicationModeChanged.h:46
ApplicationModeChangedData()
Default constructor.
std::string myOldMode
Definition applicationModeChanged.h:45
bool operator!=(const ApplicationModeChangedData &rhs) const
bool operator==(const ApplicationModeChangedData &rhs) const
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.