mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-07-12 19:01:50 +02:00
to avoid confusion, moved default initialized, single sized declared vector of roi to be created at setDetectorType
This commit is contained in:
@ -156,9 +156,7 @@ void Implementation::setDetectorType(const detectorType d) {
|
||||
}
|
||||
|
||||
// number of portrois should be equal to number of interfaces
|
||||
if (d == EIGER) {
|
||||
ResetRois();
|
||||
}
|
||||
ResetRois();
|
||||
|
||||
SetLocalNetworkParameters();
|
||||
SetupFifoStructure();
|
||||
|
@ -309,8 +309,8 @@ class Implementation : private virtual slsDetectorDefs {
|
||||
bool framePadding{true};
|
||||
pid_t parentThreadId;
|
||||
pid_t tcpThreadId;
|
||||
std::vector<slsDetectorDefs::ROI> portRois{1};
|
||||
std::vector<slsDetectorDefs::ROI> multiRoiMetadata{1};
|
||||
std::vector<slsDetectorDefs::ROI> portRois;
|
||||
std::vector<slsDetectorDefs::ROI> multiRoiMetadata;
|
||||
|
||||
// file parameters
|
||||
fileFormat fileFormatType{BINARY};
|
||||
|
Reference in New Issue
Block a user