OpenCPN Partial API docs
OCPNPlatform Class Reference
Inheritance diagram for OCPNPlatform:
BasePlatform AbstractPlatform

Public Member Functions

bool startBluetoothScan ()
 
wxArrayString getBluetoothScanResults ()
 
bool stopBluetoothScan ()
 
void Initialize_2 (void)
 
void Initialize_3 (void)
 
void SetDefaultOptions (void)
 
void SetUpgradeOptions (wxString vString, wxString vStringConfig)
 
void applyExpertMode (bool mode)
 
virtual void ShowBusySpinner (void)
 
virtual void HideBusySpinner (void)
 
double getFontPointsperPixel (void)
 
wxSize getDisplaySize ()
 
double GetDisplaySizeMM ()
 
double GetDisplayAreaCM2 ()
 
virtual double GetDisplayDPmm ()
 
void SetDisplaySizeMM (size_t monitor, double size)
 
unsigned int GetSelectRadiusPix ()
 
double GetToolbarScaleFactor (int GUIScaleFactor)
 
double GetCompassScaleFactor (int GUIScaleFactor)
 
wxFileDialog * AdjustFileDialogFont (wxWindow *container, wxFileDialog *dlg)
 
wxDirDialog * AdjustDirDialogFont (wxWindow *container, wxDirDialog *dlg)
 
void PositionAISAlert (wxWindow *alert_window)
 
float GetChartScaleFactorExp (float scale_linear)
 
float GetMarkScaleFactorExp (float scale_linear)
 
int GetStatusBarFieldCount ()
 
bool GetFullscreen ()
 
bool SetFullscreen (bool bFull)
 
bool AllowAlertDialog (const wxString &class_name)
 
double GetDisplayDensityFactor ()
 
long GetDefaultToolbarOrientation ()
 
MyConfigGetConfigObject ()
 
wxString GetSupplementalLicenseString ()
 
int DoFileSelectorDialog (wxWindow *parent, wxString *file_spec, wxString Title, wxString initDir, wxString suggestedName, wxString wildcard)
 
int DoDirSelectorDialog (wxWindow *parent, wxString *file_spec, wxString Title, wxString initDir, bool b_addFiles=true)
 
void setChartTypeMaskSel (int mask, wxString &indicator)
 
bool isPlatformCapable (int flag)
 
void LaunchLocalHelp ()
 
void DoHelpDialog (void)
 
int platformApplyPrivateSettingsString (wxString settings, ArrayOfCDI *pDirArray)
 
void platformLaunchDefaultBrowser (wxString URL)
 
void SetLocaleSearchPrefixes (void)
 
wxString GetDefaultSystemLocale ()
 
bool BuildGLCaps (void *pbuf)
 
bool IsGLCapable ()
 
- Public Member Functions inherited from BasePlatform
bool InitializeLogFile () override
 
- Public Member Functions inherited from AbstractPlatform
wxString & GetPrivateDataDir ()
 Return dir path for opencpn.log, etc., respecting -c cli option.
 
wxString & DefaultPrivateDataDir ()
 Return dir path for opencpn.log, etc., does not respect -c option.
 
wxString * GetPluginDirPtr ()
 
wxString * GetSharedDataDirPtr ()
 
wxString * GetPrivateDataDirPtr ()
 Legacy compatibility syntactic sugar for GetPrivateDataDir().
 
wxString & GetPluginDir ()
 The original in-tree plugin directory, sometimes not user-writable.
 
wxStandardPaths & GetStdPaths ()
 
wxString GetWinPluginBaseDir ()
 Base directory for user writable windows plugins, reflects winPluginDir option, defaults to LOCALAPPDATA%/opencpn.
 
wxString & GetSharedDataDir ()
 
wxString & GetExePath ()
 
wxString & GetHomeDir ()
 
wxString GetWritableDocumentsDir ()
 
wxString GetPluginDataPath ()
 Return ';'-separated list of base directories for plugin data. More...
 
wxString & GetConfigFileName ()
 
wxString & GetLogFileName ()
 
bool isFlatpacked ()
 
bool isPlatformCapable (int flag)
 
OCPN_OSDetailGetOSDetail ()
 
void CloseLogFile (void)
 
wxString & GetLargeLogMessage (void)
 
FILE * GetLogFilePtr ()
 
wxString NormalizePath (const wxString &full_path)
 
double GetDisplayDIPMult (wxWindow *win)
 

Static Public Member Functions

static bool hasInternalGPS (wxString profile=_T(""))
 
static bool hasInternalBT (wxString profile=_T(""))
 
static void Initialize_1 (void)
 
static void Initialize_4 (void)
 
static void OnExit_1 (void)
 
static void OnExit_2 (void)
 
- Static Public Member Functions inherited from AbstractPlatform
static void ShowBusySpinner ()
 
static void HideBusySpinner ()
 

Public Attributes

double m_pt_per_pixel
 

Additional Inherited Members

- Protected Member Functions inherited from AbstractPlatform
bool DetectOSDetail (OCPN_OSDetail *detail)
 
- Protected Attributes inherited from AbstractPlatform
wxString m_default_private_datadir
 
wxString m_PrivateDataDir
 
wxString m_PluginsDir
 
bool m_isFlatpacked
 
wxString m_homeDir
 
wxString m_exePath
 
wxString m_SData_Dir
 
wxString m_config_file_name
 
wxString m_pluginDataPath
 
wxString mlog_file
 
OCPN_OSDetailm_osDetail
 
FILE * flog
 
wxLog * m_old_logger
 
wxString large_log_message
 
std::vector< int > m_displaySizeMMOverride
 
int m_monitorWidth
 
int m_monitorHeight
 
bool m_bdisableWindowsDisplayEnum
 
- Static Protected Attributes inherited from AbstractPlatform
static bool m_isBusy = false
 

Detailed Description

Definition at line 71 of file OCPNPlatform.h.


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