CbmRoot
Loading...
Searching...
No Matches
CbmMQChannels.h
Go to the documentation of this file.
1/* Copyright (C) 2019 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Florian Uhlig [committer] */
4
5#ifndef CBMMQCHANNELS_H_
6#define CBMMQCHANNELS_H_
7
8#include "FairMQDevice.h"
9
10#include <string>
11#include <vector>
12
13
15public:
16 CbmMQChannels(std::vector<std::string>);
17
18 bool IsChannelNameAllowed(std::string channelName);
19 bool CheckChannels(FairMQDevice* device);
20
21 std::vector<int> GetComponentsToSend() { return fComponentsToSend; }
22 std::vector<std::vector<std::string>> GetChannelsToSend() { return fChannelsToSend; }
23
24private:
25 std::vector<std::string> fAllowedChannels {};
26 std::vector<int> fComponentsToSend {};
27 std::vector<std::vector<std::string>> fChannelsToSend {{}};
28};
29
30#endif
bool CheckChannels(FairMQDevice *device)
std::vector< std::string > fAllowedChannels
std::vector< int > GetComponentsToSend()
std::vector< std::vector< std::string > > fChannelsToSend
bool IsChannelNameAllowed(std::string channelName)
std::vector< int > fComponentsToSend
std::vector< std::vector< std::string > > GetChannelsToSend()
CbmMQChannels(std::vector< std::string >)