FACT++  1.0
template<class T , class S >
int StateMachineFTM< T, S >::ToggleFTU ( const EventImp evt)
inlineprivate

Definition at line 1710 of file ftmctrl.cc.

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

Referenced by StateMachineFTM< T, S >::StateMachineFTM().

1711  {
1712  if (!CheckEventSize(evt.GetSize(), "ToggleFTU", 4))
1713  return T::kSM_FatalError;
1714 
1715  if (!fFTM.ToggleFTU(evt.GetInt()))
1716  T::Warn("ToggleFTU - Allowed range of boards 0-39.");
1717 
1718  return T::GetCurrentState();
1719  }
bool CheckEventSize(size_t has, const char *name, size_t size)
Definition: ftmctrl.cc:1467
int32_t GetInt() const
Definition: EventImp.h:93
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: