![]() |
VR-Forces 4.8 Class Documentation
|
Abstract interface for DtGotoWidget. More...

Public Member Functions | |
| virtual | ~DtGotoWidgetInterface () |
| DTOR. More... | |
| virtual void | setSecondsDecimals (int decimals)=0 |
| Methods used to communicate from the Goto Logic to the Goto Widget. More... | |
| virtual void | setAltitudeDecimals (int decimals)=0 |
| Set the Unit Display Settings values for precision to use on the altitude widget. More... | |
| virtual void | setAltitudeUnits (const DtUnicode &units)=0 |
| Set a unicode string to be used as the unit type display. More... | |
| virtual void | setLocationFound (double lat, double lon)=0 |
| 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. More... | |
| virtual void | setAddressError (const DtUnicode &errorStr)=0 |
| Provide a string that indicates an address lookup error. More... | |
| virtual void | setAltitudeText (AltType type, const DtUnicode &altitudeText)=0 |
| Set the text displayed in the altitude widget for one of the altitude types Because the logic needs to provide the support for the modifying display units and precision (for altitude) all altitude values are communicated directly to the Goto Logic, which then formats them appropriately for the current display unit settings for altitude and returns this (as text) to the widget to display. More... | |
| virtual void | setLatitudeSecondsText (const DtUnicode &secondsText)=0 |
| 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. More... | |
| virtual void | setLongitudeSecondsText (const DtUnicode &secondsText)=0 |
| Set the text displayed for seconds latitude in the DMS widget. More... | |
Public Attributes | |
| boost::signal< void(double lat, double lon, int altitudeType)> | signal_gotoLocation |
| Boost signals used to send messages from the Goto Widget to the Goto Logic. More... | |
| boost::signal< void(const DtUnicode &)> | signal_requestJumpToAddress |
| Request to lookup the specified address and, if found, jump to it. More... | |
| boost::signal< void(int altType, double displayAlt)> | signal_altitudeDisplayChanged |
| Indicate that one of the altitude values has changed. More... | |
| boost::signal< void(double)> | signal_latitudeSecondsChanged |
| Indicate that the seconds portion of the latitude input has changed. More... | |
| boost::signal< void(double)> | signal_longitudeSecondsChanged |
| Indicate that the seconds portion of the longitude input has changed. More... | |
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.
|
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 |
Set the Unit Display Settings values for precision to use on the altitude widget.
The value will be use by the validators for the 'above terrain' and 'above sea level' edit boxes
Implemented in makVrv::DtGotoWidget.
|
pure virtual |
Set a unicode string to be used as the unit type display.
This will be used in the title of the 'altitude' group box
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 in the altitude widget for one of the altitude types Because the logic needs to provide the support for the modifying display units and precision (for altitude) all altitude values are communicated directly to the Goto Logic, which then formats them appropriately for the current display unit settings for altitude and returns this (as text) to the widget to display.
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::signal<void (double lat, double lon, int altitudeType)> 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::signal<void (const DtUnicode&)> makVrv::DtGotoWidgetInterface::signal_requestJumpToAddress |
Request to lookup the specified address and, if found, jump to it.
| boost::signal<void(int altType, double displayAlt)> makVrv::DtGotoWidgetInterface::signal_altitudeDisplayChanged |
Indicate that one of the altitude values has changed.
| boost::signal<void(double)> makVrv::DtGotoWidgetInterface::signal_latitudeSecondsChanged |
Indicate that the seconds portion of the latitude input has changed.
| boost::signal<void(double)> makVrv::DtGotoWidgetInterface::signal_longitudeSecondsChanged |
Indicate that the seconds portion of the longitude input has changed.