17#include <vlpi/entityIdentifier.h>
117 virtual const std::string&
type()
const override;
135 virtual void setCatalog(
const std::vector<EntityEntry>& 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 const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
virtual void setHostId(const DtEntityIdentifier &val)
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
static RwrCatalogMessage * createFromData(const RwrCatalogData data)
Create a new message initialized with the given data.
RwrCatalogData myData
Definition rwrCatalog.h:175
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
static const std::string & theType()
Get the message type string for this instance.
static UInt64 theVersionNumber()
Get the version number for this message class.
virtual const std::string & getNonThreatColor() const
virtual ~RwrCatalogMessage() override
Destructor.
virtual int messageSize() const override
Get a copy of the message data.
static makVre::DtVreMessageId theMessageId
Definition rwrCatalog.h:172
virtual const std::string & type() const override
Get the message type string for this instance.
virtual const std::vector< EntityEntry > & getCatalog() const
virtual const std::string & getThreatColor() const
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
bool operator==(const RwrCatalogMessage &rhs) const
bool operator!=(const RwrCatalogMessage &rhs) const
virtual void setCatalog(const std::vector< EntityEntry > &val)
virtual void setThreatColor(const std::string &val)
virtual const DtEntityIdentifier & getHostId() const
static UInt64 theVersion
Definition rwrCatalog.h:173
static RwrCatalogMessage * createFrom(RwrCatalogMessage *origMsg)
Create a copy of the given message.
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
RwrCatalogData getData()
Get a copy of the message data.
virtual void setNonThreatColor(const std::string &val)
static RwrCatalogMessage * create()
Create a copy of the given message.
RwrCatalogData getData() const
Get a copy of the message data (const).
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 * RwrCatalogMessageType
Message type identifier for RwrCatalogMessage.
Definition rwrCatalog.h:24
bool operator!=(const EntityEntry &rhs) const
Inequality comparison operator.
void deserialize(DtStreamReader &reader)
Deserialize from a stream reader.
double myTimeout
Definition rwrCatalog.h:59
double myEffectiveRange
Definition rwrCatalog.h:58
bool myIsAThreat
Definition rwrCatalog.h:56
bool operator==(const EntityEntry &rhs) const
Equality comparison operator.
void serialize(DtStreamWriter &writer) const
Serialize to a stream writer.
int size() const
Get the serialized size in bytes.
std::string myEntityType
Definition rwrCatalog.h:55
std::string myDisplayText
Definition rwrCatalog.h:57
EntityEntry()
Default constructor.
Data payload for RwrCatalogMessage.
Definition rwrCatalog.h:65
DtEntityIdentifier myHostId
Definition rwrCatalog.h:72
std::vector< EntityEntry > myCatalog
Definition rwrCatalog.h:75
std::string myNonThreatColor
Definition rwrCatalog.h:74
bool operator==(const RwrCatalogData &rhs) const
RwrCatalogData()
Default constructor.
bool operator!=(const RwrCatalogData &rhs) const
std::string myThreatColor
Definition rwrCatalog.h:73
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.