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

Servers/ServerManager/vtkSMInformationHelper.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkSMInformationHelper.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 =========================================================================*/
00029 #ifndef __vtkSMInformationHelper_h
00030 #define __vtkSMInformationHelper_h
00031 
00032 #include "vtkSMObject.h"
00033 #include "vtkClientServerID.h" // needed for vtkClientServerID
00034 
00035 class vtkPVXMLElement;
00036 class vtkSMProperty;
00037 
00038 class VTK_EXPORT vtkSMInformationHelper : public vtkSMObject
00039 {
00040 public:
00041   vtkTypeRevisionMacro(vtkSMInformationHelper, vtkSMObject);
00042   void PrintSelf(ostream& os, vtkIndent indent);
00043 
00044   //BTX
00046 
00048   virtual void UpdateProperty(
00049     int serverIds, vtkClientServerID objectId, vtkSMProperty* prop) = 0;
00050   //ETX
00052 
00053 protected:
00054   vtkSMInformationHelper();
00055   ~vtkSMInformationHelper();
00056 
00057 //BTX
00058   friend class vtkSMProperty;
00059 //ETX
00060 
00062 
00064   virtual int ReadXMLAttributes(vtkSMProperty*, vtkPVXMLElement*) 
00065     {
00066       return 1;
00067     };
00069 
00070 private:
00071   vtkSMInformationHelper(const vtkSMInformationHelper&); // Not implemented
00072   void operator=(const vtkSMInformationHelper&); // Not implemented
00073 };
00074 
00075 #endif

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