Rerun C++ SDK
Loading...
Searching...
No Matches
map_provider.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/map_provider.fbs".
3
4#pragma once
5
6#include "../../component_descriptor.hpp"
7#include "../../result.hpp"
8
9#include <cstdint>
10#include <memory>
11
12namespace arrow {
13 /// \private
14 template <typename T>
15 class NumericBuilder;
16
17 class Array;
18 class DataType;
19 class UInt8Type;
20 using UInt8Builder = NumericBuilder<UInt8Type>;
21} // namespace arrow
22
23namespace rerun::blueprint::components {
24 /// **Component**: Name of the map provider to be used in Map views.
25 enum class MapProvider : uint8_t {
26
27 /// `OpenStreetMap` is the default map provider.
28 OpenStreetMap = 1,
29
30 /// Mapbox Streets is a minimalistic map designed by Mapbox.
31 MapboxStreets = 2,
32
33 /// Mapbox Dark is a dark-themed map designed by Mapbox.
34 MapboxDark = 3,
35
36 /// Mapbox Satellite is a satellite map designed by Mapbox.
37 MapboxSatellite = 4,
38 };
39} // namespace rerun::blueprint::components
40
41namespace rerun {
42 template <typename T>
43 struct Loggable;
44
45 /// \private
46 template <>
47 struct Loggable<blueprint::components::MapProvider> {
48 static constexpr ComponentDescriptor Descriptor = "rerun.blueprint.components.MapProvider";
49
50 /// Returns the arrow data type this type corresponds to.
51 static const std::shared_ptr<arrow::DataType>& arrow_datatype();
52
53 /// Serializes an array of `rerun::blueprint:: components::MapProvider` into an arrow array.
54 static Result<std::shared_ptr<arrow::Array>> to_arrow(
55 const blueprint::components::MapProvider* instances, size_t num_instances
56 );
57
58 /// Fills an arrow array builder with an array of this type.
59 static rerun::Error fill_arrow_array_builder(
60 arrow::UInt8Builder* builder, const blueprint::components::MapProvider* elements,
61 size_t num_elements
62 );
63 };
64} // namespace rerun
Status outcome object (success or error) returned for fallible operations.
Definition error.hpp:95
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:23