#include <QueuedDecoder.h>
Public Member Functions | |
size_t | queueSize () |
Retrieve the current size of the message queue. | |
const MapType | popMessage () |
Pop an object from the front of the message queue. | |
const MapType | frontMessage () |
Peek at the object at the front of the queue. | |
void | clearQueue () |
Clear the message queue. | |
Protected Member Functions | |
void | messageArrived (const MapType &obj) |
This adds a message to the queue. |
This message decoder puts arrived objects into a queue and allows the application to pop them off the front of the queue, peek at the front of the queue, as well as checking to see how many objects are currently in the queue.
Copyright 2000-2004 the respective authors.
This document can be licensed under the terms of the GNU Free Documentation License or the GNU General Public License and may be freely distributed under the terms given by one of these licenses.