RadarFX API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
makRadarFx::DtSarResponse Class Reference

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

Inheritance diagram for makRadarFx::DtSarResponse:
Inheritance graph
[legend]

Public Member Functions

 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 void setData (unsigned char *buffer, int length)
 Image data returned by the server. This message class will manage this memory.
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 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::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 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 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 (DtStreamWriter &writer)
virtual void deserialize (DtStreamReader &reader)

Protected Attributes

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

makRadarFx::DtSarResponse::DtSarResponse ( )

CTOR/DTOR.

virtual makRadarFx::DtSarResponse::~DtSarResponse ( )
virtual

Member Function Documentation

virtual void makRadarFx::DtSarResponse::setError ( DtImageError  error)
virtual

Error value if there is one.

virtual DtImageError makRadarFx::DtSarResponse::error ( )
virtual
virtual void makRadarFx::DtSarResponse::setWarning ( DtImageWarning  error)
virtual

Warning value if there is one.

virtual DtImageWarning makRadarFx::DtSarResponse::warning ( )
virtual
virtual void makRadarFx::DtSarResponse::setReturnMethod ( unsigned int  method)
virtual

Image return method that is used.

virtual unsigned int makRadarFx::DtSarResponse::returnMethod ( )
virtual
virtual void makRadarFx::DtSarResponse::setImageFormat ( DtImageFormat  format)
virtual

Image return format.

virtual DtImageFormat makRadarFx::DtSarResponse::imageFormat ( )
virtual
virtual void makRadarFx::DtSarResponse::setImageSize ( const DtImageSize size)
virtual

Size of the image returned by the server.

virtual DtImageSize makRadarFx::DtSarResponse::imageSize ( )
virtual
virtual void makRadarFx::DtSarResponse::setImageDataType ( DtImageDataType  type)
virtual

Image data type Only available for RAW/NITF image types.

virtual DtImageDataType makRadarFx::DtSarResponse::imageDataType ( )
virtual
virtual void makRadarFx::DtSarResponse::setFilename ( const std::string &  filename)
virtual

filename of saved image if it was saved on the server

virtual std::string makRadarFx::DtSarResponse::filename ( )
virtual
virtual int makRadarFx::DtSarResponse::dataLength ( )
virtual

Size of data for the returned image.

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

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

virtual unsigned char* makRadarFx::DtSarResponse::data ( )
virtual
virtual void makRadarFx::DtSarResponse::setOwnshipLocation ( DtVector  location)
virtual

ownship location at the time of the request being processed

virtual DtVector makRadarFx::DtSarResponse::ownshipLocation ( )
virtual
virtual void makRadarFx::DtSarResponse::setOwnshipOrientation ( DtTaitBryan  orientation)
virtual

ownship orientation at the time of the request being processed

virtual DtTaitBryan makRadarFx::DtSarResponse::ownshipOrientation ( )
virtual
virtual void makRadarFx::DtSarResponse::setSystemTime ( double  time)
virtual

UTC time of the request being processed.

virtual double makRadarFx::DtSarResponse::systemTime ( )
virtual
virtual void makRadarFx::DtSarResponse::setCenterPosition ( double  lat,
double  lon,
double  alt 
)
virtual

the center hit point of the view vector for this response

virtual void makRadarFx::DtSarResponse::getCenterPosition ( double &  lat,
double &  lon,
double &  alt 
)
virtual
virtual void makRadarFx::DtSarResponse::setSensorViewDirection ( double  azimuth,
double  elevation 
)
virtual

the sensor view direction is azimuth from north and elevation from level in Radians.

virtual void makRadarFx::DtSarResponse::getSensorViewDirection ( double &  azimuth,
double &  elevation 
)
virtual
virtual int makRadarFx::DtSarResponse::messageSize ( )
virtual

size of the message

Reimplemented from makRadarFx::DtBaseMessage.

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

decode a message. Used by the factory

Reimplemented from makRadarFx::DtBaseMessage.

virtual DtBaseMessage* makRadarFx::DtSarResponse::clone ( )
virtual

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

Reimplemented from makRadarFx::DtBaseMessage.

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

Reimplemented from makRadarFx::DtBaseMessage.

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

Reimplemented from makRadarFx::DtBaseMessage.

Member Data Documentation

DtImageError makRadarFx::DtSarResponse::myError
protected
DtImageWarning makRadarFx::DtSarResponse::myWarning
protected
DtImageSize makRadarFx::DtSarResponse::myImageSize
protected
unsigned int makRadarFx::DtSarResponse::myReturnMethod
protected
DtImageFormat makRadarFx::DtSarResponse::myImageFormat
protected
DtImageDataType makRadarFx::DtSarResponse::myImageDataType
protected
std::string makRadarFx::DtSarResponse::myFilename
protected
int makRadarFx::DtSarResponse::myDataLength
protected
unsigned char* makRadarFx::DtSarResponse::myData
protected
DtVector makRadarFx::DtSarResponse::myOwnshipLocation
protected
DtTaitBryan makRadarFx::DtSarResponse::myOwnshipOrientation
protected
double makRadarFx::DtSarResponse::mySystemTime
protected
double makRadarFx::DtSarResponse::myCenterLat
protected
double makRadarFx::DtSarResponse::myCenterLon
protected
double makRadarFx::DtSarResponse::myCenterAlt
protected
double makRadarFx::DtSarResponse::mySensorDirectionAzimuth
protected
double makRadarFx::DtSarResponse::mySensorDirectionElevation
protected

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


Copyright © 2024 MAK Technologies, Inc. All Rights Reserved (www.mak.com)