Template Struct Event
Defined in File event_decorator.hpp
Struct Documentation
-
template<typename S, typename T>
struct Event Event data structure.
Public Functions
-
inline Event(EventTrigger t, EventPriority p, T time, std::string id, std::function<void(S&, T)> h)
Public Members
-
EventTrigger trigger
-
EventPriority priority
-
std::string event_id
-
std::vector<uint8_t> data
-
std::chrono::steady_clock::time_point created_at
-
std::chrono::steady_clock::time_point processed_at
-
bool processed = {false}
-
bool timed_out = {false}
-
inline Event(EventTrigger t, EventPriority p, T time, std::string id, std::function<void(S&, T)> h)