FACT++  1.0
void FactGui::handleFtmError ( const DimData d)
inlineprivate

Definition at line 2086 of file FactGui.h.

References FTM::Error::fDestAddress, FTM::DimError::fError, FTM::Error::fNumCalls, DimData::ref(), and DimData::time.

Referenced by infoHandler().

2087  {
2088  if (!CheckSize(d, sizeof(FTM::DimError)))
2089  return;
2090 
2091  const FTM::DimError &sdata = d.ref<FTM::DimError>();
2092 
2093  SetFtuLed(sdata.fError.fDestAddress, sdata.fError.fNumCalls, d.time);
2094  SetFtuStatusLed(d.time);
2095 
2096  // FIXME: Write to special window!
2097  //Out() << "Error:" << endl;
2098  //Out() << sdata.fError << endl;
2099  }
bool CheckSize(const DimData &d, size_t sz, bool print=true) const
Definition: FactGui.h:639
void SetFtuStatusLed(const Time &t)
Definition: FactGui.h:1899
uint16_t fDestAddress
Definition: HeadersFTM.h:713
const Time time
Definition: DimData.h:9
const T & ref(uint32_t offset=0) const
Definition: DimData.h:35
uint16_t fNumCalls
Definition: HeadersFTM.h:710
void SetFtuLed(int idx, int counter, const Time &t)
Definition: FactGui.h:1884

+ Here is the call graph for this function:

+ Here is the caller graph for this function: