OpenCPN Partial API docs
WxInstanceCheck Class Reference

Thin wrapper for wxSingleInstanceChecker implementing InstanceCheck. More...

#include <wx_instance_chk.h>

Inheritance diagram for WxInstanceCheck:
InstanceCheck

Public Member Functions

bool IsMainInstance () override
 Return true if this process is the primary opencpn instance.
 
void CleanUp () override
 Remove all persistent instance state, including possible lock file and defunct opencpn processes.
 
void OnExit () override
 Do whatever needed before wxWidget's checks triggers.
 
- Public Member Functions inherited from InstanceCheck
virtual void WaitUntilValid ()
 Wait until this object can be used for example for Dbus connection.
 

Additional Inherited Members

- Static Public Member Functions inherited from InstanceCheck
static InstanceCheckGetInstance ()
 

Detailed Description

Thin wrapper for wxSingleInstanceChecker implementing InstanceCheck.

Definition at line 28 of file wx_instance_chk.h.


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