functions_rt.hpp
Go to the documentation of this file.
1 
10 /*****************************************************************************
11 ** Ifdefs
12 *****************************************************************************/
13 
14 #ifndef ECL_TIME_LITE_FUNCTIONS_RT_HPP_
15 #define ECL_TIME_LITE_FUNCTIONS_RT_HPP_
16 
17 /*****************************************************************************
18 ** Cross Platform Configuration
19 *****************************************************************************/
20 
21 #include <ecl/time_lite/config.hpp>
22 #include "macros.hpp"
23 
24 #if defined(ECL_HAS_RT_TIMERS)
25 
26 /*****************************************************************************
27 ** Includes
28 *****************************************************************************/
29 
30 #include <ctime>
31 #include <ecl/config/macros.hpp>
32 #include "errors.hpp"
33 #include "types.hpp"
34 
35 /*****************************************************************************
36 ** Namespaces
37 *****************************************************************************/
38 
39 namespace ecl {
55 ecl_time_lite_PUBLIC TimeError epoch_time(TimeStructure &time);
56 
73 ecl_time_lite_PUBLIC TimeError realtime_epoch_time(TimeStructure &time);
74 
92 ecl_time_lite_PUBLIC TimeError sleep_until(const TimeStructure &time);
93 
110 ecl_time_lite_PUBLIC TimeError sleep(const TimeStructure &time);
111 
112 } // namespace ecl
113 
114 #endif
115 #endif /* ECL_TIME_LITE_FUNCTIONS_RT_HPP_ */
#define ecl_time_lite_PUBLIC
Definition: macros.hpp:37
Cross platform definition for time types.
Macros for error-checking and program termination.


ecl_time_lite
Author(s): Daniel Stonier
autogenerated on Mon Feb 28 2022 22:16:13