|
CPN
Computational Process Networks
|
Template class to do type conversion for reader end of the queue. More...
#include <IQueue.h>
Collaboration diagram for CPN::IQueue< T >:Public Member Functions | |
| IQueue () | |
| IQueue (shared_ptr< QueueReader > q) | |
| const T * | GetDequeuePtr (unsigned thresh, unsigned chan=0) |
| void | Dequeue (unsigned count) |
| bool | Dequeue (T *data, unsigned count) |
| bool | Dequeue (T *data, unsigned count, unsigned numChans, unsigned chanStride) |
| void | Reset () |
| bool | Flushed () |
| unsigned | NumChannels () const |
| unsigned | MaxThreshold () const |
| unsigned | QueueLength () const |
| unsigned | Count () const |
| bool | Empty () const |
| unsigned | ChannelStride () const |
| Key_t | GetKey () const |
| shared_ptr< QueueReader > | GetReader () |
| void | Release () |
| Release this reader all further actions are invalid. More... | |
Private Attributes | |
| shared_ptr< QueueReader > | queue |
Template class to do type conversion for reader end of the queue.
|
inline |
|
inline |
Definition at line 42 of file IQueue.h.
References CPN::IQueue< T >::queue, and CPN::TypeCompatable().
Here is the call graph for this function:
|
inline |
Definition at line 103 of file IQueue.h.
References CPN::IQueue< T >::queue.
|
inline |
Definition at line 99 of file IQueue.h.
References CPN::IQueue< T >::queue.
|
inline |
Dispose of count elements from the queue.
| count | the number to dispose of |
Definition at line 63 of file IQueue.h.
References CPN::IQueue< T >::queue.
|
inline |
Read count element into the array data.
| data | the array |
| count | the number of elements |
Definition at line 73 of file IQueue.h.
References CPN::IQueue< T >::queue.
|
inline |
Read count element into the 2D array data with the given number of channels and channel stride.
| data | the array |
| count | the number of elements in each channel |
| numChans | the number of channels |
| chanStride | the number of elements between each channel |
Definition at line 85 of file IQueue.h.
References CPN::IQueue< T >::queue.
|
inline |
Definition at line 101 of file IQueue.h.
References CPN::IQueue< T >::queue.
|
inline |
|
inline |
Get an array of the given type of the given length from the given channel to read from.
| thresh | the size of the returned array. |
| chan | the channel |
Definition at line 55 of file IQueue.h.
References CPN::IQueue< T >::queue.
|
inline |
Definition at line 105 of file IQueue.h.
References CPN::IQueue< T >::queue.
|
inline |
Definition at line 107 of file IQueue.h.
References CPN::IQueue< T >::queue.
|
inline |
Definition at line 96 of file IQueue.h.
References CPN::IQueue< T >::queue.
|
inline |
Definition at line 94 of file IQueue.h.
References CPN::IQueue< T >::queue.
|
inline |
|
inline |
Release this reader all further actions are invalid.
Definition at line 109 of file IQueue.h.
References CPN::IQueue< T >::queue.
|
inline |
|
private |
Definition at line 111 of file IQueue.h.
Referenced by CPN::IQueue< T >::ChannelStride(), CPN::IQueue< T >::Count(), CPN::IQueue< T >::Dequeue(), CPN::IQueue< T >::Empty(), CPN::IQueue< T >::Flushed(), CPN::IQueue< T >::GetDequeuePtr(), CPN::IQueue< T >::GetKey(), CPN::IQueue< T >::GetReader(), CPN::IQueue< T >::IQueue(), CPN::IQueue< T >::MaxThreshold(), CPN::IQueue< T >::NumChannels(), CPN::IQueue< T >::QueueLength(), CPN::IQueue< T >::Release(), and CPN::IQueue< T >::Reset().
1.8.5