PandaRoot
PndMQTopix4Sampler.h
Go to the documentation of this file.
1 /********************************************************************************
2  * Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3  * *
4  * This software is distributed under the terms of the *
5  * GNU Lesser General Public Licence version 3 (LGPL) version 3, *
6  * copied verbatim in the file "LICENSE" *
7  ********************************************************************************/
15 #ifndef PNDMQTOPIX4SAMPLER_H_
16 #define PNDMQTOPIX4SAMPLER_H_
17 
18 #include <string>
19 
20 #include "FairMQDevice.h"
22 
23 class PndMQTopix4Sampler : public FairMQDevice {
24  public:
25  enum { FileName = FairMQDevice::Last, Last };
27  virtual ~PndMQTopix4Sampler();
28 
29  static void CustomCleanup(void *data, void *hint);
30 
31  virtual void SetProperty(const int key, const std::string &value);
32  virtual std::string GetProperty(const int key, const std::string &default_ = "");
33  virtual void SetProperty(const int key, const int value);
34  virtual int GetProperty(const int key, const int default_ = 0);
35 
36  virtual void Init();
37 
38  protected:
39  std::string fFileName;
40  int fFE;
42  virtual void Run();
43 };
44 
45 #endif /* FAIRMQEXAMPLE1SAMPLER_H_ */
virtual std::string GetProperty(const int key, const std::string &default_="")
PndMvdReadInToPix4TBData fTopixDataReader
virtual void SetProperty(const int key, const std::string &value)
virtual void Run()
virtual ~PndMQTopix4Sampler()
virtual void Init()
static void CustomCleanup(void *data, void *hint)