Definition at line 691 of file fadctrl.cc.
References Error(), EventImp::GetSize(), i, and EventImp::Ptr().
Referenced by StateMachineFAD< T >::StateMachineFAD().
694 return T::kSM_FatalError;
696 const int32_t *dat = evt.
Ptr<int32_t>();
699 if (!
i->second->CmdSetDacValue(dat[0], dat[1]))
702 msg << hex <<
"Channel " << dat[0] <<
" or Value " << dat[1] <<
" out of range.";
704 return T::GetCurrentState();
707 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