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
Collaboration diagram for vtkMultiProcessLog:

Collaboration graph
List of all members.

Public Methods

const char * GetClassName ()

Static Public Methods

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

Protected Methods

 vtkMultiProcessLog ()
 ~vtkMultiProcessLog ()
 vtkMultiProcessLog (const vtkMultiProcessLog &)
void operator= (const vtkMultiProcessLog &)

Detailed Description

Manages logs for multiple threads/processes.

2000/10/05 13:32:10

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 75 of file vtkMultiProcessLog.h.

vtkMultiProcessLog::~vtkMultiProcessLog   [inline, protected]

Definition at line 76 of file vtkMultiProcessLog.h.

vtkMultiProcessLog::vtkMultiProcessLog const vtkMultiProcessLog &    [inline, protected]

Definition at line 77 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]

void vtkMultiProcessLog::DumpLog char *    filename [static]

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

void vtkMultiProcessLog::operator= const vtkMultiProcessLog &    [inline, protected]

Definition at line 78 of file vtkMultiProcessLog.h.

The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:55:04 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001