MRPT  1.9.9
xsutctime.h
Go to the documentation of this file.
1 /* +------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | http://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2018, Individual contributors, see AUTHORS file |
6  | See: http://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See details in http://www.mrpt.org/License |
8  +------------------------------------------------------------------------+ */
9 #ifndef XSUTCTIME_H
10 #define XSUTCTIME_H
11 
12 #include "pstdint.h"
13 
14 /*! \brief A structure for storing UTC Time values. */
15 struct XsUtcTime
16 {
17  /** \brief Nanosecond part of the time */
19  /** \brief The year (if date is valid) */
21  /** \brief The month (if date is valid) */
23  /** \brief The day of the month (if date is valid) */
25  /** \brief The hour (if time is valid) */
27  /** \brief The minute (if time is valid) */
29  /** \brief The second (if time is valid) */
31  /** \brief Validity indicator \details When set to 1, the time is valid,
32  * when set to 2, the time part is valid, but the date may not be valid.
33  * when set to 0, the time is invalid and should be ignored. */
35 };
36 typedef struct XsUtcTime XsUtcTime;
37 
38 #endif // file guard
unsigned __int16 uint16_t
Definition: rptypes.h:44
uint8_t m_day
The day of the month (if date is valid)
Definition: xsutctime.h:24
uint16_t m_year
The year (if date is valid)
Definition: xsutctime.h:20
uint8_t m_minute
The minute (if time is valid)
Definition: xsutctime.h:28
uint32_t m_nano
Nanosecond part of the time.
Definition: xsutctime.h:18
unsigned char uint8_t
Definition: rptypes.h:41
uint8_t m_valid
Validity indicator.
Definition: xsutctime.h:34
uint8_t m_hour
The hour (if time is valid)
Definition: xsutctime.h:26
A structure for storing UTC Time values.
Definition: xsutctime.h:15
uint8_t m_month
The month (if date is valid)
Definition: xsutctime.h:22
unsigned __int32 uint32_t
Definition: rptypes.h:47
uint8_t m_second
The second (if time is valid)
Definition: xsutctime.h:30



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020