Rerun C++ SDK
|
A type of component that can be registered. More...
#include <rerun/component_type.hpp>
Public Member Functions | |
ComponentType (std::string_view name_, const std::shared_ptr< arrow::DataType > &arrow_datatype_) | |
Result< ComponentTypeHandle > | register_component () const |
Registers a component type with the SDK. | |
Public Attributes | |
std::string_view | name |
const std::shared_ptr< arrow::DataType > & | arrow_datatype |
A type of component that can be registered.
All built-in components automatically register their types lazily upon first serialization.
Result< ComponentTypeHandle > rerun::ComponentType::register_component | ( | ) | const |
Registers a component type with the SDK.
There is currently no deregistration mechanism. Ideally, this method is only ever called once per component type.