mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-16 01:51:45 +00:00
Tests for MQ examples
This commit is contained in:
committed by
Mohammad Al-Turany
parent
984eed1a89
commit
319bdc91a1
@@ -24,8 +24,17 @@ class FairMQExampleMTSink : public FairMQDevice
|
||||
virtual ~FairMQExampleMTSink();
|
||||
|
||||
protected:
|
||||
virtual void InitTask();
|
||||
bool HandleData1(FairMQMessagePtr&, int);
|
||||
bool HandleData2(FairMQMessagePtr&, int);
|
||||
bool CheckIterations();
|
||||
|
||||
private:
|
||||
uint64_t fMaxIterations;
|
||||
uint64_t fNumIterations1;
|
||||
uint64_t fNumIterations2;
|
||||
bool fReceived1;
|
||||
bool fReceived2;
|
||||
};
|
||||
|
||||
#endif /* FAIRMQEXAMPLEMTSINK_H_ */
|
||||
|
Reference in New Issue
Block a user