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

Definition at line 349 of file pwrctrl.cc.

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

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

350  {
351  if (!CheckEventSize(evt.GetSize(), "SetVerbosity", 1))
352  return T::kSM_FatalError;
353 
354  fPower.SetVerbose(evt.GetBool());
355 
356  return T::GetCurrentState();
357  }
bool CheckEventSize(size_t has, const char *name, size_t size)
Definition: pwrctrl.cc:338
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: