for (int i=0; i<DvbSi::Database::getNumberOfDatabases(); i++) { DvbSi::Database::Ptr d=DvbSi::Database::getDatabase(i); if (d) new cApplicationMonitor(d);
std::list<DvbSi::Database::Ptr> list; DvbSi::Database::getDatabases(list); for (std::list<DvbSi::Database::Ptr>::iterator it = list.begin(); it != list.end(); ++it) { new cApplicationMonitor(*it);
namespace ApplicationInfo {cApplications Applications;/* --------- cMyApplicationMonitor */void cApplicationMonitor::InitializeAllDevices() {   for (int i=0; i<DvbSi::Database::getNumberOfDatabases(); i++) {      DvbSi::Database::Ptr d=DvbSi::Database::getDatabase(i);      if (d)         new cApplicationMonitor(d);   }}cApplicationMonitor::cApplicationMonitor(DvbSi::Database::Ptr d)  : DvbSi::Filter(d), ts(0), request(0), numAitEntries(0) {   d->addDataSwitchListener(this);}