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

Definition at line 359 of file pwrctrl.cc.

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

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

360  {
361  if (!CheckEventSize(evt.GetSize(), "SetDebugRx", 1))
362  return T::kSM_FatalError;
363 
364  fPower.SetDebugRx(evt.GetBool());
365 
366  return T::GetCurrentState();
367  }
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: