mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 10:07:59 +02:00
sharedmem: more modifications on command line to remove features such as id, remove, add
This commit is contained in:
@ -912,8 +912,7 @@ std::string multiSlsDetector::exec(const char* cmd) {
|
||||
|
||||
|
||||
void multiSlsDetector::setHostname(string s) {
|
||||
/* to just add at the end of list,
|
||||
command line should not clear shm upon command hostname */
|
||||
freeSharedMemory(detId);
|
||||
size_t p1 = 0;
|
||||
string temp = string(s);
|
||||
size_t p2 = temp.find('+', p1);
|
||||
|
@ -81,6 +81,7 @@ public:
|
||||
myDetector=NULL; \
|
||||
} \
|
||||
|
||||
|
||||
// create multiSlsDetector class if required
|
||||
if (myDetector==NULL) { \
|
||||
try { \
|
||||
|
Reference in New Issue
Block a user