FACT++  1.0
int StateMachineSmartFACT::HandleFscControlStateChange ( const EventImp d)
inlineprivate

Definition at line 891 of file smartfact.cc.

References FSC::State::kConnected, DimState::kOffline, StateMachineImp::kSM_KeepState, DimState::last, and DimState::state().

Referenced by StateMachineSmartFACT().

892  {
893  const int32_t &last = fDimFscControl.last.second;
894  const int32_t &state = fDimFscControl.state();
895 
896  if (last==DimState::kOffline || state==DimState::kOffline)
898 
900  {
901  AddMcpConfigurationHist(d, "<B>FSC swiched on</B>");
902  //SetAudio("startup");
903  }
904 
906  {
907  AddMcpConfigurationHist(d, "<B>FSC swiched off</B>");
908  //SetAudio("shutdown");
909  }
910 
912  }
const int32_t & state() const
Definition: DimState.h:80
std::pair< Time, int32_t > last
Definition: DimState.h:64
void AddMcpConfigurationHist(const EventImp &d, const string &msg)
Definition: smartfact.cc:878
DimDescribedState fDimFscControl
Definition: smartfact.cc:637

+ Here is the call graph for this function:

+ Here is the caller graph for this function: