mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-17 23:37:14 +02:00
more getters setters
This commit is contained in:
@ -320,11 +320,11 @@ class Detector {
|
||||
return det.getUserDetails();
|
||||
}
|
||||
|
||||
void setReceiverFramesPerFile(const int n_frames) {
|
||||
det.setReceiverFramesPerFile(n_frames);
|
||||
void setFramesPerFile(const int n_frames) {
|
||||
det.setFramesPerFile(n_frames);
|
||||
}
|
||||
int getReceiverFramesPerFile() {
|
||||
return det.setReceiverFramesPerFile();
|
||||
int getFramesPerFile() {
|
||||
return det.setFramesPerFile();
|
||||
}
|
||||
|
||||
std::string getReceiverFrameDiscardPolicy() {
|
||||
|
@ -205,8 +205,8 @@ PYBIND11_MODULE(_sls_detector, m)
|
||||
.def("getLastClientIP", &Detector::getLastClientIP)
|
||||
.def("getReceiverLastClientIP", &Detector::getReceiverLastClientIP)
|
||||
|
||||
.def("setReceiverFramesPerFile", &Detector::setReceiverFramesPerFile)
|
||||
.def("getReceiverFramesPerFile", &Detector::getReceiverFramesPerFile)
|
||||
.def("setFramesPerFile", &Detector::setFramesPerFile)
|
||||
.def("getFramesPerFile", &Detector::getFramesPerFile)
|
||||
.def("setReceiverFifoDepth", &Detector::setReceiverFifoDepth)
|
||||
.def("getReceiverFifoDepth", &Detector::getReceiverFifoDepth)
|
||||
|
||||
|
Reference in New Issue
Block a user