FACT++  1.0
template<class T , class S >
int StateMachinePowerControl< T, S >::Execute ( )
inlineprivatevirtual

Implements StateMachineAsio< T >.

Definition at line 393 of file pwrctrl.cc.

References Error(), and Power::State::kCoolingFailure.

394  {
395  const int rc = fPower.GetState();
396 
397  if (rc==Power::State::kCoolingFailure && T::GetCurrentState()!=Power::State::kCoolingFailure)
398  T::Error("Power control unit reported cooling failure.");
399 
400  return fPower.GetState();
401  }
Error()
Definition: HeadersFTM.h:197

+ Here is the call graph for this function: