CVB.Net 14.0
Grab2Statistics Class Reference

Statistics implementation for the IGrab2 interface. More...

Inherits StreamStatistics.

Public Member Functions

 Grab2Statistics (Device parent)
 Creats the statistics object. More...
 
override bool TryGetValue (StreamInfo query, out double value)
 Uses G2GetGrabStatus to query the value . More...
 
- Public Member Functions inherited from StreamStatistics
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...
 

Additional Inherited Members

- Properties inherited from StreamStatistics
double this[StreamInfo query] [get]
 Gets the value of the statistic to query . More...
 

Detailed Description

Statistics implementation for the IGrab2 interface.

Constructor & Destructor Documentation

◆ Grab2Statistics()

Grab2Statistics ( Device  parent)

Creats the statistics object.

Parameters
parent

Member Function Documentation

◆ TryGetValue()

override bool TryGetValue ( StreamInfo  query,
out double  value 
)
virtual

Uses G2GetGrabStatus to query the value .

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

Implements StreamStatistics.