VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
makVrf::DtFeatureRequest Class Reference

DtFeatureRequest is a message to draw/delete feature information from the debugDrawManager to the debugDrawRenderer. More...

Inheritance diagram for makVrf::DtFeatureRequest:
Inheritance graph
[legend]

Public Types

typedef std::vector< DtLinelineListType
 

Public Member Functions

 DtFeatureRequest ()
 CTOR/DTOR. More...
 
virtual ~DtFeatureRequest ()
 
virtual int messageSize ()
 size of the message More...
 
virtual DtBaseMessageclone ()
 clone a message. Caller of function is responsible managing this memory More...
 
virtual void setentityId (const std::string &name)
 Id of the feature to look it up. More...
 
virtual std::string entityId () const
 
virtual void setDrawFeaturePath ()
 Draw feature path. More...
 
virtual bool drawFeaturePath () const
 
virtual void setDeleteFeaturePath ()
 Delete Feature path. More...
 
virtual bool deleteFeaturePath ()
 
virtual lineListTypelineList ()
 return the line list More...
 
virtual void addLine (const DtLine &line)
 add a line to the list More...
 
virtual void addLines (const lineListType &lineList)
 add a line to the list More...
 
- Public Member Functions inherited from makVrf::DtBaseMessage
 DtBaseMessage ()
 CTOR/DTOR. More...
 
virtual ~DtBaseMessage ()
 
virtual unsigned int messageType () const
 Get the name of the message type. More...
 
virtual unsigned charencode ()
 Encode the message as an array of bytes and return the bytes the receiver is responsible for calling delete [] on these bytes. More...
 
virtual void setRequestorId (const std::string &requestor)
 Assigns the requestor name of this message. More...
 
virtual std::string requestorId ()
 
virtual void setRequestId (int id)
 Assigns the request id of this message. More...
 
virtual int requestId ()
 

Static Public Member Functions

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

Protected Member Functions

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

Protected Attributes

std::string myIdName
 
bool myDrawFeaturePath
 
bool myDeleteFeaturePath
 
lineListType myLinesList
 
- Protected Attributes inherited from makVrf::DtBaseMessage
unsigned int myMessageType
 
std::string myRequestorId
 
int myRequestId
 

Detailed Description

DtFeatureRequest is a message to draw/delete feature information from the debugDrawManager to the debugDrawRenderer.

Member Typedef Documentation

Constructor & Destructor Documentation

makVrf::DtFeatureRequest::DtFeatureRequest ( )

CTOR/DTOR.

virtual makVrf::DtFeatureRequest::~DtFeatureRequest ( )
virtual

Member Function Documentation

virtual int makVrf::DtFeatureRequest::messageSize ( )
virtual

size of the message

Reimplemented from makVrf::DtBaseMessage.

static DtBaseMessage* makVrf::DtFeatureRequest::decode ( unsigned char buffer,
int  length 
)
static

decode a message. Used by the factory

virtual DtBaseMessage* makVrf::DtFeatureRequest::clone ( )
virtual

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

Implements makVrf::DtBaseMessage.

virtual void makVrf::DtFeatureRequest::setentityId ( const std::string &  name)
virtual

Id of the feature to look it up.

virtual std::string makVrf::DtFeatureRequest::entityId ( ) const
virtual
virtual void makVrf::DtFeatureRequest::setDrawFeaturePath ( )
virtual

Draw feature path.

virtual bool makVrf::DtFeatureRequest::drawFeaturePath ( ) const
virtual
virtual void makVrf::DtFeatureRequest::setDeleteFeaturePath ( )
virtual

Delete Feature path.

virtual bool makVrf::DtFeatureRequest::deleteFeaturePath ( )
virtual
virtual lineListType& makVrf::DtFeatureRequest::lineList ( )
virtual

return the line list

virtual void makVrf::DtFeatureRequest::addLine ( const DtLine line)
virtual

add a line to the list

virtual void makVrf::DtFeatureRequest::addLines ( const lineListType lineList)
virtual

add a line to the list

virtual void makVrf::DtFeatureRequest::serialize ( DtStreamWriter writer)
protectedvirtual

Reimplemented from makVrf::DtBaseMessage.

virtual void makVrf::DtFeatureRequest::deserialize ( DtStreamReader reader)
protectedvirtual

Reimplemented from makVrf::DtBaseMessage.

Member Data Documentation

std::string makVrf::DtFeatureRequest::myIdName
protected
bool makVrf::DtFeatureRequest::myDrawFeaturePath
protected
bool makVrf::DtFeatureRequest::myDeleteFeaturePath
protected
lineListType makVrf::DtFeatureRequest::myLinesList
protected

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)