FACT++  1.0
template<class T>
int StateMachineFAD< T >::SetBlockTransmission ( const EventImp evt)
inlineprivate

Definition at line 971 of file fadctrl.cc.

References EventImp::Get(), and EventImp::GetSize().

Referenced by StateMachineFAD< T >::StateMachineFAD().

972  {
973  if (!CheckEventSize(evt.GetSize(), "SetBlockTransmission", 3))
974  return T::kSM_FatalError;
975 
976  const int16_t slot = evt.Get<int32_t>();
977 
978  const BoardList::iterator it=GetSlot(slot);
979  if (it!=fBoards.end())
980  it->second->SetBlockTransmission(evt.Get<uint8_t>(2));
981 
982  return T::GetCurrentState();
983  }
BoardList fBoards
Definition: fadctrl.cc:555
const BoardList::iterator GetSlot(uint16_t slot)
Definition: fadctrl.cc:936
T Get(size_t offset=0) const
Definition: EventImp.h:66
bool CheckEventSize(size_t has, const char *name, size_t size)
Definition: fadctrl.cc:562
virtual size_t GetSize() const
Definition: EventImp.h:55

+ Here is the call graph for this function:

+ Here is the caller graph for this function: