ZotBins Core
|
Acts as main class, taking in weight interface to allow for mock data and real data. More...
#include <WeightMetric.hpp>
Public Member Functions | |
WeightMetric (IWeight &weightSensor) | |
Construct a new Weight object. | |
int32_t | getWeight () |
Returns the weight. | |
Acts as main class, taking in weight interface to allow for mock data and real data.
WeightMetric::WeightMetric | ( | IWeight & | weightSensor | ) |
Construct a new Weight object.
weightSensor | An object that is a weight interface object. |
int32_t WeightMetric::getWeight | ( | ) |
Returns the weight.