mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41:45 +00:00
Adding multiple transports support & other fixes:
- Avoid polling when only one input channel is used. - Send only handles for shared memory transport. - Avoid waiting in the rate logger thread when nothing to log. - Hide warnings from generated files - Fix #483
This commit is contained in:
31
examples/MQ/multiple-transports/FairMQExampleMTSink.h
Normal file
31
examples/MQ/multiple-transports/FairMQExampleMTSink.h
Normal file
@@ -0,0 +1,31 @@
|
||||
/********************************************************************************
|
||||
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
|
||||
* *
|
||||
* This software is distributed under the terms of the *
|
||||
* GNU Lesser General Public Licence version 3 (LGPL) version 3, *
|
||||
* copied verbatim in the file "LICENSE" *
|
||||
********************************************************************************/
|
||||
/**
|
||||
* FairMQExampleMTSink.h
|
||||
*
|
||||
* @since 2014-10-10
|
||||
* @author A. Rybalchenko
|
||||
*/
|
||||
|
||||
#ifndef FAIRMQEXAMPLEMTSINK_H_
|
||||
#define FAIRMQEXAMPLEMTSINK_H_
|
||||
|
||||
#include "FairMQDevice.h"
|
||||
|
||||
class FairMQExampleMTSink : public FairMQDevice
|
||||
{
|
||||
public:
|
||||
FairMQExampleMTSink();
|
||||
virtual ~FairMQExampleMTSink();
|
||||
|
||||
protected:
|
||||
bool HandleData1(FairMQMessagePtr&, int);
|
||||
bool HandleData2(FairMQMessagePtr&, int);
|
||||
};
|
||||
|
||||
#endif /* FAIRMQEXAMPLEMTSINK_H_ */
|
Reference in New Issue
Block a user