libusermetrics
UserMetricsInput Namespace Reference

The user metrics input library namespace. More...

Classes

class  Metric
 This class represents a single user metric. More...
 
class  MetricParameters
 
class  MetricManager
 Central place for registering and updating user metrics. More...
 
class  MetricUpdate
 An update to a Metric. More...
 

Typedefs

typedef QSharedPointer< MetricMetricPtr
 
typedef QScopedPointer< MetricManagerMetricManagerPtr
 Shared pointer for the MetricManager. More...
 
typedef QScopedPointer< MetricUpdateMetricUpdatePtr
 Useful to store your instance of MetricUpdate in. More...
 

Enumerations

enum  MetricType { USER , SYSTEM }
 

Detailed Description

The user metrics input library namespace.

Typedef Documentation

◆ MetricManagerPtr

◆ MetricPtr

typedef QSharedPointer<Metric> UserMetricsInput::MetricPtr

The instances of Metric are implicitly shared.

Examples
MetricManagerAdvanced.cpp, MetricManagerIncrementToday.cpp, and MetricManagerUpdateToday.cpp.

◆ MetricUpdatePtr

Useful to store your instance of MetricUpdate in.

Examples
MetricManagerAdvanced.cpp.

Enumeration Type Documentation

◆ MetricType

Enumerator
USER 
SYSTEM