QC example: add setting of the property, test if its successful

This commit is contained in:
Alexey Rybalchenko
2020-02-20 16:33:51 +01:00
committed by Dennis Klein
parent beff0af51b
commit 8123a6ecab
8 changed files with 47 additions and 83 deletions

View File

@@ -14,9 +14,9 @@ class QCConsumer : public FairMQDevice
public:
QCConsumer()
{
OnData("qc", [](FairMQMessagePtr& /*msg*/, int){
OnData("qc", [](FairMQMessagePtr& /*msg*/, int) {
LOG(info) << "received data";
return true;
return false;
});
}
};