rclcpp  master
C++ ROS Client Library API
Public Types | Public Member Functions | List of all members
rclcpp::experimental::buffers::IntraProcessBuffer< MessageT, Alloc, MessageDeleter > Class Template Referenceabstract

#include <intra_process_buffer.hpp>

Inheritance diagram for rclcpp::experimental::buffers::IntraProcessBuffer< MessageT, Alloc, MessageDeleter >:
Inheritance graph
[legend]
Collaboration diagram for rclcpp::experimental::buffers::IntraProcessBuffer< MessageT, Alloc, MessageDeleter >:
Collaboration graph
[legend]

Public Types

using MessageUniquePtr = std::unique_ptr< MessageT, MessageDeleter >
 
using MessageSharedPtr = std::shared_ptr< const MessageT >
 

Public Member Functions

virtual ~IntraProcessBuffer ()
 
virtual void add_shared (MessageSharedPtr msg)=0
 
virtual void add_unique (MessageUniquePtr msg)=0
 
virtual MessageSharedPtr consume_shared ()=0
 
virtual MessageUniquePtr consume_unique ()=0
 
- Public Member Functions inherited from rclcpp::experimental::buffers::IntraProcessBufferBase
virtual ~IntraProcessBufferBase ()
 
virtual void clear ()=0
 
virtual bool has_data () const =0
 
virtual bool use_take_shared_method () const =0
 

Member Typedef Documentation

◆ MessageUniquePtr

template<typename MessageT , typename Alloc = std::allocator<void>, typename MessageDeleter = std::default_delete<MessageT>>
using rclcpp::experimental::buffers::IntraProcessBuffer< MessageT, Alloc, MessageDeleter >::MessageUniquePtr = std::unique_ptr<MessageT, MessageDeleter>

◆ MessageSharedPtr

template<typename MessageT , typename Alloc = std::allocator<void>, typename MessageDeleter = std::default_delete<MessageT>>
using rclcpp::experimental::buffers::IntraProcessBuffer< MessageT, Alloc, MessageDeleter >::MessageSharedPtr = std::shared_ptr<const MessageT>

Constructor & Destructor Documentation

◆ ~IntraProcessBuffer()

template<typename MessageT , typename Alloc = std::allocator<void>, typename MessageDeleter = std::default_delete<MessageT>>
virtual rclcpp::experimental::buffers::IntraProcessBuffer< MessageT, Alloc, MessageDeleter >::~IntraProcessBuffer ( )
inlinevirtual

Member Function Documentation

◆ add_shared()

template<typename MessageT , typename Alloc = std::allocator<void>, typename MessageDeleter = std::default_delete<MessageT>>
virtual void rclcpp::experimental::buffers::IntraProcessBuffer< MessageT, Alloc, MessageDeleter >::add_shared ( MessageSharedPtr  msg)
pure virtual

◆ add_unique()

template<typename MessageT , typename Alloc = std::allocator<void>, typename MessageDeleter = std::default_delete<MessageT>>
virtual void rclcpp::experimental::buffers::IntraProcessBuffer< MessageT, Alloc, MessageDeleter >::add_unique ( MessageUniquePtr  msg)
pure virtual

◆ consume_shared()

template<typename MessageT , typename Alloc = std::allocator<void>, typename MessageDeleter = std::default_delete<MessageT>>
virtual MessageSharedPtr rclcpp::experimental::buffers::IntraProcessBuffer< MessageT, Alloc, MessageDeleter >::consume_shared ( )
pure virtual

◆ consume_unique()

template<typename MessageT , typename Alloc = std::allocator<void>, typename MessageDeleter = std::default_delete<MessageT>>
virtual MessageUniquePtr rclcpp::experimental::buffers::IntraProcessBuffer< MessageT, Alloc, MessageDeleter >::consume_unique ( )
pure virtual

The documentation for this class was generated from the following file: