![]() |
VR-Forces 5.0.1 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 | setSecondsDecimals (int decimals)=0 |
| virtual void | setLocationFound (double lat, double lon)=0 |
| virtual void | setAddressError (const DtUnicode &errorStr)=0 |
| virtual void | setLatitudeSecondsText (const DtUnicode &secondsText)=0 |
| virtual void | setLongitudeSecondsText (const DtUnicode &secondsText)=0 |
Public Attributes | |
| boost::signalslib::signal < void(double lat, double lon)> | signal_gotoLocation |
| boost::signalslib::signal < void(const DtUnicode &)> | signal_requestJumpToAddress |
| boost::signalslib::signal < void(int altType, double displayAlt)> | signal_altitudeDisplayChanged |
| boost::signalslib::signal < void(double)> | signal_latitudeSecondsChanged |
| boost::signalslib::signal < void(double)> | signal_longitudeSecondsChanged |
|
virtual |
DTOR.
|
pure virtual |
Methods used to communicate from the Goto Logic to the Goto Widget.
Set the Unit Display Settings values for precision to use for seconds in the DMS entry widget The decimals for Coordinate System display is used for this. The value will be use by the validator on the latitude and longitude seconds edit boxes
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.
|
pure virtual |
Set the text displayed for seconds latitude in the DMS widget Because the logic needs to provide the support for the modifying precision based on the display unit settings, the seconds portion of the DMS are sent to the Goto Logic to be formatted and the returned (as strings) to the Goto Widget.
Implemented in makVrv::DtGotoWidget.
|
pure virtual |
Set the text displayed for seconds latitude in the DMS widget.
Implemented in makVrv::DtGotoWidget.
| boost::signalslib::signal<void (double lat, double lon)> makVrv::DtGotoWidgetInterface::signal_gotoLocation |
Boost signals used to send messages from the Goto Widget to the Goto Logic.
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.
| boost::signalslib::signal<void(int altType, double displayAlt)> makVrv::DtGotoWidgetInterface::signal_altitudeDisplayChanged |
Indicate that one of the altitude values has changed.
| boost::signalslib::signal<void(double)> makVrv::DtGotoWidgetInterface::signal_latitudeSecondsChanged |
Indicate that the seconds portion of the latitude input has changed.
| boost::signalslib::signal<void(double)> makVrv::DtGotoWidgetInterface::signal_longitudeSecondsChanged |
Indicate that the seconds portion of the longitude input has changed.