|
AGX Dynamics
2.35.0.1
|
Statistics data storage class. More...
#include <Statistics.h>
Inheritance diagram for agx::Statistics::Data< T >:Public Member Functions | |
| Data (const char *name) | |
| T & | accumulatedValue () |
| Returns the accumulated value of this statistics data handle. More... | |
| const T & | accumulatedValue () const |
| virtual void | clear (bool clearAccumulated=true) override |
| Sets the current and accumulated values to zero, or the equivalent for complex types. More... | |
| agx::UInt | getNumAccumulated () const |
| void | report (const T &value) |
| virtual agxData::Value * | toValue () const override |
| T & | value () |
| Returns the current value of this statistics data handle. More... | |
| const T & | value () const |
Protected Member Functions | |
| virtual | ~Data () |
| virtual const void * | accumulatedPtr () const override |
| virtual const void * | valuePtr () const override |
Statistics data storage class.
Records both the most recently reported values and an accumulation of all reportings.
Definition at line 638 of file Statistics.h.
| agx::Statistics::Data< T >::Data | ( | const char * | name | ) |
|
protectedvirtual |
|
overrideprotectedvirtual |
| T& agx::Statistics::Data< T >::accumulatedValue | ( | ) |
Returns the accumulated value of this statistics data handle.
This is the sum of all reported values since the last reset.
| const T& agx::Statistics::Data< T >::accumulatedValue | ( | ) | const |
|
overridevirtual |
Sets the current and accumulated values to zero, or the equivalent for complex types.
Uses default constructor.
| agx::UInt agx::Statistics::Data< T >::getNumAccumulated | ( | ) | const |
| void agx::Statistics::Data< T >::report | ( | const T & | value | ) |
|
overridevirtual |
| T& agx::Statistics::Data< T >::value | ( | ) |
Returns the current value of this statistics data handle.
In the absence of 'reportAdditionalTiming(*)' calls this is the value passed to the last call to 'report(*)'.
| const T& agx::Statistics::Data< T >::value | ( | ) | const |
|
overrideprotectedvirtual |