BoB robotics
The Brains on Board robotics library
units::concentration Namespace Reference

namespace for unit types and containers representing concentration values More...

Typedefs

Units (full names plural)
typedef unit< std::ratio< 1, 1000000 >, units::category::scalar_unitparts_per_million
 
Units (full names singular)
typedef parts_per_million ppm
 
Unit Containers
typedef unit_t< ppmppm_t
 
typedef unit_t< ppb > ppb_t
 
typedef unit_t< ppt > ppt_t
 
typedef unit_t< percent > percent_t
 

Functions

std::ostream & operator<< (std::ostream &os, const ppm_t &obj)
 
std::string to_string (const ppm_t &obj)
 
std::ostream & operator<< (std::ostream &os, const ppb_t &obj)
 
std::string to_string (const ppb_t &obj)
 
std::ostream & operator<< (std::ostream &os, const ppt_t &obj)
 
std::string to_string (const ppt_t &obj)
 
std::ostream & operator<< (std::ostream &os, const percent_t &obj)
 
std::string to_string (const percent_t &obj)
 

Detailed Description

namespace for unit types and containers representing concentration values

The SI unit for concentration is parts_per_million, and the corresponding base_unit category is scalar_unit.

See also
See unit_t for more information on unit type containers.