![]() |
VR-Forces Developer's Guide
|
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.

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 |
|
virtual |
DTOR.
|
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.
|
pure virtual |
Set the input coordinate system to use.
Implemented in makVrv::DtGotoWidget.
|
pure virtual |
Add a new input coordinate system type (to the coordinate system combo box)
Implemented in makVrv::DtGotoWidget.
|
pure virtual |
Set the Goto type (Address or Location)
Implemented in makVrv::DtGotoWidget.
|
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.
|
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.
| 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.