Units.hpp
Go to the documentation of this file.
00001 /* 
00002  * File:   Units.h
00003  * Author: jan
00004  *
00005  * Created on September 1, 2010, 5:36 PM
00006  */
00007 
00008 #ifndef BRICS_OODL_UNITS_HPP
00009 #define BRICS_OODL_UNITS_HPP
00010 #include <boost/units/pow.hpp>
00011 #include <boost/units/systems/si.hpp>
00012 #include <boost/units/systems/temperature/celsius.hpp>
00013 #include <boost/units/cmath.hpp>
00014 #include <boost/units/make_scaled_unit.hpp>
00015 #include <boost/units/systems/si/prefixes.hpp>
00016 
00017 
00018 using namespace boost::units;
00019 using namespace boost::units::si;
00020 using namespace boost::units::angle;
00021 
00022 //typedef boost::units::si::length meter;
00023 using boost::units::si::meters;
00024 
00025 
00026 typedef boost::units::make_scaled_unit<si::length, boost::units::scale<10, boost::units::static_rational<-3> > >::type millimeter;
00027 typedef boost::units::make_scaled_unit<si::length, boost::units::scale<10, boost::units::static_rational<-2> > >::type centimeter;
00028 BOOST_UNITS_STATIC_CONSTANT(centimeters, centimeter);
00029 
00030 
00031 typedef boost::units::make_scaled_unit<si::time, boost::units::scale<10, boost::units::static_rational<-3> > >::type millisecond;
00032 //BOOST_UNITS_STATIC_CONSTANT(millimeters, millimeter);
00033 
00034 #endif  /* BRICS_OODL_UNITS_HPP */
00035 


cob_sick_s300
Author(s): Florian Weisshardt
autogenerated on Sun Oct 5 2014 23:05:19