|
YODAU 1.0
YEAR OF THE DEPEND ADULT UNDERGARMENT
|
Generic event produced by the backend. More...
#include <backend/include/event.hpp>
Public Attributes | |
| event_kind | kind { event_kind::info } |
| Type of the event. | |
| std::string | stream_name |
| Name/identifier of the stream that produced the event. | |
| std::string | message |
| Human-readable event description or payload. | |
| std::chrono::steady_clock::time_point | ts |
| Monotonic timestamp when the event was generated. | |
| std::optional< point > | pos_pct |
| Optional position associated with the event in percentage coordinates. | |
| std::string | line_name |
| Name of the line / ROI / rule responsible for this event. | |
Generic event produced by the backend.
The event is associated with a particular stream and time. Depending on kind, optional spatial or semantic fields may be filled:
| event_kind yodau::backend::event::kind { event_kind::info } |
Type of the event.
Defaults to event_kind::info.
Definition at line 50 of file event.hpp.
Referenced by controller::on_backend_event().
| std::string yodau::backend::event::line_name |
Name of the line / ROI / rule responsible for this event.
Used primarily for tripwire / ROI events; may be empty otherwise.
Definition at line 86 of file event.hpp.
Referenced by controller::on_backend_event().
| std::string yodau::backend::event::message |
| std::optional<point> yodau::backend::event::pos_pct |
| std::string yodau::backend::event::stream_name |
| std::chrono::steady_clock::time_point yodau::backend::event::ts |