6#include "../../datatypes/entity_path.hpp"
7#include "../../result.hpp"
14namespace rerun::blueprint::components {
28 tab = std::move(tab_);
32 ActiveTab(std::string path_) :
tab(std::move(path_)) {}
34 ActiveTab& operator=(std::string path_) {
35 tab = std::move(path_);
51 struct Loggable<blueprint::components::ActiveTab> {
52 static constexpr const char Name[] =
"rerun.blueprint.components.ActiveTab";
55 static const std::shared_ptr<arrow::DataType>& arrow_datatype() {
60 static Result<std::shared_ptr<arrow::Array>> to_arrow(
61 const blueprint::components::ActiveTab* instances,
size_t num_instances
63 return Loggable<rerun::datatypes::EntityPath>::to_arrow(&instances->tab, num_instances);
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: The active tab in a tabbed container.
Definition active_tab.hpp:16
rerun::datatypes::EntityPath tab
Which tab is currently active.
Definition active_tab.hpp:20
Datatype: A path to an entity in the ChunkStore.
Definition entity_path.hpp:21