2 #include "FairMQDevice.h"
5 : fAllowedChannels {allowedChannels} {
6 fChannelsToSend.resize(fAllowedChannels.size());
7 for (
auto& entry : fChannelsToSend) {
10 fComponentsToSend.resize(fAllowedChannels.size());
15 std::size_t pos1 = channelName.find(entry);
16 if (pos1 != std::string::npos) {
17 const std::vector<std::string>::const_iterator
pos =
19 const std::vector<std::string>::size_type idx =
21 LOG(info) <<
"Found " << entry <<
" in " << channelName;
22 LOG(info) <<
"Channel name " << channelName
23 <<
" found in list of allowed channel names at position "
37 LOG(info) <<
"Channel name " << channelName
38 <<
" not found in list of allowed channel names.";
39 LOG(info) <<
"The allowed channels are: ";
43 LOG(error) <<
"Stop device.";
56 int noChannel = device->fChannels.size();
57 LOG(info) <<
"Number of defined output channels: " << noChannel;
58 for (
auto const& entry : device->fChannels) {
59 LOG(info) <<
"Channel name: " << entry.first;