Main Page
Modules
Namespaces
Classes
Files
File List
File Members
include
ecl
time_lite
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_ */
ecl
macros.hpp
config.hpp
Pre-processed macros that define time for the platform.
ecl_time_lite_PUBLIC
#define ecl_time_lite_PUBLIC
Definition:
time_lite/macros.hpp:37
xbot_node
Author(s): Roc, wangpeng@droid.ac.cn
autogenerated on Sat Oct 10 2020 03:28:13