Class EventFilter

Inheritance Relationships

Base Type

Class Documentation

class EventFilter : public EventSync

Public Functions

EventFilter()
void CreatePorts() override
void Prepare(GlobalContext &context) override
void Preprocess(ProcessingContext &context) override
void Process(ProcessingContext &context) override
void Postprocess(ProcessingContext &context) override

Protected Functions

std::tuple<bool, bool, std::size_t> is_there_target(PortIn<EventType> *input_port, EventCounter &event_counter, std::vector<TimePoint> &arrival_times, std::vector<uint64_t> &arrival_timestamps)
inline double time_between(TimePoint t2, TimePoint t1)
inline double time_since(TimePoint t)

Protected Attributes

PortIn<EventType> *block_in_port_
unsigned int n_blocked_events_
EventCounter blocking_events_counter_
TimePoint gate_close_time_
std::chrono::duration<double, std::milli> duration
const uint64_t NULL_TIMESTAMP = std::numeric_limits<uint64_t>::max()
options::Measurement<double, false> blockout_time_{10., "ms", options::positive<double>()}
options::Measurement<double, false> block_wait_time_{1.5, "ms", options::positive<double>()}
options::Measurement<double, false> sync_time_{3.5, "ms", options::positive<double>()}
options::Bool discard_warnings_ = {false}
DetectionCriterionValue detections_to_criterion_ = {1}