Rerun C++ SDK
Loading...
Searching...
No Matches
visible_time_ranges.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/archetypes/visible_time_ranges.fbs".
3
4#pragma once
5
6#include "../../blueprint/components/visible_time_range.hpp"
7#include "../../collection.hpp"
8#include "../../component_batch.hpp"
9#include "../../indicator_component.hpp"
10#include "../../result.hpp"
11
12#include <cstdint>
13#include <utility>
14#include <vector>
15
16namespace rerun::blueprint::archetypes {
17 /// **Archetype**: Configures what range of each timeline is shown on a view.
18 ///
19 /// Whenever no visual time range applies, queries are done with "latest-at" semantics.
20 /// This means that the view will, starting from the time cursor position,
21 /// query the latest data available for each component type.
22 ///
23 /// The default visual time range depends on the type of view this property applies to:
24 /// - For time series views, the default is to show the entire timeline.
25 /// - For any other view, the default is to apply latest-at semantics.
27 /// The time ranges to show for each timeline unless specified otherwise on a per-entity basis.
28 ///
29 /// If a timeline is specified more than once, the first entry will be used.
31
32 public:
33 static constexpr const char IndicatorComponentName[] =
34 "rerun.blueprint.components.VisibleTimeRangesIndicator";
35
36 /// Indicator component, used to identify the archetype when converting to a list of components.
38
39 public:
40 VisibleTimeRanges() = default;
41 VisibleTimeRanges(VisibleTimeRanges&& other) = default;
42
43 explicit VisibleTimeRanges(
45 )
46 : ranges(std::move(_ranges)) {}
47 };
48
49} // namespace rerun::blueprint::archetypes
50
51namespace rerun {
52 /// \private
53 template <typename T>
54 struct AsComponents;
55
56 /// \private
57 template <>
58 struct AsComponents<blueprint::archetypes::VisibleTimeRanges> {
59 /// Serialize all set component batches.
60 static Result<std::vector<ComponentBatch>> serialize(
62 );
63 };
64} // namespace rerun
Generic collection of elements that are roughly contiguous in memory.
Definition collection.hpp:49
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:23
Archetype: Configures what range of each timeline is shown on a view.
Definition visible_time_ranges.hpp:26
Collection< rerun::blueprint::components::VisibleTimeRange > ranges
The time ranges to show for each timeline unless specified otherwise on a per-entity basis.
Definition visible_time_ranges.hpp:30
Indicator component used by archetypes when converting them to component lists.
Definition indicator_component.hpp:32