Bratmobile
Public Member Functions | Protected Attributes | List of all members
Measurement Class Reference

A class for a single Task execution info measurement. More...

#include <measurement.h>

Inheritance diagram for Measurement:
Inheritance graph
[legend]

Public Member Functions

bool isValid ()
 
float get_signed ()
 
float get ()
 
void set (float f)
 
void setValid (bool b)
 
bool operator< (Measurement &)
 Compares absolute values.
 
bool operator<= (Measurement &)
 Compares absolute values.
 
bool operator>= (Measurement &)
 Compares absolute values.
 
bool operator== (Measurement &m2)
 Compares signed values.
 
float getStandardError (Measurement, float)
 Gets error between this and another measurement, normalised by the maximum error value error can take. More...
 

Protected Attributes

bool valid =0
 
float value =0
 

Detailed Description

A class for a single Task execution info measurement.

Member Function Documentation

◆ getStandardError()

float Measurement::getStandardError ( Measurement  m2,
float  max 
)

Gets error between this and another measurement, normalised by the maximum error value error can take.

Returns
float

The documentation for this class was generated from the following files: