Definition at line 671 of file fadctrl.cc.
References Error(), EventImp::GetSize(), i, and EventImp::Ptr().
Referenced by StateMachineFAD< T >::StateMachineFAD().
674 return T::kSM_FatalError;
676 const int32_t *dat = evt.
Ptr<int32_t>();
679 if (!
i->second->CmdSetRoi(dat[0], dat[1]))
682 msg << hex <<
"Channel " << dat[0] <<
" or Value " << dat[1] <<
" out of range.";
684 return T::GetCurrentState();
688 return T::GetCurrentState();
bool CheckEventSize(size_t has, const char *name, size_t size)
const T * Ptr(size_t offset=0) const
virtual size_t GetSize() const