COMMS
Template library intended to help with implementation of communication protocols.
|
Namespace for various traits tag classes used in units conversion operations. More...
Namespace for various traits tag classes used in units conversion operations.
Classes | |
struct | Angle |
Tag class used to indicate angle value. More... | |
struct | Current |
Tag class used to indicate electrical current value. More... | |
struct | Distance |
Tag class used to indicate distance value. More... | |
struct | Frequency |
Tag class used to indicate frequency value. More... | |
struct | Memory |
Tag class used to indicate memory size value. More... | |
struct | Speed |
Tag class used to indicate speed value. More... | |
struct | Time |
Tag class used to indicate time value. More... | |
struct | Voltage |
Tag class used to indicate electrical voltage value. More... | |
Typedefs | |
using | AmpsRatio = std::ratio< 1, 1 > |
Ratio for amperes. | |
using | BytesRatio = std::ratio< 1, 1 > |
Ratio for bytes. | |
using | CentimetersPerSecondRatio = typename std::ratio_divide< CentimetersRatio, SecondsRatio >::type |
Ratio for centimeters / second. | |
using | CentimetersRatio = std::centi |
Ratio for centimeters. | |
using | DaysRatio = std::ratio< 24L *60 *60 > |
Ratio for days. | |
using | DegreesRatio = std::ratio< 1, 1 > |
Ratio for degrees. | |
using | GigabytesRatio = std::ratio< 1024ULL *1024 *1024, 1 > |
Ratio for gigabytes. | |
using | GigaHzRatio = std::giga |
Ratio for gigahertz. | |
using | HoursRatio = std::ratio< 60 *60 > |
Ratio for hours. | |
using | HzRatio = std::ratio< 1, 1 > |
Ratio for hertz. | |
using | KiloampsRatio = std::kilo |
Ratio for kiloamperes. | |
using | KilobytesRatio = std::ratio< 1024, 1 > |
Ratio for kilobytes. | |
using | KiloHzRatio = std::kilo |
Ratio for kilohertz. | |
using | KilometersPerHourRatio = typename std::ratio_divide< KilometersRatio, HoursRatio >::type |
Ratio for kilometers / hour. | |
using | KilometersPerSecondRatio = typename std::ratio_divide< KilometersRatio, SecondsRatio >::type |
Ratio for kilometers / second. | |
using | KilometersRatio = std::kilo |
Ratio for kilometers. | |
using | KilovoltsRatio = std::kilo |
Ratio for kilovolts. | |
using | MegabytesRatio = std::ratio< 1024UL *1024, 1 > |
Ratio for megabytes. | |
using | MegaHzRatio = std::mega |
Ratio for megahertz. | |
using | MetersPerSecondRatio = typename std::ratio_divide< MetersRatio, SecondsRatio >::type |
Ratio for meters / second. | |
using | MetersRatio = std::ratio< 1, 1 > |
Ratio for meters. | |
using | MicroampsRatio = std::micro |
Ratio for microamperes. | |
using | MicrometersPerSecondRatio = typename std::ratio_divide< MicrometersRatio, SecondsRatio >::type |
Ratio for micrometers / second. | |
using | MicrometersRatio = std::micro |
Ratio for micrometers. | |
using | MicrosecondsRatio = std::micro |
Ratio for microseconds. | |
using | MicrovoltsRatio = std::micro |
Ratio for microvolts. | |
using | MilliampsRatio = std::milli |
Ratio for milliamperes. | |
using | MillimetersPerSecondRatio = typename std::ratio_divide< MillimetersRatio, SecondsRatio >::type |
Ratio for millimeters / second. | |
using | MillimetersRatio = std::milli |
Ratio for millimeters. | |
using | MillisecondsRatio = std::milli |
Ratio for milliseconds. | |
using | MillivoltsRatio = std::milli |
Ratio for millivolts. | |
using | MinutesRatio = std::ratio< 60 > |
Ratio for minutes. | |
using | NanoampsRatio = std::nano |
Ratio for nanoamperes. | |
using | NanometersPerSecondRatio = typename std::ratio_divide< NanometersRatio, SecondsRatio >::type |
Ratio for nanometers / second. | |
using | NanometersRatio = std::nano |
Ratio for nanometers. | |
using | NanosecondsRatio = std::nano |
Ratio for nanoseconds. | |
using | NanovoltsRatio = std::nano |
Ratio for nanovolts. | |
using | RadiansRatio = std::ratio< 180, 1 > |
Ratio for radians. | |
using | SecondsRatio = std::ratio< 1, 1 > |
Ratio for seconds. | |
using | TerabytesRatio = std::ratio< 1024ULL *1024 *1024 *1024, 1 > |
Ratio for terabytes. | |
using | VoltsRatio = std::ratio< 1, 1 > |
Ratio for volts. | |
using | WeeksRatio = std::ratio< 7L *24 *60 *60 > |
Ratio for weeks. | |