|
OpenCPN Partial API docs
|
Implement various ocpn_plugin.h methods. More...
#include <setjmp.h>#include <wx/event.h>#include <wx/jsonval.h>#include <wx/jsonreader.h>#include <wx/jsonwriter.h>#include "model/comm_appmsg.h"#include "model/comm_navmsg_bus.h"#include "model/gui.h"#include "model/nmea_log.h"#include "model/plugin_comm.h"#include "model/plugin_loader.h"#include "model/ocpn_utils.h"#include "ocpn_plugin.h"Go to the source code of this file.
Functions | |
| void | SendMessageToAllPlugins (const wxString &message_id, const wxString &message_body) |
| void | SendJSONMessageToAllPlugins (const wxString &message_id, wxJSONValue v) |
| void | SendAISSentenceToAllPlugIns (const wxString &sentence) |
| void | SendPositionFixToAllPlugIns (GenericPosDatEx *ppos) |
| void | SendActiveLegInfoToAllPlugIns (const ActiveLegDat *leg_info) |
| bool | SendMouseEventToPlugins (wxMouseEvent &event) |
| bool | SendKeyEventToPlugins (wxKeyEvent &event) |
| void | SendPreShutdownHookToPlugins () |
| void | SendCursorLatLonToAllPlugIns (double lat, double lon) |
| void | SendNMEASentenceToAllPlugIns (const wxString &sentence) |
| Distribute a NMEA 0183 sentence to all plugins that have registered interest by setting the WANTS_NMEA_SENTENCES capability flag. | |
| int | GetJSONMessageTargetCount () |
| void | SendVectorChartObjectInfo (const wxString &chart, const wxString &feature, const wxString &objname, double &lat, double &lon, double &scale, int &nativescale) |
Implement various ocpn_plugin.h methods.
Definition in file plugin_comm.cpp.
| int GetJSONMessageTargetCount | ( | ) |
Definition at line 431 of file plugin_comm.cpp.
| void SendActiveLegInfoToAllPlugIns | ( | const ActiveLegDat * | leg_info | ) |
Definition at line 242 of file plugin_comm.cpp.
| void SendAISSentenceToAllPlugIns | ( | const wxString & | sentence | ) |
Definition at line 160 of file plugin_comm.cpp.
| void SendCursorLatLonToAllPlugIns | ( | double | lat, |
| double | lon | ||
| ) |
Definition at line 368 of file plugin_comm.cpp.
| void SendJSONMessageToAllPlugins | ( | const wxString & | message_id, |
| wxJSONValue | v | ||
| ) |
Definition at line 148 of file plugin_comm.cpp.
| bool SendKeyEventToPlugins | ( | wxKeyEvent & | event | ) |
Definition at line 313 of file plugin_comm.cpp.
| void SendMessageToAllPlugins | ( | const wxString & | message_id, |
| const wxString & | message_body | ||
| ) |
Definition at line 95 of file plugin_comm.cpp.
| bool SendMouseEventToPlugins | ( | wxMouseEvent & | event | ) |
Definition at line 282 of file plugin_comm.cpp.
| void SendNMEASentenceToAllPlugIns | ( | const wxString & | sentence | ) |
Distribute a NMEA 0183 sentence to all plugins that have registered interest by setting the WANTS_NMEA_SENTENCES capability flag.
The sentence will only be sent to plugins that:
| sentence | A complete NMEA 0183 sentence including delimiters and checksum. |
Definition at line 382 of file plugin_comm.cpp.
| void SendPositionFixToAllPlugIns | ( | GenericPosDatEx * | ppos | ) |
Definition at line 176 of file plugin_comm.cpp.
| void SendPreShutdownHookToPlugins | ( | ) |
Definition at line 346 of file plugin_comm.cpp.
| void SendVectorChartObjectInfo | ( | const wxString & | chart, |
| const wxString & | feature, | ||
| const wxString & | objname, | ||
| double & | lat, | ||
| double & | lon, | ||
| double & | scale, | ||
| int & | nativescale | ||
| ) |
Definition at line 443 of file plugin_comm.cpp.