OpenCPN Partial API docs
|
Common interface for all instance checkers. More...
#include <instance_check.h>
Public Member Functions | |
virtual bool | IsMainInstance ()=0 |
Return true if this process is the primary opencpn instance. | |
virtual void | WaitUntilValid () |
Wait until this object can be used for example for Dbus connection. | |
virtual void | CleanUp () |
Remove all persistent instance state, including possible lock file and defunct opencpn processes. | |
virtual void | OnExit () |
Do whatever needed before wxWidget's checks triggers. | |
Static Public Member Functions | |
static InstanceCheck & | GetInstance () |
Common interface for all instance checkers.
Definition at line 26 of file instance_check.h.
|
static |
Definition at line 95 of file ipc_factories.cpp.