slsDetectorSoftware: Sharedmemory removed private methodf or removeshm, removed static isexisting as the usecases are all member method

This commit is contained in:
2018-07-06 15:18:34 +02:00
parent 7c29327b47
commit ecd0c810ca
4 changed files with 22 additions and 30 deletions

View File

@ -31,7 +31,7 @@ public:
* @param name of shared memory
* @return true if exists, else false
*/
static bool IsExisting(std::string name);
bool IsExisting();
/**
* Get shared memory name
@ -93,12 +93,6 @@ private:
*/
int VerifySizeMatch(size_t expectedSize);
/**
* Remove existing Shared memory
* @param name name of shared memory (should be less than NAME_MAX)
*/
void RemoveSharedMemory(std::string name);
/** Shared memory name */
std::string name;