FACT++  1.0
bool ConnectionBias::CheckChannel ( uint16_t  ch)
inline

Definition at line 901 of file biasctrl.cc.

References Error(), and kNumChannels.

902  {
903  if (ch<kNumChannels)
904  return true;
905 
906  ostringstream msg;
907  msg << "CheckChannel - Channel " << ch << " out of range [0;" << kNumChannels-1 << "].";
908  Error(msg);
909  return false;
910  }
int Error(const std::string &str)
Definition: MessageImp.h:49

+ Here is the call graph for this function: