Rerun C++ SDK
Loading...
Searching...
No Matches
latest_at_query.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/datatypes/latest_at_query.fbs".
3
4#pragma once
5
6#include "../../datatypes/time_int.hpp"
7#include "../../datatypes/utf8.hpp"
8#include "../../result.hpp"
9
10#include <cstdint>
11#include <memory>
12
13namespace arrow {
14 class Array;
15 class DataType;
16 class StructBuilder;
17} // namespace arrow
18
19namespace rerun::blueprint::datatypes {
20 /// **Datatype**: Latest-at query configuration for a specific timeline.
22 /// Name of the timeline this applies to.
24
25 /// Time value to use for this query.
27
28 public:
29 LatestAtQuery() = default;
30 };
31} // namespace rerun::blueprint::datatypes
32
33namespace rerun {
34 template <typename T>
35 struct Loggable;
36
37 /// \private
38 template <>
39 struct Loggable<blueprint::datatypes::LatestAtQuery> {
40 static constexpr const char Name[] = "rerun.blueprint.datatypes.LatestAtQuery";
41
42 /// Returns the arrow data type this type corresponds to.
43 static const std::shared_ptr<arrow::DataType>& arrow_datatype();
44
45 /// Serializes an array of `rerun::blueprint:: datatypes::LatestAtQuery` into an arrow array.
47 const blueprint::datatypes::LatestAtQuery* instances, size_t num_instances
48 );
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::datatypes::LatestAtQuery* elements,
53 size_t num_elements
54 );
55 };
56} // namespace rerun
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
Datatype: Latest-at query configuration for a specific timeline.
Definition latest_at_query.hpp:21
rerun::datatypes::Utf8 timeline
Name of the timeline this applies to.
Definition latest_at_query.hpp:23
rerun::datatypes::TimeInt time
Time value to use for this query.
Definition latest_at_query.hpp:26
Datatype: A 64-bit number describing either nanoseconds OR sequence numbers.
Definition time_int.hpp:24
Datatype: A string of text, encoded as UTF-8.
Definition utf8.hpp:21