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

Definition at line 750 of file FactGui.h.

References DimData::name, DimData::ptr(), DimData::qos, and DimData::size().

Referenced by infoHandler().

751  {
752  if (d.size()==0)
753  return;
754 
755  if (d.size()<8)
756  {
757  cerr << "Size mismatch in " << d.name << ": Found=" << d.size() << " Expected>=8" << endl;
758  return;
759  }
760 
761  const uint32_t *ptr = d.ptr<uint32_t>();
762 
763  fEvtBldLastOpened->setValue(ptr[0]);
764  fEvtBldLastClosed->setValue(ptr[1]);
765 
766  if (d.size()>=8)
767  fEvtBldFilename->setText(d.ptr<char>(8));
768 
769  fEvtBldLastOpened->setEnabled(d.qos);
770  fEvtBldLastClosed->setEnabled(d.qos);
771  fEvtBldFilename->setEnabled(d.qos);
772  }
const std::string name
Definition: DimData.h:6
const int qos
Definition: DimData.h:5
size_t size() const
Definition: DimData.h:39
const T * ptr(uint32_t offset=0) const
Definition: DimData.h:32

+ Here is the call graph for this function:

+ Here is the caller graph for this function: