Rapicorn - Experimental UI Toolkit - Source Code  13.07.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Member Functions
Rapicorn::AsyncNotifyingQueue< Value > Class Template Reference

This is a thread-safe asyncronous queue which returns 0 from pop() until data is provided through push(). More...

#include <thread.hh>

List of all members.

Public Member Functions

void push (const Value &v)
Value pop (Value fallback=0)
bool pending ()
void swap (std::list< Value > &list)
void notifier (const std::function< void()> &notifier)

Detailed Description

template<class Value>
class Rapicorn::AsyncNotifyingQueue< Value >

This is a thread-safe asyncronous queue which returns 0 from pop() until data is provided through push().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines