Struct BufferDescriptorOps
Defined in File buffer_descriptor_ops.hpp
Struct Documentation
-
struct BufferDescriptorOps
Type-erased descriptor conversion callbacks used by the serialization layer.
Public Members
-
std::function<std::shared_ptr<void>(const void*, const rmw_topic_endpoint_info_t&)> create_descriptor_with_endpoint
Create descriptor with endpoint awareness. Input pointer (
impl) is a non-owning, read-only, type-erasedBufferImplBase<T>instance. Return value is a type-erased backend descriptor message instance.
-
std::function<std::unique_ptr<void, void (*)(void*)>(const void*, const rmw_topic_endpoint_info_t&)> from_descriptor_with_endpoint
Create buffer impl from descriptor with endpoint awareness. Input pointer (
descriptor) is a non-owning, type-erased backend descriptor message (read-only). Return value is a type-erased unique pointer to a newly createdBufferImplBase<T>instance.
-
std::function<std::shared_ptr<void>(const void*, const rmw_topic_endpoint_info_t&)> create_descriptor_with_endpoint