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

Definition at line 2033 of file FactGui.h.

References FTM::DimPassport::fBoardId, FTM::DimPassport::fFirmwareId, and DimData::ref().

Referenced by infoHandler().

2034  {
2035  if (!CheckSize(d, sizeof(FTM::DimPassport)))
2036  return;
2037 
2038  const FTM::DimPassport &sdata = d.ref<FTM::DimPassport>();
2039 
2040  stringstream str1, str2;
2041  str1 << hex << "0x" << setfill('0') << setw(16) << sdata.fBoardId;
2042  str2 << sdata.fFirmwareId;
2043 
2044  fFtmBoardId->setText(str1.str().c_str());
2045  fFtmFirmwareId->setText(str2.str().c_str());
2046  }
bool CheckSize(const DimData &d, size_t sz, bool print=true) const
Definition: FactGui.h:639
const T & ref(uint32_t offset=0) const
Definition: DimData.h:35
uint16_t fFirmwareId
Definition: HeadersFTM.h:144
uint64_t fBoardId
Definition: HeadersFTM.h:143

+ Here is the call graph for this function:

+ Here is the caller graph for this function: