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 Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
makVrf::DtTerrainAreaResponse Class Reference

DtTerrainAreaResponse is the returned response of DtTerrainAreaRequest by the debugDrawRenderer. More...

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

Public Member Functions

 DtTerrainAreaResponse ()
 CTOR/DTOR. More...
 
virtual ~DtTerrainAreaResponse ()
 
virtual int messageSize ()
 size of the message More...
 
virtual DtBaseMessageclone ()
 clone a message. Caller of function is responsible managing this memory More...
 
virtual void setSucces (bool success)
 set or get success state (if succes() return false, check the error()) More...
 
virtual bool success () const
 
virtual void setError (const std::string &error)
 set the error More...
 
virtual std::string error () const
 
- 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

bool mySuccess
 
std::string myError
 
- Protected Attributes inherited from makVrf::DtBaseMessage
unsigned int myMessageType
 
std::string myRequestorId
 
int myRequestId
 

Detailed Description

DtTerrainAreaResponse is the returned response of DtTerrainAreaRequest by the debugDrawRenderer.

Constructor & Destructor Documentation

makVrf::DtTerrainAreaResponse::DtTerrainAreaResponse ( )

CTOR/DTOR.

virtual makVrf::DtTerrainAreaResponse::~DtTerrainAreaResponse ( )
virtual

Member Function Documentation

virtual int makVrf::DtTerrainAreaResponse::messageSize ( )
virtual

size of the message

Reimplemented from makVrf::DtBaseMessage.

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

decode a message. Used by the factory

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

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

Implements makVrf::DtBaseMessage.

virtual void makVrf::DtTerrainAreaResponse::setSucces ( bool  success)
virtual

set or get success state (if succes() return false, check the error())

virtual bool makVrf::DtTerrainAreaResponse::success ( ) const
virtual
virtual void makVrf::DtTerrainAreaResponse::setError ( const std::string &  error)
virtual

set the error

virtual std::string makVrf::DtTerrainAreaResponse::error ( ) const
virtual
virtual void makVrf::DtTerrainAreaResponse::serialize ( DtStreamWriter writer)
protectedvirtual

Reimplemented from makVrf::DtBaseMessage.

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

Reimplemented from makVrf::DtBaseMessage.

Member Data Documentation

bool makVrf::DtTerrainAreaResponse::mySuccess
protected
std::string makVrf::DtTerrainAreaResponse::myError
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)