VR-Vantage 3.1.1 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. More...
 
virtual ~GASarResponse ()
 
virtual void setData (unsigned char *buffer, int length)
 Image data returned by the server. This message class will manage this memory. More...
 
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. More...
 
virtual int messageSize ()
 size of the message More...
 
virtual DtBaseMessageclone ()
 clone a message. Caller of function is responsible managing this memory More...
 
- Public Member Functions inherited from makRadarFx::DtSarResponse
 DtSarResponse ()
 CTOR/DTOR. More...
 
virtual ~DtSarResponse ()
 
virtual void setError (DtImageError error)
 Error value if there is one. More...
 
virtual DtImageError error ()
 
virtual void setWarning (DtImageWarning error)
 Warning value if there is one. More...
 
virtual DtImageWarning warning ()
 
virtual void setReturnMethod (unsigned int method)
 Image return method that is used. More...
 
virtual unsigned int returnMethod ()
 
virtual void setImageFormat (DtImageFormat format)
 Image return format. More...
 
virtual DtImageFormat imageFormat ()
 
virtual void setImageSize (const DtImageSize &size)
 Size of the image returned by the server. More...
 
virtual DtImageSize imageSize ()
 
virtual void setImageDataType (DtImageDataType type)
 Image data type Only available for RAW/NITF image types. More...
 
virtual DtImageDataType imageDataType ()
 
virtual void setFilename (const std::string &filename)
 filename of saved image if it was saved on the server More...
 
virtual std::string filename ()
 
virtual int dataLength ()
 Size of data for the returned image. More...
 
virtual unsigned char * data ()
 
virtual void setOwnshipLocation (DtVector location)
 ownship location at the time of the request being processed More...
 
virtual DtVector ownshipLocation ()
 
virtual void setOwnshipOrientation (DtTaitBryan orientation)
 ownship orientation at the time of the request being processed More...
 
virtual DtTaitBryan ownshipOrientation ()
 
virtual void setSystemTime (double time)
 UTC time of the request being processed. More...
 
virtual double systemTime ()
 
virtual void setCenterPosition (double lat, double lon, double alt)
 the center hit point of the view vector for this response More...
 
virtual void getCenterPosition (double &lat, double &lon, double &alt)
 
virtual void setSensorViewDirection (double azimuth, double elevation)
 the sensor view direction is azimuth from north and elevation from level in Radians. More...
 
virtual void getSensorViewDirection (double &azimuth, double &elevation)
 
- Public Member Functions inherited from makRadarFx::DtImageResponse
 DtImageResponse ()
 CTOR/DTOR. More...
 
virtual ~DtImageResponse ()
 
- Public Member Functions inherited from makRadarFx::DtBaseMessage
 DtBaseMessage ()
 CTOR/DTOR. More...
 
virtual ~DtBaseMessage ()
 
virtual unsigned int messageType () const
 Get the name of the message type. 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...
 
- Static Public Member Functions inherited from makRadarFx::DtSarResponse
static DtBaseMessagedecode (unsigned char *buffer, int length)
 decode a message. Used by the factory More...
 

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
 
DtVector myOwnshipLocation
 
DtTaitBryan myOwnshipOrientation
 
double mySystemTime
 
double myCenterLat
 
double myCenterLon
 
double myCenterAlt
 
double mySensorDirectionAzimuth
 
double mySensorDirectionElevation
 
- Protected Attributes inherited from makRadarFx::DtBaseMessage
unsigned int myMessageType
 
std::string myRequestorId
 
int myRequestId
 

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

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-2024 MAK Technologies. All Rights Reserved (www.mak.com)