2018-12-06 02:18:21 +08:00
|
|
|
#include "zm_frame.h"
|
|
|
|
|
2021-04-25 23:33:24 +08:00
|
|
|
Frame::Frame(event_id_t p_event_id,
|
|
|
|
int p_frame_id,
|
|
|
|
FrameType p_type,
|
2021-06-13 22:03:05 +08:00
|
|
|
SystemTimePoint p_timestamp,
|
2021-06-12 15:50:36 +08:00
|
|
|
Microseconds p_delta,
|
2021-04-25 23:33:24 +08:00
|
|
|
int p_score,
|
|
|
|
std::vector<ZoneStats> p_stats)
|
|
|
|
: event_id(p_event_id),
|
2018-12-06 02:18:21 +08:00
|
|
|
frame_id(p_frame_id),
|
|
|
|
type(p_type),
|
|
|
|
timestamp(p_timestamp),
|
|
|
|
delta(p_delta),
|
2021-04-22 05:51:43 +08:00
|
|
|
score(p_score),
|
2021-04-25 23:33:24 +08:00
|
|
|
zone_stats(std::move(p_stats)) {}
|