Go to the documentation of this file.00001
00010
00011
00012
00013
00014 #ifndef ECL_TIME_LITE_FUNCTIONS_RT_HPP_
00015 #define ECL_TIME_LITE_FUNCTIONS_RT_HPP_
00016
00017
00018
00019
00020
00021 #include <ecl/time_lite/config.hpp>
00022 #include "macros.hpp"
00023
00024 #if defined(ECL_HAS_RT_TIMERS)
00025
00026
00027
00028
00029
00030 #include <ctime>
00031 #include <ecl/config/macros.hpp>
00032 #include "errors.hpp"
00033 #include "types.hpp"
00034
00035
00036
00037
00038
00039 namespace ecl {
00055 ecl_time_lite_PUBLIC TimeError epoch_time(TimeStructure &time);
00056
00073 ecl_time_lite_PUBLIC TimeError realtime_epoch_time(TimeStructure &time);
00074
00092 ecl_time_lite_PUBLIC TimeError sleep_until(const TimeStructure &time);
00093
00110 ecl_time_lite_PUBLIC TimeError sleep(const TimeStructure &time);
00111
00112 }
00113
00114 #endif
00115 #endif