CbmRoot
CbmMQChannels.h
Go to the documentation of this file.
1 #ifndef CBMMQCHANNELS_H_
2 #define CBMMQCHANNELS_H_
3 
4 #include <string>
5 #include <vector>
6 
7 class FairMQDevice;
8 
9 class CbmMQChannels {
10 public:
11  CbmMQChannels(std::vector<std::string>);
12 
13  bool IsChannelNameAllowed(std::string channelName);
14  bool CheckChannels(FairMQDevice* device);
15 
16  std::vector<int> GetComponentsToSend() { return fComponentsToSend; }
17  std::vector<std::vector<std::string>> GetChannelsToSend() {
18  return fChannelsToSend;
19  }
20 
21 private:
22  std::vector<std::string> fAllowedChannels {};
23  std::vector<int> fComponentsToSend {};
24  std::vector<std::vector<std::string>> fChannelsToSend {{}};
25 };
26 
27 #endif
CbmMQChannels::fChannelsToSend
std::vector< std::vector< std::string > > fChannelsToSend
Definition: CbmMQChannels.h:24
CbmMQChannels::IsChannelNameAllowed
bool IsChannelNameAllowed(std::string channelName)
Definition: CbmMQChannels.cxx:13
CbmMQChannels::CheckChannels
bool CheckChannels(FairMQDevice *device)
Definition: CbmMQChannels.cxx:47
CbmMQChannels::GetChannelsToSend
std::vector< std::vector< std::string > > GetChannelsToSend()
Definition: CbmMQChannels.h:17
CbmMQChannels::fComponentsToSend
std::vector< int > fComponentsToSend
Definition: CbmMQChannels.h:23
CbmMQChannels::fAllowedChannels
std::vector< std::string > fAllowedChannels
Definition: CbmMQChannels.h:22
CbmMQChannels::CbmMQChannels
CbmMQChannels(std::vector< std::string >)
Definition: CbmMQChannels.cxx:4
CbmMQChannels
Definition: CbmMQChannels.h:9
CbmMQChannels::GetComponentsToSend
std::vector< int > GetComponentsToSend()
Definition: CbmMQChannels.h:16