47 #ifndef OME_COMMON_UNITS_FREQUENCY_H 48 #define OME_COMMON_UNITS_FREQUENCY_H 50 #include <ome/common/config.h> 51 #include <ome/common/units/types.h> 53 #include <boost/units/unit.hpp> 54 #include <boost/units/quantity.hpp> 55 #include <boost/units/systems/si.hpp> 72 typedef make_scaled_unit<si::frequency,scale<10,static_rational<-24> > >::type
yoctohertz_unit;
74 typedef make_scaled_unit<si::frequency,scale<10,static_rational<-21> > >::type
zeptohertz_unit;
76 typedef make_scaled_unit<si::frequency,scale<10,static_rational<-18> > >::type
attohertz_unit;
78 typedef make_scaled_unit<si::frequency,scale<10,static_rational<-15> > >::type
femtohertz_unit;
80 typedef make_scaled_unit<si::frequency,scale<10,static_rational<-12> > >::type
picohertz_unit;
82 typedef make_scaled_unit<si::frequency,scale<10,static_rational< -9> > >::type
nanohertz_unit;
84 typedef make_scaled_unit<si::frequency,scale<10,static_rational< -6> > >::type
microhertz_unit;
86 typedef make_scaled_unit<si::frequency,scale<10,static_rational< -3> > >::type
millihertz_unit;
88 typedef make_scaled_unit<si::frequency,scale<10,static_rational< -2> > >::type
centihertz_unit;
90 typedef make_scaled_unit<si::frequency,scale<10,static_rational< -1> > >::type
decihertz_unit;
92 typedef make_scaled_unit<si::frequency,scale<10,static_rational< 0> > >::type
hertz_unit;
94 typedef make_scaled_unit<si::frequency,scale<10,static_rational< 1> > >::type
dekahertz_unit;
96 typedef make_scaled_unit<si::frequency,scale<10,static_rational< 1> > >::type
decahertz_unit;
98 typedef make_scaled_unit<si::frequency,scale<10,static_rational< 2> > >::type
hectohertz_unit;
100 typedef make_scaled_unit<si::frequency,scale<10,static_rational< 3> > >::type
kilohertz_unit;
102 typedef make_scaled_unit<si::frequency,scale<10,static_rational< 6> > >::type
megahertz_unit;
104 typedef make_scaled_unit<si::frequency,scale<10,static_rational< 9> > >::type
gigahertz_unit;
106 typedef make_scaled_unit<si::frequency,scale<10,static_rational< 12> > >::type
terahertz_unit;
108 typedef make_scaled_unit<si::frequency,scale<10,static_rational< 15> > >::type
petahertz_unit;
110 typedef make_scaled_unit<si::frequency,scale<10,static_rational< 18> > >::type
exahertz_unit;
112 typedef make_scaled_unit<si::frequency,scale<10,static_rational< 21> > >::type
zettahertz_unit;
114 typedef make_scaled_unit<si::frequency,scale<10,static_rational< 24> > >::type
yottahertz_unit;
210 #endif // OME_COMMON_UNITS_FREQUENCY_H make_scaled_unit< si::frequency, scale< 10, static_rational< 9 > > >::type gigahertz_unit
Unit definition for gigahertz frequency.
Definition: frequency.h:104
quantity< yottahertz_unit > yottahertz_quantity
Measured quantity in yottahertz.
Definition: frequency.h:204
make_scaled_unit< si::frequency, scale< 10, static_rational<-15 > > >::type femtohertz_unit
Unit definition for femtohertz frequency.
Definition: frequency.h:78
make_scaled_unit< si::frequency, scale< 10, static_rational< -9 > > >::type nanohertz_unit
Unit definition for nanohertz frequency.
Definition: frequency.h:82
quantity< hectohertz_unit > hectohertz_quantity
Measured quantity in hectohertz.
Definition: frequency.h:188
quantity< nanohertz_unit > nanohertz_quantity
Measured quantity in nanohertz.
Definition: frequency.h:172
quantity< si::frequency > frequency_quantity
Measured quantity (frequency, hertz).
Definition: frequency.h:69
quantity< megahertz_unit > megahertz_quantity
Measured quantity in megahertz.
Definition: frequency.h:192
quantity< decahertz_unit > decahertz_quantity
Measured quantity in decahertz.
Definition: frequency.h:186
quantity< terahertz_unit > terahertz_quantity
Measured quantity in terahertz.
Definition: frequency.h:196
make_scaled_unit< si::frequency, scale< 10, static_rational<-18 > > >::type attohertz_unit
Unit definition for attohertz frequency.
Definition: frequency.h:76
quantity< zettahertz_unit > zettahertz_quantity
Measured quantity in zettahertz.
Definition: frequency.h:202
quantity< exahertz_unit > exahertz_quantity
Measured quantity in exahertz.
Definition: frequency.h:200
make_scaled_unit< si::frequency, scale< 10, static_rational< 1 > > >::type dekahertz_unit
Unit definition for dekahertz frequency.
Definition: frequency.h:94
quantity< femtohertz_unit > femtohertz_quantity
Measured quantity in femtohertz.
Definition: frequency.h:168
quantity< kilohertz_unit > kilohertz_quantity
Measured quantity in kilohertz.
Definition: frequency.h:190
make_scaled_unit< si::frequency, scale< 10, static_rational< 18 > > >::type exahertz_unit
Unit definition for exahertz frequency.
Definition: frequency.h:110
quantity< millihertz_unit > millihertz_quantity
Measured quantity in millihertz.
Definition: frequency.h:176
make_scaled_unit< si::frequency, scale< 10, static_rational<-24 > > >::type yoctohertz_unit
Unit definition for yoctohertz frequency.
Definition: frequency.h:72
quantity< zeptohertz_unit > zeptohertz_quantity
Measured quantity in zeptohertz.
Definition: frequency.h:164
make_scaled_unit< si::frequency, scale< 10, static_rational< -1 > > >::type decihertz_unit
Unit definition for decihertz frequency.
Definition: frequency.h:90
quantity< microhertz_unit > microhertz_quantity
Measured quantity in microhertz.
Definition: frequency.h:174
make_scaled_unit< si::frequency, scale< 10, static_rational< 12 > > >::type terahertz_unit
Unit definition for terahertz frequency.
Definition: frequency.h:106
quantity< petahertz_unit > petahertz_quantity
Measured quantity in petahertz.
Definition: frequency.h:198
make_scaled_unit< si::frequency, scale< 10, static_rational< 24 > > >::type yottahertz_unit
Unit definition for yottahertz frequency.
Definition: frequency.h:114
quantity< decihertz_unit > decihertz_quantity
Measured quantity in decihertz.
Definition: frequency.h:180
make_scaled_unit< si::frequency, scale< 10, static_rational< -6 > > >::type microhertz_unit
Unit definition for microhertz frequency.
Definition: frequency.h:84
make_scaled_unit< si::frequency, scale< 10, static_rational< -3 > > >::type millihertz_unit
Unit definition for millihertz frequency.
Definition: frequency.h:86
si::frequency frequency_unit
Unit definition for frequency.
Definition: frequency.h:67
quantity< dekahertz_unit > dekahertz_quantity
Measured quantity in dekahertz.
Definition: frequency.h:184
make_scaled_unit< si::frequency, scale< 10, static_rational< 1 > > >::type decahertz_unit
Unit definition for decahertz frequency.
Definition: frequency.h:96
make_scaled_unit< si::frequency, scale< 10, static_rational< 0 > > >::type hertz_unit
Unit definition for hertz frequency.
Definition: frequency.h:92
make_scaled_unit< si::frequency, scale< 10, static_rational< 21 > > >::type zettahertz_unit
Unit definition for zettahertz frequency.
Definition: frequency.h:112
make_scaled_unit< si::frequency, scale< 10, static_rational< 6 > > >::type megahertz_unit
Unit definition for megahertz frequency.
Definition: frequency.h:102
make_scaled_unit< si::frequency, scale< 10, static_rational< 3 > > >::type kilohertz_unit
Unit definition for kilohertz frequency.
Definition: frequency.h:100
make_scaled_unit< si::frequency, scale< 10, static_rational<-12 > > >::type picohertz_unit
Unit definition for picohertz frequency.
Definition: frequency.h:80
quantity< picohertz_unit > picohertz_quantity
Measured quantity in picohertz.
Definition: frequency.h:170
make_scaled_unit< si::frequency, scale< 10, static_rational< -2 > > >::type centihertz_unit
Unit definition for centihertz frequency.
Definition: frequency.h:88
quantity< centihertz_unit > centihertz_quantity
Measured quantity in centihertz.
Definition: frequency.h:178
make_scaled_unit< si::frequency, scale< 10, static_rational< 2 > > >::type hectohertz_unit
Unit definition for hectohertz frequency.
Definition: frequency.h:98
quantity< hertz_unit > hertz_quantity
Measured quantity in hertz.
Definition: frequency.h:182
quantity< gigahertz_unit > gigahertz_quantity
Measured quantity in gigahertz.
Definition: frequency.h:194
make_scaled_unit< si::frequency, scale< 10, static_rational< 15 > > >::type petahertz_unit
Unit definition for petahertz frequency.
Definition: frequency.h:108
make_scaled_unit< si::frequency, scale< 10, static_rational<-21 > > >::type zeptohertz_unit
Unit definition for zeptohertz frequency.
Definition: frequency.h:74
quantity< attohertz_unit > attohertz_quantity
Measured quantity in attohertz.
Definition: frequency.h:166
quantity< yoctohertz_unit > yoctohertz_quantity
Measured quantity in yoctohertz.
Definition: frequency.h:162
BOOST_UNITS_STATIC_CONSTANT(radian, radian_unit)
Numeric constant for radian.