SensESP 2.7.2
Universal Signal K sensor toolkit ESP32
Loading...
Searching...
No Matches
timestring.h
Go to the documentation of this file.
1#ifndef _timestring_H_
2#define _timestring_H_
3
4#include <ctime>
5
7#include "transform.h"
8
9namespace sensesp {
10
15class TimeString : public Transform<time_t, String> {
16 public:
18 virtual void set_input(time_t input, uint8_t input_channel = 0) override;
19};
20
21} // namespace sensesp
22#endif
Construct a new transform based on a single function.
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_input(time_t input, uint8_t input_channel=0) override
Definition timestring.cpp:9
The main Transform class. A transform is identified primarily by the type of value that is produces (...
Definition transform.h:54