#include <RTPSource.hh>
Collaboration diagram for RTPReceptionStatsDB::Iterator:

Public Member Functions | |
| Iterator (RTPReceptionStatsDB &receptionStatsDB) | |
| virtual | ~Iterator () |
| RTPReceptionStats * | next (Boolean includeInactiveSources=False) |
Private Attributes | |
| HashTable::Iterator * | fIter |
Definition at line 120 of file RTPSource.hh.
| RTPReceptionStatsDB::Iterator::Iterator | ( | RTPReceptionStatsDB & | receptionStatsDB | ) |
Definition at line 154 of file RTPSource.cpp.
00155 : fIter(HashTable::Iterator::create(*(receptionStatsDB.fTable))) { 00156 }
| RTPReceptionStatsDB::Iterator::~Iterator | ( | ) | [virtual] |
| RTPReceptionStats * RTPReceptionStatsDB::Iterator::next | ( | Boolean | includeInactiveSources = False |
) |
Definition at line 163 of file RTPSource.cpp.
References fIter, next(), NULL, and RTPReceptionStats::numPacketsReceivedSinceLastReset().
Referenced by RTCPInstance::enqueueCommonReportSuffix(), and next().
00163 { 00164 char const* key; // dummy 00165 00166 // If asked, skip over any sources that haven't been active 00167 // since the last reset: 00168 RTPReceptionStats* stats; 00169 do { 00170 stats = (RTPReceptionStats*)(fIter->next(key)); 00171 } while (stats != NULL && !includeInactiveSources 00172 && stats->numPacketsReceivedSinceLastReset() == 0); 00173 00174 return stats; 00175 }
1.5.2