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

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

Typedefs

Units (full names plural)
typedef unit< std::ratio< 1 >, units::category::power_unitwatts
 
Units (full names singular)
typedef watts watt
 
Units (abbreviated)
typedef watts W
 
Unit Containers
typedef unit_t< wattwatt_t
 
typedef unit_t< horsepower > horsepower_t
 

Functions

std::ostream & operator<< (std::ostream &os, const watt_t &obj)
 
std::string to_string (const watt_t &obj)
 
std::ostream & operator<< (std::ostream &os, const horsepower_t &obj)
 
std::string to_string (const horsepower_t &obj)
 
std::ostream & operator<< (std::ostream &os, const dBW_t &obj)
 
std::string to_string (const dBW_t &obj)
 
std::ostream & operator<< (std::ostream &os, const dBm_t &obj)
 
std::string to_string (const dBm_t &obj)
 

Detailed Description

namespace for unit types and containers representing power values

The SI unit for power is watts, and the corresponding base_unit category is power_unit.

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