|
OpenCPN Partial API docs
|
AIS target information accessible to plugins. More...
#include <ocpn_plugin.h>
Public Attributes | |
| int | MMSI |
| Maritime Mobile Service Identity number. | |
| int | Class |
| AIS class (Class A: 0, Class B: 1) | |
| int | NavStatus |
| Navigational status (0-15 as per ITU-R M.1371) | |
| double | SOG |
| Speed over ground in knots. | |
| double | COG |
| Course over ground in degrees. | |
| double | HDG |
| Heading in degrees true. | |
| double | Lon |
| Longitude in decimal degrees. | |
| double | Lat |
| Latitude in decimal degrees. | |
| int | ROTAIS |
| Rate of turn as indicated in AIS message. | |
| char | CallSign [8] |
| Call sign, includes NULL terminator. | |
| char | ShipName [21] |
| Ship name, includes NULL terminator. | |
| unsigned char | ShipType |
| Ship type as per ITU-R M.1371. | |
| int | IMO |
| IMO ship identification number. | |
| double | Range_NM |
| Range to target in nautical miles. | |
| double | Brg |
| Bearing to target in degrees true. | |
| bool | bCPA_Valid |
| True if CPA calculation is valid. | |
| double | TCPA |
| Time to Closest Point of Approach in minutes. | |
| double | CPA |
| Closest Point of Approach in nautical miles. | |
| plugin_ais_alarm_type | alarm_state |
| Current alarm state for this target. | |
AIS target information accessible to plugins.
Definition at line 386 of file ocpn_plugin.h.
| plugin_ais_alarm_type PlugIn_AIS_Target::alarm_state |
Current alarm state for this target.
Definition at line 410 of file ocpn_plugin.h.
| bool PlugIn_AIS_Target::bCPA_Valid |
True if CPA calculation is valid.
Definition at line 406 of file ocpn_plugin.h.
| double PlugIn_AIS_Target::Brg |
Bearing to target in degrees true.
Definition at line 403 of file ocpn_plugin.h.
| char PlugIn_AIS_Target::CallSign[8] |
Call sign, includes NULL terminator.
Definition at line 397 of file ocpn_plugin.h.
| int PlugIn_AIS_Target::Class |
AIS class (Class A: 0, Class B: 1)
Definition at line 389 of file ocpn_plugin.h.
| double PlugIn_AIS_Target::COG |
Course over ground in degrees.
Definition at line 392 of file ocpn_plugin.h.
| double PlugIn_AIS_Target::CPA |
Closest Point of Approach in nautical miles.
Definition at line 408 of file ocpn_plugin.h.
| double PlugIn_AIS_Target::HDG |
Heading in degrees true.
Definition at line 393 of file ocpn_plugin.h.
| int PlugIn_AIS_Target::IMO |
IMO ship identification number.
Definition at line 400 of file ocpn_plugin.h.
| double PlugIn_AIS_Target::Lat |
Latitude in decimal degrees.
Definition at line 395 of file ocpn_plugin.h.
| double PlugIn_AIS_Target::Lon |
Longitude in decimal degrees.
Definition at line 394 of file ocpn_plugin.h.
| int PlugIn_AIS_Target::MMSI |
Maritime Mobile Service Identity number.
Definition at line 388 of file ocpn_plugin.h.
| int PlugIn_AIS_Target::NavStatus |
Navigational status (0-15 as per ITU-R M.1371)
Definition at line 390 of file ocpn_plugin.h.
| double PlugIn_AIS_Target::Range_NM |
Range to target in nautical miles.
Definition at line 402 of file ocpn_plugin.h.
| int PlugIn_AIS_Target::ROTAIS |
Rate of turn as indicated in AIS message.
Definition at line 396 of file ocpn_plugin.h.
| char PlugIn_AIS_Target::ShipName[21] |
Ship name, includes NULL terminator.
Definition at line 398 of file ocpn_plugin.h.
| unsigned char PlugIn_AIS_Target::ShipType |
Ship type as per ITU-R M.1371.
Definition at line 399 of file ocpn_plugin.h.
| double PlugIn_AIS_Target::SOG |
Speed over ground in knots.
Definition at line 391 of file ocpn_plugin.h.
| double PlugIn_AIS_Target::TCPA |
Time to Closest Point of Approach in minutes.
Definition at line 407 of file ocpn_plugin.h.