 |
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_OWNSHIP_DEVICE_CONFIG_INTERFACE_H_
10 #define SDK_ECDISLAYER_OWNSHIP_DEVICE_CONFIG_INTERFACE_H_
20 SDK_VESSELS_BEGIN_NAMESPACE
55 kOwnShipDeviceConfig_FirstValue = 0,
84 kOwnShipDeviceConfig_LastValue,
105 SDKUInt32 device,
double& x,
double& y)
const throw() = 0;
114 SDKUInt32 device,
double x,
double y)
throw() = 0;
123 SDKUInt32 device,
double& x,
double& y)
const throw() = 0;
131 SDKUInt32 device,
double& z)
const throw() = 0;
139 SDKUInt32 device,
double z)
throw() = 0;
149 SDKUInt32 error_type,
150 double& error_val)
const throw() = 0;
160 SDKUInt32 error_type,
161 double error_val)
throw() = 0;
173 SDKString* browse_name)
const throw() = 0;
180 SDK_VESSELS_END_NAMESPACE
182 #endif // SDK_ECDISLAYER_OWNSHIP_DEVICE_CONFIG_INTERFACE_H_
@ kOwnShipDeviceConfig_POS3
position sensor 3
Definition: ownship_device_config_interface.h:63
Defines constants for Own Ship.
@ kOwnShipDeviceConfig_LastPosDevice
Last position sensor.
Definition: ownship_device_config_interface.h:65
virtual SDKResult SDK_CALLTYPE GetDevicePosition(SDKUInt32 device, double &x, double &y) const =0
Returns relative position of the specified device in meters.
Defines Vessels constants.
@ kOwnShipDeviceConfig_ECHO
echo sounder
Definition: ownship_device_config_interface.h:78
@ kOwnShipDeviceConfig_CS
Conning station.
Definition: ownship_device_config_interface.h:57
@ kOwnShipDeviceConfig_LastRadar
Last radar.
Definition: ownship_device_config_interface.h:70
@ kOwnShipDeviceConfig_POS2
position sensor 2
Definition: ownship_device_config_interface.h:62
@ kOwnShipDeviceConfig_RADAR1
radar 1
Definition: ownship_device_config_interface.h:67
@ kOwnShipDeviceConfig_SONAR3
sonar 3
Definition: ownship_device_config_interface.h:74
@ kOwnShipDeviceConfig_SONAR1
sonar 1
Definition: ownship_device_config_interface.h:72
@ kOwnShipDeviceConfig_POS1
position sensor 1
Definition: ownship_device_config_interface.h:61
@ kOwnShipDeviceConfig_ANCHOR1
anchor 1
Definition: ownship_device_config_interface.h:81
@ kOwnShipDeviceConfig_SONAR2
sonar 2
Definition: ownship_device_config_interface.h:73
Object generic properties interface.
OwnShipDeviceConfig
Own ship device configuration.
Definition: ownship_device_config_interface.h:54
@ kOwnShipDeviceConfig_POS_SECONDARY
secondary position sensor
Definition: ownship_device_config_interface.h:59
@ kOwnShipDeviceConfig_RADAR3
radar 3
Definition: ownship_device_config_interface.h:69
@ kOwnShipDeviceConfig_BEARING_STARBOARD
starboard bearing device
Definition: ownship_device_config_interface.h:77
OwnShipDeviceError
Own ship device error.
Definition: ownship_device_config_interface.h:89
SDKInt32 SDKResult
Type of all error or return codes which SDK functions can end with.
Definition: sdk_results.h:17
@ kOwnShipDeviceError_Distance
Distance error.
Definition: ownship_device_config_interface.h:91
Manages the own ship configuration properties.
Definition: ownship_device_config_interface.h:96
virtual SDKResult SDK_CALLTYPE GetDeviceZ(SDKUInt32 device, double &z) const =0
Returns Z coordinate of the specified device in meters.
Common base SDK interfaces.
@ kOwnShipDeviceConfig_FirstAnchor
First anchor.
Definition: ownship_device_config_interface.h:80
virtual SDKResult SDK_CALLTYPE SetDevicePosition(SDKUInt32 device, double x, double y)=0
Sets relative position of the specified device in meters.
@ kOwnShipDeviceConfig_FirstPosDevice
First position sensor.
Definition: ownship_device_config_interface.h:60
@ kOwnShipDeviceConfig_LastAnchor
Last anchor.
Definition: ownship_device_config_interface.h:82
Base interface for all SDK interfaces.
Definition: sdk_component_interface.h:41
virtual SDKResult SDK_CALLTYPE SetDeviceError(SDKUInt32 device, SDKUInt32 error_type, double error_val)=0
Sets device error.
virtual SDKResult SDK_CALLTYPE GetDeviceError(SDKUInt32 device, SDKUInt32 error_type, double &error_val) const =0
Returns device error.
@ kOwnShipDeviceConfig_POS4
position sensor 4
Definition: ownship_device_config_interface.h:64
@ kOwnShipDeviceConfig_RADAR2
radar 2
Definition: ownship_device_config_interface.h:68
@ kOwnShipDeviceConfig_POS_PRIMARY
primary position sensor
Definition: ownship_device_config_interface.h:58
virtual SDKResult SDK_CALLTYPE SetDeviceZ(SDKUInt32 device, double z)=0
Sets Z coordinate of the specified device in meters.
@ kOwnShipDeviceConfig_FirstRadar
First radar.
Definition: ownship_device_config_interface.h:66
virtual SDKResult SDK_CALLTYPE GetDeviceGeoPosition(SDKUInt32 device, double &x, double &y) const =0
Returns geographic position of the specified device.
@ kOwnShipDeviceError_Angle
Angle error.
Definition: ownship_device_config_interface.h:90
@ kOwnShipDeviceConfig_BEARING_PORT
port bearing device (direction finder)
Definition: ownship_device_config_interface.h:76
@ kOwnShipDeviceConfig_LastSonar
Last sonar.
Definition: ownship_device_config_interface.h:75
FWD_DECL_INTERFACE(ILWEParserWrapper)
Provides a wrapper around the message parser to get, add or remove the.
virtual SDKResult SDK_CALLTYPE GetDeviceName(SDKUInt32 device, SDKString *name, SDKString *browse_name) const =0
Returns device browse name.
@ kOwnShipDeviceConfig_FirstSonar
First sonar.
Definition: ownship_device_config_interface.h:71