PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
journal_codec.hpp File Reference
#include <pineforge/detail/scratch_store.hpp>
#include <algorithm>
#include <array>
#include <cstring>
#include <limits>
#include <string>
#include <type_traits>
Include dependency graph for journal_codec.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  pineforge::detail::journal_codec::WorkObserver
 
struct  pineforge::detail::journal_codec::Writer
 
struct  pineforge::detail::journal_codec::Reader
 
class  pineforge::detail::journal_codec::WordSource
 
class  pineforge::detail::journal_codec::StoreSource
 

Namespaces

namespace  pineforge
 
namespace  pineforge::detail
 
namespace  pineforge::detail::journal_codec
 

Enumerations

enum class  pineforge::detail::journal_codec::WorkOperation {
  pineforge::detail::journal_codec::payload_source ,
  pineforge::detail::journal_codec::payload_read ,
  pineforge::detail::journal_codec::encoder_word ,
  pineforge::detail::journal_codec::writer_status
}
 

Functions

const WorkObserver * pineforge::detail::journal_codec::set_work_observer (const WorkObserver *observer) noexcept
 
void pineforge::detail::journal_codec::observe_work (WorkOperation operation, std::uint64_t bytes=0) noexcept
 
ScratchStatus pineforge::detail::journal_codec::find (CommandScratchStore &store, std::uint64_t key, ScratchRecordInfo &out) noexcept
 
ScratchStatus pineforge::detail::journal_codec::finish (CommandScratchStore &store, ScratchStatus status) noexcept
 
ScratchStatus pineforge::detail::journal_codec::put (CommandScratchStore &store, std::uint64_t key, const ScratchByteSource &value) noexcept
 
ScratchStatus pineforge::detail::journal_codec::clear (CommandScratchStore &store) noexcept
 

Variables

thread_local const WorkObserver * pineforge::detail::journal_codec::work_observer = nullptr