Skip to content

Struct zmbt::OutputRecorder::Registry

ClassList > Registry

Classes

Type Name
struct FrameBuffs

Public Types

Type Name
typedef boost::concurrent_flat_map< std:🧵:id, FrameBuffs, std::hash< std:🧵:id > > FramesBuffMap
typedef std::function< void(Registry &)> consume_fn_t

Public Attributes

Type Name
std::atomic< std::size_t > count = {0}
std::type_index data_typeid
std::bitset< static_cast< unsigned >(ChannelKind::Undefined)> enable_categories_ = {}
consume_fn_t extract_fn
std::shared_ptr< FramesBuffMap > frame_buff_map
boost::json::string interface_name
std::atomic< std::size_t > lost_count = {0}
boost::json::array serialized_frames = {}

Public Functions

Type Name
Registry (std::type_index typid, boost::json::string name, consume_fn_t efn, std::shared_ptr< FramesBuffMap > fbm)
~Registry ()

Public Static Functions

Type Name
std::shared_ptr< Registry > Make ()

Public Types Documentation

typedef FramesBuffMap

using zmbt::OutputRecorder::Registry::FramesBuffMap =  boost::concurrent_flat_map<std::thread::id, FrameBuffs, std::hash<std::thread::id> >;

typedef consume_fn_t

using zmbt::OutputRecorder::Registry::consume_fn_t =  std::function<void(Registry&)>;

Public Attributes Documentation

variable count

std::atomic<std::size_t> zmbt::OutputRecorder::Registry::count;

variable data_typeid

std::type_index zmbt::OutputRecorder::Registry::data_typeid;

variable enable_categories_

std::bitset<static_cast<unsigned>(ChannelKind::Undefined)> zmbt::OutputRecorder::Registry::enable_categories_;

variable extract_fn

consume_fn_t zmbt::OutputRecorder::Registry::extract_fn;

variable frame_buff_map

std::shared_ptr<FramesBuffMap> zmbt::OutputRecorder::Registry::frame_buff_map;

variable interface_name

boost::json::string zmbt::OutputRecorder::Registry::interface_name;

variable lost_count

std::atomic<std::size_t> zmbt::OutputRecorder::Registry::lost_count;

variable serialized_frames

boost::json::array zmbt::OutputRecorder::Registry::serialized_frames;

Public Functions Documentation

function Registry

inline Registry::Registry (
    std::type_index typid,
    boost::json::string name,
    consume_fn_t efn,
    std::shared_ptr< FramesBuffMap > fbm
) 

function ~Registry

inline Registry::~Registry () 

Public Static Functions Documentation

function Make

template<class Interface>
static inline std::shared_ptr< Registry > Registry::Make () 


The documentation for this class was generated from the following file zmbt-framework/zmbt-framework/backends/cxx/include/zmbt/model/output_recorder.hpp