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

A strategy parameter update the engine applied (ParamUpdateMsg): after the header, the message's bytes past its own header, so the fields sit at the same offsets. More...

#include <fastmm/core/record_stream.hpp>

Public Member Functions

std::string_view source_view () const noexcept
 

Public Attributes

RecordHeader hdr
 
std::uint32_t count
 64 pairs used
 
ParamUpdateMsg::Origin origin
 68
 
std::uint8_t pad0_ [3]
 
std::uint64_t publish_seq
 72
 
std::uint16_t field [ParamUpdateMsg::kMaxFields]
 80 index in the parameter table
 
char source [ParamUpdateMsg::kSourceLen]
 144 NUL-terminated
 
std::uint8_t pad1_ [8]
 
std::int64_t value [ParamUpdateMsg::kMaxFields]
 192 raw value of each pair
 

Detailed Description

A strategy parameter update the engine applied (ParamUpdateMsg): after the header, the message's bytes past its own header, so the fields sit at the same offsets.

hdr.instrument is the update's target, invalid for every instrument. The store names the fields through the session's parameter table (SessionOpen::param_table).

Member Function Documentation

◆ source_view()

std::string_view fastmm::ParamRecord::source_view ( ) const
inlinenoexcept

Member Data Documentation

◆ hdr

RecordHeader fastmm::ParamRecord::hdr

◆ count

std::uint32_t fastmm::ParamRecord::count

64 pairs used

◆ origin

ParamUpdateMsg::Origin fastmm::ParamRecord::origin

68

◆ pad0_

std::uint8_t fastmm::ParamRecord::pad0_[3]

◆ publish_seq

std::uint64_t fastmm::ParamRecord::publish_seq

72

◆ field

std::uint16_t fastmm::ParamRecord::field[ParamUpdateMsg::kMaxFields]

80 index in the parameter table

◆ source

char fastmm::ParamRecord::source[ParamUpdateMsg::kSourceLen]

144 NUL-terminated

◆ pad1_

std::uint8_t fastmm::ParamRecord::pad1_[8]

◆ value

std::int64_t fastmm::ParamRecord::value[ParamUpdateMsg::kMaxFields]

192 raw value of each pair