24 #include "common_priv.h"
32 : releaser(qr), queue(q)
37 queue->ShutdownWriter();
40 return queue->GetRawEnqueuePtr(thresh, chan);
45 unsigned numChans,
unsigned chanStride) {
46 queue->RawEnqueue(data, count, numChans, chanStride);
50 queue->RawEnqueue(data, count);
76 queue->ShutdownWriter();
virtual void ReleaseWriter(Key_t wkey)=0
void * GetRawEnqueuePtr(unsigned thresh, unsigned chan=0)
Top Representations of generic queues for the CPN library.
unsigned Freespace() const
unsigned NumChannels() const
shared_ptr< QueueBase > queue
void Enqueue(unsigned count)
unsigned QueueLength() const
void NotifyTerminate()
Called by the node.
const std::string & GetDatatype() const
void RawEnqueue(const void *data, unsigned count, unsigned numChans, unsigned chanStride)
Definition for the Queue writer inteface.
unsigned MaxThreshold() const
unsigned ChannelStride() const
QueueWriter(QueueReleaser *qr, shared_ptr< QueueBase >)