DiffEq - Modern C++ ODE Integration Library 1.0.0
High-performance C++ library for solving ODEs with async signal processing
|
Configuration for interprocess communication. More...
#include <interprocess_decorator.hpp>
Public Member Functions | |
void | validate () const |
Validate configuration parameters. | |
Public Attributes | |
IPCMethod | method {IPCMethod::SHARED_MEMORY} |
IPCDirection | direction {IPCDirection::PRODUCER} |
IPCSyncMode | sync_mode {IPCSyncMode::NON_BLOCKING} |
std::string | channel_name {"diffeq_channel"} |
size_t | buffer_size {1024 * 1024} |
size_t | max_message_size {64 * 1024} |
std::chrono::milliseconds | timeout {100} |
std::chrono::microseconds | polling_interval {100} |
bool | enable_acknowledgments {false} |
bool | enable_sequence_numbers {true} |
bool | enable_error_correction {false} |
size_t | max_retries {3} |
bool | enable_compression {false} |
bool | enable_batching {false} |
size_t | batch_size {10} |
std::chrono::milliseconds | batch_timeout {10} |
std::string | host {"127.0.0.1"} |
uint16_t | port {8080} |
Configuration for interprocess communication.
Definition at line 66 of file interprocess_decorator.hpp.
|
inline |
Validate configuration parameters.
std::invalid_argument | if configuration is invalid |
Definition at line 98 of file interprocess_decorator.hpp.
size_t diffeq::core::composable::InterprocessConfig::batch_size {10} |
Definition at line 87 of file interprocess_decorator.hpp.
std::chrono::milliseconds diffeq::core::composable::InterprocessConfig::batch_timeout {10} |
Definition at line 88 of file interprocess_decorator.hpp.
size_t diffeq::core::composable::InterprocessConfig::buffer_size {1024 * 1024} |
Definition at line 72 of file interprocess_decorator.hpp.
std::string diffeq::core::composable::InterprocessConfig::channel_name {"diffeq_channel"} |
Definition at line 71 of file interprocess_decorator.hpp.
IPCDirection diffeq::core::composable::InterprocessConfig::direction {IPCDirection::PRODUCER} |
Definition at line 68 of file interprocess_decorator.hpp.
bool diffeq::core::composable::InterprocessConfig::enable_acknowledgments {false} |
Definition at line 79 of file interprocess_decorator.hpp.
bool diffeq::core::composable::InterprocessConfig::enable_batching {false} |
Definition at line 86 of file interprocess_decorator.hpp.
bool diffeq::core::composable::InterprocessConfig::enable_compression {false} |
Definition at line 85 of file interprocess_decorator.hpp.
bool diffeq::core::composable::InterprocessConfig::enable_error_correction {false} |
Definition at line 81 of file interprocess_decorator.hpp.
bool diffeq::core::composable::InterprocessConfig::enable_sequence_numbers {true} |
Definition at line 80 of file interprocess_decorator.hpp.
std::string diffeq::core::composable::InterprocessConfig::host {"127.0.0.1"} |
Definition at line 91 of file interprocess_decorator.hpp.
size_t diffeq::core::composable::InterprocessConfig::max_message_size {64 * 1024} |
Definition at line 73 of file interprocess_decorator.hpp.
size_t diffeq::core::composable::InterprocessConfig::max_retries {3} |
Definition at line 82 of file interprocess_decorator.hpp.
IPCMethod diffeq::core::composable::InterprocessConfig::method {IPCMethod::SHARED_MEMORY} |
Definition at line 67 of file interprocess_decorator.hpp.
std::chrono::microseconds diffeq::core::composable::InterprocessConfig::polling_interval {100} |
Definition at line 76 of file interprocess_decorator.hpp.
uint16_t diffeq::core::composable::InterprocessConfig::port {8080} |
Definition at line 92 of file interprocess_decorator.hpp.
IPCSyncMode diffeq::core::composable::InterprocessConfig::sync_mode {IPCSyncMode::NON_BLOCKING} |
Definition at line 69 of file interprocess_decorator.hpp.
std::chrono::milliseconds diffeq::core::composable::InterprocessConfig::timeout {100} |
Definition at line 75 of file interprocess_decorator.hpp.