Class Event2State

Inheritance Relationships

Base Type

  • public IProcessor

Derived Type

Class Documentation

class Event2State : public IProcessor

Subclassed by TestEvent2State

Public Functions

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

Protected Functions

void log_and_reset_counters(std::string port_name, EventCounter &counter)

Protected Attributes

BroadcasterState<bool> *enabled_
PortIn<EventType> *data_in_port_
PortOut<EventType> *data_out_port_
EventCounter event_counter_
options::Value<EventType::Data, false> target_event_{DEFAULT_EVENT, options::notempty<EventType::Data>()}