FairMQ  1.2.0
C++ Message Passing Framework
FairMQMultiplier.h
1 /********************************************************************************
2  * Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3  * *
4  * This software is distributed under the terms of the *
5  * GNU Lesser General Public Licence (LGPL) version 3, *
6  * copied verbatim in the file "LICENSE" *
7  ********************************************************************************/
8 
9 #ifndef FAIRMQMULTIPLIER_H_
10 #define FAIRMQMULTIPLIER_H_
11 
12 #include "FairMQDevice.h"
13 
14 #include <string>
15 
17 {
18  public:
20  virtual ~FairMQMultiplier();
21 
22  protected:
23  int fMultipart;
24  int fNumOutputs;
25  std::string fInChannelName;
26  std::vector<std::string> fOutChannelNames;
27 
28  virtual void InitTask();
29 
30  bool HandleSingleData(std::unique_ptr<FairMQMessage>&, int);
31  bool HandleMultipartData(FairMQParts&, int);
32 };
33 
34 #endif /* FAIRMQMULTIPLIER_H_ */
virtual void InitTask()
Definition: FairMQMultiplier.cxx:28
Definition: FairMQMultiplier.h:16
FairMQParts is a lightweight convenience wrapper around a vector of unique pointers to FairMQMessage...
Definition: FairMQParts.h:20
Definition: FairMQDevice.h:44