Main Page
Modules
Namespaces
Classes
Files
File List
File Members
include
ecl
time_lite
functions_mac.hpp
Go to the documentation of this file.
1
10
/*****************************************************************************
11
** Ifdefs
12
*****************************************************************************/
13
14
#ifndef ECL_TIME_LITE_FUNCTIONS_MAC_HPP_
15
#define ECL_TIME_LITE_FUNCTIONS_MAC_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_MACH_TIMERS)
25
26
/*****************************************************************************
27
** Includes
28
*****************************************************************************/
29
30
#include <ctime>
31
#include <sys/time.h>
// gettimeofday
32
#include <ecl/config/macros.hpp>
33
#include "errors.hpp"
34
#include "types.hpp"
35
36
/*****************************************************************************
37
** Namespaces
38
*****************************************************************************/
39
40
namespace
ecl
{
41
42
/*****************************************************************************
43
** Using
44
*****************************************************************************/
45
61
ecl_time_lite_PUBLIC
TimeError epoch_time(TimeStructure &time);
62
63
79
ecl_time_lite_PUBLIC
TimeError sleep_until(
const
TimeStructure &time);
80
95
ecl_time_lite_PUBLIC
TimeError sleep(
const
TimeStructure &time);
96
97
}
// namespace ecl
98
99
#endif
100
#endif
/* ECL_TIME_LITE_FUNCTIONS_MAC_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