17#include <vlpi/entityIdentifier.h>
113 virtual const std::string&
type()
const override;
127 virtual const std::vector<KeyValuePair>&
getConfig()
const;
128 virtual void setConfig(
const std::vector<KeyValuePair>& 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
virtual void setPanelId(const std::string &val)
static GlsConfigResponseMessage * createFromData(const GlsConfigResponseData data)
Create a new message initialized with the given data.
virtual void setConfig(const std::vector< KeyValuePair > &val)
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
virtual ~GlsConfigResponseMessage() override
Destructor.
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
virtual const std::vector< KeyValuePair > & getConfig() const
static UInt64 theVersion
Definition glsConfigResponse.h:166
static const std::string & theType()
Get the message type string for this instance.
virtual const DtEntityIdentifier & getHostId() const
static GlsConfigResponseMessage * createFrom(GlsConfigResponseMessage *origMsg)
Create a copy of the given message.
bool operator==(const GlsConfigResponseMessage &rhs) const
virtual const std::string & getPanelId() const
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
GlsConfigResponseData getData() const
Get a copy of the message data (const).
static makVre::DtVreMessageId theMessageId
Definition glsConfigResponse.h:165
virtual void setHostId(const DtEntityIdentifier &val)
virtual const std::string & type() const override
Get the message type string for this instance.
GlsConfigResponseData myData
Definition glsConfigResponse.h:168
GlsConfigResponseData getData()
Get a copy of the message data.
static GlsConfigResponseMessage * create()
Create a copy of the given message.
bool operator!=(const GlsConfigResponseMessage &rhs) const
GlsConfigResponseMessage()
virtual int messageSize() const override
Get a copy of the message data.
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
static UInt64 theVersionNumber()
Get the version number 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
unsigned long long UInt64
Unsigned 64-bit integer type.
Definition utilFunctions.h:42
constexpr const char * GlsConfigResponseMessageType
Message type identifier for GlsConfigResponseMessage.
Definition glsConfigResponse.h:24
Data payload for GlsConfigResponseMessage.
Definition glsConfigResponse.h:62
std::string myPanelId
Definition glsConfigResponse.h:70
GlsConfigResponseData()
Default constructor.
bool operator==(const GlsConfigResponseData &rhs) const
DtEntityIdentifier myHostId
Definition glsConfigResponse.h:69
bool operator!=(const GlsConfigResponseData &rhs) const
std::vector< KeyValuePair > myConfig
Definition glsConfigResponse.h:71
void serialize(DtStreamWriter &writer) const
Serialize to a stream writer.
std::string myKey
Definition glsConfigResponse.h:55
KeyValuePair()
Default constructor.
int size() const
Get the serialized size in bytes.
std::string myValue
Definition glsConfigResponse.h:56
bool operator!=(const KeyValuePair &rhs) const
Inequality comparison operator.
void deserialize(DtStreamReader &reader)
Deserialize from a stream reader.
bool operator==(const KeyValuePair &rhs) const
Equality comparison operator.
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.