.. _program_listing_file__tmp_ws_src_ecl_lite_ecl_time_lite_include_ecl_time_lite_functions_rt.hpp: Program Listing for File functions_rt.hpp ========================================= |exhale_lsh| :ref:`Return to documentation for file ` (``/tmp/ws/src/ecl_lite/ecl_time_lite/include/ecl/time_lite/functions_rt.hpp``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp /***************************************************************************** ** Ifdefs *****************************************************************************/ #ifndef ECL_TIME_LITE_FUNCTIONS_RT_HPP_ #define ECL_TIME_LITE_FUNCTIONS_RT_HPP_ /***************************************************************************** ** Cross Platform Configuration *****************************************************************************/ #include #include "macros.hpp" #if defined(ECL_HAS_RT_TIMERS) /***************************************************************************** ** Includes *****************************************************************************/ #include #include #include "errors.hpp" #include "types.hpp" /***************************************************************************** ** Namespaces *****************************************************************************/ namespace ecl { ecl_time_lite_PUBLIC TimeError epoch_time(TimeStructure &time); ecl_time_lite_PUBLIC TimeError realtime_epoch_time(TimeStructure &time); ecl_time_lite_PUBLIC TimeError sleep_until(const TimeStructure &time); ecl_time_lite_PUBLIC TimeError sleep(const TimeStructure &time); } // namespace ecl #endif #endif /* ECL_TIME_LITE_FUNCTIONS_RT_HPP_ */