Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

vtkObjectPriorityQueue.h

Go to the documentation of this file.
00001 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- 00002 * 00003 * $Id: vtkObjectPriorityQueue.h,v 1.7 2004/06/03 18:58:28 xpxqx Exp $ 00004 * 00005 * Copyright (c) 2004 Sean McInerney 00006 * All rights reserved. 00007 * 00008 * See Copyright.txt or http://vtkextensions.sourceforge.net/Copyright.html 00009 * for details. 00010 * 00011 * This software is distributed WITHOUT ANY WARRANTY; without even 00012 * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 * PURPOSE. See the above copyright notice for more information. 00014 * 00015 */ 00016 #ifndef VTK_OBJECT_PRIORITY_QUEUE_H_ 00017 # define VTK_OBJECT_PRIORITY_QUEUE_H_ 00018 # include "vtkObjectBasePriorityQueue.h" 00019 # include "vtkObjectPriorityQueueIterator.h" 00020 00021 VTK_EXTENSIONS_CONTAINERS_NAMESPACE_BEGIN 00022 00036 class VTK_EXTENSIONS_CONTAINERS_EXPORT vtkObjectPriorityQueue 00037 : public vtkObjectBasePriorityQueue 00038 { 00039 public: 00040 static vtkObjectPriorityQueue* New (void); 00041 vtkTypeRevisionMacro (vtkObjectPriorityQueue, vtkObjectBasePriorityQueue); 00042 00047 virtual vtkObject* Top (void) const 00048 { return static_cast<vtkObject*>(this->Superclass::Top()); } 00049 00060 virtual int Push (vtkObject* object, 00061 int priority = 0) 00062 { return this->Superclass::Push(object, priority); } 00063 00065 vtkObjectPriorityQueueIterator* CreateIterator (void); 00066 00067 protected: 00068 vtkObjectPriorityQueue (void) {} 00069 ~vtkObjectPriorityQueue() {} 00070 00071 private: 00072 //BTX 00073 friend class vtkObjectPriorityQueueIterator; 00074 00077 int Push (vtkObjectBase* object, int priority = 0) 00078 { return this->Superclass::Push(object, priority); } 00080 //ETX 00081 00082 private: 00088 vtkObjectPriorityQueue (const vtkObjectPriorityQueue&); 00089 void operator= (const vtkObjectPriorityQueue&); 00091 }; 00092 00093 VTK_EXTENSIONS_CONTAINERS_NAMESPACE_END 00094 00095 #endif /* VTK_OBJECT_PRIORITY_QUEUE_H_ */ 00096 /* 00097 * End of: $Id: vtkObjectPriorityQueue.h,v 1.7 2004/06/03 18:58:28 xpxqx Exp $. 00098 * 00099 */

Generated on Tue Aug 10 03:37:53 2004 for vtkExtensions by doxygen 1.3.7