#include <vtkObjectBaseQueue.h>
Inheritance diagram for vtkObjectBaseQueue:
Calls Register
when objects are pushed onto the queue and UnRegister
when the object is popped.
Definition at line 38 of file vtkObjectBaseQueue.h.
Public Member Functions | |
vtkTypeRevisionMacro (vtkObjectBaseQueue, vtkContainer) | |
vtkIdType | GetSize (void) const |
Returns the number of elements in the queue. | |
int | IsEmpty (void) const |
Returns true if the queue is empty. | |
vtkIdType | GetMaxSize (void) const |
Returns the maximum size of the queue. | |
void | Clear (void) |
Remove ALL elements. | |
virtual int | Swap (vtkObjectBaseQueue *container) |
Swaps elements of this object with those of the specified container. | |
vtkObjectBaseQueueIterator * | CreateIterator (void) |
Create an iterator. | |
Queue Operations | |
virtual int | Push (vtkObjectBase *object) |
Add an object pointer to the end of the queue. | |
int | Pop (void) |
Removes the first element. | |
Data Access Methods | |
vtkObjectBase * | Front (void) const |
Get a pointer to the object at the first element of the queue. | |
vtkObjectBase * | Back (void) const |
Get a pointer to the object at the last element of the queue. | |
Static Public Member Functions | |
vtkObjectBaseQueue * | New (void) |
Protected Member Functions | |
vtkObjectBaseQueue (void) | |
~vtkObjectBaseQueue () |
|
|
|
|
|
Get a pointer to the object at the last element of the queue.
Reimplemented from vtkContainer. Reimplemented in vtkExtensionsObjectQueue, and vtkObjectQueue. |
|
Remove ALL elements.
Implements vtkContainer. |
|
Create an iterator.
Implements vtkContainer. Reimplemented in vtkExtensionsObjectQueue, and vtkObjectQueue. |
|
Get a pointer to the object at the first element of the queue.
Reimplemented from vtkContainer. Reimplemented in vtkExtensionsObjectQueue, and vtkObjectQueue. |
|
Returns the maximum size of the queue.
Reimplemented from vtkContainer. |
|
Returns the number of elements in the queue.
Reimplemented from vtkContainer. |
|
Returns
Reimplemented from vtkContainer. |
|
Reimplemented from vtkExtensionsObject. Reimplemented in vtkExtensionsObjectQueue, and vtkObjectQueue. |
|
Removes the first element. This is a typical queue operation. It shrinks the queue by one.
|
|
Add an
|
|
Swaps elements of this object with those of the specified container.
|
|
|