PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
pineforge::source::series_ma_detail::Rewindowed< Window > Class Template Reference

#include <pine_ta_series_ma.hpp>

Public Types

using Fixed = typename Window::Fixed
 
using Arguments = typename Window::Arguments
 

Public Member Functions

 Rewindowed (WindowCacheCapacity cache)
 
 Rewindowed (const Rewindowed &)=default
 
Rewindowed & operator= (const Rewindowed &)=default
 
std::uint64_t checked (double current_length, const char *function) const
 
template<class Call>
auto call (double sample, std::uint64_t length, const Arguments &arguments, bool again, Call &&on_fixed) -> decltype(on_fixed(std::declval< Fixed & >(), false))
 
void observe_owned_storage (OwnedStorage &out) const noexcept
 

Detailed Description

template<class Window>
class pineforge::source::series_ma_detail::Rewindowed< Window >

Definition at line 179 of file pine_ta_series_ma.hpp.

Member Typedef Documentation

◆ Fixed

template<class Window>
using pineforge::source::series_ma_detail::Rewindowed< Window >::Fixed = typename Window::Fixed

Definition at line 181 of file pine_ta_series_ma.hpp.

◆ Arguments

template<class Window>
using pineforge::source::series_ma_detail::Rewindowed< Window >::Arguments = typename Window::Arguments

Definition at line 182 of file pine_ta_series_ma.hpp.

Constructor & Destructor Documentation

◆ Rewindowed() [1/2]

template<class Window>
pineforge::source::series_ma_detail::Rewindowed< Window >::Rewindowed ( WindowCacheCapacity cache)
inlineexplicit

Definition at line 184 of file pine_ta_series_ma.hpp.

◆ Rewindowed() [2/2]

template<class Window>
pineforge::source::series_ma_detail::Rewindowed< Window >::Rewindowed ( const Rewindowed< Window > & )
default

Member Function Documentation

◆ operator=()

template<class Window>
Rewindowed & pineforge::source::series_ma_detail::Rewindowed< Window >::operator= ( const Rewindowed< Window > & )
default

◆ checked()

template<class Window>
std::uint64_t pineforge::source::series_ma_detail::Rewindowed< Window >::checked ( double current_length,
const char * function ) const
inline

Definition at line 189 of file pine_ta_series_ma.hpp.

◆ call()

template<class Window>
template<class Call>
auto pineforge::source::series_ma_detail::Rewindowed< Window >::call ( double sample,
std::uint64_t length,
const Arguments & arguments,
bool again,
Call && on_fixed ) -> decltype(on_fixed(std::declval<Fixed&>(), false))
inline

Definition at line 198 of file pine_ta_series_ma.hpp.

◆ observe_owned_storage()

template<class Window>
void pineforge::source::series_ma_detail::Rewindowed< Window >::observe_owned_storage ( OwnedStorage & out) const
inlinenoexcept

Definition at line 220 of file pine_ta_series_ma.hpp.


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