|
OpenCPN Partial API docs
|
Plugin waypoint class providing core waypoint/mark functionality. More...
#include <ocpn_plugin.h>
Public Member Functions | |
| PlugIn_Waypoint () | |
| Default constructor - creates waypoint at 0,0. | |
| PlugIn_Waypoint (double lat, double lon, const wxString &icon_ident, const wxString &wp_name, const wxString &GUID=_T("")) | |
| Creates a waypoint at specified position with icon and name. | |
Public Attributes | |
| double | m_lat |
| Latitude in decimal degrees. | |
| double | m_lon |
| Longitude in decimal degrees. | |
| wxString | m_GUID |
| Globally unique identifier. | |
| wxString | m_MarkName |
| Display name. | |
| wxString | m_MarkDescription |
| Optional description. | |
| wxDateTime | m_CreateTime |
| Creation timestamp. | |
| bool | m_IsVisible |
| Visibility state. | |
| wxString | m_IconName |
| Icon identifier. | |
| Plugin_HyperlinkList * | m_HyperlinkList |
| List of associated hyperlinks. | |
Plugin waypoint class providing core waypoint/mark functionality.
This class represents both standalone waypoints (marks) and route waypoints. Standalone waypoints appear independently on charts while route waypoints are connected as part of routes.
A waypoint may be:
Definition at line 2007 of file ocpn_plugin.h.
| PlugIn_Waypoint::PlugIn_Waypoint | ( | ) |
Default constructor - creates waypoint at 0,0.
Definition at line 786 of file ocpn_plugin_gui.cpp.
| PlugIn_Waypoint::PlugIn_Waypoint | ( | double | lat, |
| double | lon, | ||
| const wxString & | icon_ident, | ||
| const wxString & | wp_name, | ||
| const wxString & | GUID = _T("") ) |
Creates a waypoint at specified position with icon and name.
| lat | Latitude in decimal degrees |
| lon | Longitude in decimal degrees |
| icon_ident | Icon name/identifier |
| wp_name | Waypoint name |
| GUID | Optional globally unique identifier (empty for auto-generated) |
Definition at line 788 of file ocpn_plugin_gui.cpp.
| PlugIn_Waypoint::~PlugIn_Waypoint | ( | ) |
Definition at line 803 of file ocpn_plugin_gui.cpp.
| wxDateTime PlugIn_Waypoint::m_CreateTime |
Creation timestamp.
Definition at line 2031 of file ocpn_plugin.h.
| wxString PlugIn_Waypoint::m_GUID |
Globally unique identifier.
Definition at line 2028 of file ocpn_plugin.h.
| Plugin_HyperlinkList* PlugIn_Waypoint::m_HyperlinkList |
List of associated hyperlinks.
Definition at line 2035 of file ocpn_plugin.h.
| wxString PlugIn_Waypoint::m_IconName |
Icon identifier.
Definition at line 2033 of file ocpn_plugin.h.
| bool PlugIn_Waypoint::m_IsVisible |
Visibility state.
Definition at line 2032 of file ocpn_plugin.h.
| double PlugIn_Waypoint::m_lat |
Latitude in decimal degrees.
Definition at line 2026 of file ocpn_plugin.h.
| double PlugIn_Waypoint::m_lon |
Longitude in decimal degrees.
Definition at line 2027 of file ocpn_plugin.h.
| wxString PlugIn_Waypoint::m_MarkDescription |
Optional description.
Definition at line 2030 of file ocpn_plugin.h.
| wxString PlugIn_Waypoint::m_MarkName |
Display name.
Definition at line 2029 of file ocpn_plugin.h.