|
#include <CUniqueInstance.h>
Public Member Functions | |
| CUniqueInstance (std::string instanceName) | |
| ~CUniqueInstance () | |
| Destructor. | |
| bool | isUnique () |
| Reports true if the instance is unique. | |
Tries to create a mutex object and check if it's unique for the program with the instance name. If one instance per user is desired simply incorporate the user name into the instance.
| sptk::CUniqueInstance::CUniqueInstance | ( | std::string | instanceName | ) |
Constructor
| instanceName | CString, instance name |