 |
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_ROUTE_CALCULATOR_INTERFACE_H_
10 #define SDK_ROUTE_CALCULATOR_INTERFACE_H_
18 SDK_ECDISLAYER_BEGIN_NAMESPACE
27 kRouteCalculatorParameter_DefaultSpeed = 0
36 const sdk::gdb::routes::IRouteSP& route,
37 const ISDKParametersSP& parameters)
throw() = 0;
41 const ISDKParametersSP& input_parameters,
43 SDKAny& data)
const throw() = 0;
53 if (ANY_IS_EMPTY(&value))
62 SDK_DECLARE_IID(IRouteCalculator)
66 SDK_ECDISLAYER_END_NAMESPACE
68 #endif // SDK_ROUTE_CALCULATOR_INTERFACE_H_
Route calculator interface.
Definition: route_calculator_interface.h:32
static const SDKResult kSDKResult_Succeeded
Operation completed successfully.
Definition: sdk_results.h:22
The ecdislayer constants.
SDKInt32 SDKResult
Type of all error or return codes which SDK functions can end with.
Definition: sdk_results.h:17
Common base SDK interfaces.
#define SDK_FAILED(res)
Checks failed result.
Definition: sdk_results_enum.h:69
virtual SDKResult SDK_CALLTYPE GetRouteData(const ISDKParametersSP &input_parameters, VoyageProperties voyage_property, SDKAny &data) const =0
Returns calculated data.
Base interface for all SDK interfaces.
Definition: sdk_component_interface.h:41
virtual SDKResult SDK_CALLTYPE Initialize(const sdk::gdb::routes::IRouteSP &route, const ISDKParametersSP ¶meters)=0
Initializes calculator with a route.
static const SDKResult kSDKResult_NotExist
Something does not exist.
Definition: sdk_results.h:79
RouteCalculatorParametersEnum
Route calculator parameters.
Definition: route_calculator_interface.h:26
static const SDKResult kSDKResult_InvalidArgument
Wrong argument passed to function.
Definition: sdk_results.h:55
SDKResult GetRouteDataT(const ISDKParametersSP &input_parameters, VoyageProperties voyage_property, T &out_value) const
Returns calculated data.
Definition: route_calculator_interface.h:47
FWD_DECL_INTERFACE(ILWEParserWrapper)
Provides a wrapper around the message parser to get, add or remove the.
Definition of the Universal Unique Identifier.
VoyageProperties
Voyage properties.
Definition: voyage_properties.h:20