CbmRoot
CbmMQChannels Class Reference

#include <CbmMQChannels.h>

Public Member Functions

 CbmMQChannels (std::vector< std::string >)
 
bool IsChannelNameAllowed (std::string channelName)
 
bool CheckChannels (FairMQDevice *device)
 
std::vector< int > GetComponentsToSend ()
 
std::vector< std::vector< std::string > > GetChannelsToSend ()
 

Private Attributes

std::vector< std::string > fAllowedChannels {}
 
std::vector< int > fComponentsToSend {}
 
std::vector< std::vector< std::string > > fChannelsToSend {{}}
 

Detailed Description

Definition at line 9 of file CbmMQChannels.h.

Constructor & Destructor Documentation

◆ CbmMQChannels()

CbmMQChannels::CbmMQChannels ( std::vector< std::string >  allowedChannels)

Definition at line 4 of file CbmMQChannels.cxx.

Member Function Documentation

◆ CheckChannels()

bool CbmMQChannels::CheckChannels ( FairMQDevice *  device)

Definition at line 47 of file CbmMQChannels.cxx.

References IsChannelNameAllowed().

Referenced by CbmDeviceStsHitProducerIdeal::InitTask().

◆ GetChannelsToSend()

std::vector<std::vector<std::string> > CbmMQChannels::GetChannelsToSend ( )
inline

Definition at line 17 of file CbmMQChannels.h.

References fChannelsToSend.

Referenced by CbmDeviceStsHitProducerIdeal::InitTask().

◆ GetComponentsToSend()

std::vector<int> CbmMQChannels::GetComponentsToSend ( )
inline

Definition at line 16 of file CbmMQChannels.h.

References fComponentsToSend.

Referenced by CbmDeviceStsHitProducerIdeal::InitTask().

◆ IsChannelNameAllowed()

bool CbmMQChannels::IsChannelNameAllowed ( std::string  channelName)

Definition at line 13 of file CbmMQChannels.cxx.

References fAllowedChannels, fChannelsToSend, fComponentsToSend, and pos.

Referenced by CheckChannels().

Member Data Documentation

◆ fAllowedChannels

std::vector<std::string> CbmMQChannels::fAllowedChannels {}
private

Definition at line 22 of file CbmMQChannels.h.

Referenced by IsChannelNameAllowed().

◆ fChannelsToSend

std::vector<std::vector<std::string> > CbmMQChannels::fChannelsToSend {{}}
private

Definition at line 24 of file CbmMQChannels.h.

Referenced by GetChannelsToSend(), and IsChannelNameAllowed().

◆ fComponentsToSend

std::vector<int> CbmMQChannels::fComponentsToSend {}
private

Definition at line 23 of file CbmMQChannels.h.

Referenced by GetComponentsToSend(), and IsChannelNameAllowed().


The documentation for this class was generated from the following files: