RadarFX API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
makRadarFx::DtEntityLocationRequest Class Reference

DtEntityLocationRequest is a message to request the current location, orientation, velocity for an entity. More...

Inheritance diagram for makRadarFx::DtEntityLocationRequest:
Inheritance graph
[legend]

Public Member Functions

 DtEntityLocationRequest ()
 CTOR/DTOR.
virtual ~DtEntityLocationRequest ()
virtual void setEntityId (const std::string &name)
 Id for the entity that this request is requesing the location of.
virtual std::string entityId ()
virtual int messageSize ()
 size of the message
virtual DtBaseMessageclone ()
 clone a message. Caller of function is responsible managing this memory
- Public Member Functions inherited from makRadarFx::DtBaseMessage
 DtBaseMessage ()
 CTOR/DTOR.
virtual ~DtBaseMessage ()
virtual unsigned int messageType () const
 Get the name of the message type.
virtual unsigned char * encode ()
 Encode the message as an array of bytes and return the bytes the receiver is responsible for calling delete [] on these bytes.
virtual void setRequestorId (const std::string &requestor)
 Assigns the requestor name of this message.
virtual std::string requestorId ()
virtual void setRequestId (int id)
 Assigns the request id of this message.
virtual int requestId ()

Static Public Member Functions

static DtBaseMessagedecode (unsigned char *buffer, int length)
 decode a message. Used by the factory

Protected Member Functions

virtual void serialize (DtStreamWriter &writer)
virtual void deserialize (DtStreamReader &reader)

Protected Attributes

std::string myEntityId
- Protected Attributes inherited from makRadarFx::DtBaseMessage
unsigned int myMessageType
std::string myRequestorId
int myRequestId

Detailed Description

DtEntityLocationRequest is a message to request the current location, orientation, velocity for an entity.

Constructor & Destructor Documentation

makRadarFx::DtEntityLocationRequest::DtEntityLocationRequest ( )

CTOR/DTOR.

virtual makRadarFx::DtEntityLocationRequest::~DtEntityLocationRequest ( )
virtual

Member Function Documentation

virtual void makRadarFx::DtEntityLocationRequest::setEntityId ( const std::string &  name)
virtual

Id for the entity that this request is requesing the location of.

virtual std::string makRadarFx::DtEntityLocationRequest::entityId ( )
virtual
virtual int makRadarFx::DtEntityLocationRequest::messageSize ( )
virtual

size of the message

Reimplemented from makRadarFx::DtBaseMessage.

static DtBaseMessage* makRadarFx::DtEntityLocationRequest::decode ( unsigned char *  buffer,
int  length 
)
static

decode a message. Used by the factory

virtual DtBaseMessage* makRadarFx::DtEntityLocationRequest::clone ( )
virtual

clone a message. Caller of function is responsible managing this memory

Implements makRadarFx::DtBaseMessage.

virtual void makRadarFx::DtEntityLocationRequest::serialize ( DtStreamWriter writer)
protectedvirtual

Reimplemented from makRadarFx::DtBaseMessage.

virtual void makRadarFx::DtEntityLocationRequest::deserialize ( DtStreamReader reader)
protectedvirtual

Reimplemented from makRadarFx::DtBaseMessage.

Member Data Documentation

std::string makRadarFx::DtEntityLocationRequest::myEntityId
protected

The documentation for this class was generated from the following file:

Document ID: 1.0
Copyright © 2017 VT MAK Inc. All Rights Reserved (www.mak.com)