6#include "../../blueprint/components/text_log_column.hpp"
7#include "../../blueprint/components/timeline_column.hpp"
8#include "../../collection.hpp"
9#include "../../component_batch.hpp"
10#include "../../component_column.hpp"
11#include "../../result.hpp"
18namespace rerun::blueprint::archetypes {
36 static constexpr const char ArchetypeName[] =
"rerun.blueprint.archetypes.TextLogColumns";
73 return std::move(*
this);
85 return std::move(*
this);
109 template <
typename T>
Generic collection of elements that are roughly contiguous in memory.
Definition collection.hpp:49
A class for representing either a usable value, or an error.
Definition result.hpp:14
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:23
static Result< ComponentBatch > from_loggable(const rerun::Collection< T > &components, const ComponentDescriptor &descriptor)
Creates a new component batch from a collection of component instances.
Definition component_batch.hpp:46
A ComponentDescriptor fully describes the semantics of a column of data.
Definition component_descriptor.hpp:16
The Loggable trait is used by all built-in implementation of rerun::AsComponents to serialize a colle...
Definition loggable.hpp:11
Archetype: Configuration of the text log columns.
Definition text_log_columns.hpp:23
static constexpr auto Descriptor_text_log_columns
ComponentDescriptor for the text_log_columns field.
Definition text_log_columns.hpp:44
Collection< ComponentColumn > columns()
Partitions the component data into unit-length sub-batches.
std::optional< ComponentBatch > text_log_columns
All columns to be displayed.
Definition text_log_columns.hpp:32
std::optional< ComponentBatch > timeline_columns
What timeline columns to show.
Definition text_log_columns.hpp:27
TextLogColumns with_text_log_columns(const Collection< rerun::blueprint::components::TextLogColumn > &_text_log_columns) &&
All columns to be displayed.
Definition text_log_columns.hpp:79
static TextLogColumns update_fields()
Update only some specific fields of a TextLogColumns.
Definition text_log_columns.hpp:57
Collection< ComponentColumn > columns(const Collection< uint32_t > &lengths_)
Partitions the component data into multiple sub-batches.
static constexpr const char ArchetypeName[]
The name of the archetype as used in ComponentDescriptors.
Definition text_log_columns.hpp:36
TextLogColumns with_timeline_columns(const Collection< rerun::blueprint::components::TimelineColumn > &_timeline_columns) &&
What timeline columns to show.
Definition text_log_columns.hpp:67
static constexpr auto Descriptor_timeline_columns
ComponentDescriptor for the timeline_columns field.
Definition text_log_columns.hpp:39
static TextLogColumns clear_fields()
Clear all the fields of a TextLogColumns.