CbmRoot
CbmDeviceMinimal.h
Go to the documentation of this file.
1 
8 #ifndef CBMDEVICESTSLOCALRECO_H_
9 #define CBMDEVICESTSLOCALRECO_H_
10 
11 #include "FairMQDevice.h"
12 
13 #include "TMessage.h"
14 #include <vector>
15 
16 class CbmDeviceStsLocalReco : public FairMQDevice {
17 public:
19  virtual ~CbmDeviceStsLocalReco();
20 
21 protected:
22  virtual void InitTask();
23  bool HandleData(FairMQMessagePtr&, int);
24 
25 private:
26  uint64_t fMaxTimeslices;
27  uint64_t fNumMessages;
28 };
29 
30 // special class to expose protected TMessage constructor
31 class CbmMQTMessage : public TMessage {
32 public:
33  CbmMQTMessage(void* buf, Int_t len) : TMessage(buf, len) {
34  ResetBit(kIsOwner);
35  }
36 };
37 
38 #endif /* CBMDEVICESTSLOCALRECO_H_ */
CbmDeviceStsLocalReco::InitTask
virtual void InitTask()
Definition: CbmDeviceMinimal.cxx:16
CbmMQTMessage
Definition: CbmDeviceEventBuilderEtofStar2019.h:96
CbmMQTMessage::CbmMQTMessage
CbmMQTMessage(void *buf, Int_t len)
Definition: CbmDeviceMinimal.h:33
CbmDeviceStsLocalReco::CbmDeviceStsLocalReco
CbmDeviceStsLocalReco()
Definition: CbmDeviceMinimal.cxx:13
CbmDeviceStsLocalReco::fMaxTimeslices
uint64_t fMaxTimeslices
Definition: CbmDeviceMinimal.h:26
CbmDeviceStsLocalReco::fNumMessages
uint64_t fNumMessages
Definition: CbmDeviceMinimal.h:27
CbmDeviceStsLocalReco::~CbmDeviceStsLocalReco
virtual ~CbmDeviceStsLocalReco()
Definition: CbmDeviceMinimal.cxx:25
CbmDeviceStsLocalReco
Definition: CbmDeviceMinimal.h:16
CbmDeviceStsLocalReco::HandleData
bool HandleData(FairMQMessagePtr &, int)
Definition: CbmDeviceMinimal.cxx:21