|
CPN
Computational Process Networks
|
A template class to do type conversion for the writer end of the queue. More...
#include <OQueue.h>
Collaboration diagram for CPN::OQueue< T >:Public Member Functions | |
| OQueue () | |
| OQueue (shared_ptr< QueueWriter > q) | |
| T * | GetEnqueuePtr (unsigned thresh, unsigned chan=0) |
| void | Enqueue (unsigned count) |
| void | Enqueue (const T *data, unsigned count) |
| void | Enqueue (const T *data, unsigned count, unsigned numChans, unsigned chanStride) |
| void | Flush () |
| bool | Flushed () |
| unsigned | NumChannels () const |
| unsigned | MaxThreshold () const |
| unsigned | QueueLength () const |
| unsigned | Freespace () const |
| unsigned | ChannelStride () const |
| bool | Full () const |
| Key_t | GetKey () const |
| shared_ptr< QueueWriter > | GetWriter () |
| void | Release () |
| Release the writer, further operations are invalid. More... | |
Private Attributes | |
| shared_ptr< QueueWriter > | queue |
A template class to do type conversion for the writer end of the queue.
|
inline |
|
inline |
Definition at line 44 of file OQueue.h.
References CPN::OQueue< T >::queue, and CPN::TypeCompatable().
Here is the call graph for this function:
|
inline |
Definition at line 100 of file OQueue.h.
References CPN::OQueue< T >::queue.
|
inline |
Add count elements to the queue on all channels.
| count | the number of elements |
Definition at line 64 of file OQueue.h.
References CPN::OQueue< T >::queue.
|
inline |
Enqueue the count elements in the array data into this queue.
| data | the array |
| count | the number |
Definition at line 73 of file OQueue.h.
References CPN::OQueue< T >::queue.
|
inline |
Enqueue the count elements in the 2D array into the channel.
| data | the array |
| count | the number in each channel |
| numChans | the number of channels |
| chanStride | the number of elements between channels |
Definition at line 84 of file OQueue.h.
References CPN::OQueue< T >::queue.
|
inline |
|
inline |
|
inline |
Definition at line 98 of file OQueue.h.
References CPN::OQueue< T >::queue.
|
inline |
|
inline |
Get an array to write into.
| thresh | the length of the array |
| chan | the number of channel to get the array from. |
Definition at line 56 of file OQueue.h.
References CPN::OQueue< T >::queue.
|
inline |
Definition at line 104 of file OQueue.h.
References CPN::OQueue< T >::queue.
|
inline |
|
inline |
Definition at line 95 of file OQueue.h.
References CPN::OQueue< T >::queue.
|
inline |
Definition at line 93 of file OQueue.h.
References CPN::OQueue< T >::queue.
|
inline |
|
inline |
Release the writer, further operations are invalid.
Definition at line 108 of file OQueue.h.
References CPN::OQueue< T >::queue.
|
private |
Definition at line 111 of file OQueue.h.
Referenced by CPN::OQueue< T >::ChannelStride(), CPN::OQueue< T >::Enqueue(), CPN::OQueue< T >::Flush(), CPN::OQueue< T >::Flushed(), CPN::OQueue< T >::Freespace(), CPN::OQueue< T >::Full(), CPN::OQueue< T >::GetEnqueuePtr(), CPN::OQueue< T >::GetKey(), CPN::OQueue< T >::GetWriter(), CPN::OQueue< T >::MaxThreshold(), CPN::OQueue< T >::NumChannels(), CPN::OQueue< T >::OQueue(), CPN::OQueue< T >::QueueLength(), and CPN::OQueue< T >::Release().
1.8.5