mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-11-16 15:50:01 +01:00
to avoid confusion, moved default initialized, single sized declared vector of roi to be created at setDetectorType
This commit is contained in:
1 parent
94a9476550
commit
f9d41f1d66
2 files changed
+3
-5
No files matched your search
@@ -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