cpscotti edited this page Feb 28, 2011 · 3 revisions

PushDevicesHolder is a subclass of QVector<PushBurtonGenericDevice *> and it has two essential purposes:

  • Assure that all generated data (LogTicks) are connected to NPushTickDisposer for proper disposition (garbage collection)
  • Maintain the inter-connections in between all the devices (e.g. connect(dev1, SIGNAL(reading_ready(NPushLogTick*)), dev2, SLOT(incomming_reading(NPushLogTick*)), Qt::UniqueConnection);)
  • Take care of properly deleting all devices.