#include <toggleMouseControl.h>
◆ ~ToggleMouseControlMessage()
| virtual makVre::ToggleMouseControlMessage::~ToggleMouseControlMessage |
( |
| ) |
|
|
overridevirtual |
◆ ToggleMouseControlMessage()
| makVre::ToggleMouseControlMessage::ToggleMouseControlMessage |
( |
| ) |
|
|
protected |
◆ create()
◆ createFrom()
◆ createFromData()
◆ theType()
| static const std::string & makVre::ToggleMouseControlMessage::theType |
( |
| ) |
|
|
static |
static message identity functions
◆ theId()
◆ theVersionNumber()
| static UInt64 makVre::ToggleMouseControlMessage::theVersionNumber |
( |
| ) |
|
|
static |
◆ type()
| virtual const std::string & makVre::ToggleMouseControlMessage::type |
( |
| ) |
const |
|
overridevirtual |
◆ messageId()
Gets the message ID object.
- Returns
- Reference to the message ID object
This pure virtual method must be implemented by derived classes to return a unique identifier object for the message. The message ID contains both the type name and a hash value for efficient routing.
Implements makVre::DtVreMessage.
◆ getWindowName()
| virtual const std::string & makVre::ToggleMouseControlMessage::getWindowName |
( |
| ) |
const |
|
virtual |
◆ setWindowName()
| virtual void makVre::ToggleMouseControlMessage::setWindowName |
( |
const std::string & | val | ) |
|
|
virtual |
◆ getChannelName()
| virtual const std::string & makVre::ToggleMouseControlMessage::getChannelName |
( |
| ) |
const |
|
virtual |
◆ setChannelName()
| virtual void makVre::ToggleMouseControlMessage::setChannelName |
( |
const std::string & | val | ) |
|
|
virtual |
◆ getState()
| virtual bool makVre::ToggleMouseControlMessage::getState |
( |
| ) |
const |
|
virtual |
◆ setState()
| virtual void makVre::ToggleMouseControlMessage::setState |
( |
bool | val | ) |
|
|
virtual |
◆ messageSize()
| virtual int makVre::ToggleMouseControlMessage::messageSize |
( |
| ) |
const |
|
overridevirtual |
Static decode function pattern for derived classes.
- Note
- Each derived class must implement a static decode function with the signature:
DtVreMessage()
Default constructor.
static makVre::DtVreMessage * decode(char *buffer, int length)
This function is used by the message factory to create messages from raw data.
Gets the total size of the serialized message in bytes
- Returns
- Size of the message in bytes
This method calculates the total size of the message when serialized, including the base message header (message size, type hash, application ID, version, and delay) and any data added by derived classes.
Derived classes should override this method to include their own data size while calling the base class implementation.
Reimplemented from makVre::DtVreMessage.
◆ decode()
| static makVre::DtVreMessage * makVre::ToggleMouseControlMessage::decode |
( |
char * | buffer, |
|
|
int | length ) |
|
static |
◆ getData() [1/2]
◆ getData() [2/2]
◆ operator==()
◆ serialize()
| virtual void makVre::ToggleMouseControlMessage::serialize |
( |
DtStreamWriter & | writer | ) |
const |
|
overrideprotectedvirtual |
Serializes the message to a stream writer.
- Parameters
-
| writer | Reference to the stream writer |
This method writes the message header fields to the stream writer. Derived classes should override this method to add their own fields while calling the base class implementation.
Reimplemented from makVre::DtVreMessage.
◆ deserialize()
| virtual void makVre::ToggleMouseControlMessage::deserialize |
( |
DtStreamReader & | reader | ) |
|
|
overrideprotectedvirtual |
Deserializes the message from a stream reader.
- Parameters
-
| reader | Reference to the stream reader |
This method reads the message header fields from the stream reader. Derived classes should override this method to read their own fields while calling the base class implementation.
Reimplemented from makVre::DtVreMessage.
◆ theMessageId
◆ theVersion
| UInt64 makVre::ToggleMouseControlMessage::theVersion |
|
staticprotected |
◆ myData
The documentation for this class was generated from the following file: