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
12
#include "
CbmDeviceStsLocalReco.h
"
13
14
#include "FairMQLogger.h"
15
#include "FairMQProgOptions.h"
// device->fConfig
16
17
CbmDeviceStsLocalReco::CbmDeviceStsLocalReco
() : FairMQDevice(), fMaxTimeslices {0}, fNumMessages {0} {}
18
19
void
CbmDeviceStsLocalReco::InitTask
()
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)
25
bool
CbmDeviceStsLocalReco::HandleData
(FairMQMessagePtr& msg,
int
/*index*/
) {
return
true
; }
26
27
CbmDeviceStsLocalReco::~CbmDeviceStsLocalReco
() {}
CbmDeviceStsLocalReco.h
CbmDeviceStsLocalReco::CbmDeviceStsLocalReco
CbmDeviceStsLocalReco()
Definition
CbmDeviceMinimal.cxx:17
CbmDeviceStsLocalReco::~CbmDeviceStsLocalReco
virtual ~CbmDeviceStsLocalReco()
Definition
CbmDeviceMinimal.cxx:27
CbmDeviceStsLocalReco::HandleData
bool HandleData(FairMQMessagePtr &, int)
Definition
CbmDeviceMinimal.cxx:25
CbmDeviceStsLocalReco::InitTask
virtual void InitTask()
Definition
CbmDeviceMinimal.cxx:19
MQ
sts
CbmDeviceMinimal.cxx
Generated on Sun Dec 22 2024 23:04:12 for CbmRoot by
1.12.0