55 virtual const std::string&
type()
const override;
virtual void setCommand(Command val)
static CopCursorCommandMessage * createFrom(CopCursorCommandMessage *)
virtual const makVre::DtVreMessageId & messageId() const override
Gets the message ID object.
CopCursorCommandMessage()
virtual void setValue(double val)
static CopCursorCommandMessage * create()
virtual int messageSize() const override
Static decode function pattern for derived classes.
static const makVre::DtVreMessageId & theId()
Command
Definition copCursorCommand.h:30
@ Command_X
Definition copCursorCommand.h:30
@ Command_Y
Definition copCursorCommand.h:30
static CopCursorCommandMessage * createFromData(const CopCursorCommandData)
bool operator==(const CopCursorCommandMessage &rhs) const
static UInt64 theVersionNumber()
static UInt64 theVersion
Definition copCursorCommand.h:86
static makVre::DtVreMessage * decode(char *buffer, int length)
virtual ~CopCursorCommandMessage() override
static makVre::DtVreMessageId theMessageId
Definition copCursorCommand.h:85
CopCursorCommandData getData() const
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
virtual double getValue() const
virtual Command getCommand() const
virtual const std::string & type() const override
Get the name of the message type.
CopCursorCommandData getData()
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
CopCursorCommandData myData
Definition copCursorCommand.h:89
static const std::string & theType()
static message identity functions
Reader class for decoding values from a byte array.
Definition byteStream.h:42
Writer class for encoding values into a byte array.
Definition byteStream.h:161
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
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
unsigned long long UInt64
Unsigned 64-bit integer type.
Definition utilFunctions.h:42
constexpr const char * CopCursorCommandMessageType
Definition copCursorCommand.h:25
Definition copCursorCommand.h:35
double myValue
Definition copCursorCommand.h:39
Command myCommand
Definition copCursorCommand.h:38
bool operator==(const CopCursorCommandData &rhs) const
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.