16 #ifndef FAIRMQPRIMARYGENERATORDEVICE_H_
17 #define FAIRMQPRIMARYGENERATORDEVICE_H_
19 #include <FairMQDevice.h>
51 bool Reply(FairMQMessagePtr&,
int);
58 std::string fGeneratorChannelName;
59 std::string fAckChannelName;
67 int64_t fEventCounter;
70 int64_t fChunkPointer;
72 bool GenerateAndSendData();
73 void SendObject(TObject* obj, std::string chan);
78 std::thread fAckListener;
void SetGenerator(FairPrimaryGenerator *primGen)
void RunInRepMode(bool tb=true)
bool Reply(FairMQMessagePtr &, int)
void RunInPushMode(bool tb=true)
void SetNofEvents(int64_t nofev)
void SetChunkSize(int64_t ti)
virtual ~FairMQPrimaryGeneratorDevice()
void SetAckChannelName(std::string tstr)
virtual bool ConditionalRun()
virtual void SendPrimaries()
void SetGeneratorChannelName(std::string tstr)
FairMQPrimaryGeneratorDevice()