mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
use factory for messages
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
#include "TClonesArray.h"
|
||||
#include <string>
|
||||
#include "FairMQMessage.h"
|
||||
#include "FairMQMessageZMQ.h"
|
||||
#include "FairMQTransportFactory.h"
|
||||
#include "TString.h"
|
||||
|
||||
|
||||
@@ -27,10 +27,13 @@ class FairMQSamplerTask: public FairTask
|
||||
virtual void Exec(Option_t* opt) = 0;
|
||||
void SetBranch(TString branch);
|
||||
FairMQMessage* GetOutput();
|
||||
void SetTransport(FairMQTransportFactory* factory);
|
||||
|
||||
protected:
|
||||
TClonesArray* fInput;
|
||||
TString fBranch;
|
||||
FairMQMessage* fOutput;
|
||||
FairMQTransportFactory* fTransportFactory;
|
||||
};
|
||||
|
||||
#endif /* FAIRMQSAMPLERTASK_H_ */
|
||||
|
Reference in New Issue
Block a user