18 #ifndef LOCATION_SERVICE_COM_UBUNTU_LOCATION_CRITERIA_H_
19 #define LOCATION_SERVICE_COM_UBUNTU_LOCATION_CRITERIA_H_
boost::units::quantity< Unit, double > Quantity
static const Length Meters
Criteria operator+(const Criteria &lhs, const Criteria &rhs)
operator + merges lhs and rhs such that satisfying the new criteria satisfies lhs and rhs.
boost::optional< T > Optional
units::Quantity< units::Length > horizontal
The client requires measurements of at least this horizontal accuracy.
Optional< units::Quantity< units::PlaneAngle > > heading
The client requires measurements of at least this heading accuracy.
Optional< units::Quantity< units::Velocity > > velocity
The client requires measurements of at least this velocity accuracy.
Optional< units::Quantity< units::Length > > vertical
The client requires measurements of at least this vertical accuracy.
bool position
The client needs position measurements.
bool heading
The client needs heading measurements.
bool velocity
The client needs velocity measurments.
bool altitude
The client needs altitude measurements.
Summarizes criteria of a client session with respect to functionality and accuracy for position,...
struct com::ubuntu::location::Criteria::Accuracy accuracy
bool satisfies(const Criteria &rhs) const
satisfies checks whether this instance also satisfies another criteria instance.
struct com::ubuntu::location::Criteria::Requires requires