UserMetricsInput::MetricUpdate
QObject
libusermetricsinput/MetricUpdate.h
UserMetricsInput::MetricUpdate::MetricUpdate
(QObject *parent=0)
MetricUpdate
UserMetricsInput::MetricUpdate::MetricUpdate
QObject * parent 0

This constructor cannot be used - the class is pure-virtual.

virtual UserMetricsInput::MetricUpdate::~MetricUpdate
()
~MetricUpdate
UserMetricsInput::MetricUpdate::~MetricUpdate

Destructor.

void virtual void UserMetricsInput::MetricUpdate::addData (double data)=0 addData UserMetricsInput::MetricUpdate::addData double data

Add data to a UserMetricsInputMetricUpdate.

data

The double-valued data to add

Each call to this method appends a new day's data to the update. So the first call adds data for today, the second call adds data for yesterday, and so on.
void virtual void UserMetricsInput::MetricUpdate::addNull ()=0 addNull UserMetricsInput::MetricUpdate::addNull

Add unknown data to an update.

If data is not known for a particular day, then null can be added.

An update to a Metric.

This is a short-lived class representing an update for a particular use to a Metric.

QObject
UserMetricsInput::MetricUpdate
QObject
UserMetricsInput::MetricUpdate
- UserMetricsInput::MetricUpdate
  addData
- UserMetricsInput::MetricUpdate
  addNull
- UserMetricsInput::MetricUpdate
  MetricUpdate
- UserMetricsInput::MetricUpdate
  ~MetricUpdate