CVB.Net 14.0
StreamStatistics Class Referenceabstract

Gives access to stream related statistics. More...

Inherits IEnumerable< KeyValuePair< StreamInfo, double > >.

Inherited by Grab2Statistics, and NoStatistics.

Public Member Functions

IEnumerator< KeyValuePair< StreamInfo, double > > GetEnumerator ()
 Gets the typed enumerator for the available statistics. More...
 
abstract bool TryGetValue (StreamInfo query, out double value)
 Tries to retrieve the value of statistic to query . More...
 

Properties

double this[StreamInfo query] [get]
 Gets the value of the statistic to query . More...
 

Detailed Description

Gives access to stream related statistics.

Member Function Documentation

◆ GetEnumerator()

IEnumerator< KeyValuePair< StreamInfo, double > > GetEnumerator ( )

Gets the typed enumerator for the available statistics.

Returns
Available statistics enumerator.

◆ TryGetValue()

abstract bool TryGetValue ( StreamInfo  query,
out double  value 
)
pure virtual

Tries to retrieve the value of statistic to query .

Parameters
queryInfo to query.
valueCurrent value of the statistic.
Returns
true if statistic value could be retrieved; false otherwise.

Property Documentation

◆ this[StreamInfo query]

double this[StreamInfo query]
get

Gets the value of the statistic to query .

Parameters
queryInfo to query
Returns
Current value of the statistic.
Exceptions
NotSupportedExceptionStatistic to query is not available.