Dev/verify shm (#1276)
Some checks failed
Build on RHEL9 / build (push) Failing after 3m41s
Build on RHEL8 / build (push) Failing after 5m10s

* 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:
2025-08-23 10:23:27 +02:00
committed by GitHub
parent 15cbaa509e
commit fff5fa73be
18 changed files with 198 additions and 209 deletions

View File

@@ -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: