/******************************************************************************** * Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH * * * * This software is distributed under the terms of the * * GNU Lesser General Public Licence (LGPL) version 3, * * copied verbatim in the file "LICENSE" * ********************************************************************************/ /** * Sink.h * * @since 2014-10-10 * @author A. Rybalchenko */ #ifndef FAIRMQEXAMPLE1N1SINK_H #define FAIRMQEXAMPLE1N1SINK_H #include "FairMQDevice.h" namespace example_1_n_1 { class Sink : public FairMQDevice { public: Sink(); virtual ~Sink(); protected: virtual void InitTask(); bool HandleData(FairMQMessagePtr&, int); private: uint64_t fMaxIterations; uint64_t fNumIterations; }; } // namespace example_1_n_1 #endif /* FAIRMQEXAMPLE1N1SINK_H */