Class EventSync

Inheritance Relationships

Base Type

  • public IProcessor

Derived Type

Class Documentation

class EventSync : public IProcessor

Subclassed by EventFilter

Public Functions

EventSync()
void CreatePorts() override
void Process(ProcessingContext &context) override
void Postprocess(ProcessingContext &context) override

Protected Functions

void update_latest_ts(EventType::Data *data_in)
void log_and_reset_counters(std::string port_name, EventCounter &counter)

Protected Attributes

PortIn<EventType> *data_in_port_
PortOut<EventType> *data_out_port_
EventCounter event_counter_
uint64_t n_events_synced_
TimestampRegister timestamps_
options::Value<EventType::Data, false> target_event_{DEFAULT_EVENT, options::notempty<EventType::Data>()}