SensESP 3.0.1
Universal Signal K sensor toolkit ESP32
Loading...
Searching...
No Matches
timestring.h
Go to the documentation of this file.
1#ifndef SENSESP_TRANSFORMS_TIMESTRING_H_
2#define SENSESP_TRANSFORMS_TIMESTRING_H_
3
4#include <ctime>
5
7#include "transform.h"
8
9namespace sensesp {
10
15class TimeString : public Transform<time_t, String> {
16 public:
17 TimeString(const String& config_path = "");
18 virtual void set(const time_t& input) override;
19};
20
21} // namespace sensesp
22#endif
Consumes a time_t time object and produces a human readable string of the time for UTC in ISO 8601 fo...
Definition timestring.h:15
virtual void set(const time_t &input) override
Definition timestring.cpp:9
TimeString(const String &config_path="")
Definition timestring.cpp:6
The main Transform class. A transform is identified primarily by the type of value that is produces (...
Definition transform.h:53