VR-Vantage 3.2 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 () const
 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/NITF 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 ()
virtual void setOwnshipLocation (DtVector location)
 ownship location at the time of the request being processed
virtual DtVector ownshipLocation ()
virtual void setOwnshipOrientation (DtTaitBryan orientation)
 ownship orientation at the time of the request being processed
virtual DtTaitBryan ownshipOrientation ()
virtual void setSystemTime (double time)
 UTC time of the request being processed.
virtual double systemTime ()
virtual void setCenterPosition (double lat, double lon, double alt)
 the center hit point of the view vector for this response
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.
virtual void getSensorViewDirection (double &azimuth, double &elevation)
virtual std::string csvHeader () const
 Return a string representation of the CSV header for this message.
virtual std::string csvString () const
 Return a CSV string representation of this RadarFx message The string expresses all the values in the message separated by commas, i.e.
- Public Member Functions inherited from makRadarFx::DtImageResponse
 DtImageResponse (unsigned int messageType)
 CTOR/DTOR.
virtual ~DtImageResponse ()
- Public Member Functions inherited from makRadarFx::DtBaseMessage
 DtBaseMessage (unsigned int messageType)
 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
DtVector myOwnshipLocation
DtTaitBryan myOwnshipOrientation
double mySystemTime
double myCenterLat
double myCenterLon
double myCenterAlt
double mySensorDirectionAzimuth
double mySensorDirectionElevation

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