FastLED 3.10.8
Loading...
Searching...
No Matches
types.cpp.hpp
Go to the documentation of this file.
1#include "fl/remote/types.h"
2#include "fl/stl/noexcept.h"
3namespace fl {
4
7 obj.set("function", functionName);
8 obj.set("result", result);
9 obj.set("scheduledAt", static_cast<i64>(scheduledAt));
10 obj.set("receivedAt", static_cast<i64>(receivedAt));
11 obj.set("executedAt", static_cast<i64>(executedAt));
12 obj.set("wasScheduled", wasScheduled);
13 return obj;
14}
15
16} // namespace fl
void set(const fl::string &key, const json &value) FL_NO_EXCEPT
Definition json.h:866
static json object() FL_NO_EXCEPT
Definition json.h:857
u8 u8 fract8 blur_amount FL_NO_EXCEPT
Definition blur.h:186
Base definition for an LED controller.
Definition crgb.hpp:179
fl::i64 i64
Definition stdint.h:221
u32 executedAt
Definition types.h:20
fl::json to_json() const FL_NO_EXCEPT
Serialize result to JSON object (compact single-line format)
Definition types.cpp.hpp:5
u32 receivedAt
Definition types.h:19
fl::json result
Definition types.h:17
bool wasScheduled
Definition types.h:21
u32 scheduledAt
Definition types.h:18
fl::string functionName
Definition types.h:16