rclcpp  master
C++ ROS Client Library API
Public Member Functions | List of all members
rclcpp::experimental::buffers::RingBufferImplementation< BufferT > Class Template Reference

#include <ring_buffer_implementation.hpp>

Inheritance diagram for rclcpp::experimental::buffers::RingBufferImplementation< BufferT >:
Inheritance graph
[legend]
Collaboration diagram for rclcpp::experimental::buffers::RingBufferImplementation< BufferT >:
Collaboration graph
[legend]

Public Member Functions

 RingBufferImplementation (size_t capacity)
 
virtual ~RingBufferImplementation ()
 
void enqueue (BufferT request)
 
BufferT dequeue ()
 
size_t next (size_t val)
 
bool has_data () const
 
bool is_full ()
 
void clear ()
 
- Public Member Functions inherited from rclcpp::experimental::buffers::BufferImplementationBase< BufferT >
virtual ~BufferImplementationBase ()
 

Constructor & Destructor Documentation

◆ RingBufferImplementation()

template<typename BufferT >
rclcpp::experimental::buffers::RingBufferImplementation< BufferT >::RingBufferImplementation ( size_t  capacity)
inlineexplicit

◆ ~RingBufferImplementation()

template<typename BufferT >
virtual rclcpp::experimental::buffers::RingBufferImplementation< BufferT >::~RingBufferImplementation ( )
inlinevirtual

Member Function Documentation

◆ enqueue()

template<typename BufferT >
void rclcpp::experimental::buffers::RingBufferImplementation< BufferT >::enqueue ( BufferT  request)
inlinevirtual

◆ dequeue()

template<typename BufferT >
BufferT rclcpp::experimental::buffers::RingBufferImplementation< BufferT >::dequeue ( )
inlinevirtual

◆ next()

template<typename BufferT >
size_t rclcpp::experimental::buffers::RingBufferImplementation< BufferT >::next ( size_t  val)
inline

◆ has_data()

template<typename BufferT >
bool rclcpp::experimental::buffers::RingBufferImplementation< BufferT >::has_data ( ) const
inlinevirtual

◆ is_full()

template<typename BufferT >
bool rclcpp::experimental::buffers::RingBufferImplementation< BufferT >::is_full ( )
inline

◆ clear()

template<typename BufferT >
void rclcpp::experimental::buffers::RingBufferImplementation< BufferT >::clear ( )
inlinevirtual

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