PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
pineforge::source::series_ma_detail::RecordedSamples Class Reference

#include <pine_ta_series_ma.hpp>

Public Member Functions

 RecordedSamples (WindowCacheCapacity cache)
 
std::size_t count () const
 
double newest (std::size_t back) const
 
void append (double value, std::size_t limit)
 
void observe_owned_storage (OwnedStorage &out) const noexcept
 

Detailed Description

Definition at line 129 of file pine_ta_series_ma.hpp.

Constructor & Destructor Documentation

◆ RecordedSamples()

pineforge::source::series_ma_detail::RecordedSamples::RecordedSamples ( WindowCacheCapacity cache)
inlineexplicit

Definition at line 131 of file pine_ta_series_ma.hpp.

Member Function Documentation

◆ count()

std::size_t pineforge::source::series_ma_detail::RecordedSamples::count ( ) const
inline

Definition at line 133 of file pine_ta_series_ma.hpp.

◆ newest()

double pineforge::source::series_ma_detail::RecordedSamples::newest ( std::size_t back) const
inline

Definition at line 136 of file pine_ta_series_ma.hpp.

◆ append()

void pineforge::source::series_ma_detail::RecordedSamples::append ( double value,
std::size_t limit )
inline

Definition at line 140 of file pine_ta_series_ma.hpp.

◆ observe_owned_storage()

void pineforge::source::series_ma_detail::RecordedSamples::observe_owned_storage ( OwnedStorage & out) const
inlinenoexcept

Definition at line 148 of file pine_ta_series_ma.hpp.


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