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

Definition at line 1849 of file biasctrl.cc.

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

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

1850  {
1851  if (!CheckEventSize(evt.GetSize(), "SetUpdateInterval", 4))
1852  return false;
1853 
1854  fBias.SetUpdateInterval(evt.Get<int32_t>()<0 ? 0 : evt.Get<uint32_t>());
1855 
1856  return T::GetCurrentState();
1857  }
bool CheckEventSize(size_t has, const char *name, size_t size)
Definition: biasctrl.cc:1639
T Get(size_t offset=0) const
Definition: EventImp.h:66
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: