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

vtkMPIEventLog.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkMPIEventLog.h,v $
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm 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 =========================================================================*/
00043 #ifndef __vtkMPIEventLog_h
00044 #define __vtkMPIEventLog_h
00045 
00046 #include "vtkObject.h"
00047 
00048 class VTK_PARALLEL_EXPORT vtkMPIEventLog : public vtkObject
00049 {
00050 public:
00051   vtkTypeRevisionMacro(vtkMPIEventLog,vtkObject);
00052   
00055   static vtkMPIEventLog* New();
00056   
00062   int SetDescription(const char* name, const char* desc);
00063 
00065 
00068   static void InitializeLogging();
00069   static void FinalizeLogging(const char* fileName);
00071 
00073 
00074   void StartLogging();
00075   void StopLogging();
00077 
00078   virtual void PrintSelf(ostream& os, vtkIndent indent);
00079 
00080 protected:
00081 
00082   vtkMPIEventLog();
00083   ~vtkMPIEventLog();
00084 
00085   static int LastEventId;
00086   int Active;
00087   int BeginId;
00088   int EndId;
00089 private:
00090   vtkMPIEventLog(const vtkMPIEventLog&);  // Not implemented.
00091   void operator=(const vtkMPIEventLog&);  // Not implemented.
00092 };
00093 
00094 #endif
00095 
00096 
00097 
00098