NAVTOR SDK  v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
route_editor_ui_interface.h
Go to the documentation of this file.
1 
9 #ifndef SDK_ROUTE_EDITOR_UI_INTERFACE_H_
10 #define SDK_ROUTE_EDITOR_UI_INTERFACE_H_
11 
12 #include <base/inc/sdk_results.h>
18 
19 SDK_BEGIN_NAMESPACE
20 namespace ecdis {
21 namespace routes {
22 
23 FWD_DECL_INTERFACE(IRoutesUIEditor)
24 
25 class IRoutesUIEditor : public ISDKComponent {
28 public:
30  virtual SDKResult Initialize(const gdb::routes::IRouteEditorSP& route_editor,
31  const sdk::vis::ISceneManagerSP& scene_manager) throw() = 0;
32 
34  virtual SDKResult CommitPoint(const SDKGeoPoint& point) throw() = 0;
36  virtual SDKResult StartDragging(const SDKGeoPoint& point) throw() = 0;
38  virtual SDKResult Move(const SDKGeoPoint& point) throw() = 0;
40  virtual SDKResult Save() throw() = 0;
41 
42  SDK_IMPLEMENT_IID(IRoutesUIEditor)
43  SDK_END_INTERFACE(IRoutesUIEditor)
44 };
45 SDK_DECLARE_IID(IRoutesUIEditor)
46 
47 } // namespace routes
48 } // namespace ecdis
49 SDK_END_NAMESPACE
50 
51 #endif // SDK_ROUTE_EDITOR_UI_INTERFACE_H_
ecdis::routes::IRoutesUIEditor::Save
virtual SDKResult Save()=0
Saves current changes.
sdk_results.h
A list of SDK error/return results.
ecdis::routes::IRoutesUIEditor::Move
virtual SDKResult Move(const SDKGeoPoint &point)=0
Selects and moves way point at the position or adds new one.
route_storage_interfaces.h
Route storage and route.
gdb_workspace.h
Describes interfaces that manages a geodatabase workspace.
parameters_interface.h
Provides access to members for managing a parameter set.
SDKResult
SDKInt32 SDKResult
Type of all error or return codes which SDK functions can end with.
Definition: sdk_results.h:17
ecdis::routes::IRoutesUIEditor::StartDragging
virtual SDKResult StartDragging(const SDKGeoPoint &point)=0
Starts way point dragging mode (position is not used now).
SDKGeoPoint
Geo point in degree units.
Definition: geometry_base_types.h:1727
ecdis::routes::IRoutesUIEditor::Initialize
virtual SDKResult Initialize(const gdb::routes::IRouteEditorSP &route_editor, const sdk::vis::ISceneManagerSP &scene_manager)=0
Initializes route editor helper with a route.
ISDKComponent
Base interface for all SDK interfaces.
Definition: sdk_component_interface.h:41
geometry_base_types.h
Geometry base types.
scene_manager_interface.h
Describes all interfaces for controlling visualization.
FWD_DECL_INTERFACE
FWD_DECL_INTERFACE(ILWEParserWrapper)
Provides a wrapper around the message parser to get, add or remove the.
ecdis::routes::IRoutesUIEditor::CommitPoint
virtual SDKResult CommitPoint(const SDKGeoPoint &point)=0
Update current way point position.