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,
|
|
|
|
struct timeval p_timestamp,
|
2021-06-08 05:47:47 +08:00
|
|
|
Milliseconds 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)) {}
|