22 template <const
char Name[]>
28 template <const
char Name_[]>
29 struct Loggable<components::IndicatorComponent<Name_>> {
31 static constexpr const char* Name = Name_;
34 static const std::shared_ptr<arrow::DataType>& arrow_datatype() {
39 static Result<std::shared_ptr<arrow::Array>> to_arrow(
40 const components::IndicatorComponent<Name_>*,
size_t
All built-in components. See Types in the Rerun manual.
Definition rerun.hpp:69
const std::shared_ptr< arrow::DataType > & indicator_arrow_datatype()
Arrow data type shared by all instances of IndicatorComponent.
const std::shared_ptr< arrow::Array > & indicator_arrow_array()
Returns an arrow array for a single indicator component.
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:20
The Loggable trait is used by all built-in implementation of rerun::AsComponents to serialize a colle...
Definition loggable.hpp:11
Indicator component used by archetypes when converting them to component lists.
Definition indicator_component.hpp:23