duration.hpp
Go to the documentation of this file.
1 
8 /*****************************************************************************
9 ** Ifdefs
10 *****************************************************************************/
11 
12 #ifndef ECL_TIME_DURATION_HPP_
13 #define ECL_TIME_DURATION_HPP_
14 
15 /*****************************************************************************
16 ** Cross Platform Functionality
17 *****************************************************************************/
18 
19 #include <ecl/config/ecl.hpp>
20 
21 /*****************************************************************************
22 ** Includes
23 *****************************************************************************/
24 
25 #if defined(ECL_IS_POSIX)
26  #include "timestamp_pos.hpp"
27 #elif defined(ECL_IS_WIN32)
28  #include "timestamp_win.hpp"
29 #endif
30 
31 namespace ecl {
32 
41  typedef TimeStamp Duration;
42 
43 } // namespace ecl
44 
45 #endif /* ECL_TIME_DURATION_HPP */
timestamp_win.hpp
Interfaces for the time_stamp class utilising win timers.
ecl::Duration
TimeStamp Duration
Convenience typedef to associate timestamps with the concept of durations.
Definition: duration.hpp:47
timestamp_pos.hpp
Interfaces for the posix/rt timers.
ecl
Embedded control libraries.


ecl_time
Author(s): Daniel Stonier
autogenerated on Wed Mar 2 2022 00:16:19