timestamp_win.cpp
Go to the documentation of this file.
1 
8 /*****************************************************************************
9 ** Platform Check
10 *****************************************************************************/
11 
12 #include <ecl/config.hpp>
13 #if defined(ECL_IS_WIN32)
14 
15 /*****************************************************************************
16 ** Includes
17 *****************************************************************************/
18 
19 #include <ecl/config/windows.hpp>
21 #include "../../include/ecl/time/timestamp_win.hpp"
22 //#include "../../include/ecl/time/detail/time_functions_win.hpp"
23 
24 /*****************************************************************************
25 ** Namespaces
26 *****************************************************************************/
27 
28 namespace ecl {
29 
30 /*****************************************************************************
31 ** Implementation [Constructors]
32 *****************************************************************************/
33 
34 TimeStamp::TimeStamp() {
35  stamp();
36 }
37 
38 TimeStamp::TimeStamp (const double& decimal_time_value) :
39  TimeStampBase(decimal_time_value)
40 {
41 }
42 
43 TimeStamp::TimeStamp (const time_t& seconds, const long& nanoseconds) :
44  TimeStampBase(seconds, nanoseconds)
45 {
46 }
47 
48 TimeStamp::TimeStamp(const TimeStampBase& base) : TimeStampBase(base) {}
49 
50 /*****************************************************************************
51 ** Implementation [Stamps]
52 *****************************************************************************/
53 
54 const TimeStamp& TimeStamp::stamp() {
55  return (*this);
56 }
57 
58 }; // namespace ecl
59 
60 #endif /* ECL_IS_WIN32 */
config.hpp
standard_exception.hpp
ecl
Embedded control libraries.
windows.hpp


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