Struct EventConfig
Defined in File event_decorator.hpp
Struct Documentation
-
struct EventConfig
Event configuration.
Public Functions
-
inline void validate() const
Validate configuration parameters.
- Throws:
std::invalid_argument – if configuration is invalid
Public Members
-
EventProcessingMode processing_mode = {EventProcessingMode::IMMEDIATE}
-
bool enable_priority_queue = {true}
-
bool enable_event_history = {true}
-
size_t max_event_history = {1000}
-
std::chrono::microseconds max_event_processing_time = {1000}
-
std::chrono::microseconds event_timeout = {10000}
-
bool strict_timing = {false}
-
std::chrono::microseconds control_loop_period = {1000}
-
bool enable_control_loop = {false}
-
double control_tolerance = {1e-6}
-
std::chrono::microseconds sensor_timeout = {5000}
-
bool enable_sensor_validation = {true}
-
double sensor_noise_threshold = {1e-3}
-
size_t event_thread_pool_size = {2}
-
bool enable_async_processing = {true}
-
inline void validate() const