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

vtkMultiProcessLog Class Reference

#include <vtkMultiProcessLog.h>

Inheritance diagram for vtkMultiProcessLog:

Inheritance graph
[legend]
Collaboration diagram for vtkMultiProcessLog:

Collaboration graph
[legend]
List of all members.

Detailed Description

Manages logs for multiple threads/processes.

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

Created by:
  • Law, Charles
CVS contributions (if > 5%):
  • Law, Charles (79%)
  • Cedilnik, Andy (9%)
  • Schroeder, Will (9%)
CVS logs (CVSweb):
  • .cxx (/Parallel/vtkMultiProcessLog.cxx)
  • .h (/Parallel/vtkMultiProcessLog.h)

Definition at line 43 of file vtkMultiProcessLog.h.

Public Types

typedef vtkObject Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
virtual void PrintSelf (ostream &os, vtkIndent indent)

Static Public Member Functions

vtkMultiProcessLogNew ()
int IsTypeOf (const char *type)
vtkMultiProcessLogSafeDownCast (vtkObject *o)
void DumpLog (char *filename)
void SetTimerLog (vtkThreadSafeLog *log)
vtkThreadSafeLogGetTimerLog ()

Protected Member Functions

 vtkMultiProcessLog ()
 ~vtkMultiProcessLog ()


Member Typedef Documentation

typedef vtkObject vtkMultiProcessLog::Superclass
 

Reimplemented from vtkObject.

Definition at line 47 of file vtkMultiProcessLog.h.


Constructor & Destructor Documentation

vtkMultiProcessLog::vtkMultiProcessLog  )  [inline, protected]
 

Definition at line 63 of file vtkMultiProcessLog.h.

vtkMultiProcessLog::~vtkMultiProcessLog  )  [inline, protected]
 

Definition at line 64 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.

virtual const char* vtkMultiProcessLog::GetClassName  )  [virtual]
 

Reimplemented from vtkObject.

int vtkMultiProcessLog::IsTypeOf const char *  type  )  [static]
 

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkObject.

virtual int vtkMultiProcessLog::IsA const char *  type  )  [virtual]
 

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkObject.

vtkMultiProcessLog* vtkMultiProcessLog::SafeDownCast vtkObject o  )  [static]
 

Reimplemented from vtkObject.

virtual void vtkMultiProcessLog::PrintSelf ostream &  os,
vtkIndent  indent
[virtual]
 

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkObject.

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: