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

Provides access to members that provide information about a OwnShip dataset. More...

#include <ownship_interface.h>

Inheritance diagram for IOwnShipDataset:
IVesselDataset ISDKComponent

Public Member Functions

virtual SDKResult SDK_CALLTYPE GetOwnShipObject (SDKUInt64 id, IOwnShipObject **own_ship_object)=0 throw ()
 Returns the pointer to the IVessel interface associated with the Vessel object specified by id. More...
 
- Public Member Functions inherited from IVesselDataset
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 OwnShip dataset.

Member Function Documentation

◆ GetOwnShipObject()

virtual SDKResult SDK_CALLTYPE GetOwnShipObject ( SDKUInt64  id,
IOwnShipObject **  own_ship_object 
)
throw (
)
pure virtual

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

Parameters
[in]idA Vessel object identifier, see OwnShipObjectEnum.
[out]vesselAddress of a variable that receives the pointer to the IVessel interface associated with the Vessel object.

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