OpenCPN Partial API docs
|
InstanceCheck implementation based on DBus. More...
#include <dbus_instance_check.h>
Public Member Functions | |
bool | IsPrimaryInstance () |
![]() | |
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. | |
Additional Inherited Members | |
![]() | |
static InstanceCheck & | GetInstance () |
InstanceCheck implementation based on DBus.
Definition at line 27 of file dbus_instance_check.h.