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) 2025 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 
19 
20 namespace makVrv
21 {
22 
24  enum GotoType
25  {
28  };
29 
37  {
38  public:
40  virtual ~DtGotoWidgetInterface();
41 
42  public:
44 
47  virtual void setIsCoordinateSystemGeocentric(bool isGeocentric) = 0;
48 
50  virtual void setInputCoordinateSystem(makArchives::DtDisplayUnitsSettingsRecord::CoordSys sysType) = 0;
51 
53  virtual void addInputCoordinateSystem(const DtUnicode& sysName, makArchives::DtDisplayUnitsSettingsRecord::CoordSys sysType) = 0;
54 
56  virtual void setGotoType(GotoType addressOrLocation) = 0;
57 
61  virtual void setLocationFound(double lat, double lon) = 0;
62 
67  virtual void setAddressError(const DtUnicode& errorStr) = 0;
69 
70  public:
71 
73 
76  boost::signalslib::signal<void(makArchives::DtDisplayUnitsSettingsRecord::CoordSys sysType)> signal_inputCoordinateSystemChanged;
77 
79  boost::signalslib::signal<void(GotoType addressOrLocation)> signal_gotoTypeChanged;
80 
84  boost::signalslib::signal<void (double lat, double lon)> signal_gotoLocation;
85 
87  boost::signalslib::signal<void (const DtUnicode&)> signal_requestJumpToAddress;
89  };
90 }
boost::signalslib::signal< void(makArchives::DtDisplayUnitsSettingsRecord::CoordSys sysType)> signal_inputCoordinateSystemChanged
Boost signals used to send messages from the Goto Widget to the Goto Logic.
Definition: DtGotoWidgetInterface.h:76
boost::signalslib::signal< void(const DtUnicode &)> signal_requestJumpToAddress
Request to lookup the specified address and, if found, jump to it.
Definition: DtGotoWidgetInterface.h:87
A unicode string. DtUnicode stores a UTF-16 encoded unicode string. Code Point, a Unicode character...
Definition: DtUnicode.h:33
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
Definition: DtGotoWidgetInterface.h:26
boost::signalslib::signal< void(double lat, double lon)> signal_gotoLocation
Request to make the current observer jump to the indicated lat/lon. The logic already has the current...
Definition: DtGotoWidgetInterface.h:84
Contains DLL export macros.
CoordSys
Enumeration of the different coordinate system types.
Definition: DtDisplayUnitsSettingsRecord.h:30
boost::signalslib::signal< void(GotoType addressOrLocation)> signal_gotoTypeChanged
Tell the logic when the user has selected to Goto Address or Goto Location radio button.
Definition: DtGotoWidgetInterface.h:79
Definition: DtGotoWidgetInterface.h:27
GotoType
Enumeration for the way the location to go to is currently being input.
Definition: DtGotoWidgetInterface.h:24
Abstract interface for DtGotoWidget. This defines the interface that will be used by the DtGotoLogic ...
Definition: DtGotoWidgetInterface.h:36
Contains the DtDisplayUnitsSettingsRecord class declaration.

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)