FairMQ/examples/MQ/multiple-transports/FairMQExampleMTSink.h
Alexey Rybalchenko 227c0b4e4e 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
2018-05-02 13:51:55 +02:00

32 lines
1021 B
C++

/********************************************************************************
* 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_ */