FairMQ/examples/MQ/multiple-transports/FairMQExampleMTSampler2.h
Alexey Rybalchenko 8defd77b63 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 16:12:57 +02:00

28 lines
942 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" *
********************************************************************************/
#ifndef FAIRMQEXAMPLEMTSAMPLER2_H_
#define FAIRMQEXAMPLEMTSAMPLER2_H_
#include <string>
#include <thread>
#include "FairMQDevice.h"
class FairMQExampleMTSampler2 : public FairMQDevice
{
public:
FairMQExampleMTSampler2();
virtual ~FairMQExampleMTSampler2();
protected:
virtual bool ConditionalRun();
};
#endif /* FAIRMQEXAMPLEMTSAMPLER2_H_ */