CNiControlMetrics |
Class |
Declared in: NiControlMetrics.h |
Overview
CNiControlMetrics encapsulates the control metrics property of a knob or slider control.
These metrics include the following elements.
- Minimum pointer value.
- Maximum pointer value.
- Mean pointer value of last ten pointer values.
Use the Reset function to reset the metrics.
Base Classes
Data Items
double | Maximum | Returns the maximum value of any pointer since the metrics were last reset. | |
double | Mean | Returns the mean of the last 10 pointer values. | |
double | Minimum | Returns the minimum value of any pointer since the metrics were last reset. |
Constructors
Default constructor. | |||
CNiControlMetrics( CWStatistics_CI* pCustom, CNiInterface::ThreadAccess option ) |
Constructor that attaches to the specified CWStatistics_CI pointer. | ||
CNiControlMetrics( const CNiControlMetrics& source ) |
Copy constructor. |
Destructors
Functions
static const IID & | GetIid() |
Returns the globally unique identifier (GUID) of the ActiveX interface to which this class connects. | |
const CNiControlMetrics & | Assignment operator. | ||
void | Reset() |
Resets the minimum, maximum, and mean metrics. |