|
OpenCPN Partial API docs
|
Public Member Functions | |
| PlugInManager (MyFrame *parent) | |
| bool | RenderAllCanvasOverlayPlugIns (ocpnDC &dc, const ViewPort &vp, int canvasIndex, int priority) |
| bool | RenderAllGLCanvasOverlayPlugIns (wxGLContext *pcontext, const ViewPort &vp, int canvasIndex, int priority) |
| void | SendViewPortToRequestingPlugIns (ViewPort &vp) |
| void | PrepareAllPluginContextMenus () |
| void | NotifySetupOptions () |
| void | ClosePlugInPanel (const PlugInContainer *pic, int ix) |
| void | CloseAllPlugInPanels (int) |
| ArrayOfPlugInToolbarTools & | GetPluginToolbarToolArray () |
| int | AddToolbarTool (wxString label, wxBitmap *bitmap, wxBitmap *bmpRollover, wxItemKind kind, wxString shortHelp, wxString longHelp, wxObject *clientData, int position, int tool_sel, opencpn_plugin *pplugin) |
| void | RemoveToolbarTool (int tool_id) |
| void | SetToolbarToolViz (int tool_id, bool viz) |
| void | SetToolbarItemState (int tool_id, bool toggle) |
| void | SetToolbarItemBitmaps (int item, wxBitmap *bitmap, wxBitmap *bmpDisabled) |
| int | AddToolbarTool (wxString label, wxString SVGfile, wxString SVGRolloverfile, wxString SVGToggledfile, wxItemKind kind, wxString shortHelp, wxString longHelp, wxObject *clientData, int position, int tool_sel, opencpn_plugin *pplugin) |
| void | SetToolbarItemBitmaps (int item, wxString SVGfile, wxString SVGfileRollover, wxString SVGfileToggled) |
| opencpn_plugin * | FindToolOwner (const int id) |
| wxString | GetToolOwnerCommonName (const int id) |
| void | ShowDeferredBlacklistMessages () |
| ArrayOfPlugInMenuItems & | GetPluginContextMenuItemArray () |
| int | AddCanvasContextMenuItemPIM (wxMenuItem *pitem, opencpn_plugin *pplugin, const char *name="", bool is_extended=false) |
| void | RemoveCanvasContextMenuItem (int item, const char *name="") |
| void | SetCanvasContextMenuItemViz (int item, bool viz, const char *name="") |
| void | SetCanvasContextMenuItemGrey (int item, bool grey, const char *name="") |
| bool | UpDateChartDataTypes () |
| void | FinalizePluginLoadall () |
| bool | UpdateConfig () |
| void | SendResizeEventToAllPlugIns (int x, int y) |
| void | SetColorSchemeForAllPlugIns (ColorScheme cs) |
| void | NotifyAuiPlugIns (void) |
| bool | CallLateInit (void) |
| bool | IsAnyPlugInChartEnabled () |
| void | SendBaseConfigToAllPlugIns () |
| void | SendS52ConfigToAllPlugIns (bool bReconfig=false) |
| void | SendSKConfigToAllPlugIns () |
| void | UpdateManagedPlugins () |
| bool | CheckBlacklistedPlugin (const PluginMetadata plugin) |
| void | InitCommListeners (void) |
| void | HandleN0183 (std::shared_ptr< const Nmea0183Msg > n0183_msg) |
| Process incoming NMEA 0183 messages from the message bus. | |
| void | HandleSignalK (std::shared_ptr< const SignalkMsg > sK_msg) |
| Process incoming SignalK messages from the message bus. | |
| wxArrayString | GetPlugInChartClassNameArray (void) |
| ListOfPI_S57Obj * | GetPlugInObjRuleListAtLatLon (ChartPlugInWrapper *target, float zlat, float zlon, float SelectRadius, const ViewPort &vp) |
| wxString | CreateObjDescriptions (ChartPlugInWrapper *target, ListOfPI_S57Obj *rule_list) |
| wxString | GetLastError () |
| MyFrame * | GetParentFrame () |
| void | DimeWindow (wxWindow *win) |
| pluginUtilHandler * | GetUtilHandler () |
| void | SetListPanelPtr (PluginListPanel *ptr) |
| ListOfPI_S57Obj * | GetLightsObjRuleListVisibleAtLatLon (ChartPlugInWrapper *target, float zlat, float zlon, const ViewPort &vp) |
Definition at line 172 of file pluginmanager.h.
| PlugInManager::PlugInManager | ( | MyFrame * | parent | ) |
Definition at line 859 of file pluginmanager.cpp.
|
virtual |
Definition at line 925 of file pluginmanager.cpp.
| int PlugInManager::AddCanvasContextMenuItemPIM | ( | wxMenuItem * | pitem, |
| opencpn_plugin * | pplugin, | ||
| const char * | name = "", |
||
| bool | is_extended = false |
||
| ) |
Definition at line 1615 of file pluginmanager.cpp.
| int PlugInManager::AddToolbarTool | ( | wxString | label, |
| wxBitmap * | bitmap, | ||
| wxBitmap * | bmpRollover, | ||
| wxItemKind | kind, | ||
| wxString | shortHelp, | ||
| wxString | longHelp, | ||
| wxObject * | clientData, | ||
| int | position, | ||
| int | tool_sel, | ||
| opencpn_plugin * | pplugin | ||
| ) |
Definition at line 1822 of file pluginmanager.cpp.
| int PlugInManager::AddToolbarTool | ( | wxString | label, |
| wxString | SVGfile, | ||
| wxString | SVGRolloverfile, | ||
| wxString | SVGToggledfile, | ||
| wxItemKind | kind, | ||
| wxString | shortHelp, | ||
| wxString | longHelp, | ||
| wxObject * | clientData, | ||
| int | position, | ||
| int | tool_sel, | ||
| opencpn_plugin * | pplugin | ||
| ) |
Definition at line 1873 of file pluginmanager.cpp.
| bool PlugInManager::CallLateInit | ( | void | ) |
Definition at line 1091 of file pluginmanager.cpp.
| bool PlugInManager::CheckBlacklistedPlugin | ( | const PluginMetadata | plugin | ) |
Definition at line 1279 of file pluginmanager.cpp.
| void PlugInManager::CloseAllPlugInPanels | ( | int | ok_apply_cancel | ) |
Definition at line 1605 of file pluginmanager.cpp.
| void PlugInManager::ClosePlugInPanel | ( | const PlugInContainer * | pic, |
| int | ix | ||
| ) |
Definition at line 1593 of file pluginmanager.cpp.
| wxString PlugInManager::CreateObjDescriptions | ( | ChartPlugInWrapper * | target, |
| ListOfPI_S57Obj * | rule_list | ||
| ) |
Definition at line 4314 of file pluginmanager.cpp.
| void PlugInManager::FinalizePluginLoadall | ( | ) |
Definition at line 1215 of file pluginmanager.cpp.
| opencpn_plugin * PlugInManager::FindToolOwner | ( | const int | id | ) |
Definition at line 2016 of file pluginmanager.cpp.
| wxString PlugInManager::GetLastError | ( | ) |
Definition at line 2038 of file pluginmanager.cpp.
| ListOfPI_S57Obj * PlugInManager::GetLightsObjRuleListVisibleAtLatLon | ( | ChartPlugInWrapper * | target, |
| float | zlat, | ||
| float | zlon, | ||
| const ViewPort & | vp | ||
| ) |
Definition at line 1720 of file ocpn_plugin_gui.cpp.
|
inline |
Definition at line 272 of file pluginmanager.h.
| wxArrayString PlugInManager::GetPlugInChartClassNameArray | ( | void | ) |
Definition at line 2084 of file pluginmanager.cpp.
|
inline |
Definition at line 216 of file pluginmanager.h.
| ListOfPI_S57Obj * PlugInManager::GetPlugInObjRuleListAtLatLon | ( | ChartPlugInWrapper * | target, |
| float | zlat, | ||
| float | zlon, | ||
| float | SelectRadius, | ||
| const ViewPort & | vp | ||
| ) |
Definition at line 4288 of file pluginmanager.cpp.
|
inline |
Definition at line 190 of file pluginmanager.h.
| wxString PlugInManager::GetToolOwnerCommonName | ( | const int | id | ) |
Definition at line 2025 of file pluginmanager.cpp.
|
inline |
Definition at line 275 of file pluginmanager.h.
| void PlugInManager::HandleN0183 | ( | std::shared_ptr< const Nmea0183Msg > | n0183_msg | ) |
Process incoming NMEA 0183 messages from the message bus.
Filters messages based on their source configuration and distributes valid messages to all interested plugins.
| n0183_msg | Message container with NMEA 0183 sentence and metadata |
Definition at line 960 of file pluginmanager.cpp.
| void PlugInManager::HandleSignalK | ( | std::shared_ptr< const SignalkMsg > | sK_msg | ) |
Process incoming SignalK messages from the message bus.
Validates and forwards SignalK data to plugins that have registered interest in SignalK messages.
| sK_msg | Message container with SignalK data and metadata |
Definition at line 983 of file pluginmanager.cpp.
| void PlugInManager::InitCommListeners | ( | void | ) |
Definition at line 932 of file pluginmanager.cpp.
| bool PlugInManager::IsAnyPlugInChartEnabled | ( | ) |
Definition at line 1171 of file pluginmanager.cpp.
| void PlugInManager::NotifyAuiPlugIns | ( | void | ) |
Definition at line 1812 of file pluginmanager.cpp.
| void PlugInManager::NotifySetupOptions | ( | ) |
Definition at line 1585 of file pluginmanager.cpp.
| void PlugInManager::PrepareAllPluginContextMenus | ( | ) |
Definition at line 1693 of file pluginmanager.cpp.
| void PlugInManager::RemoveCanvasContextMenuItem | ( | int | item, |
| const char * | name = "" |
||
| ) |
Definition at line 1636 of file pluginmanager.cpp.
| void PlugInManager::RemoveToolbarTool | ( | int | tool_id | ) |
Definition at line 1916 of file pluginmanager.cpp.
| bool PlugInManager::RenderAllCanvasOverlayPlugIns | ( | ocpnDC & | dc, |
| const ViewPort & | vp, | ||
| int | canvasIndex, | ||
| int | priority | ||
| ) |
Definition at line 1311 of file pluginmanager.cpp.
| bool PlugInManager::RenderAllGLCanvasOverlayPlugIns | ( | wxGLContext * | pcontext, |
| const ViewPort & | vp, | ||
| int | canvasIndex, | ||
| int | priority | ||
| ) |
Definition at line 1490 of file pluginmanager.cpp.
| void PlugInManager::SendBaseConfigToAllPlugIns | ( | ) |
Definition at line 1732 of file pluginmanager.cpp.
| void PlugInManager::SendResizeEventToAllPlugIns | ( | int | x, |
| int | y | ||
| ) |
Definition at line 1675 of file pluginmanager.cpp.
| void PlugInManager::SendS52ConfigToAllPlugIns | ( | bool | bReconfig = false | ) |
Definition at line 1764 of file pluginmanager.cpp.
| void PlugInManager::SendSKConfigToAllPlugIns | ( | ) |
Definition at line 1722 of file pluginmanager.cpp.
| void PlugInManager::SendViewPortToRequestingPlugIns | ( | ViewPort & | vp | ) |
Definition at line 1568 of file pluginmanager.cpp.
| void PlugInManager::SetCanvasContextMenuItemGrey | ( | int | item, |
| bool | grey, | ||
| const char * | name = "" |
||
| ) |
Definition at line 1662 of file pluginmanager.cpp.
| void PlugInManager::SetCanvasContextMenuItemViz | ( | int | item, |
| bool | viz, | ||
| const char * | name = "" |
||
| ) |
Definition at line 1649 of file pluginmanager.cpp.
| void PlugInManager::SetColorSchemeForAllPlugIns | ( | ColorScheme | cs | ) |
Definition at line 1684 of file pluginmanager.cpp.
|
inline |
Definition at line 276 of file pluginmanager.h.
| void PlugInManager::SetToolbarItemBitmaps | ( | int | item, |
| wxBitmap * | bitmap, | ||
| wxBitmap * | bmpDisabled | ||
| ) |
Definition at line 1956 of file pluginmanager.cpp.
| void PlugInManager::SetToolbarItemBitmaps | ( | int | item, |
| wxString | SVGfile, | ||
| wxString | SVGfileRollover, | ||
| wxString | SVGfileToggled | ||
| ) |
Definition at line 1997 of file pluginmanager.cpp.
| void PlugInManager::SetToolbarItemState | ( | int | tool_id, |
| bool | toggle | ||
| ) |
Definition at line 1943 of file pluginmanager.cpp.
| void PlugInManager::SetToolbarToolViz | ( | int | tool_id, |
| bool | viz | ||
| ) |
Definition at line 1930 of file pluginmanager.cpp.
| void PlugInManager::ShowDeferredBlacklistMessages | ( | ) |
Definition at line 1275 of file pluginmanager.cpp.
| bool PlugInManager::UpDateChartDataTypes | ( | ) |
Definition at line 1194 of file pluginmanager.cpp.
| bool PlugInManager::UpdateConfig | ( | ) |
Definition at line 1256 of file pluginmanager.cpp.
| void PlugInManager::UpdateManagedPlugins | ( | ) |
Definition at line 1186 of file pluginmanager.cpp.