CounterStat

CounterStat
Scaleform::Stat
    Scaleform::CounterStat
Declaration
class CounterStat : public Stat;
Description

CounterStat tracks the number of times a certain measured event took place. The counter can also be used to record the number of certain objects processed by the algorithm, such as the number of DrawPrimitives or triangles drawn by the renderer.

Data Members
Data Member 
Description 
Variable implemented as the counter. 
Methods
Method 
Description 
Add 
Adds the counter statistics of another CounterStat object to the current object. 
Adds the passed count value to the counter. 
CounterSat constructor. 
Obtains the counter value. 
Returns the type of statistics generated. 
Init 
Initializes the counter. 
Resets the counter value to zero. 
Compares with another CounterStat object and sets the maximum of the counter statistics value to the current CounterStat object. 
Compares with another CounterStat object and sets the minimum of the counter statistics value to the current CounterStat object. 
Obtains the statistics value of the counter. 
Obtains the maximum number of statistics in the counter. 
Operators
Operator 
Description 
+= 
Increments the counter value of the current CounterStat object by adding the counter statistics of another CounterStat object to the current one. 
File

SF_Stats.h