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

#include <mwsr_queue.h>

List of all members.

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 47 of file mwsr_queue.h.


Constructor & Destructor Documentation

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

Definition at line 56 of file mwsr_queue.h.


Member Function Documentation

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

Definition at line 98 of file mwsr_queue.h.

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

Definition at line 81 of file mwsr_queue.h.

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

Definition at line 63 of file mwsr_queue.h.


Member Data Documentation

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

Definition at line 105 of file mwsr_queue.h.

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

Definition at line 104 of file mwsr_queue.h.


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


rosrt
Author(s): Josh Faust
autogenerated on Sat Jun 8 2019 20:43:39