![]() |
NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
|
Radar/Sonar targets dataset. More...
#include <radar_sonar_targets_interface.h>
Public Member Functions | |
| virtual SDKResult SDK_CALLTYPE | UpdateTargetData (const SDK_VESSELS_NAMESPACE::OwnShipDeviceConfig &source_device, const SDK_NMEA_NAMESPACE::IParsedNMEASentenceDataSP &parsed_nmea_data, IUpdatedRadarSonarTargetsSP &updated_targets)=0 throw () |
| Updates Radar/Sonar target information or creates new target Valid source device is one of Radar/Sonar devices Valid source data is a result of INMEAParser::ParseNMEASentence method usage with parsed data of TLL/TTM/TTD/TLB NMEA sentence In case target with appropriate ID already exists, it's properties will be updated with new data, in case not - new target entry will be created. | |
| virtual SDKResult SDK_CALLTYPE | OwnShipParametersChanged (IUpdatedRadarSonarTargetsSP &updated_targets)=0 throw () |
| Notification about own ship parameters changed (position/COG/SOG etc) This will initiate the status/alarms updating procedures for all of targets, if target manager is set. | |
| virtual SDKResult SDK_CALLTYPE | SourceDeviceIsLost (const SDK_VESSELS_NAMESPACE::OwnShipDeviceConfig &source_device, IUpdatedRadarSonarTargetsSP &updated_targets)=0 throw () |
| Notification about source device is lost. | |
| virtual SDKResult SDK_CALLTYPE | GetTarget (const RadarSonarTargetFOID &foid, IRadarSonarTargetSP &target) const =0 throw () |
| Returns the target record by it's FOID. | |
| virtual SDKResult SDK_CALLTYPE | GetTarget (const sdk::gdb::ObjectID &oid, IRadarSonarTargetSP &target) const =0 throw () |
| Returns the target record by it's Object ID. | |
| virtual SDKResult SDK_CALLTYPE | GetTargetPastTrack (const RadarSonarTargetFOID &target_foid, IRadarSonarTargetPastTrackSP &target_past_track) const =0 throw () |
| Returns the target past track record by Radar/Sonar target FOID. | |
| virtual SDKResult SDK_CALLTYPE | GetTargetPastTrack (const sdk::gdb::ObjectID &target_oid, IRadarSonarTargetPastTrackSP &target_past_track) const =0 throw () |
| Returns the target past track record by Radar/Sonar target Object ID. | |
| virtual SDKResult SDK_CALLTYPE | GetTargets (IRadarSonarTargetsCollectionSP &targets_collection) const =0 throw () |
| Returns the radar/sonar targets collection/enumerator. | |
| virtual SDKResult SDK_CALLTYPE | RemoveTarget (const RadarSonarTargetFOID &foid)=0 throw () |
| Removes one target entry from dataset by target's FOID. | |
| virtual SDKResult SDK_CALLTYPE | RemoveTarget (const sdk::gdb::ObjectID &oid)=0 throw () |
| Removes one target entry from dataset by target's Object ID. | |
| virtual SDKResult SDK_CALLTYPE | SetOwnShip (const SDK_VESSELS_NAMESPACE::IOwnShipDatasetSP &own_ship_ds)=0 throw () |
| Sets the own ship dataset instance. | |
| virtual SDKResult SDK_CALLTYPE | GetOwnShip (SDK_VESSELS_NAMESPACE::IOwnShipDatasetSP &own_ship_ds) const =0 throw () |
| Returns current own ship dataset instance. | |
| virtual SDKResult SDK_CALLTYPE | SelectTarget (const RadarSonarTargetFOID &target_foid)=0 throw () |
| Selects target in dataset Implementation depends of currently used targets manager. More... | |
| virtual SDKResult SDK_CALLTYPE | GetSelectedTarget (RadarSonarTargetFOID &target_foid)=0 throw () |
| Returns selected target FOID Implementation depends of currently used targets manager. | |
| virtual SDKResult SDK_CALLTYPE | AcknowledgeTargetAlarms (const RadarSonarTargetFOID &target_foid, const TargetAlarmIDs &alarms, IUpdatedRadarSonarTargetsSP &updated_targets)=0 throw () |
| Notification about some of target's alarms were acknowledged. | |
| virtual SDKResult SDK_CALLTYPE | ResetTargetsPastTrack ()=0 throw () |
| Resets past track for all of targets. | |
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. | |
Radar/Sonar targets dataset.
|
pure virtual | ||||||||||||||
Selects target in dataset Implementation depends of currently used targets manager.
Following methods implementation depends of currently used targets manager If no target's manager defined, following methods should not be called, due they always will return error with logging