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

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

Typedefs

Units (full names plural)
typedef unit< std::ratio< 1 >, units::category::energy_unitjoules
 
Units (full names singular)
typedef joules joule
 
Units (abbreviated)
typedef joules J
 
Unit Containers
typedef unit_t< joulejoule_t
 
typedef unit_t< calorie > calorie_t
 
typedef unit_t< kilowatt_hour > kilowatt_hour_t
 
typedef unit_t< watt_hour > watt_hour_t
 
typedef unit_t< british_thermal_unit > british_thermal_unit_t
 
typedef unit_t< british_thermal_unit_iso > british_thermal_unit_iso_t
 
typedef unit_t< british_thermal_unit_59 > british_thermal_unit_59_t
 
typedef unit_t< therm > therm_t
 
typedef unit_t< foot_pound > foot_pound_t
 

Functions

std::ostream & operator<< (std::ostream &os, const joule_t &obj)
 
std::string to_string (const joule_t &obj)
 
std::ostream & operator<< (std::ostream &os, const calorie_t &obj)
 
std::string to_string (const calorie_t &obj)
 
std::ostream & operator<< (std::ostream &os, const kilowatt_hour_t &obj)
 
std::string to_string (const kilowatt_hour_t &obj)
 
std::ostream & operator<< (std::ostream &os, const watt_hour_t &obj)
 
std::string to_string (const watt_hour_t &obj)
 
std::ostream & operator<< (std::ostream &os, const british_thermal_unit_t &obj)
 
std::string to_string (const british_thermal_unit_t &obj)
 
std::ostream & operator<< (std::ostream &os, const british_thermal_unit_iso_t &obj)
 
std::string to_string (const british_thermal_unit_iso_t &obj)
 
std::ostream & operator<< (std::ostream &os, const british_thermal_unit_59_t &obj)
 
std::string to_string (const british_thermal_unit_59_t &obj)
 
std::ostream & operator<< (std::ostream &os, const therm_t &obj)
 
std::string to_string (const therm_t &obj)
 
std::ostream & operator<< (std::ostream &os, const foot_pound_t &obj)
 
std::string to_string (const foot_pound_t &obj)
 

Detailed Description

namespace for unit types and containers representing energy values

The SI unit for energy is joules, and the corresponding base_unit category is energy_unit.

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