00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00029 #ifndef __vtkSMInformationHelper_h
00030 #define __vtkSMInformationHelper_h
00031
00032 #include "vtkSMObject.h"
00033 #include "vtkClientServerID.h"
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
00046
00048 virtual void UpdateProperty(
00049 int serverIds, vtkClientServerID objectId, vtkSMProperty* prop) = 0;
00050
00052
00053 protected:
00054 vtkSMInformationHelper();
00055 ~vtkSMInformationHelper();
00056
00057
00058 friend class vtkSMProperty;
00059
00060
00062
00064 virtual int ReadXMLAttributes(vtkSMProperty*, vtkPVXMLElement*)
00065 {
00066 return 1;
00067 };
00069
00070 private:
00071 vtkSMInformationHelper(const vtkSMInformationHelper&);
00072 void operator=(const vtkSMInformationHelper&);
00073 };
00074
00075 #endif