Classes | Public Member Functions | Private Attributes | List of all members
rosrt::detail::MWSRQueue< T > Class Template Reference

#include <mwsr_queue.h>

Classes

struct  Node
 

Public Member Functions

void free (Node *node)
 
 MWSRQueue (uint32_t size)
 
NodepopAll ()
 
bool push (const T &val)
 

Private Attributes

ros::atomic< Node * > head_
 
lockfree::ObjectPool< Nodepool_
 

Detailed Description

template<typename T>
class rosrt::detail::MWSRQueue< T >

Definition at line 111 of file mwsr_queue.h.

Constructor & Destructor Documentation

◆ MWSRQueue()

template<typename T >
rosrt::detail::MWSRQueue< T >::MWSRQueue ( uint32_t  size)
inline

Definition at line 152 of file mwsr_queue.h.

Member Function Documentation

◆ free()

template<typename T >
void rosrt::detail::MWSRQueue< T >::free ( Node node)
inline

Definition at line 194 of file mwsr_queue.h.

◆ popAll()

template<typename T >
Node* rosrt::detail::MWSRQueue< T >::popAll ( )
inline

Definition at line 177 of file mwsr_queue.h.

◆ push()

template<typename T >
bool rosrt::detail::MWSRQueue< T >::push ( const T &  val)
inline

Definition at line 159 of file mwsr_queue.h.

Member Data Documentation

◆ head_

template<typename T >
ros::atomic<Node*> rosrt::detail::MWSRQueue< T >::head_
private

Definition at line 201 of file mwsr_queue.h.

◆ pool_

template<typename T >
lockfree::ObjectPool<Node> rosrt::detail::MWSRQueue< T >::pool_
private

Definition at line 200 of file mwsr_queue.h.


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


rosrt
Author(s): Josh Faust
autogenerated on Wed Mar 2 2022 00:54:17