00001 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- 00002 * 00003 * $Id: vtkContainersAllocatorBaseManager.h,v 1.1 2005/07/04 06:29:44 xpxqx Exp $ 00004 * 00005 * Copyright (c) 2005 Sean McInerney 00006 * All rights reserved. 00007 * 00008 * See Copyright.txt or http://vtkcontainers.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_CONTAINERS_ALLOCATOR_BASE_MANAGER_H_ 00017 # define VTK_CONTAINERS_ALLOCATOR_BASE_MANAGER_H_ 00018 # include "vtkSystemIncludes.h" 00019 # include "vtkDebugLeaksManager.h" // DebugLeaks is around longer than 00020 // the garbage collector. 00021 # include "vtkContainersConfigure.h" // vtkContainers configuration 00022 00032 class VTK_CONTAINERS_EXPORT vtkContainersAllocatorBaseManager 00033 { 00034 public: 00035 vtkContainersAllocatorBaseManager (void); 00036 ~vtkContainersAllocatorBaseManager(); 00037 }; 00038 00039 // This instance will show up in any translation unit that uses 00040 // vtkContainersAllocatorBase or that has a singleton. It will make sure 00041 // vtkContainersAllocatorBase is initialized before it is used finalized when 00042 // it is done being used. 00043 static vtkContainersAllocatorBaseManager vtkContainersAllocatorBaseManagerInstance; 00044 00045 #endif /* VTK_CONTAINERS_ALLOCATOR_BASE_MANAGER_H_ */ 00046 /* 00047 * End of: $Id: vtkContainersAllocatorBaseManager.h,v 1.1 2005/07/04 06:29:44 xpxqx Exp $. 00048 * 00049 */