5 #include <Poco/NamedMutex.h>
6 #include <Poco/SharedPtr.h>
8 #include "util/Loggable.h"
43 void setName(
const std::string &name);
44 void setMode(
const std::string &mode);
56 Poco::SharedPtr<Poco::NamedMutex> m_lock;
Mode
Definition: SingleInstanceChecker.h:34
Definition: SingleInstanceChecker.h:37
Definition: Loggable.h:19
SingleInstanceChecker can detect another equivalent running application instance. This might prevent ...
Definition: SingleInstanceChecker.h:32
Definition: SingleInstanceChecker.h:36
Definition: SingleInstanceChecker.h:35
void check()
Try lock the global mutex. If it successfully locks, jsut continue. Otherwise, based on the configure...
Definition: SingleInstanceChecker.cpp:57