6#include "../collection.hpp"
7#include "../datatypes/channel_count_pair.hpp"
8#include "../result.hpp"
35 :
counts(std::move(counts_)) {}
40 counts = std::move(counts_);
52 struct Loggable<components::ChannelMessageCounts> {
53 static constexpr std::string_view ComponentType =
"rerun.components.ChannelMessageCounts";
56 static const std::shared_ptr<arrow::DataType>& arrow_datatype();
59 static Result<std::shared_ptr<arrow::Array>> to_arrow(
60 const components::ChannelMessageCounts* instances,
size_t num_instances
65 arrow::ListBuilder* builder,
const components::ChannelMessageCounts* elements,
Generic collection of elements that are roughly contiguous in memory.
Definition collection.hpp:49
Status outcome object (success or error) returned for fallible operations.
Definition error.hpp:103
All built-in components. See Types in the Rerun manual.
Definition rerun.hpp:79
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:23
Component: A mapping of channel IDs to their respective message counts.
Definition channel_message_counts.hpp:27
rerun::Collection< rerun::datatypes::ChannelCountPair > counts
The channel ID to message count pairs.
Definition channel_message_counts.hpp:29