NAVTOR SDK  v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
IVesselDataset Class Referenceabstract

Provides access to members that provide information about a VesselDataset. More...

#include <vessels_interface.h>

Inheritance diagram for IVesselDataset:
ISDKComponent IAISTargetsDataset IOwnShipDataset IRadarSonarTargetsDataset

Public Member Functions

virtual SDKResult SDK_CALLTYPE SetOwnShipDeviceConfig (IOwnShipDeviceConfig *config)=0 throw ()
 Sets the own ship device configuration parameters. More...
 
virtual SDKResult SDK_CALLTYPE GetVessel (const SDKAny &id, IVessel **vessel)=0 throw ()
 Returns the pointer to the IVessel interface associated with the Vessel object specified by object id. More...
 
- Public Member Functions inherited from ISDKComponent
virtual SDKAtomicRefCount SDK_CALLTYPE AddRef () const =0 throw ()
 Increments the reference count for an interface on a component.

 
virtual SDKAtomicRefCount SDK_CALLTYPE Release () const =0 throw ()
 Decrements the reference count for an interface on a component.
 
virtual SDKResult SDK_CALLTYPE GetInterface (const InterfaceId &id, void **obj_ptr)=0 throw ()
 Returns pointers to the supported interfaces on a component.
 
template<typename _Itf >
SDKResult GetInterface (_Itf **obj_ptr) throw ()
 Returns pointers to the supported interfaces on a component.
 

Detailed Description

Provides access to members that provide information about a VesselDataset.

Member Function Documentation

◆ SetOwnShipDeviceConfig()

virtual SDKResult SDK_CALLTYPE SetOwnShipDeviceConfig ( IOwnShipDeviceConfig *  config)
throw (
)
pure virtual

Sets the own ship device configuration parameters.

Parameters
[in]configPointer to the IOwnShipDeviceConfig interface associated with the own ship device configurations object.
Returns
kSDKResult_Succeeded

◆ GetVessel()

virtual SDKResult SDK_CALLTYPE GetVessel ( const SDKAny &  id,
IVessel **  vessel 
)
throw (
)
pure virtual

Returns the pointer to the IVessel interface associated with the Vessel object specified by object id.

Parameters
[in]idVessel object identifier.
[out]vesselAddress of a variable that receives the pointer to the IVessel interface associated with the specified vessel.
Returns
kSDKResult_Succeeded
kSDKResult_NotExist if there is no vessel with the specified ID.

The documentation for this class was generated from the following file: