Provides access to members that provide information about a VesselDataset.
More...
#include <vessels_interface.h>
|
| 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...
|
| |
|
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.
|
| |
Provides access to members that provide information about a VesselDataset.
◆ SetOwnShipDeviceConfig()
Sets the own ship device configuration parameters.
- Parameters
-
| [in] | config | Pointer 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] | id | Vessel object identifier. |
| [out] | vessel | Address 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: