24 #include "common_priv.h"
32 : releaser(qr), queue(q)
37 queue->ShutdownReader();
41 return queue->GetRawDequeuePtr(thresh, chan);
47 unsigned numChans,
unsigned chanStride) {
48 return queue->RawDequeue(data, count, numChans, chanStride);
52 return queue->RawDequeue(data, count);
70 return queue->GetDatatype();
80 queue->ShutdownReader();
Top Representations of generic queues for the CPN library.
const std::string & GetDatatype() const
const void * GetRawDequeuePtr(unsigned thresh, unsigned chan=0)
unsigned MaxThreshold() const
unsigned ChannelStride() const
void Dequeue(unsigned count)
unsigned QueueLength() const
unsigned NumChannels() const
void NotifyTerminate()
Called by the node.
The definition of reader end of the queue.
QueueReader(QueueReleaser *n, shared_ptr< QueueBase > q)
virtual void ReleaseReader(Key_t rkey)=0
shared_ptr< QueueBase > queue
bool RawDequeue(void *data, unsigned count, unsigned numChans, unsigned chanStride)