24 #ifndef _QORE_QOREQUEUE_H
26 #define _QORE_QOREQUEUE_H
28 #include <qore/QoreThreadLock.h>
29 #include <qore/QoreCondition.h>
33 class qore_queue_private;
36 friend class qore_queue_private;
39 qore_queue_private* priv;
43 DLLEXPORT QoreQueue(
int n_max = -1);
46 DLLEXPORT QoreQueue(
const QoreQueue &orig);
51 DLLEXPORT ~QoreQueue();
69 DLLEXPORT
bool empty()
const;
74 DLLEXPORT
int size()
const;
77 DLLEXPORT
int getMax()
const;
80 DLLEXPORT
unsigned getReadWaiting()
const;
83 DLLEXPORT
unsigned getWriteWaiting()
const;
91 DLLEXPORT
virtual ~Queue();
94 DLLEXPORT Queue(
int max = -1);
96 DLLEXPORT Queue* eventRefSelf()
const;
99 #endif // _QORE_QOREQUEUE_H
the base class for all data to be used as private data of Qore objects
Definition: AbstractPrivateData.h:36
The base class for all value and parse types in Qore expression trees.
Definition: AbstractQoreNode.h:47
container for holding Qore-language exception information and also for registering a "thread_exit" ca...
Definition: ExceptionSink.h:35