Rerun C++ SDK
Loading...
Searching...
No Matches
space_view_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/space_view_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**: A view of a space.
21 ///
22 /// Unstable. Used for the ongoing blueprint experimentations.
25
26 public:
27 SpaceViewComponent() = default;
28
30 : space_view(std::move(space_view_)) {}
31
32 SpaceViewComponent& operator=(rerun::Collection<uint8_t> space_view_) {
33 space_view = std::move(space_view_);
34 return *this;
35 }
36 };
37} // namespace rerun::blueprint
38
39namespace rerun {
40 template <typename T>
41 struct Loggable;
42
43 /// \private
44 template <>
45 struct Loggable<blueprint::SpaceViewComponent> {
46 static constexpr const char Name[] = "rerun.blueprint.SpaceViewComponent";
47
48 /// Returns the arrow data type this type corresponds to.
49 static const std::shared_ptr<arrow::DataType>& arrow_datatype();
50
51 /// Fills an arrow array builder with an array of this type.
52 static rerun::Error fill_arrow_array_builder(
53 arrow::StructBuilder* builder, const blueprint::SpaceViewComponent* elements,
54 size_t num_elements
55 );
56
57 /// Serializes an array of `rerun::blueprint::SpaceViewComponent` into an arrow array.
59 const blueprint::SpaceViewComponent* instances, size_t num_instances
60 );
61 };
62} // 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: A view of a space.
Definition space_view_component.hpp:23