17#include <vlpi/entityIdentifier.h>
18#include <vlpi/entityType.h>
90 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
static VrfSetResourceMessage * createFromData(const VrfSetResourceData data)
Create a new message initialized with the given data.
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
static const std::string & theType()
Get the message type string for this instance.
bool operator!=(const VrfSetResourceMessage &rhs) const
virtual int messageSize() const override
Get a copy of the message data.
VrfSetResourceData getData() const
Get a copy of the message data (const).
virtual const std::string & type() const override
Get the message type string for this instance.
virtual const DtEntityType & getResourceEntityType() const
virtual ~VrfSetResourceMessage() override
Destructor.
virtual void setResourceEntityType(const DtEntityType &val)
bool operator==(const VrfSetResourceMessage &rhs) const
virtual void setAmmount(double val)
virtual const DtEntityIdentifier & getEntityId() const
static UInt64 theVersionNumber()
Get the version number for this message class.
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
static makVre::DtVreMessageId theMessageId
Definition vrfSetResource.h:142
virtual double getAmmount() const
static VrfSetResourceMessage * create()
Create a copy of the given message.
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
VrfSetResourceData getData()
Get a copy of the message data.
VrfSetResourceData myData
Definition vrfSetResource.h:145
static UInt64 theVersion
Definition vrfSetResource.h:143
virtual void setEntityId(const DtEntityIdentifier &val)
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
static VrfSetResourceMessage * createFrom(VrfSetResourceMessage *origMsg)
Create a copy of the given message.
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 * VrfSetResourceMessageType
Message type identifier for VrfSetResourceMessage.
Definition vrfSetResource.h:23
Data payload for VrfSetResourceMessage.
Definition vrfSetResource.h:39
bool operator==(const VrfSetResourceData &rhs) const
DtEntityIdentifier myEntityId
Definition vrfSetResource.h:46
VrfSetResourceData()
Default constructor.
bool operator!=(const VrfSetResourceData &rhs) const
DtEntityType myResourceEntityType
Definition vrfSetResource.h:47
double myAmmount
Definition vrfSetResource.h:48
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.