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

Definition at line 490 of file lidctrl.cc.

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

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

491  {
492  if (!CheckEventSize(evt.GetSize(), "SetVerbosity", 1))
493  return T::kSM_FatalError;
494 
495  fLid.SetVerbose(evt.GetBool());
496 
497  return T::GetCurrentState();
498  }
bool CheckEventSize(size_t has, const char *name, size_t size)
Definition: lidctrl.cc:479
bool GetBool() const
Definition: EventImp.h:90
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: