OpenCPN Partial API docs
PlugInManager Class Reference
Inheritance diagram for PlugInManager:

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 SendCursorLatLonToAllPlugIns (double lat, double lon)
 
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_pluginFindToolOwner (const int id)
 
wxString GetToolOwnerCommonName (const int id)
 
void ShowDeferredBlacklistMessages ()
 
ArrayOfPlugInMenuItems & GetPluginContextMenuItemArray ()
 
int AddCanvasContextMenuItem (wxMenuItem *pitem, opencpn_plugin *pplugin, const char *name="")
 
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="")
 
void SendPositionFixToAllPlugIns (GenericPosDatEx *ppos)
 
void SendActiveLegInfoToAllPlugIns (const ActiveLegDat *infos)
 
void SendAISSentenceToAllPlugIns (const wxString &sentence)
 
void SendJSONMessageToAllPlugins (const wxString &message_id, wxJSONValue v)
 
void SendMessageToAllPlugins (const wxString &message_id, const wxString &message_body)
 
bool UpDateChartDataTypes ()
 
void FinalizePluginLoadall ()
 
int GetJSONMessageTargetCount ()
 
bool UpdateConfig ()
 
void SendResizeEventToAllPlugIns (int x, int y)
 
void SetColorSchemeForAllPlugIns (ColorScheme cs)
 
void NotifyAuiPlugIns (void)
 
bool CallLateInit (void)
 
bool IsAnyPlugInChartEnabled ()
 
void SendVectorChartObjectInfo (const wxString &chart, const wxString &feature, const wxString &objname, double &lat, double &lon, double &scale, int &nativescale)
 
bool SendMouseEventToPlugins (wxMouseEvent &event)
 
bool SendKeyEventToPlugins (wxKeyEvent &event)
 
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)
 
void HandleSignalK (std::shared_ptr< const SignalkMsg > sK_msg)
 
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 ()
 
MyFrameGetParentFrame ()
 
void DimeWindow (wxWindow *win)
 
pluginUtilHandlerGetUtilHandler ()
 
void SetListPanelPtr (PluginListPanel *ptr)
 
ListOfPI_S57Obj * GetLightsObjRuleListVisibleAtLatLon (ChartPlugInWrapper *target, float zlat, float zlon, const ViewPort &vp)
 

Static Public Member Functions

static void SendNMEASentenceToAllPlugIns (const wxString &sentence)
 

Detailed Description

Definition at line 181 of file pluginmanager.h.


The documentation for this class was generated from the following files: