mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-17 23:37:14 +02:00
renamed FixedCap.. to StaticVector
This commit is contained in:
@ -2164,12 +2164,12 @@ void Module::setReceiverDbitList(const std::vector<int> &list) {
|
||||
"Dbit list value must be between 0 and 63\n");
|
||||
}
|
||||
}
|
||||
sls::FixedCapacityContainer<int, MAX_RX_DBIT> arg = list;
|
||||
sls::StaticVector<int, MAX_RX_DBIT> arg = list;
|
||||
sendToReceiver(F_SET_RECEIVER_DBIT_LIST, arg, nullptr);
|
||||
}
|
||||
|
||||
std::vector<int> Module::getReceiverDbitList() const {
|
||||
return sendToReceiver<sls::FixedCapacityContainer<int, MAX_RX_DBIT>>(
|
||||
return sendToReceiver<sls::StaticVector<int, MAX_RX_DBIT>>(
|
||||
F_GET_RECEIVER_DBIT_LIST);
|
||||
}
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
#include "ClientSocket.h"
|
||||
#include "FixedCapacityContainer.h"
|
||||
#include "SharedMemory.h"
|
||||
#include "StaticVector.h"
|
||||
#include "logger.h"
|
||||
#include "network_utils.h"
|
||||
#include "sls_detector_defs.h"
|
||||
@ -51,7 +51,7 @@ struct sharedSlsDetector {
|
||||
char settingsDir[MAX_STR_LENGTH];
|
||||
|
||||
/** list of the energies at which the detector has been trimmed */
|
||||
sls::FixedCapacityContainer<int, MAX_TRIMEN> trimEnergies;
|
||||
sls::StaticVector<int, MAX_TRIMEN> trimEnergies;
|
||||
|
||||
/** number of channels per chip in one direction */
|
||||
slsDetectorDefs::xy nChan;
|
||||
|
Reference in New Issue
Block a user