FastMM documentation
FastMM C++ API 0.6.0
Public headers, tier 1 and tier 2
Loading...
Searching...
No Matches
fastmm::bt::ReplayStrategy Struct Reference

A strategy outside the registry (a Python hot strategy): the name for the result, the parameter schema that ParamUpdate fields are matched against, and a factory that builds the runner on the sim::ReplayBackend that deps.backend points at. More...

#include <fastmm/backtest/replay.hpp>

Public Attributes

std::string name
 
const ParamSchema * schema = nullptr
 
std::function< std::unique_ptr< IEngineRunner >(RunnerDeps &deps)> make
 

Detailed Description

A strategy outside the registry (a Python hot strategy): the name for the result, the parameter schema that ParamUpdate fields are matched against, and a factory that builds the runner on the sim::ReplayBackend that deps.backend points at.

Member Data Documentation

◆ name

std::string fastmm::bt::ReplayStrategy::name

◆ schema

const ParamSchema* fastmm::bt::ReplayStrategy::schema = nullptr

◆ make

std::function<std::unique_ptr<IEngineRunner>(RunnerDeps& deps)> fastmm::bt::ReplayStrategy::make