CbmRoot
Loading...
Searching...
No Matches
CbmDeviceMinimal.cxx
Go to the documentation of this file.
1/* Copyright (C) 2019 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Florian Uhlig [committer] */
4
13
14#include "FairMQLogger.h"
15#include "FairMQProgOptions.h" // device->fConfig
16
17CbmDeviceStsLocalReco::CbmDeviceStsLocalReco() : FairMQDevice(), fMaxTimeslices {0}, fNumMessages {0} {}
18
20{
21 // fMaxTimeslices = fConfig->GetValue<uint64_t>("max-timeslices");
22}
23
24// handler is called whenever a message arrives on "data", with a reference to the message and a sub-channel index (here 0)
25bool CbmDeviceStsLocalReco::HandleData(FairMQMessagePtr& msg, int /*index*/) { return true; }
26
bool HandleData(FairMQMessagePtr &, int)