 |
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_ECDIS_RADAR_SONAR_TARGETS_INTERFACE_H_
10 #define SDK_ECDIS_RADAR_SONAR_TARGETS_INTERFACE_H_
27 SDK_VESSELS_BEGIN_NAMESPACE
45 {
return target_foid | 0x8000000000000000; }
52 {
return past_track_foid & ~0x8000000000000000; }
69 foid |= target_number;
77 kRadarSonarTargetsWksProperty_IgnoreTargetsInAcquisitionState,
98 IRadarSonarTargetsDatasetSP& targets_dataset)
throw() = 0;
103 IRadarSonarTargetSP& target)
const throw() = 0;
107 IRadarSonarTargetSP& target)
const throw() = 0;
113 IRadarSonarTargetPastTrackSP& target_past_track)
const throw() = 0;
117 const sdk::gdb::ObjectID& target_oid,
118 IRadarSonarTargetPastTrackSP& target_past_track)
const throw() = 0;
127 const sdk::gdb::ObjectID& oid)
throw() = 0;
131 const SDK_VESSELS_NAMESPACE::IOwnShipDatasetSP& own_ship_ds)
throw() = 0;
135 const IRadarSonarTargetsManagerSP& manager)
throw() = 0;
138 IRadarSonarTargetsManagerSP& manager)
const throw() = 0;
142 const IAISTargetsWorkspaceSP& ais_targets_database)
throw() = 0;
145 IAISTargetsWorkspaceSP& ais_targets_database)
const throw() = 0;
165 const SDK_NMEA_NAMESPACE::IParsedNMEASentenceDataSP& parsed_nmea_data,
166 IUpdatedRadarSonarTargetsSP& updated_targets)
throw() = 0;
172 IUpdatedRadarSonarTargetsSP& updated_targets)
throw() = 0;
177 IUpdatedRadarSonarTargetsSP& updated_targets)
throw() = 0;
181 IRadarSonarTargetSP& target)
const throw() = 0;
184 IRadarSonarTargetSP& target)
const throw() = 0;
189 IRadarSonarTargetPastTrackSP& target_past_track)
const throw() = 0;
192 const sdk::gdb::ObjectID& target_oid,
193 IRadarSonarTargetPastTrackSP& target_past_track)
const throw() = 0;
197 IRadarSonarTargetsCollectionSP& targets_collection)
const throw() = 0;
204 const sdk::gdb::ObjectID& oid)
throw() = 0;
208 const SDK_VESSELS_NAMESPACE::IOwnShipDatasetSP& own_ship_ds)
throw() = 0;
211 SDK_VESSELS_NAMESPACE::IOwnShipDatasetSP& own_ship_ds)
const throw() = 0;
229 IUpdatedRadarSonarTargetsSP& updated_targets)
throw() = 0;
245 virtual SDKResult SDK_CALLTYPE EditTarget(SDKUInt32 target_number,
247 IRadarSonarTargetEditSP& target_edit)
throw() = 0;
264 virtual SDKResult SDK_CALLTYPE GetTargetPosition(
268 virtual SDKResult SDK_CALLTYPE ResetPastTrack() throw() = 0;
283 virtual SDKResult SetTargetAttributeValue(
301 virtual SDKResult SDK_CALLTYPE GetVisiblePastTrack(
302 const SDKUInt32& past_track_interval,
const SDKUInt32& past_track_length,
303 sdk::geometry::IPointCollectionSP& past_track)
throw() = 0;
306 virtual SDKResult SDK_CALLTYPE ResetPastTrack() throw() = 0;
319 virtual SDKResult SDK_CALLTYPE Next(IRadarSonarTargetSP& target)
const throw() = 0;
322 virtual SDKResult SDK_CALLTYPE Reset()
throw() = 0;
336 SDKUInt32& targets_count)
const throw() = 0;
340 IRadarSonarTargetSP& target)
const throw() = 0;
347 SDK_VESSELS_END_NAMESPACE
349 #endif // SDK_ECDIS_RADAR_SONAR_TARGETS_INTERFACE_H_
A container for parsed NMEA sentence(s) data fields.
virtual SDKResult SDK_CALLTYPE OwnShipParametersChanged(IUpdatedRadarSonarTargetsSP &updated_targets)=0
Notification about own ship parameters changed (position/COG/SOG etc) This will initiate the status/a...
virtual SDKResult SDK_CALLTYPE ResetTargetsPastTrack()=0
Resets past track for all of targets.
A list of SDK error/return results.
Describes interfaces that manages a geometry objects.
Defines Vessels constants.
virtual SDKResult SDK_CALLTYPE RemoveTarget(const RadarSonarTargetFOID &foid)=0
Removes one target entry from dataset by target's FOID Looks through all of datasets in workspace.
Set of updated target's.
Definition: updated_targets_interface.h:46
Single RadarSonar target editor.
Definition: radar_sonar_targets_interface.h:276
virtual SDKResult SDK_CALLTYPE GetTargets(IRadarSonarTargetsCollectionSP &targets_collection) const =0
Returns the radar/sonar targets collection/enumerator.
virtual SDKResult SDK_CALLTYPE GetTargetPastTrack(const RadarSonarTargetFOID &target_foid, IRadarSonarTargetPastTrackSP &target_past_track) const =0
Returns the target past track record by Radar/Sonar target FOID Looks through all of datasets in work...
SDKUInt32 TargetAlarmIDs
AIS/Radar/Sonar target alarm IDs (see the TargetAlarmType description below)
Definition: vessels_const.h:60
Updated targets interface.
Provides access to members that manage the vessels workspace.
Definition: vessels_interface.h:32
virtual SDKResult SDK_CALLTYPE GetTargetsDataset(const DatasetID &dsid, IRadarSonarTargetsDatasetSP &targets_dataset)=0
Returns appropriate targets dataset instance.
OwnShipDeviceConfig
Own ship device configuration.
Definition: ownship_device_config_interface.h:54
Provides access to members that provide information about a VesselDataset.
Definition: vessels_interface.h:68
virtual SDKResult SDK_CALLTYPE SetOwnShip(const SDK_VESSELS_NAMESPACE::IOwnShipDatasetSP &own_ship_ds)=0
Sets the own ship dataset instance.
RadarSonarTargetFOID MakeRadarSonarTargetFOID(SDKUInt32 target_number, const sdk::gdb::vessels::OwnShipDeviceConfig device_id)
Generates FOID for target from target number/source device.
Definition: radar_sonar_targets_interface.h:64
Radar/Sonar targets dataset.
Definition: radar_sonar_targets_interface.h:154
An interface for high-level managing the targets over the database Allows to controls the target's po...
Definition: radar_sonar_targets_manager_interface.h:47
virtual SDKResult SDK_CALLTYPE SetAISDatabase(const IAISTargetsWorkspaceSP &ais_targets_database)=0
Sets AIS database instance for associated targets support.
RadarSonarTargetsWksPropertiesID
Set of Radar/Sonar targets workspace properties.
Definition: radar_sonar_targets_interface.h:75
The ecdislayer constants.
SDKInt32 SDKResult
Type of all error or return codes which SDK functions can end with.
Definition: sdk_results.h:17
RadarSonarTargetFOID TargetFoid2PastTrackFoid(const RadarSonarTargetFOID &target_foid)
Converts Radar/Sonar target FOID to appropriate Radar/Sonar target past track FOID.
Definition: radar_sonar_targets_interface.h:43
virtual SDKResult SDK_CALLTYPE GetManager(IRadarSonarTargetsManagerSP &manager) const =0
Returns current instance of targets manager.
virtual SDKResult SDK_CALLTYPE GetSelectedTarget(RadarSonarTargetFOID &target_foid)=0
Returns selected target FOID Implementation depends of currently used targets manager.
Geo point in degree units.
Definition: geometry_base_types.h:1727
Single Radar/Sonar target.
Definition: radar_sonar_targets_interface.h:256
virtual SDKResult SDK_CALLTYPE SetOwnShip(const SDK_VESSELS_NAMESPACE::IOwnShipDatasetSP &own_ship_ds)=0
Sets the own ship dataset instance.
Radar/Sonar targets collection.
Definition: radar_sonar_targets_interface.h:331
Common base SDK interfaces.
Common interface for all of vessel objects.
Definition: vessels_interface.h:96
virtual SDKResult SDK_CALLTYPE AcknowledgeTargetAlarms(const RadarSonarTargetFOID &target_foid, const TargetAlarmIDs &alarms, IUpdatedRadarSonarTargetsSP &updated_targets)=0
Notification about some of target's alarms were acknowledged.
virtual SDKResult SDK_CALLTYPE GetTarget(const RadarSonarTargetFOID &foid, IRadarSonarTargetSP &target) const =0
Returns the target record by it's FOID Looks through all of datasets in workspace.
virtual SDKResult SDK_CALLTYPE UpdateTargetData(const SDK_VESSELS_NAMESPACE::OwnShipDeviceConfig &source_device, const SDK_NMEA_NAMESPACE::IParsedNMEASentenceDataSP &parsed_nmea_data, IUpdatedRadarSonarTargetsSP &updated_targets)=0
Updates Radar/Sonar target information or creates new target Valid source device is one of Radar/Sona...
RadarSonarTargetFOID PastTrackFoid2TargetFoid(const RadarSonarTargetFOID &past_track_foid)
Converts Radar/Sonar target past track FOID to appropriate Radar/Sonar target FOID.
Definition: radar_sonar_targets_interface.h:50
Describes the own ship devices configuration.
Own Ship dataset/object interface.
Radar/Sonar targets workspace.
Definition: radar_sonar_targets_interface.h:93
AIS targets dataset.
Definition: radar_sonar_targets_interface.h:241
Base interface for all SDK interfaces.
Definition: sdk_component_interface.h:41
Set of updated radar/sonar target's.
Definition: radar_sonar_targets_interface.h:82
virtual SDKResult SDK_CALLTYPE SelectTarget(const RadarSonarTargetFOID &target_foid)=0
Selects target in dataset Implementation depends of currently used targets manager.
ClassCode AttributeClassCode
Attribute class code type.
Definition: gdb_const.h:247
virtual SDKResult SDK_CALLTYPE RemoveTarget(const RadarSonarTargetFOID &foid)=0
Removes one target entry from dataset by target's FOID.
virtual SDKResult SDK_CALLTYPE SourceDeviceIsLost(const SDK_VESSELS_NAMESPACE::OwnShipDeviceConfig &source_device, IUpdatedRadarSonarTargetsSP &updated_targets)=0
Notification about source device is lost.
Set of specific for Radar/Sonar targets constants.
Single Radar/Sonar target past track.
Definition: radar_sonar_targets_interface.h:293
AIS targets workspace/dataset/target interface.
TargetFOID RadarSonarTargetFOID
Radar/Sonar target FOID definition.
Definition: radar_sonar_targets_const.h:34
virtual SDKResult SDK_CALLTYPE GetTarget(const RadarSonarTargetFOID &foid, IRadarSonarTargetSP &target) const =0
Returns the target record by it's FOID.
virtual SDKResult SDK_CALLTYPE SetManager(const IRadarSonarTargetsManagerSP &manager)=0
Sets new instance of targets manager.
virtual SDKResult SDK_CALLTYPE GetTargetPastTrack(const RadarSonarTargetFOID &target_foid, IRadarSonarTargetPastTrackSP &target_past_track) const =0
Returns the target past track record by Radar/Sonar target FOID.
FWD_DECL_INTERFACE(ILWEParserWrapper)
Provides a wrapper around the message parser to get, add or remove the.
virtual SDKResult SDK_CALLTYPE GetOwnShip(SDK_VESSELS_NAMESPACE::IOwnShipDatasetSP &own_ship_ds) const =0
Returns current own ship dataset instance.
Radar/Sonar targets enumerator.
Definition: radar_sonar_targets_interface.h:315
virtual SDKResult SDK_CALLTYPE GetAISDatabase(IAISTargetsWorkspaceSP &ais_targets_database) const =0
Returns current AIS database instance for associated targets support.