CNiControlMetrics

CNi

Class CNiControlMetrics Base ClassesData ItemsConstructorsDestructorsFunctionsGo to hierarchy chart    Prev page: ResetNext page: Maximum    
Class Declared in:
NiControlMetrics.h

'Overview' icon -- Shortcut to top of page. 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.

Hierarchy Chart Hierarchy Chart

'Base Classes' icon -- Shortcut to top of page. Base Classes

'Data Items' icon -- Shortcut to top of page. Data Items

Public data double Maximum Returns the maximum value of any pointer since the metrics were last reset.
Public data double Mean Returns the mean of the last 10 pointer values.
Public data double Minimum Returns the minimum value of any pointer since the metrics were last reset.

'Constructors' icon -- Shortcut to top of page. Constructors

Public constructor

CNiControlMetrics()

Default constructor.
Public constructor

CNiControlMetrics( CWStatistics_CI* pCustom, CNiInterface::ThreadAccess option )

Constructor that attaches to the specified CWStatistics_CI pointer.
Public constructor

CNiControlMetrics( const CNiControlMetrics& source )

Copy constructor.

'Destructors' icon -- Shortcut to top of page. Destructors

Public destructor

~CNiControlMetrics()

Destructor.

'Functions' icon -- Shortcut to top of page. Functions

Public function static const IID &

GetIid()

Returns the globally unique identifier (GUID) of the ActiveX interface to which this class connects.
Public function const CNiControlMetrics &

operator =( const CNiControlMetrics& source )

Assignment operator.
Public function void

Reset()

Resets the minimum, maximum, and mean metrics.