6#include "../collection.hpp"
7#include "../component_batch.hpp"
8#include "../component_column.hpp"
9#include "../components/name.hpp"
10#include "../components/timestamp.hpp"
11#include "../indicator_component.hpp"
12#include "../result.hpp"
28 std::optional<ComponentBatch>
name;
31 static constexpr const char IndicatorComponentName[] =
32 "rerun.components.RecordingPropertiesIndicator";
37 static constexpr const char ArchetypeName[] =
"rerun.archetypes.RecordingProperties";
70 return std::move(*
this);
82 return std::move(*
this);
88 return std::move(*
this);
97 return std::move(*
this);
121 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 built-in archetypes. See Types in the Rerun manual.
Definition rerun.hpp:76
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=rerun::Loggable< T >::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:14
The Loggable trait is used by all built-in implementation of rerun::AsComponents to serialize a colle...
Definition loggable.hpp:11
Archetype: A list of properties associated with a recording.
Definition recording_properties.hpp:21
std::optional< ComponentBatch > start_time
When the recording started.
Definition recording_properties.hpp:25
std::optional< ComponentBatch > name
A user-chosen name for the recording.
Definition recording_properties.hpp:28
static RecordingProperties clear_fields()
Clear all the fields of a RecordingProperties.
static constexpr const char ArchetypeName[]
The name of the archetype as used in ComponentDescriptors.
Definition recording_properties.hpp:37
RecordingProperties with_name(const rerun::components::Name &_name) &&
A user-chosen name for the recording.
Definition recording_properties.hpp:86
RecordingProperties with_many_start_time(const Collection< rerun::components::Timestamp > &_start_time) &&
This method makes it possible to pack multiple start_time in a single component batch.
Definition recording_properties.hpp:77
RecordingProperties with_many_name(const Collection< rerun::components::Name > &_name) &&
This method makes it possible to pack multiple name in a single component batch.
Definition recording_properties.hpp:95
static RecordingProperties update_fields()
Update only some specific fields of a RecordingProperties.
Definition recording_properties.hpp:57
Collection< ComponentColumn > columns(const Collection< uint32_t > &lengths_)
Partitions the component data into multiple sub-batches.
static constexpr auto Descriptor_name
ComponentDescriptor for the name field.
Definition recording_properties.hpp:45
static constexpr auto Descriptor_start_time
ComponentDescriptor for the start_time field.
Definition recording_properties.hpp:40
Collection< ComponentColumn > columns()
Partitions the component data into unit-length sub-batches.
RecordingProperties with_start_time(const rerun::components::Timestamp &_start_time) &&
When the recording started.
Definition recording_properties.hpp:67
Indicator component used by archetypes when converting them to component lists.
Definition indicator_component.hpp:32
Component: A display name, typically for an entity or a item like a plot series.
Definition name.hpp:17
Component: When the recording started.
Definition timestamp.hpp:17