Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

ImageQueue Class Template Reference

This class defines a color image Queue that is constant in length after it is created. More...

List of all members.

Public Methods

 ImageQueue (int size, int x, int y)
 Initialized the Image Queue to hold images of the size indicated. More...

 ReMake (int subset, int x, int y)
 Reinitializes the Image Queue to hold images of a different size. More...

virtual ~ImageQueue ()
ColorImage< T > & Pop ()
 Gets the current image (doesn't actually delete, since that takes time), though you'll be looking at the next image the next time you try. More...

ColorImage< T > & Look ()
 Returns the image at the top of the queue. More...

ColorImage< T > & Prev ()
 Returns the image in the previous position in the queue. More...

ColorImage< T > & Next ()
 Returns the image at the next location in the set. More...

ColorImage< T > & Middle ()
 Looks at the middle location in a list of images. More...


Detailed Description

template<class T>
class ImageQueue< T >

This class defines a color image Queue that is constant in length after it is created.

Images that go in are not created or destoyed following their initial creation. They cycle through the queue. This is completely application specific. I made it because I needed it. It may not ever be useful for anyone else.

Definition at line 20 of file ImageQueue.


Constructor & Destructor Documentation

template<class T>
ImageQueue< T >::ImageQueue int size,
int x,
int y
 

Initialized the Image Queue to hold images of the size indicated.

Definition at line 44 of file ImageQueue.

template<class T>
ImageQueue< T >::~ImageQueue [virtual]
 

Definition at line 72 of file ImageQueue.


Member Function Documentation

template<class T>
ColorImage<T>& ImageQueue< T >::Look [inline]
 

Returns the image at the top of the queue.

Definition at line 31 of file ImageQueue.

template<class T>
ColorImage<T>& ImageQueue< T >::Middle [inline]
 

Looks at the middle location in a list of images.

Definition at line 37 of file ImageQueue.

template<class T>
ColorImage<T>& ImageQueue< T >::Next [inline]
 

Returns the image at the next location in the set.

Definition at line 35 of file ImageQueue.

template<class T>
ColorImage< T > & ImageQueue< T >::Pop
 

Gets the current image (doesn't actually delete, since that takes time), though you'll be looking at the next image the next time you try.

Definition at line 64 of file ImageQueue.

template<class T>
ColorImage<T>& ImageQueue< T >::Prev [inline]
 

Returns the image in the previous position in the queue.

Definition at line 33 of file ImageQueue.

template<class T>
ImageQueue< T >::ReMake int subset,
int x,
int y
 

Reinitializes the Image Queue to hold images of a different size.

Definition at line 53 of file ImageQueue.


The documentation for this class was generated from the following file:
Generated at Thu Apr 25 20:30:41 2002 for SuperParr by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001