mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 00:31:14 +00:00
35 lines
997 B
C++
35 lines
997 B
C++
/********************************************************************************
|
|
* 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 FAIRMQEXAMPLEMULTIPARTSINK_H
|
|
#define FAIRMQEXAMPLEMULTIPARTSINK_H
|
|
|
|
#include "FairMQDevice.h"
|
|
|
|
namespace example_multipart
|
|
{
|
|
|
|
class Sink : public FairMQDevice
|
|
{
|
|
public:
|
|
Sink() { OnData("data", &Sink::HandleData); }
|
|
virtual ~Sink() {}
|
|
|
|
protected:
|
|
bool HandleData(FairMQParts&, int);
|
|
};
|
|
|
|
}
|
|
#endif /* FAIRMQEXAMPLEMULTIPARTSINK_H */
|