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 327 of file ocpn_plugin.h.
plugin_ais_alarm_type PlugIn_AIS_Target::alarm_state |
Current alarm state for this target.
Definition at line 351 of file ocpn_plugin.h.
bool PlugIn_AIS_Target::bCPA_Valid |
True if CPA calculation is valid.
Definition at line 347 of file ocpn_plugin.h.
double PlugIn_AIS_Target::Brg |
Bearing to target in degrees true.
Definition at line 344 of file ocpn_plugin.h.
char PlugIn_AIS_Target::CallSign[8] |
Call sign, includes NULL terminator.
Definition at line 338 of file ocpn_plugin.h.
int PlugIn_AIS_Target::Class |
AIS class (Class A: 0, Class B: 1)
Definition at line 330 of file ocpn_plugin.h.
double PlugIn_AIS_Target::COG |
Course over ground in degrees.
Definition at line 333 of file ocpn_plugin.h.
double PlugIn_AIS_Target::CPA |
Closest Point of Approach in nautical miles.
Definition at line 349 of file ocpn_plugin.h.
double PlugIn_AIS_Target::HDG |
Heading in degrees true.
Definition at line 334 of file ocpn_plugin.h.
int PlugIn_AIS_Target::IMO |
IMO ship identification number.
Definition at line 341 of file ocpn_plugin.h.
double PlugIn_AIS_Target::Lat |
Latitude in decimal degrees.
Definition at line 336 of file ocpn_plugin.h.
double PlugIn_AIS_Target::Lon |
Longitude in decimal degrees.
Definition at line 335 of file ocpn_plugin.h.
int PlugIn_AIS_Target::MMSI |
Maritime Mobile Service Identity number.
Definition at line 329 of file ocpn_plugin.h.
int PlugIn_AIS_Target::NavStatus |
Navigational status (0-15 as per ITU-R M.1371)
Definition at line 331 of file ocpn_plugin.h.
double PlugIn_AIS_Target::Range_NM |
Range to target in nautical miles.
Definition at line 343 of file ocpn_plugin.h.
int PlugIn_AIS_Target::ROTAIS |
Rate of turn as indicated in AIS message.
Definition at line 337 of file ocpn_plugin.h.
char PlugIn_AIS_Target::ShipName[21] |
Ship name, includes NULL terminator.
Definition at line 339 of file ocpn_plugin.h.
unsigned char PlugIn_AIS_Target::ShipType |
Ship type as per ITU-R M.1371.
Definition at line 340 of file ocpn_plugin.h.
double PlugIn_AIS_Target::SOG |
Speed over ground in knots.
Definition at line 332 of file ocpn_plugin.h.
double PlugIn_AIS_Target::TCPA |
Time to Closest Point of Approach in minutes.
Definition at line 348 of file ocpn_plugin.h.