12 m_config(0),m_in(0),m_out(0),m_end(false),m_master(false) {
29 bool successfulInitialization(
true);
32 std::bitset<lenSubword> subBinary;
34 subBinary = subWords[
i];
40 return successfulInitialization;
46 bool successfulInitialization(
true);
47 std::istringstream formatStream(maskString);
52 formatStream.exceptions(std::ios_base::badbit|std::ios_base::failbit);
55 formatStream >> std::hex >> subWords[
nSubwords-1]
59 }
catch(
const std::ios_base::failure&) {
60 std::cerr <<
"The SCT_ChipMask code has failed to convert the received string to a mask; the received string is: ";
61 std::cerr << maskString << std::endl;
62 successfulInitialization =
false;
66 return successfulInitialization;
71 return !(
m_mask.test(channelNumber));
81 for (
unsigned int thisChann(0);thisChann !=
nBitsMask; ++thisChann){
82 if (
channelIsMasked(thisChann)) maskedChannelVector.push_back(thisChann);