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

Servers/ServerManager/vtkSMObject.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkSMObject.h,v $
00005 
00006   Copyright (c) Kitware, Inc.
00007   All rights reserved.
00008   See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00023 #ifndef __vtkSMObject_h
00024 #define __vtkSMObject_h
00025 
00026 #include "vtkObject.h"
00027 
00028 class vtkSMProxyManager;
00029 class vtkSMApplication;
00030 
00031 class VTK_EXPORT vtkSMObject : public vtkObject
00032 {
00033 public:
00034   static vtkSMObject* New();
00035   vtkTypeRevisionMacro(vtkSMObject, vtkObject);
00036   void PrintSelf(ostream& os, vtkIndent indent);
00037   
00039 
00040   static vtkSMProxyManager* GetProxyManager();
00041   static void SetProxyManager(vtkSMProxyManager* pm);
00043 
00045 
00047   static vtkSMApplication* GetApplication();
00048   static void SetApplication(vtkSMApplication* app);
00050 
00051 protected:
00052   vtkSMObject();
00053   ~vtkSMObject();
00054 
00055   static vtkSMProxyManager* ProxyManager;
00056   static vtkSMApplication* Application;
00057 
00060   virtual void SaveState(const char*, ostream*, vtkIndent);
00061 
00062 private:
00063   vtkSMObject(const vtkSMObject&); // Not implemented
00064   void operator=(const vtkSMObject&); // Not implemented
00065 };
00066 
00067 #endif

Generated on Tue May 30 12:31:48 2006 for ParaView by doxygen 1.3.5