DiffEq - Modern C++ ODE Integration Library 1.0.0
High-performance C++ library for solving ODEs with async signal processing
Loading...
Searching...
No Matches
diffeq::core::composable::EventConfig Struct Reference

Event configuration. More...

#include <event_decorator.hpp>

Public Member Functions

void validate () const
 Validate configuration parameters.
 

Public Attributes

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}
 

Detailed Description

Event configuration.

Definition at line 57 of file event_decorator.hpp.

Member Function Documentation

◆ validate()

void diffeq::core::composable::EventConfig::validate ( ) const
inline

Validate configuration parameters.

Exceptions
std::invalid_argumentif configuration is invalid

Definition at line 86 of file event_decorator.hpp.

Member Data Documentation

◆ control_loop_period

std::chrono::microseconds diffeq::core::composable::EventConfig::control_loop_period {1000}

Definition at line 69 of file event_decorator.hpp.

◆ control_tolerance

double diffeq::core::composable::EventConfig::control_tolerance {1e-6}

Definition at line 71 of file event_decorator.hpp.

◆ enable_async_processing

bool diffeq::core::composable::EventConfig::enable_async_processing {true}

Definition at line 80 of file event_decorator.hpp.

◆ enable_control_loop

bool diffeq::core::composable::EventConfig::enable_control_loop {false}

Definition at line 70 of file event_decorator.hpp.

◆ enable_event_history

bool diffeq::core::composable::EventConfig::enable_event_history {true}

Definition at line 60 of file event_decorator.hpp.

◆ enable_priority_queue

bool diffeq::core::composable::EventConfig::enable_priority_queue {true}

Definition at line 59 of file event_decorator.hpp.

◆ enable_sensor_validation

bool diffeq::core::composable::EventConfig::enable_sensor_validation {true}

Definition at line 75 of file event_decorator.hpp.

◆ event_thread_pool_size

size_t diffeq::core::composable::EventConfig::event_thread_pool_size {2}

Definition at line 79 of file event_decorator.hpp.

◆ event_timeout

std::chrono::microseconds diffeq::core::composable::EventConfig::event_timeout {10000}

Definition at line 65 of file event_decorator.hpp.

◆ max_event_history

size_t diffeq::core::composable::EventConfig::max_event_history {1000}

Definition at line 61 of file event_decorator.hpp.

◆ max_event_processing_time

std::chrono::microseconds diffeq::core::composable::EventConfig::max_event_processing_time {1000}

Definition at line 64 of file event_decorator.hpp.

◆ processing_mode

EventProcessingMode diffeq::core::composable::EventConfig::processing_mode {EventProcessingMode::IMMEDIATE}

Definition at line 58 of file event_decorator.hpp.

◆ sensor_noise_threshold

double diffeq::core::composable::EventConfig::sensor_noise_threshold {1e-3}

Definition at line 76 of file event_decorator.hpp.

◆ sensor_timeout

std::chrono::microseconds diffeq::core::composable::EventConfig::sensor_timeout {5000}

Definition at line 74 of file event_decorator.hpp.

◆ strict_timing

bool diffeq::core::composable::EventConfig::strict_timing {false}

Definition at line 66 of file event_decorator.hpp.


The documentation for this struct was generated from the following file: