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

vtkMultiProcessLog Class Reference

Manages logs for multiple threads/processes. More...

#include <vtkMultiProcessLog.h>

Inheritance diagram for vtkMultiProcessLog:

Inheritance graph
[legend]
Collaboration diagram for vtkMultiProcessLog:

Collaboration graph
[legend]
List of all members.

Public Methods

const char * GetClassName ()

Static Public Methods

vtkMultiProcessLog * New ()
void DumpLog (char *filename)
void SetTimerLog (vtkThreadSafeLog *log)
vtkThreadSafeLogGetTimerLog ()

Protected Methods

 vtkMultiProcessLog ()
 ~vtkMultiProcessLog ()

Detailed Description

Manages logs for multiple threads/processes.

Date:
2001/10/11 13:37:59
Revision:
1.4

Needs to be thread safe in the future (vtkTimerLog is not).

Definition at line 58 of file vtkMultiProcessLog.h.


Constructor & Destructor Documentation

vtkMultiProcessLog::vtkMultiProcessLog   [inline, protected]
 

Definition at line 77 of file vtkMultiProcessLog.h.

vtkMultiProcessLog::~vtkMultiProcessLog   [inline, protected]
 

Definition at line 78 of file vtkMultiProcessLog.h.


Member Function Documentation

vtkMultiProcessLog* vtkMultiProcessLog::New   [static]
 

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkObject.

const char* vtkMultiProcessLog::GetClassName   [inline, virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkObject.

Definition at line 62 of file vtkMultiProcessLog.h.

void vtkMultiProcessLog::SetTimerLog vtkThreadSafeLog   log [static]
 

I want all the events in one process to share a log. Note: Each process must set its own log. Since I cannot initialize the array in a thread safe manner, the logs are not reference counted.

vtkThreadSafeLog* vtkMultiProcessLog::GetTimerLog   [static]
 

I want all the events in one process to share a log. Note: Each process must set its own log. Since I cannot initialize the array in a thread safe manner, the logs are not reference counted.

void vtkMultiProcessLog::DumpLog char *    filename [static]
 

Dumps logs sequentially into a file. Each process should call this.


The documentation for this class was generated from the following file:
Generated on Thu Mar 28 14:36:47 2002 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001