mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 04:47:14 +02:00
setmoduleid removed, moduleId changed to moduleIndex in client to minimize confusion
This commit is contained in:
@ -66,12 +66,12 @@ class Module : public virtual slsDetectorDefs {
|
||||
|
||||
/** creating new shared memory
|
||||
verify is if shared memory version matches existing one */
|
||||
explicit Module(detectorType type, int det_id = 0, int module_id = 0,
|
||||
explicit Module(detectorType type, int det_id = 0, int module_index = 0,
|
||||
bool verify = true);
|
||||
|
||||
/** opening existing shared memory
|
||||
verify is if shared memory version matches existing one */
|
||||
explicit Module(int det_id = 0, int module_id = 0, bool verify = true);
|
||||
explicit Module(int det_id = 0, int module_index = 0, bool verify = true);
|
||||
|
||||
virtual ~Module();
|
||||
|
||||
@ -91,7 +91,6 @@ class Module : public virtual slsDetectorDefs {
|
||||
int64_t getDetectorServerVersion() const;
|
||||
int64_t getSerialNumber() const;
|
||||
int getModuleId() const;
|
||||
void setModuleId(const int value);
|
||||
int64_t getReceiverSoftwareVersion() const;
|
||||
static detectorType getTypeFromDetector(const std::string &hostname,
|
||||
int cport = DEFAULT_PORTNO);
|
||||
@ -747,7 +746,7 @@ class Module : public virtual slsDetectorDefs {
|
||||
void programFPGAviaBlackfin(std::vector<char> buffer);
|
||||
void programFPGAviaNios(std::vector<char> buffer);
|
||||
|
||||
const int moduleId;
|
||||
const int moduleIndex;
|
||||
mutable sls::SharedMemory<sharedSlsDetector> shm{0, 0};
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user