Rerun C++ SDK
Loading...
Searching...
No Matches
latest_at_queries.hpp
1// DO NOT EDIT! This file was auto-generated by crates/build/re_types_builder/src/codegen/cpp/mod.rs
2// Based on "crates/store/re_types/definitions/rerun/blueprint/components/latest_at_queries.fbs".
3
4#pragma once
5
6#include "../../blueprint/datatypes/latest_at_query.hpp"
7#include "../../collection.hpp"
8#include "../../result.hpp"
9
10#include <cstdint>
11#include <memory>
12#include <utility>
13
14namespace arrow {
15 class Array;
16 class DataType;
17 class ListBuilder;
18} // namespace arrow
19
20namespace rerun::blueprint::components {
21 /// **Component**: Configuration for latest-at queries.
22 ///
23 /// Note: configuration as saved on a per-timeline basis.
26
27 public:
28 LatestAtQueries() = default;
29
31 : queries(std::move(queries_)) {}
32
33 LatestAtQueries& operator=(
35 ) {
36 queries = std::move(queries_);
37 return *this;
38 }
39 };
40} // namespace rerun::blueprint::components
41
42namespace rerun {
43 template <typename T>
44 struct Loggable;
45
46 /// \private
47 template <>
48 struct Loggable<blueprint::components::LatestAtQueries> {
49 static constexpr const char Name[] = "rerun.blueprint.components.LatestAtQueries";
50
51 /// Returns the arrow data type this type corresponds to.
52 static const std::shared_ptr<arrow::DataType>& arrow_datatype();
53
54 /// Serializes an array of `rerun::blueprint:: components::LatestAtQueries` into an arrow array.
56 const blueprint::components::LatestAtQueries* instances, size_t num_instances
57 );
58
59 /// Fills an arrow array builder with an array of this type.
60 static rerun::Error fill_arrow_array_builder(
61 arrow::ListBuilder* builder, const blueprint::components::LatestAtQueries* elements,
62 size_t num_elements
63 );
64 };
65} // namespace rerun
Generic collection of elements that are roughly contiguous in memory.
Definition collection.hpp:49
Status outcome object (success or error) returned for fallible operations.
Definition error.hpp:91
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:22
The Loggable trait is used by all built-in implementation of rerun::AsComponents to serialize a colle...
Definition loggable.hpp:11
Component: Configuration for latest-at queries.
Definition latest_at_queries.hpp:24