electro 0.3.0
Type-safe electrical units library modeled after std::chrono
Loading...
Searching...
No Matches
electro::milliwatt_reference Struct Reference

Reference of 1 mW, for dBm. More...

#include <electro/decibel.hpp>

Public Types

using unit = watt_unit
 
using precision = std::milli
 

Static Public Attributes

static constexpr int factor = 10
 
static constexpr const charsymbol = "dBm"
 

Detailed Description

Reference of 1 mW, for dBm.

Definition at line 104 of file decibel.hpp.

Member Typedef Documentation

◆ precision

Definition at line 106 of file decibel.hpp.

◆ unit

Member Data Documentation

◆ factor

constexpr int electro::milliwatt_reference::factor = 10
staticconstexpr

Definition at line 107 of file decibel.hpp.

◆ symbol

constexpr const char* electro::milliwatt_reference::symbol = "dBm"
staticconstexpr

Definition at line 108 of file decibel.hpp.


The documentation for this struct was generated from the following file: