WPILibC++ 2023.4.3-108-ge5452e3
energy.h File Reference
#include "units/base.h"

Go to the source code of this file.

Namespaces

namespace  units
 Unit Conversion Library namespace.
 
namespace  units::energy
 namespace for unit types and containers representing energy values
 

Functions

 units::UNIT_ADD_WITH_METRIC_PREFIXES (energy, joule, joules, J, unit< std::ratio< 1 >, units::category::energy_unit >) UNIT_ADD_WITH_METRIC_PREFIXES(energy
 
unit< std::ratio< 4184, 1000 >, joules > units::UNIT_ADD (energy, kilowatt_hour, kilowatt_hours, kWh, unit< std::ratio< 36, 10 >, megajoules >) UNIT_ADD(energy
 
unit< std::ratio< 4184, 1000 >, joules > unit< std::ratio< 1, 1000 >, kilowatt_hours > units::UNIT_ADD (energy, british_thermal_unit, british_thermal_units, BTU, unit< std::ratio< 105505585262, 100000000 >, joules >) UNIT_ADD(energy
 
unit< std::ratio< 4184, 1000 >, joules > unit< std::ratio< 1, 1000 >, kilowatt_hours > unit< std::ratio< 1055056, 1000 >, joules > units::UNIT_ADD (energy, british_thermal_unit_59, british_thermal_units_59, BTU59, unit< std::ratio< 1054804, 1000 >, joules >) UNIT_ADD(energy
 
unit< std::ratio< 4184, 1000 >, joules > unit< std::ratio< 1, 1000 >, kilowatt_hours > unit< std::ratio< 1055056, 1000 >, joules > unit< std::ratio< 100000 >, british_thermal_units_59 > units::UNIT_ADD (energy, foot_pound, foot_pounds, ftlbf, unit< std::ratio< 13558179483314004, 10000000000000000 >, joules >) using namespace energy
 

Variables

 units::calorie
 
 units::calories
 
 units::cal
 
unit< std::ratio< 4184, 1000 >, joules > units::watt_hour
 
unit< std::ratio< 4184, 1000 >, joules > units::watt_hours
 
unit< std::ratio< 4184, 1000 >, joules > units::Wh
 
unit< std::ratio< 4184, 1000 >, joules > unit< std::ratio< 1, 1000 >, kilowatt_hours > units::british_thermal_unit_iso
 
unit< std::ratio< 4184, 1000 >, joules > unit< std::ratio< 1, 1000 >, kilowatt_hours > units::british_thermal_units_iso
 
unit< std::ratio< 4184, 1000 >, joules > unit< std::ratio< 1, 1000 >, kilowatt_hours > units::BTU_iso
 
unit< std::ratio< 4184, 1000 >, joules > unit< std::ratio< 1, 1000 >, kilowatt_hours > unit< std::ratio< 1055056, 1000 >, joules > units::therm
 
unit< std::ratio< 4184, 1000 >, joules > unit< std::ratio< 1, 1000 >, kilowatt_hours > unit< std::ratio< 1055056, 1000 >, joules > units::therms
 
unit< std::ratio< 4184, 1000 >, joules > unit< std::ratio< 1, 1000 >, kilowatt_hours > unit< std::ratio< 1055056, 1000 >, joules > units::thm