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

The positions a session carries over (fastmm-live restores them before it connects; see Venue::resume_executions): per venue and symbol, the last one the engine's store holds, from this session or, for a venue and symbol it recorded nothing about (it crashed first), the newest earlier session that did. More...

#include <fastmm/store/reader.hpp>

Public Attributes

std::uint8_t venue_id = 0
 in the session that recorded it
 
std::string venue
 its [venues.<name>]; empty when the store predates schema 3
 
std::string symbol
 
std::int64_t qty_raw = 0
 
std::int64_t avg_px_raw = 0
 

Detailed Description

The positions a session carries over (fastmm-live restores them before it connects; see Venue::resume_executions): per venue and symbol, the last one the engine's store holds, from this session or, for a venue and symbol it recorded nothing about (it crashed first), the newest earlier session that did.

Two venues can list the same symbol.

Member Data Documentation

◆ venue_id

std::uint8_t fastmm::store::Recovery::PositionState::venue_id = 0

in the session that recorded it

◆ venue

std::string fastmm::store::Recovery::PositionState::venue

its [venues.<name>]; empty when the store predates schema 3

◆ symbol

std::string fastmm::store::Recovery::PositionState::symbol

◆ qty_raw

std::int64_t fastmm::store::Recovery::PositionState::qty_raw = 0

◆ avg_px_raw

std::int64_t fastmm::store::Recovery::PositionState::avg_px_raw = 0