FACT++  1.0
void TemperatureSub::infoHandler ( )
inlinevirtual

Reimplemented from DimClient.

Definition at line 23 of file TempViewer.cc.

References DimInfo::getData(), DimInfoHandler::getInfo(), and DimInfo::getSize().

24  {
25  DimInfo* I = getInfo();
26  if (!(I==&info))
27  {
28  cout << "Hum, I'm getting info from subsciptions to which I didn\'t subscribe... weird" << endl;
29  return;
30  }
31  float* values = (float*)(I->getData());
32  if (I->getSize() != 60*sizeof(float))
33  {
34  cout << "wrong size: " << I->getSize() << endl;
35  return;
36  }
37  if (view)// && numC > 2)
38  view->updateData(values);
39  numC++;
40  }
Definition: dic.hxx:31
int getSize()
Definition: dic.hxx:100
Q3DCameraWidget * view
Definition: TempViewer.cc:16
void * getData()
Definition: diccpp.cxx:213
DimStampedInfo info
Definition: TempViewer.cc:15
DimInfo * getInfo()
Definition: dic.hxx:26

+ Here is the call graph for this function: