Definition at line 1021 of file fadctrl.cc.
References EventImp::Get(), EventImp::GetSize(), i, and EventImp::Ptr().
Referenced by StateMachineFAD< T >::StateMachineFAD().
1024 return T::kSM_FatalError;
1026 const int16_t *slot = evt.
Ptr<int16_t>();
1027 const bool block = evt.
Get<uint8_t>(4);
1029 if (slot[0]<0 || slot[1]>39 || slot[0]>slot[1])
1031 T::Warn(
"Slot out of range.");
1032 return T::GetCurrentState();
1035 for (
int i=slot[0];
i<=slot[1];
i++)
1038 return T::GetCurrentState();
T Get(size_t offset=0) const
void SetIgnore(int i, bool b) const
bool CheckEventSize(size_t has, const char *name, size_t size)
const T * Ptr(size_t offset=0) const
virtual size_t GetSize() const