WPILibC++ 2025.2.1
|
namespace representing the implemented base and derived unit types. More...
Typedefs | |
typedef base_unit | scalar_unit |
Represents a quantity with no dimension. | |
typedef base_unit | dimensionless_unit |
Represents a quantity with no dimension. | |
typedef base_unit< detail::meter_ratio< 1 > > | length_unit |
Represents an SI base unit of length. | |
typedef base_unit< detail::meter_ratio< 0 >, std::ratio< 1 > > | mass_unit |
Represents an SI base unit of mass. | |
typedef base_unit< detail::meter_ratio< 0 >, std::ratio< 0 >, std::ratio< 1 > > | time_unit |
Represents an SI base unit of time. | |
typedef base_unit< detail::meter_ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 1 > > | angle_unit |
Represents an SI base unit of angle. | |
typedef base_unit< detail::meter_ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 1 > > | current_unit |
Represents an SI base unit of current. | |
typedef base_unit< detail::meter_ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 1 > > | temperature_unit |
Represents an SI base unit of temperature. | |
typedef base_unit< detail::meter_ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 1 > > | substance_unit |
Represents an SI base unit of amount of substance. | |
typedef base_unit< detail::meter_ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 1 > > | luminous_intensity_unit |
Represents an SI base unit of luminous intensity. | |
typedef base_unit< detail::meter_ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 2 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 > > | solid_angle_unit |
Represents an SI derived unit of solid angle. | |
typedef base_unit< detail::meter_ratio< 0 >, std::ratio< 0 >, std::ratio<-1 > > | frequency_unit |
Represents an SI derived unit of frequency. | |
typedef base_unit< detail::meter_ratio< 1 >, std::ratio< 0 >, std::ratio<-1 > > | velocity_unit |
Represents an SI derived unit of velocity. | |
typedef base_unit< detail::meter_ratio< 0 >, std::ratio< 0 >, std::ratio<-1 >, std::ratio< 1 > > | angular_velocity_unit |
Represents an SI derived unit of angular velocity. | |
typedef base_unit< detail::meter_ratio< 1 >, std::ratio< 0 >, std::ratio<-2 > > | acceleration_unit |
Represents an SI derived unit of acceleration. | |
typedef base_unit< detail::meter_ratio< 0 >, std::ratio< 0 >, std::ratio<-2 >, std::ratio< 1 > > | angular_acceleration_unit |
Represents an SI derived unit of angular acceleration. | |
typedef base_unit< detail::meter_ratio< 0 >, std::ratio< 0 >, std::ratio<-3 >, std::ratio< 1 > > | angular_jerk_unit |
Represents an SI derived unit of angular jerk. | |
typedef base_unit< detail::meter_ratio< 1 >, std::ratio< 1 >, std::ratio<-2 > > | force_unit |
Represents an SI derived unit of force. | |
typedef base_unit< detail::meter_ratio<-1 >, std::ratio< 1 >, std::ratio<-2 > > | pressure_unit |
Represents an SI derived unit of pressure. | |
typedef base_unit< detail::meter_ratio< 0 >, std::ratio< 0 >, std::ratio< 1 >, std::ratio< 0 >, std::ratio< 1 > > | charge_unit |
Represents an SI derived unit of charge. | |
typedef base_unit< detail::meter_ratio< 2 >, std::ratio< 1 >, std::ratio<-2 > > | energy_unit |
Represents an SI derived unit of energy. | |
typedef base_unit< detail::meter_ratio< 2 >, std::ratio< 1 >, std::ratio<-3 > > | power_unit |
Represents an SI derived unit of power. | |
typedef base_unit< detail::meter_ratio< 2 >, std::ratio< 1 >, std::ratio<-3 >, std::ratio< 0 >, std::ratio<-1 > > | voltage_unit |
Represents an SI derived unit of voltage. | |
typedef base_unit< detail::meter_ratio<-2 >, std::ratio<-1 >, std::ratio< 4 >, std::ratio< 0 >, std::ratio< 2 > > | capacitance_unit |
Represents an SI derived unit of capacitance. | |
typedef base_unit< detail::meter_ratio< 2 >, std::ratio< 1 >, std::ratio<-3 >, std::ratio< 0 >, std::ratio<-2 > > | impedance_unit |
Represents an SI derived unit of impedance. | |
typedef base_unit< detail::meter_ratio<-2 >, std::ratio<-1 >, std::ratio< 3 >, std::ratio< 0 >, std::ratio< 2 > > | conductance_unit |
Represents an SI derived unit of conductance. | |
typedef base_unit< detail::meter_ratio< 2 >, std::ratio< 1 >, std::ratio<-2 >, std::ratio< 0 >, std::ratio<-1 > > | magnetic_flux_unit |
Represents an SI derived unit of magnetic flux. | |
typedef base_unit< detail::meter_ratio< 0 >, std::ratio< 1 >, std::ratio<-2 >, std::ratio< 0 >, std::ratio<-1 > > | magnetic_field_strength_unit |
Represents an SI derived unit of magnetic field strength. | |
typedef base_unit< detail::meter_ratio< 2 >, std::ratio< 1 >, std::ratio<-2 >, std::ratio< 0 >, std::ratio<-2 > > | inductance_unit |
Represents an SI derived unit of inductance. | |
typedef base_unit< detail::meter_ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 2 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 1 > > | luminous_flux_unit |
Represents an SI derived unit of luminous flux. | |
typedef base_unit< detail::meter_ratio<-2 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 2 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 1 > > | illuminance_unit |
Represents an SI derived unit of illuminance. | |
typedef base_unit< detail::meter_ratio< 0 >, std::ratio< 0 >, std::ratio<-1 > > | radioactivity_unit |
Represents an SI derived unit of radioactivity. | |
typedef base_unit< detail::meter_ratio< 2 >, std::ratio< 1 >, std::ratio<-2 > > | torque_unit |
Represents an SI derived unit of torque. | |
typedef base_unit< detail::meter_ratio< 2 > > | area_unit |
Represents an SI derived unit of area. | |
typedef base_unit< detail::meter_ratio< 3 > > | volume_unit |
Represents an SI derived unit of volume. | |
typedef base_unit< detail::meter_ratio<-3 >, std::ratio< 1 > > | density_unit |
Represents an SI derived unit of density. | |
typedef base_unit | concentration_unit |
Represents a unit of concentration. | |
typedef base_unit< detail::meter_ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 1 > > | data_unit |
Represents a unit of data size. | |
typedef base_unit< detail::meter_ratio< 0 >, std::ratio< 0 >, std::ratio<-1 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 1 > > | data_transfer_rate_unit |
Represents a unit of data transfer rate. | |
namespace representing the implemented base and derived unit types.
These will not generally be needed by library users.
typedef base_unit<detail::meter_ratio<1>, std::ratio<0>, std::ratio<-2> > units::category::acceleration_unit |
Represents an SI derived unit of acceleration.
typedef base_unit<detail::meter_ratio<0>, std::ratio<0>, std::ratio<0>, std::ratio<1> > units::category::angle_unit |
Represents an SI base unit of angle.
typedef base_unit<detail::meter_ratio<0>, std::ratio<0>, std::ratio<-2>, std::ratio<1> > units::category::angular_acceleration_unit |
Represents an SI derived unit of angular acceleration.
typedef base_unit<detail::meter_ratio<0>, std::ratio<0>, std::ratio<-3>, std::ratio<1> > units::category::angular_jerk_unit |
Represents an SI derived unit of angular jerk.
typedef base_unit<detail::meter_ratio<0>, std::ratio<0>, std::ratio<-1>, std::ratio<1> > units::category::angular_velocity_unit |
Represents an SI derived unit of angular velocity.
typedef base_unit<detail::meter_ratio<2> > units::category::area_unit |
Represents an SI derived unit of area.
typedef base_unit<detail::meter_ratio<-2>, std::ratio<-1>, std::ratio<4>, std::ratio<0>, std::ratio<2> > units::category::capacitance_unit |
Represents an SI derived unit of capacitance.
typedef base_unit<detail::meter_ratio<0>, std::ratio<0>, std::ratio<1>, std::ratio<0>, std::ratio<1> > units::category::charge_unit |
Represents an SI derived unit of charge.
Represents a unit of concentration.
typedef base_unit<detail::meter_ratio<-2>, std::ratio<-1>, std::ratio<3>, std::ratio<0>, std::ratio<2> > units::category::conductance_unit |
Represents an SI derived unit of conductance.
typedef base_unit<detail::meter_ratio<0>, std::ratio<0>, std::ratio<0>, std::ratio<0>, std::ratio<1> > units::category::current_unit |
Represents an SI base unit of current.
typedef base_unit<detail::meter_ratio<0>, std::ratio<0>, std::ratio<-1>, std::ratio<0>, std::ratio<0>, std::ratio<0>, std::ratio<0>, std::ratio<0>, std::ratio<1> > units::category::data_transfer_rate_unit |
Represents a unit of data transfer rate.
typedef base_unit<detail::meter_ratio<0>, std::ratio<0>, std::ratio<0>, std::ratio<0>, std::ratio<0>, std::ratio<0>, std::ratio<0>, std::ratio<0>, std::ratio<1> > units::category::data_unit |
Represents a unit of data size.
typedef base_unit<detail::meter_ratio<-3>, std::ratio<1> > units::category::density_unit |
Represents an SI derived unit of density.
Represents a quantity with no dimension.
typedef base_unit<detail::meter_ratio<2>, std::ratio<1>, std::ratio<-2> > units::category::energy_unit |
Represents an SI derived unit of energy.
typedef base_unit<detail::meter_ratio<1>, std::ratio<1>, std::ratio<-2> > units::category::force_unit |
Represents an SI derived unit of force.
typedef base_unit<detail::meter_ratio<0>, std::ratio<0>, std::ratio<-1> > units::category::frequency_unit |
Represents an SI derived unit of frequency.
typedef base_unit<detail::meter_ratio<-2>, std::ratio<0>, std::ratio<0>, std::ratio<2>, std::ratio<0>, std::ratio<0>, std::ratio<0>, std::ratio<1> > units::category::illuminance_unit |
Represents an SI derived unit of illuminance.
typedef base_unit<detail::meter_ratio<2>, std::ratio<1>, std::ratio<-3>, std::ratio<0>, std::ratio<-2> > units::category::impedance_unit |
Represents an SI derived unit of impedance.
typedef base_unit<detail::meter_ratio<2>, std::ratio<1>, std::ratio<-2>, std::ratio<0>, std::ratio<-2> > units::category::inductance_unit |
Represents an SI derived unit of inductance.
typedef base_unit<detail::meter_ratio<1> > units::category::length_unit |
Represents an SI base unit of length.
typedef base_unit<detail::meter_ratio<0>, std::ratio<0>, std::ratio<0>, std::ratio<2>, std::ratio<0>, std::ratio<0>, std::ratio<0>, std::ratio<1> > units::category::luminous_flux_unit |
Represents an SI derived unit of luminous flux.
typedef base_unit<detail::meter_ratio<0>, std::ratio<0>, std::ratio<0>, std::ratio<0>, std::ratio<0>, std::ratio<0>, std::ratio<0>, std::ratio<1> > units::category::luminous_intensity_unit |
Represents an SI base unit of luminous intensity.
typedef base_unit<detail::meter_ratio<0>, std::ratio<1>, std::ratio<-2>, std::ratio<0>, std::ratio<-1> > units::category::magnetic_field_strength_unit |
Represents an SI derived unit of magnetic field strength.
typedef base_unit<detail::meter_ratio<2>, std::ratio<1>, std::ratio<-2>, std::ratio<0>, std::ratio<-1> > units::category::magnetic_flux_unit |
Represents an SI derived unit of magnetic flux.
typedef base_unit<detail::meter_ratio<0>, std::ratio<1> > units::category::mass_unit |
Represents an SI base unit of mass.
typedef base_unit<detail::meter_ratio<2>, std::ratio<1>, std::ratio<-3> > units::category::power_unit |
Represents an SI derived unit of power.
typedef base_unit<detail::meter_ratio<-1>, std::ratio<1>, std::ratio<-2> > units::category::pressure_unit |
Represents an SI derived unit of pressure.
typedef base_unit<detail::meter_ratio<0>, std::ratio<0>, std::ratio<-1> > units::category::radioactivity_unit |
Represents an SI derived unit of radioactivity.
Represents a quantity with no dimension.
typedef base_unit<detail::meter_ratio<0>, std::ratio<0>, std::ratio<0>, std::ratio<2>, std::ratio<0>, std::ratio<0>, std::ratio<0>, std::ratio<0> > units::category::solid_angle_unit |
Represents an SI derived unit of solid angle.
typedef base_unit<detail::meter_ratio<0>, std::ratio<0>, std::ratio<0>, std::ratio<0>, std::ratio<0>, std::ratio<0>, std::ratio<1> > units::category::substance_unit |
Represents an SI base unit of amount of substance.
typedef base_unit<detail::meter_ratio<0>, std::ratio<0>, std::ratio<0>, std::ratio<0>, std::ratio<0>, std::ratio<1> > units::category::temperature_unit |
Represents an SI base unit of temperature.
typedef base_unit<detail::meter_ratio<0>, std::ratio<0>, std::ratio<1> > units::category::time_unit |
Represents an SI base unit of time.
typedef base_unit<detail::meter_ratio<2>, std::ratio<1>, std::ratio<-2> > units::category::torque_unit |
Represents an SI derived unit of torque.
typedef base_unit<detail::meter_ratio<1>, std::ratio<0>, std::ratio<-1> > units::category::velocity_unit |
Represents an SI derived unit of velocity.
typedef base_unit<detail::meter_ratio<2>, std::ratio<1>, std::ratio<-3>, std::ratio<0>, std::ratio<-1> > units::category::voltage_unit |
Represents an SI derived unit of voltage.
typedef base_unit<detail::meter_ratio<3> > units::category::volume_unit |
Represents an SI derived unit of volume.