roo_quantity
API Documentation for roo_quantity
Loading...
Searching...
No Matches
current.h File Reference
#include <cmath>
#include "roo_flags.h"
#include "roo_logging.h"
#include "roo_quantity/charge.h"
#include "roo_quantity/time.h"
Include dependency graph for current.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  roo_quantity::Current
 Representation of current, internally stored as floating-point Amperes. More...
 

Namespaces

namespace  roo_quantity
 For convenience conversion from roo_time::Duration.
 

Functions

Current roo_quantity::CurrentInAmperes (float current)
 Returns a current object equivalent to the specified current expressed in Amperes.
 
Current roo_quantity::UnknownCurrent ()
 Returns a current object representing an unknown current.
 
Current roo_quantity::CurrentInMegaAmperes (float current)
 Returns a current object equivalent to the specified current expressed in megaAmperes.
 
Current roo_quantity::CurrentInKiloAmperes (float current)
 Returns a current object equivalent to the specified current expressed in kiloAmperes.
 
Current roo_quantity::CurrentInMilliAmperes (float current)
 Returns a current object equivalent to the specified current expressed in milliAmperes.
 
Current roo_quantity::CurrentInMicroAmperes (float current)
 Returns a current object equivalent to the specified current expressed in microAmperes.
 
Current roo_quantity::operator+ (Current a, Current b)
 
Current roo_quantity::operator- (Current a, Current b)
 
Current roo_quantity::operator- (Current a)
 
Current roo_quantity::operator* (Current a, float b)
 
Current roo_quantity::operator* (float a, Current b)
 
Current roo_quantity::operator/ (Current a, float b)
 
float roo_quantity::operator/ (Current a, Current b)
 
Charge roo_quantity::operator* (Current a, Time b)
 Vs charge.
 
Charge roo_quantity::operator* (Time a, Current b)
 
Current roo_quantity::operator/ (Charge a, Time b)
 
Time roo_quantity::operator/ (Charge a, Current b)
 
roo_logging::Stream & roo_quantity::operator<< (roo_logging::Stream &os, const Current &val)