API
telem_saving_state.hpp
Go to the documentation of this file.
1 /** \file telem_saving_state.hpp
2  * \brief The MagAO-X logger telem_saving_state log type.
3  * \author Jared R. Males (jaredmales@gmail.com)
4  *
5  * \ingroup logger_types_files
6  *
7  * History:
8  * - 2018-08-18 created by JRM
9  */
10 #ifndef logger_types_telem_saving_state_hpp
11 #define logger_types_telem_saving_state_hpp
12 
13 #include "saving_state_change.hpp"
14 
15 namespace MagAOX
16 {
17 namespace logger
18 {
19 
20 ///Saving started log
21 /** \ingroup logger_types
22  */
24 {
25  ///The event code
26  static const flatlogs::eventCodeT eventCode = eventCodes::TELEM_SAVING_STATE;
27 
28  ///The default level
30 
31  static timespec lastRecord; ///< The time of the last time this log was recorded. Used by the telemetry system.
32 
33 };
34 
35 
36 
37 } //namespace logger
38 } //namespace MagAOX
39 
40 #endif //logger_types_telem_saving_state_hpp
uint16_t eventCodeT
The type of an event code (16-bit unsigned int).
Definition: logDefs.hpp:40
int8_t logPrioT
The type of the log priority code.
Definition: logDefs.hpp:21
Definition: dm.hpp:24
constexpr static logPrioT LOG_TELEM
A telemetry recording.
Definition: logPriority.hpp:58
The MagAO-X logger saving_state_change log type.
static timespec lastRecord
The time of the last time this log was recorded. Used by the telemetry system.
static const flatlogs::logPrioT defaultLevel
The default level.
static const flatlogs::eventCodeT eventCode
The event code.