mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-07-13 19:31:49 +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
|
// number of portrois should be equal to number of interfaces
|
||||||
if (d == EIGER) {
|
|
||||||
ResetRois();
|
ResetRois();
|
||||||
}
|
|
||||||
|
|
||||||
SetLocalNetworkParameters();
|
SetLocalNetworkParameters();
|
||||||
SetupFifoStructure();
|
SetupFifoStructure();
|
||||||
|
@ -309,8 +309,8 @@ class Implementation : private virtual slsDetectorDefs {
|
|||||||
bool framePadding{true};
|
bool framePadding{true};
|
||||||
pid_t parentThreadId;
|
pid_t parentThreadId;
|
||||||
pid_t tcpThreadId;
|
pid_t tcpThreadId;
|
||||||
std::vector<slsDetectorDefs::ROI> portRois{1};
|
std::vector<slsDetectorDefs::ROI> portRois;
|
||||||
std::vector<slsDetectorDefs::ROI> multiRoiMetadata{1};
|
std::vector<slsDetectorDefs::ROI> multiRoiMetadata;
|
||||||
|
|
||||||
// file parameters
|
// file parameters
|
||||||
fileFormat fileFormatType{BINARY};
|
fileFormat fileFormatType{BINARY};
|
||||||
|
Reference in New Issue
Block a user