00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef VTK_OBJECT_PRIORITY_QUEUE_H_
00017 # define VTK_OBJECT_PRIORITY_QUEUE_H_
00018 # include "vtkObjectBasePriorityQueue.h"
00019
00030 class VTK_CONTAINERS_EXPORT vtkObjectPriorityQueue
00031 : public vtkObjectBasePriorityQueue
00032 {
00033 public:
00034 static vtkObjectPriorityQueue* New (void);
00035 vtkTypeRevisionMacro (vtkObjectPriorityQueue,
00036 vtkObjectBasePriorityQueue);
00037 void PrintSelf (ostream&, vtkIndent);
00038
00043 virtual int Swap (vtkObjectPriorityQueue* container)
00044 { return this->Superclass::Swap(container); }
00045
00050 virtual int Copy (vtkObjectPriorityQueue* container)
00051 { return this->Superclass::Copy(container); }
00052
00060 virtual int Push (vtkObject* item,
00061 int priority = 0)
00062 { return this->Superclass::Push(item, priority); }
00063
00065 vtkObject* Top (void) const
00066 { return static_cast<vtkObject*>(this->Superclass::Top()); }
00067
00068 protected:
00069 vtkObjectPriorityQueue (void);
00070 ~vtkObjectPriorityQueue();
00071
00072 private:
00073
00076 int Swap (vtkObjectBasePriorityQueue* a)
00077 { return this->Superclass::Swap(a); }
00078 int Copy (vtkObjectBasePriorityQueue* a)
00079 { return this->Superclass::Copy(a); }
00080 int Push (vtkObjectBase* object, int priority = 0)
00081 { return this->Superclass::Push(object, priority); }
00083
00084
00085 private:
00091 vtkObjectPriorityQueue (const vtkObjectPriorityQueue&);
00092 void operator= (const vtkObjectPriorityQueue&);
00094 };
00095
00096 #endif
00097
00098
00099
00100