RobWorkProject  23.9.11-
Public Member Functions | List of all members
ThreadSafeStack< T > Class Template Reference

Concurrent queue of WorkPiles. More...

#include <ThreadSafeStack.hpp>

Public Member Functions

bool empty ()
 
void push (T wp)
 
bool try_pop (T *wp)
 
bool pop (T *wp)
 
bool has (T value)
 
size_t size ()
 

Detailed Description

template<class T>
class ThreadSafeStack< T >

Concurrent queue of WorkPiles.

  @file  rwsimlibs/gui/ThreadSafeStack.hpp
 @brief  Class implementing a concurrent queue

Currently not very concurrent!

@author  Andreas Rune Fugl (arf), arf@mmmi.sdu.dk

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