Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   Related Pages  

Atlas::Message::QueuedDecoder Class Reference

Decoder that presents a queue of Atlas::Message::Object. More...

#include <QueuedDecoder.h>

Inheritance diagram for Atlas::Message::QueuedDecoder:

Atlas::Message::DecoderBase Atlas::Bridge List of all members.

Public Member Functions

size_t QueueSize ()
 Retrieve the current size of the message queue.

Object Pop ()
 Pop an object from the front of the message queue.

Object Front ()
 Peek at the object at the front of the queue.

void Clear ()
 Clear the message queue.


Protected Member Functions

void ObjectArrived (const Object &obj)
 This adds a message to the queue.


Detailed Description

Decoder that presents a queue of Atlas::Message::Object.

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.

See also:
DecoderBase

Object

Author:
Stefanus Du Toit <sdt@gmx.net>


The documentation for this class was generated from the following file:

Copyright 2000 the respective authors.

This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.