mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-26 00:00:02 +02:00
overload for rx void return type
This commit is contained in:
parent
023924c4cc
commit
8b9a69e1f1
@ -391,7 +391,7 @@ void Module::setExternalSignalFlags(int signalIndex, externalSignalFlag type) {
|
||||
|
||||
void Module::startReceiver() {
|
||||
shm()->stoppedFlag = false;
|
||||
sendToReceiver(F_START_RECEIVER, nullptr, nullptr);
|
||||
sendToReceiver(F_START_RECEIVER);
|
||||
}
|
||||
|
||||
void Module::stopReceiver() {
|
||||
@ -2673,6 +2673,20 @@ template <typename Ret> Ret Module::sendToReceiver(int fnum) const {
|
||||
return retval;
|
||||
}
|
||||
|
||||
void Module::sendToReceiver(int fnum) {
|
||||
LOG(logDEBUG1) << "Sending to Receiver: ["
|
||||
<< getFunctionNameFromEnum(static_cast<detFuncs>(fnum))
|
||||
<< ", nullptr, 0, nullptr, 0]";
|
||||
sendToReceiver(fnum, nullptr, 0, nullptr, 0);
|
||||
}
|
||||
|
||||
void Module::sendToReceiver(int fnum) const {
|
||||
LOG(logDEBUG1) << "Sending to Receiver: ["
|
||||
<< getFunctionNameFromEnum(static_cast<detFuncs>(fnum))
|
||||
<< ", nullptr, 0, nullptr, 0]";
|
||||
sendToReceiver(fnum, nullptr, 0, nullptr, 0);
|
||||
}
|
||||
|
||||
template <typename Ret, typename Arg>
|
||||
Ret Module::sendToReceiver(int fnum, const Arg &args) {
|
||||
LOG(logDEBUG1) << "Sending to Receiver: ["
|
||||
|
@ -607,6 +607,10 @@ class Module : public virtual slsDetectorDefs {
|
||||
|
||||
template <typename Ret> Ret sendToReceiver(int fnum) const;
|
||||
|
||||
void sendToReceiver(int fnum);
|
||||
|
||||
void sendToReceiver(int fnum) const;
|
||||
|
||||
template <typename Ret, typename Arg>
|
||||
Ret sendToReceiver(int fnum, const Arg &args);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user