mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-10 22:18:41 +01:00
Dev/verify shm (#1276)
* removed verify, update, fixed getUser to be a free function, generated commands, python bindings yet to do * python bindings * fixed tests * minor * minor * format
This commit is contained in:
@@ -22,6 +22,10 @@ class IpAddr;
|
||||
// shm by mistake
|
||||
void freeSharedMemory(const int detectorIndex = 0, const int moduleIndex = -1);
|
||||
|
||||
// Free function to avoid dependence on class
|
||||
// and get user details directly from shm
|
||||
std::string getUserDetails(const int detectorIndex = 0);
|
||||
|
||||
/**
|
||||
* \class Detector
|
||||
*/
|
||||
@@ -2137,10 +2141,6 @@ class Detector {
|
||||
* start [Gotthard2] not in burst and auto mode */
|
||||
Result<ns> getMeasurementTime(Positions pos = {}) const;
|
||||
|
||||
/** get user details from shared memory (hostname, type, PID, User, Date)
|
||||
*/
|
||||
std::string getUserDetails() const;
|
||||
|
||||
///@}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user