89 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 const std::string & getChannelName() const
virtual void setWindowName(const std::string &val)
static ToggleMouseControlMessage * createFrom(ToggleMouseControlMessage *origMsg)
Create a copy of the given message.
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
bool operator==(const ToggleMouseControlMessage &rhs) const
virtual int messageSize() const override
Get a copy of the message data.
ToggleMouseControlData myData
Definition toggleMouseControl.h:144
ToggleMouseControlData getData()
Get a copy of the message data.
static ToggleMouseControlMessage * create()
Create a copy of the given message.
ToggleMouseControlMessage()
virtual bool getState() const
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
static UInt64 theVersionNumber()
Get the version number for this message class.
virtual void setState(bool val)
virtual void setChannelName(const std::string &val)
static ToggleMouseControlMessage * createFromData(const ToggleMouseControlData data)
Create a new message initialized with the given data.
static const std::string & theType()
Get the message type string for this instance.
virtual ~ToggleMouseControlMessage() override
Destructor.
ToggleMouseControlData getData() const
Get a copy of the message data (const).
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
static makVre::DtVreMessageId theMessageId
Definition toggleMouseControl.h:141
bool operator!=(const ToggleMouseControlMessage &rhs) const
virtual const std::string & getWindowName() const
virtual const std::string & type() const override
Get the message type string for this instance.
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
static UInt64 theVersion
Definition toggleMouseControl.h:142
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 * ToggleMouseControlMessageType
Message type identifier for ToggleMouseControlMessage.
Definition toggleMouseControl.h:22
Data payload for ToggleMouseControlMessage.
Definition toggleMouseControl.h:38
std::string myWindowName
Definition toggleMouseControl.h:45
bool myState
Definition toggleMouseControl.h:47
ToggleMouseControlData()
Default constructor.
bool operator==(const ToggleMouseControlData &rhs) const
bool operator!=(const ToggleMouseControlData &rhs) const
std::string myChannelName
Definition toggleMouseControl.h:46
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.