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

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

Typedefs

Units (full names plural)
typedef unit< std::ratio< 1 >, units::category::pressure_unitpascals
 
Units (full names singular)
typedef pascals pascal
 
Units (abbreviated)
typedef pascals Pa
 
Unit Containers
typedef unit_t< pascalpascal_t
 
typedef unit_t< bar > bar_t
 
typedef unit_t< mbar > mbar_t
 
typedef unit_t< atmosphere > atmosphere_t
 
typedef unit_t< pounds_per_square_inch > pounds_per_square_inch_t
 
typedef unit_t< torr > torr_t
 

Functions

std::ostream & operator<< (std::ostream &os, const pascal_t &obj)
 
std::string to_string (const pascal_t &obj)
 
std::ostream & operator<< (std::ostream &os, const bar_t &obj)
 
std::string to_string (const bar_t &obj)
 
std::ostream & operator<< (std::ostream &os, const mbar_t &obj)
 
std::string to_string (const mbar_t &obj)
 
std::ostream & operator<< (std::ostream &os, const atmosphere_t &obj)
 
std::string to_string (const atmosphere_t &obj)
 
std::ostream & operator<< (std::ostream &os, const pounds_per_square_inch_t &obj)
 
std::string to_string (const pounds_per_square_inch_t &obj)
 
std::ostream & operator<< (std::ostream &os, const torr_t &obj)
 
std::string to_string (const torr_t &obj)
 

Detailed Description

namespace for unit types and containers representing pressure values

The SI unit for pressure is pascals, and the corresponding base_unit category is pressure_unit.

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