VR-Engage  2.2
Loading...
Searching...
No Matches
makRadarFx::DtIsarResponse Class Reference

#include <rfxIsarMessage.h>

Inheritance diagram for makRadarFx::DtIsarResponse:
[legend]

Public Member Functions

 DtIsarResponse ()
 
virtual ~DtIsarResponse ()
 
virtual void setError (DtImageError error)
 
virtual DtImageError error ()
 
virtual void setWarning (DtImageWarning error)
 
virtual DtImageWarning warning ()
 
virtual void setReturnMethod (unsigned int method)
 
virtual unsigned int returnMethod ()
 
virtual void setImageFormat (DtImageFormat format)
 
virtual DtImageFormat imageFormat ()
 
virtual void setImageSize (const DtImageSize &size)
 
virtual DtImageSize imageSize ()
 
virtual void setImageDataType (DtImageDataType type)
 
virtual DtImageDataType imageDataType ()
 
virtual void setFilename (const std::string &filename)
 
virtual std::string filename ()
 
virtual int dataLength ()
 
virtual void setData (unsigned char *buffer, int length)
 
virtual unsigned char * data ()
 
virtual void setImageIndex (int index)
 
virtual int imageIndex ()
 
virtual void setOwnshipLocation (DtVector location)
 
virtual DtVector ownshipLocation ()
 
virtual void setOwnshipOrientation (DtTaitBryan orientation)
 
virtual DtTaitBryan ownshipOrientation ()
 
virtual void setSystemTime (double time)
 
virtual double systemTime ()
 
virtual void setCenterPosition (double lat, double lon, double alt)
 
virtual void getCenterPosition (double &lat, double &lon, double &alt)
 
virtual void setSensorViewDirection (double azimuth, double elevation)
 
virtual void getSensorViewDirection (double &azimuth, double &elevation)
 
virtual int messageSize ()
 
virtual DtBaseMessageclone ()
 
- Public Member Functions inherited from makRadarFx::DtImageResponse
 DtImageResponse ()
 
virtual ~DtImageResponse ()
 
- Public Member Functions inherited from makRadarFx::DtBaseMessage
 DtBaseMessage ()
 
virtual ~DtBaseMessage ()
 
virtual unsigned int messageType () const
 
virtual unsigned char * encode ()
 
virtual void setRequestorId (const std::string &requestor)
 
virtual std::string requestorId ()
 
virtual void setRequestId (int id)
 
virtual int requestId ()
 

Static Public Member Functions

static DtBaseMessagedecode (unsigned char *buffer, int length)
 

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
 
int myImageIndex
 
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
 

Constructor & Destructor Documentation

◆ DtIsarResponse()

makRadarFx::DtIsarResponse::DtIsarResponse ( )

CTOR/DTOR.

◆ ~DtIsarResponse()

virtual makRadarFx::DtIsarResponse::~DtIsarResponse ( )
virtual

Member Function Documentation

◆ setError()

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

Error value if there is one.

References error().

◆ error()

virtual DtImageError makRadarFx::DtIsarResponse::error ( )
virtual

Referenced by setError(), and setWarning().

◆ setWarning()

virtual void makRadarFx::DtIsarResponse::setWarning ( DtImageWarning error)
virtual

Warning value if there is one.

References error().

◆ warning()

virtual DtImageWarning makRadarFx::DtIsarResponse::warning ( )
virtual

◆ setReturnMethod()

virtual void makRadarFx::DtIsarResponse::setReturnMethod ( unsigned int method)
virtual

Image return method that is used.

◆ returnMethod()

virtual unsigned int makRadarFx::DtIsarResponse::returnMethod ( )
virtual

◆ setImageFormat()

virtual void makRadarFx::DtIsarResponse::setImageFormat ( DtImageFormat format)
virtual

Image return format.

◆ imageFormat()

virtual DtImageFormat makRadarFx::DtIsarResponse::imageFormat ( )
virtual

◆ setImageSize()

virtual void makRadarFx::DtIsarResponse::setImageSize ( const DtImageSize & size)
virtual

Size of the image returned by the server.

◆ imageSize()

virtual DtImageSize makRadarFx::DtIsarResponse::imageSize ( )
virtual

◆ setImageDataType()

virtual void makRadarFx::DtIsarResponse::setImageDataType ( DtImageDataType type)
virtual

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

◆ imageDataType()

virtual DtImageDataType makRadarFx::DtIsarResponse::imageDataType ( )
virtual

◆ setFilename()

virtual void makRadarFx::DtIsarResponse::setFilename ( const std::string & filename)
virtual

filename of saved image if it was saved on the server

References filename().

◆ filename()

virtual std::string makRadarFx::DtIsarResponse::filename ( )
virtual

Referenced by setFilename().

◆ dataLength()

virtual int makRadarFx::DtIsarResponse::dataLength ( )
virtual

Size of data for the returned image.

◆ setData()

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

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

◆ data()

virtual unsigned char * makRadarFx::DtIsarResponse::data ( )
virtual

◆ setImageIndex()

virtual void makRadarFx::DtIsarResponse::setImageIndex ( int index)
virtual

0 starting index for this image response

◆ imageIndex()

virtual int makRadarFx::DtIsarResponse::imageIndex ( )
virtual

◆ setOwnshipLocation()

virtual void makRadarFx::DtIsarResponse::setOwnshipLocation ( DtVector location)
virtual

ownship location at the time of the request being processed

◆ ownshipLocation()

virtual DtVector makRadarFx::DtIsarResponse::ownshipLocation ( )
virtual

◆ setOwnshipOrientation()

virtual void makRadarFx::DtIsarResponse::setOwnshipOrientation ( DtTaitBryan orientation)
virtual

ownship orientation at the time of the request being processed

◆ ownshipOrientation()

virtual DtTaitBryan makRadarFx::DtIsarResponse::ownshipOrientation ( )
virtual

◆ setSystemTime()

virtual void makRadarFx::DtIsarResponse::setSystemTime ( double time)
virtual

UTC time of the request being processed.

◆ systemTime()

virtual double makRadarFx::DtIsarResponse::systemTime ( )
virtual

◆ setCenterPosition()

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

the center hit point of the view vector for this response

◆ getCenterPosition()

virtual void makRadarFx::DtIsarResponse::getCenterPosition ( double & lat,
double & lon,
double & alt )
virtual

◆ setSensorViewDirection()

virtual void makRadarFx::DtIsarResponse::setSensorViewDirection ( double azimuth,
double elevation )
virtual

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

◆ getSensorViewDirection()

virtual void makRadarFx::DtIsarResponse::getSensorViewDirection ( double & azimuth,
double & elevation )
virtual

◆ messageSize()

virtual int makRadarFx::DtIsarResponse::messageSize ( )
virtual

size of the message

Reimplemented from makRadarFx::DtBaseMessage.

◆ decode()

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

decode a message. Used by the factory

◆ clone()

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

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

Implements makRadarFx::DtBaseMessage.

◆ serialize()

virtual void makRadarFx::DtIsarResponse::serialize ( DtStreamWriter & writer)
protectedvirtual

Serializes the message data to a stream writer.

Parameters
writerReference to the stream writer to write the data to

Writes the message data to the provided stream writer. Derived classes should call the base class implementation before adding their own fields.

Reimplemented from makRadarFx::DtBaseMessage.

◆ deserialize()

virtual void makRadarFx::DtIsarResponse::deserialize ( DtStreamReader & reader)
protectedvirtual

Deserializes message data from a stream reader.

Parameters
readerReference to the stream reader to read the data from

Reads the message data from the provided stream reader. Derived classes should call the base class implementation before reading their own fields.

Reimplemented from makRadarFx::DtBaseMessage.

Member Data Documentation

◆ myError

DtImageError makRadarFx::DtIsarResponse::myError
protected

◆ myWarning

DtImageWarning makRadarFx::DtIsarResponse::myWarning
protected

◆ myImageSize

DtImageSize makRadarFx::DtIsarResponse::myImageSize
protected

◆ myReturnMethod

unsigned int makRadarFx::DtIsarResponse::myReturnMethod
protected

◆ myImageFormat

DtImageFormat makRadarFx::DtIsarResponse::myImageFormat
protected

◆ myImageDataType

DtImageDataType makRadarFx::DtIsarResponse::myImageDataType
protected

◆ myFilename

std::string makRadarFx::DtIsarResponse::myFilename
protected

◆ myDataLength

int makRadarFx::DtIsarResponse::myDataLength
protected

◆ myData

unsigned char* makRadarFx::DtIsarResponse::myData
protected

◆ myImageIndex

int makRadarFx::DtIsarResponse::myImageIndex
protected

◆ myOwnshipLocation

DtVector makRadarFx::DtIsarResponse::myOwnshipLocation
protected

◆ myOwnshipOrientation

DtTaitBryan makRadarFx::DtIsarResponse::myOwnshipOrientation
protected

◆ mySystemTime

double makRadarFx::DtIsarResponse::mySystemTime
protected

◆ myCenterLat

double makRadarFx::DtIsarResponse::myCenterLat
protected

◆ myCenterLon

double makRadarFx::DtIsarResponse::myCenterLon
protected

◆ myCenterAlt

double makRadarFx::DtIsarResponse::myCenterAlt
protected

◆ mySensorDirectionAzimuth

double makRadarFx::DtIsarResponse::mySensorDirectionAzimuth
protected

◆ mySensorDirectionElevation

double makRadarFx::DtIsarResponse::mySensorDirectionElevation
protected

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