Rerun C++ SDK
Loading...
Searching...
No Matches
entity_properties_component.hpp
1// DO NOT EDIT! This file was auto-generated by crates/re_types_builder/src/codegen/cpp/mod.rs
2// Based on "crates/re_types/definitions/rerun/blueprint/entity_properties_component.fbs".
3
4#pragma once
5
6#include "../collection.hpp"
7#include "../result.hpp"
8
9#include <cstdint>
10#include <memory>
11#include <utility>
12
13namespace arrow {
14 class Array;
15 class DataType;
16 class StructBuilder;
17} // namespace arrow
18
19namespace rerun::blueprint {
20 /// **Blueprint**: The configurable set of overridable properties.
21 ///
22 /// Unstable. Used for the ongoing blueprint experimentations.
25
26 public:
27 EntityPropertiesComponent() = default;
28
29 EntityPropertiesComponent(rerun::Collection<uint8_t> props_) : props(std::move(props_)) {}
30
32 props = std::move(props_);
33 return *this;
34 }
35 };
36} // namespace rerun::blueprint
37
38namespace rerun {
39 template <typename T>
40 struct Loggable;
41
42 /// \private
43 template <>
44 struct Loggable<blueprint::EntityPropertiesComponent> {
45 static constexpr const char Name[] = "rerun.blueprint.EntityPropertiesComponent";
46
47 /// Returns the arrow data type this type corresponds to.
48 static const std::shared_ptr<arrow::DataType>& arrow_datatype();
49
50 /// Fills an arrow array builder with an array of this type.
51 static rerun::Error fill_arrow_array_builder(
52 arrow::StructBuilder* builder, const blueprint::EntityPropertiesComponent* elements,
53 size_t num_elements
54 );
55
56 /// Serializes an array of `rerun::blueprint::EntityPropertiesComponent` into an arrow array.
58 const blueprint::EntityPropertiesComponent* instances, size_t num_instances
59 );
60 };
61} // namespace rerun
Generic collection of elements that are roughly contiguous in memory.
Definition collection.hpp:47
Status outcome object (success or error) returned for fallible operations.
Definition error.hpp:87
A class for representing either a usable value, or an error.
Definition result.hpp:14
All blueprint types. This is still experimental and subject to change!
Definition rerun.hpp:75
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
Blueprint: The configurable set of overridable properties.
Definition entity_properties_component.hpp:23