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

Servers/Common/vtkPVTimerInformation.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkPVTimerInformation.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 =========================================================================*/
00021 #ifndef __vtkPVTimerInformation_h
00022 #define __vtkPVTimerInformation_h
00023 
00024 
00025 #include "vtkPVInformation.h"
00026 
00027 
00028 class VTK_EXPORT vtkPVTimerInformation : public vtkPVInformation
00029 {
00030 public:
00031   static vtkPVTimerInformation* New();
00032   vtkTypeRevisionMacro(vtkPVTimerInformation, vtkPVInformation);
00033   void PrintSelf(ostream& os, vtkIndent indent);
00034 
00036 
00037   int GetNumberOfLogs();
00038   char *GetLog(int proc);
00040 
00042 
00043   virtual void CopyFromObject(vtkObject* data);
00044   virtual void CopyFromMessage(unsigned char* msg);
00046 
00048   virtual void AddInformation(vtkPVInformation* info);
00049   
00051 
00052   virtual void CopyToStream(vtkClientServerStream*) const;
00053   virtual void CopyFromStream(const vtkClientServerStream* css);
00055 protected:
00056   vtkPVTimerInformation();
00057   ~vtkPVTimerInformation();
00058 
00059   void Reallocate(int num);
00060   void InsertLog(int id, char* log);
00061 
00062   int NumberOfLogs;
00063   char** Logs;
00064 
00065   vtkPVTimerInformation(const vtkPVTimerInformation&); // Not implemented
00066   void operator=(const vtkPVTimerInformation&); // Not implemented
00067 };
00068 
00069 #endif

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