DiffEq - Modern C++ ODE Integration Library 1.0.0
High-performance C++ library for solving ODEs with async signal processing
Loading...
Searching...
No Matches
composable_integration.hpp File Reference

Composable integration architecture using decorator pattern. More...

#include "composable/integrator_decorator.hpp"
#include "composable/timeout_decorator.hpp"
#include "composable/parallel_decorator.hpp"
#include "composable/output_decorator.hpp"
#include "composable/signal_decorator.hpp"
#include "composable/interpolation_decorator.hpp"
#include "composable/interprocess_decorator.hpp"
#include "composable/integrator_builder.hpp"
Include dependency graph for composable_integration.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Detailed Description

Composable integration architecture using decorator pattern.

This header provides the main entry point for the composable integration system. It includes all individual decorators and the builder interface.

The architecture solves the combinatorial explosion problem by using high cohesion, low coupling principles:

  • High Cohesion: Each decorator focuses on a single responsibility
  • Low Coupling: Decorators can be combined in any order without dependencies
  • Linear Scaling: N facilities require N classes, not 2^N classes

Usage Example:

auto integrator = make_builder(base_integrator)
.with_timeout()
.with_parallel()
.with_signals()
.with_output()
.build();

Definition in file composable_integration.hpp.