CbmRoot
CbmDeviceMinimal.cxx
Go to the documentation of this file.
1 
9 
10 #include "FairMQLogger.h"
11 #include "FairMQProgOptions.h" // device->fConfig
12 
14  : FairMQDevice(), fMaxTimeslices {0}, fNumMessages {0} {}
15 
17  // fMaxTimeslices = fConfig->GetValue<uint64_t>("max-timeslices");
18 }
19 
20 // handler is called whenever a message arrives on "data", with a reference to the message and a sub-channel index (here 0)
21 bool CbmDeviceStsLocalReco::HandleData(FairMQMessagePtr& msg, int /*index*/) {
22  return true;
23 }
24 
CbmDeviceStsLocalReco::InitTask
virtual void InitTask()
Definition: CbmDeviceMinimal.cxx:16
CbmDeviceStsLocalReco::CbmDeviceStsLocalReco
CbmDeviceStsLocalReco()
Definition: CbmDeviceMinimal.cxx:13
CbmDeviceStsLocalReco.h
CbmDeviceStsLocalReco::~CbmDeviceStsLocalReco
virtual ~CbmDeviceStsLocalReco()
Definition: CbmDeviceMinimal.cxx:25
CbmDeviceStsLocalReco::HandleData
bool HandleData(FairMQMessagePtr &, int)
Definition: CbmDeviceMinimal.cxx:21