VR-Engage  2.2
Loading...
Searching...
No Matches
DtSarRequestManager Class Reference

Detailed Description

The DtSarRequestManager handles requests for Synthetic Aperture Radar (SAR) imagery, processes the responses, and manages the display of SAR images. It maintains the state of the most recent SAR response and provides an interface for viewing the captured SAR images.

#include <sarRequestManager.h>

Inheritance diagram for DtSarRequestManager:
[legend]

Public Member Functions

 DtSarRequestManager (makVrv::DtDe &de)
 
virtual ~DtSarRequestManager () override
 
virtual makVre::DtVreMessageResult handleSarResponse (makVre::DtVreMessage *msg)
 
std::string lastResponseFilename ()
 

Static Public Member Functions

static DtSarRequestManagerinstance (makVrv::DtDe &de)
 

Protected Attributes

makVrv::DtDe & myDe
 
std::string myLastResponseFilename
 
DtZoomGraphicsViewmySarResponseWidget
 
QGraphicsPixmapItem * mySarResponsePixmap
 

Constructor & Destructor Documentation

◆ DtSarRequestManager()

DtSarRequestManager::DtSarRequestManager ( makVrv::DtDe & de)

Constructor.

Parameters
deReference to the display element

References de().

Referenced by instance().

◆ ~DtSarRequestManager()

virtual DtSarRequestManager::~DtSarRequestManager ( )
overridevirtual

Virtual destructor.

Member Function Documentation

◆ instance()

static DtSarRequestManager & DtSarRequestManager::instance ( makVrv::DtDe & de)
static

Returns the singleton instance of the DtSarRequestManager.

Parameters
deReference to the display element
Returns
Reference to the singleton instance

This method implements the singleton pattern, creating the instance if it doesn't exist

References de(), and DtSarRequestManager().

◆ handleSarResponse()

virtual makVre::DtVreMessageResult DtSarRequestManager::handleSarResponse ( makVre::DtVreMessage * msg)
virtual

Handles SAR response messages.

Parameters
msgPointer to the message containing the SAR response
Returns
Message processing result

Processes SAR response messages from the RadarFx service, updates the display, and caches the response filename

◆ lastResponseFilename()

std::string DtSarRequestManager::lastResponseFilename ( )

Gets the filename of the most recent SAR response image.

Returns
String containing the path to the most recent SAR image file

Member Data Documentation

◆ myDe

makVrv::DtDe& DtSarRequestManager::myDe
protected

Reference to the display element.

◆ myLastResponseFilename

std::string DtSarRequestManager::myLastResponseFilename
protected

Filename of the most recently received SAR image.

◆ mySarResponseWidget

DtZoomGraphicsView* DtSarRequestManager::mySarResponseWidget
protected

Widget used to display SAR images with zoom capability.

◆ mySarResponsePixmap

QGraphicsPixmapItem* DtSarRequestManager::mySarResponsePixmap
protected

Pixmap item used to render the SAR image in the graphics view.


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