PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
pineforge::source::detail::ExitScratchContext Struct Reference

#include <exit_scratch.hpp>

Data Fields

CommandScratchStore & store
 
native_order::RunIdentity run
 
ExitScratchVersions * versions = nullptr
 
std::uint64_t next_scope = 0
 
void * observation = nullptr
 
void(* observe_rows )(void *, std::uint64_t scope, std::size_t rows) noexcept = nullptr
 
void(* observe_lookup )(void *, std::size_t candidates) noexcept = nullptr
 
ScratchStatus(* lots )(const NativeStrategyHost &, double, void *, bool(*)(void *, const NativeOpenLot &)) = nullptr
 
ScratchStatus(* working )(const NativeStrategyHost &, void *, bool(*)(void *, const NativeWorkingRequest &)) = nullptr
 
ExitScratchTeardownFailure teardown_failure
 

Detailed Description

Definition at line 92 of file exit_scratch.hpp.

Field Documentation

◆ store

◆ run

◆ versions

ExitScratchVersions* pineforge::source::detail::ExitScratchContext::versions = nullptr

◆ next_scope

std::uint64_t pineforge::source::detail::ExitScratchContext::next_scope = 0

Definition at line 96 of file exit_scratch.hpp.

◆ observation

void* pineforge::source::detail::ExitScratchContext::observation = nullptr

Definition at line 97 of file exit_scratch.hpp.

◆ observe_rows

void(* pineforge::source::detail::ExitScratchContext::observe_rows) (void *, std::uint64_t scope, std::size_t rows) noexcept = nullptr
noexcept

Definition at line 98 of file exit_scratch.hpp.

◆ observe_lookup

void(* pineforge::source::detail::ExitScratchContext::observe_lookup) (void *, std::size_t candidates) noexcept = nullptr
noexcept

◆ lots

ScratchStatus(* pineforge::source::detail::ExitScratchContext::lots) (const NativeStrategyHost &, double, void *, bool(*)(void *, const NativeOpenLot &)) = nullptr

Definition at line 100 of file exit_scratch.hpp.

Referenced by pineforge::source::detail::exit_scratch_lots().

◆ working

ScratchStatus(* pineforge::source::detail::ExitScratchContext::working) (const NativeStrategyHost &, void *, bool(*)(void *, const NativeWorkingRequest &)) = nullptr

Definition at line 102 of file exit_scratch.hpp.

Referenced by pineforge::source::detail::exit_scratch_working().

◆ teardown_failure

ExitScratchTeardownFailure pineforge::source::detail::ExitScratchContext::teardown_failure

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