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.
|
inlinevirtual |
Remove all persistent instance state, including possible lock file and defunct opencpn processes.
Reimplemented in StdInstanceCheck, and WxInstanceCheck.
Definition at line 43 of file instance_check.h.
|
static |
Definition at line 96 of file ipc_factories.cpp.
|
pure virtual |
Return true if this process is the primary opencpn instance.
Implemented in DbusServer, DummyInstanceChk, StdInstanceCheck, and WxInstanceCheck.
|
inlinevirtual |
Do whatever needed before wxWidget's checks triggers.
Reimplemented in WxInstanceCheck.
Definition at line 46 of file instance_check.h.
|
inlinevirtual |
Wait until this object can be used for example for Dbus connection.
Reimplemented in DbusServer.
Definition at line 37 of file instance_check.h.