 |
NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
|
|
Go to the documentation of this file.
9 #ifndef SDK_ECDISLAYER_VESSELS_INTERFACE_H_
10 #define SDK_ECDISLAYER_VESSELS_INTERFACE_H_
15 #include <base/inc/forward_declarations.h>
23 SDK_VESSELS_BEGIN_NAMESPACE
44 const DatasetID& dsid,
57 const DatasetID& dsid,
104 const SDKAny& value)
throw() = 0;
112 SDKAny& value)
throw() = 0;
114 template<
typename T >
185 double& a,
double& b,
double& alpha)
throw() = 0;
203 double bearing_error, SDKUInt16& ref_point_id)
throw() = 0;
213 SDKUInt16 ref_point_id,
const SDKTime& time,
double bearing,
214 const SDKGeoPoint& curr_pos,
double bearing_error)
throw() = 0;
226 double distance_error, SDKUInt16& ref_point_id)
throw() = 0;
236 SDKUInt16 ref_point_id,
const SDKTime& time,
double distance,
237 const SDKGeoPoint& curr_pos,
double distance_error)
throw() = 0;
251 double bearing,
double distance,
const SDKGeoPoint& curr_pos,
252 double bearing_error,
double distance_error, SDKUInt16& ref_point_id)
throw() = 0;
268 SDK_VESSELS_END_NAMESPACE
270 #endif // SDK_ECDISLAYER_VESSELS_INTERFACE_H_
virtual SDKResult SDK_CALLTYPE SetAttributeValue(SDKUInt32 id, const SDKAny &value)=0
Sets the value of the specified vessel attribute.
@ kFixAdvice_DontAccept
Do not accept observed position.
Definition: vessels_interface.h:145
virtual SDKResult SDK_CALLTYPE Clear()=0
Clears stored LOPs.
A Workspace is a container of spatial and non-spatial datasets. Workspace is a non-creatable object....
Definition: gdb_workspace.h:525
virtual SDKResult SDK_CALLTYPE SetOwnShipDeviceConfig(IOwnShipDeviceConfig *config)=0
Sets the own ship device configuration parameters.
virtual SDKResult SDK_CALLTYPE GetVessel(const SDKAny &id, const DatasetID &dsid, IVessel **vessel)=0
Returns the pointer to the IVessel interface associated with the Vessel object specified by object id...
Defines Vessels constants.
@ kPosFixTechnique_RunningFix
Running fix available.
Definition: vessels_interface.h:136
virtual SDKResult SDK_CALLTYPE GetAvailableTechnique(PosFixTechnique &technique) const =0
Returns the best available fixing technique.
virtual SDKResult SDK_CALLTYPE AddRunningBearing(SDKUInt16 ref_point_id, const SDKTime &time, double bearing, const SDKGeoPoint &curr_pos, double bearing_error)=0
Adds bearing data for the later LOP (Running fix).
virtual SDKResult SDK_CALLTYPE CalculateFixedPosition(const SDKTime &time, const SDKGeoPoint &dr_pos, SDKGeoPoint &fixed_pos, FixAdvice &advice, PosFixTechnique &technique)=0
Calculates the fixed position.
Provides access to members that manage the vessels workspace.
Definition: vessels_interface.h:32
Object generic properties interface.
Provides access to members that provide information about a VesselDataset.
Definition: vessels_interface.h:68
virtual SDKResult SDK_CALLTYPE AddRunningDistance(SDKUInt16 ref_point_id, const SDKTime &time, double distance, const SDKGeoPoint &curr_pos, double distance_error)=0
Adds distance data for the later LOP (Running fix).
@ kFixAdvice_Repeat
Repeat observation with other measurements.
Definition: vessels_interface.h:146
FixAdvice
Position fix advice.
Definition: vessels_interface.h:142
@ kPosFixTechnique_EP
Estimated position available.
Definition: vessels_interface.h:135
@ Ok
Operation completed successfully.
Definition: sdk_results_enum.h:22
@ kPosFixTechnique_DR
DR position available.
Definition: vessels_interface.h:134
SDKInt32 SDKResult
Type of all error or return codes which SDK functions can end with.
Definition: sdk_results.h:17
virtual SDKResult SDK_CALLTYPE GetConfidenceEllipse(double &a, double &b, double &alpha)=0
Returns the confidence ellipse parameters (if available) for the last observation.
virtual SDKResult SDK_CALLTYPE GetConfidenceCircle(double &r)=0
Returns the radius of confidence circle (if available) for the last observation.
@ Err_InvalidArg
Wrong argument passed to function.
Definition: sdk_results_enum.h:27
Geo point in degree units.
Definition: geometry_base_types.h:1727
Manages the own ship configuration properties.
Definition: ownship_device_config_interface.h:96
virtual SDKResult SDK_CALLTYPE GetPositionFixingWks(IWorkspace **wks)=0
Returns the pointer to the IWorkspace interface.
virtual SDKResult SDK_CALLTYPE AcceptFixedPosition()=0
Accept previously calculated fixed position.
virtual SDKResult SDK_CALLTYPE GetVessel(const SDKAny &id, IVessel **vessel)=0
Returns the pointer to the IVessel interface associated with the Vessel object specified by object id...
Common base SDK interfaces.
Common interface for all of vessel objects.
Definition: vessels_interface.h:96
virtual SDKResult SDK_CALLTYPE AddBearing(const SDKTime &time, const SDKGeoPoint &pos_from, double bearing, const SDKGeoPoint &curr_pos, double bearing_error, SDKUInt16 &ref_point_id)=0
Adds bearing data for one LOP.
#define SDK_FAILED(res)
Checks failed result.
Definition: sdk_results_enum.h:69
virtual SDKResult SDK_CALLTYPE AddBearingDistance(const SDKTime &time, const SDKGeoPoint &pos_from, double bearing, double distance, const SDKGeoPoint &curr_pos, double bearing_error, double distance_error, SDKUInt16 &ref_point_id)=0
Adds bearing and distance data for one LOP.
virtual SDKResult SDK_CALLTYPE GetVesselDataset(const DatasetID &dsid, IVesselDataset **vessel_dataset)=0
Returns the pointer to the IVesselDataset interface associated with the Vessel dataset specified by t...
Describes the own ship devices configuration.
@ kPosFixTechnique_None
Position fixing impossible.
Definition: vessels_interface.h:133
@ kPosFixTechnique_Fix
Fix available.
Definition: vessels_interface.h:137
Position fixing.
Definition: vessels_interface.h:152
Base interface for all SDK interfaces.
Definition: sdk_component_interface.h:41
This class wraps the SDKAny type.
Definition: sdk_any_handler.h:32
virtual SDKResult SDK_CALLTYPE GetAttributeValue(SDKUInt32 id, SDKAny &value)=0
Gets the value of the specified vessel attribute.
ClassCode AttributeClassCode
Attribute class code type.
Definition: gdb_const.h:247
SDK_END_NAMESPACE typedef SDKInt64 SDKTime
Milliseconds from Unix epoch.
Definition: base_types.h:56
@ kFixAdvice_Unknown
not known what to do
Definition: vessels_interface.h:144
SDK return values synonyms in the sdk namespace.
PosFixTechnique
Position fixing technique (sorting for reliability, from worst to best).
Definition: vessels_interface.h:131
FWD_DECL_INTERFACE(ILWEParserWrapper)
Provides a wrapper around the message parser to get, add or remove the.
virtual SDKResult SDK_CALLTYPE AddDistance(const SDKTime &time, const SDKGeoPoint &pos_from, double distance, const SDKGeoPoint &curr_pos, double distance_error, SDKUInt16 &ref_point_id)=0
Adds distance data for one LOP.
Wrappers for work with SDKAny instance.
@ kFixAdvice_Accept
Accept observed position.
Definition: vessels_interface.h:147