25 #ifndef CPN_QUEUEREADER_H
26 #define CPN_QUEUEREADER_H
57 const void* GetRawDequeuePtr(
unsigned thresh,
unsigned chan=0);
66 void Dequeue(
unsigned count);
81 bool RawDequeue(
void *data,
unsigned count,
82 unsigned numChans,
unsigned chanStride);
91 bool RawDequeue(
void *data,
unsigned count);
100 unsigned NumChannels()
const;
105 unsigned MaxThreshold()
const;
107 unsigned QueueLength()
const;
116 unsigned Count()
const;
127 const std::string &GetDatatype()
const;
134 unsigned ChannelStride()
const;
139 Key_t GetKey()
const;
148 void NotifyTerminate();
shared_ptr< QueueBase > GetQueue()
Definition of the reader portion of the CPN queue class.
shared_ptr< QueueBase > queue