00001 #ifndef BRICS_OODL_TIME_HPP
00002 #define BRICS_OODL_TIME_HPP
00003
00004 #include <boost/thread.hpp>
00005 #include "boost/date_time/posix_time/posix_time.hpp"
00006
00007 namespace brics_oodl {
00008
00009 #define SLEEP_MILLISEC(millisec) boost::this_thread::sleep(boost::posix_time::milliseconds((millisec)));
00010
00011 #define SLEEP_SEC(sec) boost::this_thread::sleep(boost::posix_time::seconds((sec)));
00012
00013
00014 }
00015 #endif //BRICS_OODL_TIME_HPP