Definition at line 1634 of file ftmctrl.cc.
References data, EventImp::GetSize(), and EventImp::Ptr().
Referenced by StateMachineFTM< T, S >::StateMachineFTM().
1637 return T::kSM_FatalError;
1639 const int32_t *
data = evt.
Ptr<int32_t>();
1641 if (!
fFTM.SetThreshold(data[0], data[1]))
1644 msg <<
"SetThreshold - Maximum allowed patch number 159, valid value range 0-0xffff (got: " << data[0] <<
" " << data[1] <<
")";
1648 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