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

Public Member Functions

bool InitializeLogFile () override
 
wxSize getDisplaySize () override
 
double GetDisplaySizeMM () override
 
double GetDisplayDPmm () 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)
 
virtual unsigned int GetSelectRadiusPix ()
 
double GetDisplayDIPMult (wxWindow *win)
 

Additional Inherited Members

- Static Public Member Functions inherited from AbstractPlatform
static void ShowBusySpinner ()
 
static void HideBusySpinner ()
 
- 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 172 of file base_platform.h.


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