C# Класс PDQTrackerManager.StatisticsReader

Reads certain device and input stream statistics from the statistics archive. The statistics that are read are the total frame count, the missing frame count, connectivity, average latency, the actual data rate, data quality errors, and time quality errors.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Close ( ) : void

Closes the archive file once the statistics are no longer needed.

Dispose ( ) : void

Releases all the resources used by the StatisticsReader object.

Open ( ) : void

Causes the StatisticsReader to open the archive file and retrieve the statistics.

Read ( int severity ) : IEnumerable>.Dictionary

Reads data for a specified signal.

All parameters--ArchiveFilePath, StartTime, and EndTime--must be set manually before attempting to read statistics from the archive.

Read ( string statisticSuffix, int signalIndex ) : IEnumerable>.Dictionary

Reads data for a specified statistic.

All parameters--ArchiveFilePath, StartTime, and EndTime--must be set manually before attempting to read statistics from the archive.

Описание методов

Close() публичный Метод

Closes the archive file once the statistics are no longer needed.
public Close ( ) : void
Результат void

Dispose() публичный Метод

Releases all the resources used by the StatisticsReader object.
public Dispose ( ) : void
Результат void

Open() публичный Метод

Causes the StatisticsReader to open the archive file and retrieve the statistics.
public Open ( ) : void
Результат void

Read() публичный Метод

Reads data for a specified signal.
All parameters--ArchiveFilePath, StartTime, and EndTime--must be set manually before attempting to read statistics from the archive.
public Read ( int severity ) : IEnumerable>.Dictionary
severity int The index that defines which statistic in the given category is to be retrieved.
Результат IEnumerable>.Dictionary

Read() публичный Метод

Reads data for a specified statistic.
All parameters--ArchiveFilePath, StartTime, and EndTime--must be set manually before attempting to read statistics from the archive.
public Read ( string statisticSuffix, int signalIndex ) : IEnumerable>.Dictionary
statisticSuffix string The suffix that defines the category of the statistic.
signalIndex int The index that defines which statistic in the given category is to be retrieved.
Результат IEnumerable>.Dictionary