libt3widget
List of all members | Public Member Functions
t3_widget::key_buffer_t Class Reference

Class implmementing a mutex-protected queue of key symbols. More...

Inheritance diagram for t3_widget::key_buffer_t:
t3_widget::item_buffer_t< key_t >

Public Member Functions

void push_back_unique (key_t key)
 Append an item to the list, but only if it is not already in the queue. More...
 
- Public Member Functions inherited from t3_widget::item_buffer_t< key_t >
key_t pop_front (void)
 Retrieve and remove the item at the front of the queue. More...
 
void push_back (key_titem)
 Append an item to the list. More...
 

Additional Inherited Members

- Protected Attributes inherited from t3_widget::item_buffer_t< key_t >
thread::condition_variable cond
 The condition variable used to signal addition to the #keys list. More...
 
std::deque< key_titems
 The list of item symbols. More...
 
thread::mutex lock
 The mutex used for the critical section. More...
 

Detailed Description

Class implmementing a mutex-protected queue of key symbols.

Member Function Documentation

void t3_widget::key_buffer_t::push_back_unique ( key_t  key)
inline

Append an item to the list, but only if it is not already in the queue.