18#include <vlpi/entityType.h>
19#include <matrix/vlVector.h>
95 virtual const std::string&
type()
const override;
virtual void setLocation(const DtVector &val)
virtual void setForceType(unsigned short val)
virtual ~CreateNewOwnshipMessage() override
Destructor.
virtual void setEntityType(const DtEntityType &val)
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
CreateNewOwnshipData myData
Definition createNewOwnship.h:162
bool operator!=(const CreateNewOwnshipMessage &rhs) const
virtual void setGroundClamp(bool val)
virtual unsigned short getForceType() const
virtual const std::string & type() const override
Get the message type string for this instance.
virtual const std::string & getEntityName() const
static CreateNewOwnshipMessage * create()
Create a copy of the given message.
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
virtual double getPitch() const
virtual double getHeading() const
virtual const DtEntityType & getEntityType() const
virtual void setHeading(double val)
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
static UInt64 theVersionNumber()
Get the version number for this message class.
CreateNewOwnshipData getData()
Get a copy of the message data.
virtual bool getGroundClamp() const
virtual void setPitch(double val)
static CreateNewOwnshipMessage * createFrom(CreateNewOwnshipMessage *origMsg)
Create a copy of the given message.
virtual int messageSize() const override
Get a copy of the message data.
virtual const DtVector & getLocation() const
virtual void setEntityName(const std::string &val)
CreateNewOwnshipData getData() const
Get a copy of the message data (const).
static const std::string & theType()
Get the message type string for this instance.
bool operator==(const CreateNewOwnshipMessage &rhs) const
static CreateNewOwnshipMessage * createFromData(const CreateNewOwnshipData data)
Create a new message initialized with the given data.
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
static UInt64 theVersion
Definition createNewOwnship.h:160
CreateNewOwnshipMessage()
static makVre::DtVreMessageId theMessageId
Definition createNewOwnship.h:159
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
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 * CreateNewOwnshipMessageType
Message type identifier for CreateNewOwnshipMessage.
Definition createNewOwnship.h:24
Data payload for CreateNewOwnshipMessage.
Definition createNewOwnship.h:40
double myHeading
Definition createNewOwnship.h:51
std::string myEntityName
Definition createNewOwnship.h:47
unsigned short myForceType
Definition createNewOwnship.h:49
bool operator==(const CreateNewOwnshipData &rhs) const
bool operator!=(const CreateNewOwnshipData &rhs) const
DtVector myLocation
Definition createNewOwnship.h:50
double myPitch
Definition createNewOwnship.h:52
CreateNewOwnshipData()
Default constructor.
bool myGroundClamp
Definition createNewOwnship.h:53
DtEntityType myEntityType
Definition createNewOwnship.h:48
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.