Class EventSource¶
Defined in File eventsource.hpp
Inheritance Relationships¶
Base Type¶
public IProcessor
Class Documentation¶
-
class EventSource : public IProcessor¶
Public Functions
-
EventSource()¶
-
void Configure(const GlobalContext &context) override¶
-
void CreatePorts() override¶
-
void Process(ProcessingContext &context) override¶
Public Members
-
const double DEFAULT_EVENT_RATE = 1.0¶
-
const std::string DEFAULT_EVENT = "default_eventsource_event"¶
Protected Attributes
-
options::Vector<std::string> event_list_{{DEFAULT_EVENT}, options::notempty<std::vector<std::string>>() + options::each<std::string>(options::notempty<std::string>())}¶
-
options::Measurement<double> event_rate_{DEFAULT_EVENT_RATE, "Hz", options::positive<double>()}¶
-
EventSource()¶