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

Definition at line 1721 of file ftmctrl.cc.

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

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

1722  {
1723  if (!CheckEventSize(evt.GetSize(), "SetTriggerInterval", 4))
1724  return T::kSM_FatalError;
1725 
1726  if (!fFTM.SetTriggerInterval(evt.GetInt()))
1727  T::Warn("SetTriggerInterval - Value out of range.");
1728 
1729  return T::GetCurrentState();
1730  }
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: