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

Definition at line 1920 of file ftmctrl.cc.

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

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

1921  {
1922  if (!CheckEventSize(evt.GetSize(), "DisableAllPatchesExcept", 2))
1923  return T::kSM_FatalError;
1924 
1925  if (!fFTM.DisableAllPatchesExcept(evt.GetUShort()))
1926  T::Warn("DisableAllPatchesExcept - Value out of range.");
1927 
1928  return T::GetCurrentState();
1929  }
bool CheckEventSize(size_t has, const char *name, size_t size)
Definition: ftmctrl.cc:1467
uint16_t GetUShort() const
Definition: EventImp.h:92
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: