Marsyas  0.5.0-beta1
Public Member Functions | Friends
queue< T > Class Template Reference

#include <queue.h>

Public Member Functions

size_t capacity ()
void clear ()
bool pop (T &destination)
bool pop (T *destination, size_t count)
bool push (const T &source)
bool push (const T *source, size_t count)
 queue (size_t size)
size_t read_capacity ()
size_t write_capacity ()


class queue_consumer< T >
class queue_producer< T >

Detailed Description

template<typename T>
class Marsyas::RealTime::queue< T >

Definition at line 43 of file queue.h.

Constructor & Destructor Documentation

queue ( size_t  size) [inline]

Definition at line 56 of file queue.h.

Member Function Documentation

size_t capacity ( ) [inline]

Definition at line 153 of file queue.h.

void clear ( ) [inline]

Definition at line 62 of file queue.h.

bool pop ( T &  destination) [inline]

Definition at line 110 of file queue.h.

bool pop ( T *  destination,
size_t  count 
) [inline]

Definition at line 122 of file queue.h.

bool push ( const T &  source) [inline]

Definition at line 67 of file queue.h.

bool push ( const T *  source,
size_t  count 
) [inline]

Definition at line 79 of file queue.h.

size_t read_capacity ( ) [inline]

Definition at line 173 of file queue.h.

size_t write_capacity ( ) [inline]

Definition at line 158 of file queue.h.

Friends And Related Function Documentation

friend class queue_consumer< T > [friend]

Definition at line 54 of file queue.h.

friend class queue_producer< T > [friend]

Definition at line 53 of file queue.h.

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