Rerun C++ SDK
Loading...
Searching...
No Matches
visible_time_range.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/datatypes/visible_time_range.fbs".
3
4#pragma once
5
6#include "../component_descriptor.hpp"
7#include "../result.hpp"
8#include "time_range.hpp"
9#include "utf8.hpp"
10
11#include <cstdint>
12#include <memory>
13
14namespace arrow {
15 class Array;
16 class DataType;
17 class StructBuilder;
18} // namespace arrow
19
20namespace rerun::datatypes {
21 /// **Datatype**: Visible time range bounds for a specific timeline.
23 /// Name of the timeline this applies to.
25
26 /// Time range to use for this timeline.
28
29 public:
30 VisibleTimeRange() = default;
31 };
32} // namespace rerun::datatypes
33
34namespace rerun {
35 template <typename T>
36 struct Loggable;
37
38 /// \private
39 template <>
40 struct Loggable<datatypes::VisibleTimeRange> {
41 static constexpr ComponentDescriptor Descriptor = "rerun.datatypes.VisibleTimeRange";
42
43 /// Returns the arrow data type this type corresponds to.
44 static const std::shared_ptr<arrow::DataType>& arrow_datatype();
45
46 /// Serializes an array of `rerun::datatypes::VisibleTimeRange` into an arrow array.
48 const datatypes::VisibleTimeRange* instances, size_t num_instances
49 );
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 datatypes::VisibleTimeRange* elements,
54 size_t num_elements
55 );
56 };
57} // namespace rerun
Status outcome object (success or error) returned for fallible operations.
Definition error.hpp:99
A class for representing either a usable value, or an error.
Definition result.hpp:14
All built-in datatypes. See Types in the Rerun manual.
Definition rerun.hpp:82
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:23
A ComponentDescriptor fully describes the semantics of a column of data.
Definition component_descriptor.hpp:14
The Loggable trait is used by all built-in implementation of rerun::AsComponents to serialize a colle...
Definition loggable.hpp:11
Datatype: Visible time range bounds for a specific timeline.
Definition time_range.hpp:21
Datatype: A string of text, encoded as UTF-8.
Definition utf8.hpp:22
Datatype: Visible time range bounds for a specific timeline.
Definition visible_time_range.hpp:22
rerun::datatypes::Utf8 timeline
Name of the timeline this applies to.
Definition visible_time_range.hpp:24
rerun::datatypes::TimeRange range
Time range to use for this timeline.
Definition visible_time_range.hpp:27