#include <CNCL/Sink.h.h>
CN_SINK
CNQueue
None
CNDLList, CNQueueFIFO, CNQueueLIFO, CNQueueRandom, CNQueueSPT, CNPrioQueueFIFO, CNJob, CNStack
CNSink
is a data sink, implemented as queue with only an
input side. All objects which are put into this sink are destroyed there.
There is no queueing strategy.
Constructors:
CNSink();
CNSink(CNParam *param);
In addition to the member functions required by CNCL, CNSink
provides:
virtual bool empty() const;
TRUE
.
virtual bool full() const;
FALSE
.
virtual int length() const;
virtual void put(CNObject *obj);
virtual CNObject *get();
virtual CNObject *peek();
virtual void delete_all();
Go to the first, previous, next, last section, table of contents.