VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
makVrv::DtGotoWidgetInterface Class Referenceabstract

Abstract interface for DtGotoWidget. This defines the interface that will be used by the DtGotoLogic to communicate with the DtGotoWidget. The DtGotoWidget and DtGotoLogic work together to provide a user interface for directing the current observer to jump to either a location in latitude/longitude; in MGRS; or an actual address that is used to look up a latitude/longitude by creating a geocoding session.

Inheritance diagram for makVrv::DtGotoWidgetInterface:
Inheritance graph
[legend]

Public Member Functions

virtual ~DtGotoWidgetInterface ()
 
virtual void setIsCoordinateSystemGeocentric (bool isGeocentric)=0
 
virtual void setInputCoordinateSystem (makArchives::DtDisplayUnitsSettingsRecord::CoordSys sysType)=0
 
virtual void addInputCoordinateSystem (const DtUnicode &sysName, makArchives::DtDisplayUnitsSettingsRecord::CoordSys sysType)=0
 
virtual void setGotoType (GotoType addressOrLocation)=0
 
virtual void setLocationFound (double lat, double lon)=0
 
virtual void setAddressError (const DtUnicode &errorStr)=0
 

Public Attributes

boost::signalslib::signal
< void(makArchives::DtDisplayUnitsSettingsRecord::CoordSys
sysType)> 
signal_inputCoordinateSystemChanged
 
boost::signalslib::signal
< void(GotoType
addressOrLocation)> 
signal_gotoTypeChanged
 
boost::signalslib::signal
< void(double lat, double lon)> 
signal_gotoLocation
 
boost::signalslib::signal
< void(const DtUnicode &)> 
signal_requestJumpToAddress
 

Constructor & Destructor Documentation

virtual makVrv::DtGotoWidgetInterface::~DtGotoWidgetInterface ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtGotoWidgetInterface::setIsCoordinateSystemGeocentric ( bool  isGeocentric)
pure virtual

Methods used to communicate from the Goto Logic to the Goto Widget.

Set whether or not the current coordinate system is geocentric.

Implemented in makVrv::DtGotoWidget.

virtual void makVrv::DtGotoWidgetInterface::setInputCoordinateSystem ( makArchives::DtDisplayUnitsSettingsRecord::CoordSys  sysType)
pure virtual

Set the input coordinate system to use.

Implemented in makVrv::DtGotoWidget.

virtual void makVrv::DtGotoWidgetInterface::addInputCoordinateSystem ( const DtUnicode sysName,
makArchives::DtDisplayUnitsSettingsRecord::CoordSys  sysType 
)
pure virtual

Add a new input coordinate system type (to the coordinate system combo box)

Implemented in makVrv::DtGotoWidget.

virtual void makVrv::DtGotoWidgetInterface::setGotoType ( GotoType  addressOrLocation)
pure virtual

Set the Goto type (Address or Location)

Implemented in makVrv::DtGotoWidget.

virtual void makVrv::DtGotoWidgetInterface::setLocationFound ( double  lat,
double  lon 
)
pure virtual

Provide a latitude and longitude to the Goto Widget When a request is made to the logic for a location lookup by address, the logic will use this method to respond.

Implemented in makVrv::DtGotoWidget.

virtual void makVrv::DtGotoWidgetInterface::setAddressError ( const DtUnicode errorStr)
pure virtual

Provide a string that indicates an address lookup error. This method is called any time a request is made for an address lookup. If the lookup is successful, it will be called with an empty string; otherwise in will provide information about the nature of the lookup failure.

Implemented in makVrv::DtGotoWidget.

Member Data Documentation

boost::signalslib::signal<void(makArchives::DtDisplayUnitsSettingsRecord::CoordSys sysType)> makVrv::DtGotoWidgetInterface::signal_inputCoordinateSystemChanged

Boost signals used to send messages from the Goto Widget to the Goto Logic.

Tell the logic when the user has changed the input coordinate system (combo box selection)

boost::signalslib::signal<void(GotoType addressOrLocation)> makVrv::DtGotoWidgetInterface::signal_gotoTypeChanged

Tell the logic when the user has selected to Goto Address or Goto Location radio button.

boost::signalslib::signal<void (double lat, double lon)> makVrv::DtGotoWidgetInterface::signal_gotoLocation

Request to make the current observer jump to the indicated lat/lon. The logic already has the current 'Above Terrain' and 'Above Sea Level' altitudes; so the widget just needs to communicate which of those to use.

boost::signalslib::signal<void (const DtUnicode&)> makVrv::DtGotoWidgetInterface::signal_requestJumpToAddress

Request to lookup the specified address and, if found, jump to it.


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

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)