VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtGotoWidgetInterface.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 #include <vrvCoreQt/vrvCoreQt.h>
14 
15 #include <vrvUtil/signalslib.h>
16 #include <vrvUtil/DtUnicode.h>
17 
18 namespace makVrv
19 {
22  enum AltType
23  {
26  };
27 
29  enum GotoType
30  {
34  };
35 
43  {
44  public:
46  virtual ~DtGotoWidgetInterface();
47 
48  public:
50 
55  virtual void setSecondsDecimals(int decimals) = 0;
56 
60  virtual void setLocationFound(double lat, double lon) = 0;
61 
66  virtual void setAddressError(const DtUnicode& errorStr) = 0;
67 
72  virtual void setLatitudeSecondsText(const DtUnicode& secondsText) = 0;
73 
76  virtual void setLongitudeSecondsText(const DtUnicode& secondsText) = 0;
78 
79  public:
80 
82 
87  boost::signalslib::signal<void (double lat, double lon)> signal_gotoLocation;
88 
90  boost::signalslib::signal<void (const DtUnicode&)> signal_requestJumpToAddress;
91 
93  boost::signalslib::signal<void(int altType, double displayAlt)> signal_altitudeDisplayChanged;
94 
96  boost::signalslib::signal<void(double)> signal_latitudeSecondsChanged;
97 
99  boost::signalslib::signal<void(double)> signal_longitudeSecondsChanged;
101  };
102 }
boost::signalslib::signal< void(const DtUnicode &)> signal_requestJumpToAddress
Request to lookup the specified address and, if found, jump to it.
Definition: DtGotoWidgetInterface.h:90
A unicode string. DtUnicode stores a UTF-16 encoded unicode string. Code Point, a Unicode character...
Definition: DtUnicode.h:33
boost::signalslib::signal< void(int altType, double displayAlt)> signal_altitudeDisplayChanged
Indicate that one of the altitude values has changed.
Definition: DtGotoWidgetInterface.h:93
Definition: DtGotoWidgetInterface.h:33
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
AltType
Enumeration for the type of altitude currently being edited by the goto widget.
Definition: DtGotoWidgetInterface.h:22
Definition: DtGotoWidgetInterface.h:31
boost::signalslib::signal< void(double lat, double lon)> signal_gotoLocation
Boost signals used to send messages from the Goto Widget to the Goto Logic.
Definition: DtGotoWidgetInterface.h:87
Contains DLL export macros.
Definition: DtGotoWidgetInterface.h:25
Definition: DtGotoWidgetInterface.h:32
boost::signalslib::signal< void(double)> signal_latitudeSecondsChanged
Indicate that the seconds portion of the latitude input has changed.
Definition: DtGotoWidgetInterface.h:96
Definition: DtGotoWidgetInterface.h:24
boost::signalslib::signal< void(double)> signal_longitudeSecondsChanged
Indicate that the seconds portion of the longitude input has changed.
Definition: DtGotoWidgetInterface.h:99
GotoType
Enumeration for the way the location to go to is currently being input.
Definition: DtGotoWidgetInterface.h:29
Abstract interface for DtGotoWidget. This defines the interface that will be used by the DtGotoLogic ...
Definition: DtGotoWidgetInterface.h:42

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)