VR-Vantage 3.0 API 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
GASarResponse Class Reference

DtSarResponse is the returned image data by the server. More...

Inheritance diagram for GASarResponse:
Inheritance graph
[legend]

Public Member Functions

 GASarResponse ()
 CTOR/DTOR.
virtual ~GASarResponse ()
virtual void setData (unsigned char *buffer, int length)
 Image data returned by the server. This message class will manage this memory.
virtual void printRepr (unsigned char *start, int n)
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 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::DtSarResponse
 DtSarResponse ()
 CTOR/DTOR.
virtual ~DtSarResponse ()
virtual void setError (DtImageError error)
 Error value if there is one.
virtual DtImageError error ()
virtual void setWarning (DtImageWarning error)
 Warning value if there is one.
virtual DtImageWarning warning ()
virtual void setReturnMethod (unsigned int method)
 Image return method that is used.
virtual unsigned int returnMethod ()
virtual void setImageFormat (DtImageFormat format)
 Image return format.
virtual DtImageFormat imageFormat ()
virtual void setImageSize (const DtImageSize &size)
 Size of the image returned by the server.
virtual DtImageSize imageSize ()
virtual void setImageDataType (DtImageDataType type)
 Image data type Only available for RAW/NTIF image types.
virtual DtImageDataType imageDataType ()
virtual void setFilename (const std::string &filename)
 filename of saved image if it was saved on the server
virtual std::string filename ()
virtual int dataLength ()
 Size of data for the returned image.
virtual unsigned char * data ()
- Public Member Functions inherited from makRadarFx::DtImageResponse
 DtImageResponse ()
 CTOR/DTOR.
virtual ~DtImageResponse ()
- 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 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 (makRadarFx::DtStreamWriter &writer)
virtual void deserialize (makRadarFx::DtStreamReader &reader)

Additional Inherited Members

- Protected Attributes inherited from makRadarFx::DtSarResponse
DtImageError myError
DtImageWarning myWarning
DtImageSize myImageSize
unsigned int myReturnMethod
DtImageFormat myImageFormat
DtImageDataType myImageDataType
std::string myFilename
int myDataLength
unsigned char * myData

Detailed Description

DtSarResponse is the returned image data by the server.

Constructor & Destructor Documentation

GASarResponse::GASarResponse ( )

CTOR/DTOR.

virtual GASarResponse::~GASarResponse ( )
virtual

Member Function Documentation

virtual void GASarResponse::setData ( unsigned char *  buffer,
int  length 
)
virtual

Image data returned by the server. This message class will manage this memory.

Reimplemented from makRadarFx::DtSarResponse.

virtual void GASarResponse::printRepr ( unsigned char *  start,
int  n 
)
virtual
virtual unsigned char* GASarResponse::encode ( )
virtual

Encode the message as an array of bytes and return the bytes the receiver is responsible for calling delete [] on these bytes.

Reimplemented from makRadarFx::DtBaseMessage.

virtual int GASarResponse::messageSize ( )
virtual

size of the message

Reimplemented from makRadarFx::DtSarResponse.

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

decode a message. Used by the factory

Reimplemented from makRadarFx::DtSarResponse.

virtual DtBaseMessage* GASarResponse::clone ( )
virtual

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

Reimplemented from makRadarFx::DtSarResponse.

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

Reimplemented from makRadarFx::DtSarResponse.

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

Reimplemented from makRadarFx::DtSarResponse.


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


Copyright © 2005-2022 MAK Technologies. All Rights Reserved (www.mak.com)