The Gst::AtomicQueue object implements a queue that can be used from multiple threads without performing any blocking operations.  
 More...
#include <gstreamermm/atomicqueue.h>
|  | 
| void | reference () const | 
|  | Increment the reference count for this object.  More... 
 | 
|  | 
| void | unreference () const | 
|  | Decrement the reference count for this object.  More... 
 | 
|  | 
| const GstAtomicQueue* | gobj () const | 
|  | Provides access to the underlying C instance.  More... 
 | 
|  | 
| GstAtomicQueue* | gobj () | 
|  | Provides access to the underlying C instance.  More... 
 | 
|  | 
| GstAtomicQueue* | gobj_copy () const | 
|  | Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.  More... 
 | 
|  | 
| guint | length () | 
|  | Get the amount of items in the queue.  More... 
 | 
|  | 
| guint | length () const | 
|  | Get the amount of items in the queue.  More... 
 | 
|  | 
| void | push (const T& data) | 
|  | Append data to the tail of the queue.  More... 
 | 
|  | 
| T | peek () | 
|  | Peek the head element of the queue without removing it from the queue.  More... 
 | 
|  | 
| T | pop () | 
|  | Get the head element of the queue.  More... 
 | 
|  | 
|  | 
| (Note that these are not member functions.)  | 
| template<typename T > | 
| Glib::RefPtr< Gst::AtomicQueue< T > > | wrap (GstAtomicQueue* object, bool take_copy=false) | 
|  | A Glib::wrap() method for this object.  More... 
 | 
|  | 
template<typename T>
class Gst::AtomicQueue< T >
The Gst::AtomicQueue object implements a queue that can be used from multiple threads without performing any blocking operations. 
◆ AtomicQueue()
◆ create()
◆ gobj() [1/2]
Provides access to the underlying C instance. 
 
 
◆ gobj() [2/2]
Provides access to the underlying C instance. 
 
 
◆ gobj_copy()
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. 
 
 
◆ length() [1/2]
Get the amount of items in the queue. 
- Returns
- The number of elements in the queue. 
 
 
◆ length() [2/2]
Get the amount of items in the queue. 
- Returns
- The number of elements in the queue. 
 
 
◆ operator delete()
◆ peek()
Peek the head element of the queue without removing it from the queue. 
- Returns
- The head element of queue.
- Exceptions
- 
  
  
 
 
◆ pop()
Get the head element of the queue. 
- Returns
- The head element of queue.
- Exceptions
- 
  
  
 
 
◆ push()
Append data to the tail of the queue. 
- Parameters
- 
  
  
 
 
◆ reference()
Increment the reference count for this object. 
You should never need to do this manually - use the object via a RefPtr instead. 
 
 
◆ unreference()
Decrement the reference count for this object. 
You should never need to do this manually - use the object via a RefPtr instead. 
 
 
◆ wrap()
template <typename T > 
  
  | 
        
          | Glib::RefPtr< Gst::AtomicQueue< T > > wrap | ( | GstAtomicQueue< T > * | object, |  
          |  |  | bool | take_copy = false |  
          |  | ) |  |  |  | related | 
 
A Glib::wrap() method for this object. 
- Parameters
- 
  
    | object | The C instance. |  | take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |  
 
- Returns
- A C++ instance that wraps this C instance.