18#include <vrftasks/setDataRequest.h>
19#include <readerWriter/rwString.h>
20#include <vrftasks/radioMessageTypes.h>
80 virtual const DtSetMessageType&
type()
const override;
88 virtual DtSetDataRequest*
clone(
const DtString& name, DtReaderWriterRegistry* parentRegistry = 0)
const override;
122 virtual bool setFromNet(
const char* contentBuffer,
unsigned contentSize)
override;
virtual int netRepSize() const override
Gets the network representation size.
virtual const DtSetMessageType & type() const override
Gets the request message type.
static DtSetDataRequest * creator()
Static creator function for factory registration.
DtRwString myStation
The embarked station/role name.
Definition setVreEmbarkedRole.h:142
DtSetVreEmbarkedRoleRequest()
Default constructor.
const DtSetVreEmbarkedRoleRequest & operator=(const DtSetVreEmbarkedRoleRequest &orig)
Assignment operator.
virtual ~DtSetVreEmbarkedRoleRequest() override
Virtual destructor.
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize) override
Deserializes the request from a network buffer.
virtual DtSetDataRequest * clone(const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const override
Creates a copy of this request.
DtSetVreEmbarkedRoleRequest(const DtString &writeName, DtReaderWriterRegistry *parentRegistry=0)
Constructor with write name.
virtual DtString engageEmbarkedStation() const
Gets the role in which the entity was embarked.
virtual DtString stringRep() const override
Gets a readable string representation of this request.
virtual bool setToNet() override
Serializes the request for network transmission.
DtSetVreEmbarkedRoleRequest(const DtString &writeName, const DtSetVreEmbarkedRoleRequest &orig, DtReaderWriterRegistry *parentRegistry=0)
Copy constructor with new name.
virtual void setEngageEmbarkedStation(const DtString &station)
Sets the role in which the entity was embarked.
Export/import macros for the VRF Messages library.
#define VRFMESSAGES_DLL
Definition export.h:23
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
const DtSetMessageType DtSetVreEmbarkedRoleType("set-vre-embarked-role")
Class for storing entity embarked role information.