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

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

Typedefs

Units (full names plural)
typedef unit< std::ratio< 1 >, units::category::voltage_unitvolts
 
Units (full names singular)
typedef volts volt
 
Units (abbreviated)
typedef volts V
 
Unit Containers
typedef unit_t< voltvolt_t
 
typedef unit_t< statvolt > statvolt_t
 
typedef unit_t< abvolt > abvolt_t
 

Functions

std::ostream & operator<< (std::ostream &os, const volt_t &obj)
 
std::string to_string (const volt_t &obj)
 
std::ostream & operator<< (std::ostream &os, const statvolt_t &obj)
 
std::string to_string (const statvolt_t &obj)
 
std::ostream & operator<< (std::ostream &os, const abvolt_t &obj)
 
std::string to_string (const abvolt_t &obj)
 

Detailed Description

namespace for unit types and containers representing voltage values

The SI unit for voltage is volts, and the corresponding base_unit category is voltage_unit.

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