|
FastMM C++ API 0.6.0
Public headers, tier 1 and tier 2
|
#include <fastmm/strategies/strategy.hpp>
Public Types | |
| using | params_type = Params |
Public Member Functions | |
| std::optional< std::string > | configure (const ParamMap &m) |
Applies string parameters, then runs validate() const when the params struct declares one. | |
| const Params & | params () const noexcept |
| Read-only: parameters change through configure() and apply_param_update(). | |
| void | apply_param_update (const ParamUpdateMsg &m) noexcept |
| Engine thread: assigns the (field, raw value) pairs of a ParamUpdateMsg, which the publisher validated (strategies/param_publisher.hpp). | |
| std::string | describe_params () const |
Static Public Member Functions | |
| static const ParamSchema & | schema () |
| using fastmm::StrategyBase< Params >::params_type = Params |
|
inlinestatic |
|
inline |
Applies string parameters, then runs validate() const when the params struct declares one.
Returns the first error message; the parameters are unchanged then (startup only).
|
inlinenoexcept |
Read-only: parameters change through configure() and apply_param_update().
|
inlinenoexcept |
Engine thread: assigns the (field, raw value) pairs of a ParamUpdateMsg, which the publisher validated (strategies/param_publisher.hpp).
A StrategyBase keeps one parameter set for every instrument, so the message's instrument is not used; a field outside the schema is skipped.
|
inline |