microfmt
Zero-allocation C++ formatting for constrained environments
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
microfmt::remote_layout_accessor< Value, Callback > Class Template Reference

Reads a remote layout property through a retained callback. More...

#include <remote_layout_accessor.hpp>

Public Types

using value_type = Value
 

Public Member Functions

constexpr remote_layout_accessor (Callback callback) noexcept
 
template<typename... Inputs>
bool read (address_space_ref space, uintptr_t object_address, Value &out, Inputs... inputs) const noexcept
 

Detailed Description

template<typename Value, typename Callback>
class microfmt::remote_layout_accessor< Value, Callback >

Reads a remote layout property through a retained callback.

The callback is stored by value and receives the address space, object address, output reference, and any query-specific inputs.

Template Parameters
ValuePublic value produced by the accessor.
CallbackRetained callback type.

Member Typedef Documentation

◆ value_type

template<typename Value , typename Callback >
using microfmt::remote_layout_accessor< Value, Callback >::value_type = Value

Constructor & Destructor Documentation

◆ remote_layout_accessor()

template<typename Value , typename Callback >
constexpr microfmt::remote_layout_accessor< Value, Callback >::remote_layout_accessor ( Callback  callback)
inlineexplicitconstexprnoexcept

Member Function Documentation

◆ read()

template<typename Value , typename Callback >
template<typename... Inputs>
bool microfmt::remote_layout_accessor< Value, Callback >::read ( address_space_ref  space,
uintptr_t  object_address,
Value &  out,
Inputs...  inputs 
) const
inlinenoexcept

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