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

vtkThreadSafeLog Class Reference

Saves tag/float entries. More...

#include <vtkThreadSafeLog.h>

Inheritance diagram for vtkThreadSafeLog:

Inheritance graph
[legend]
Collaboration diagram for vtkThreadSafeLog:

Collaboration graph
[legend]
List of all members.

Public Methods

const char * GetClassName ()
void StartTimer ()
void StopTimer ()
double GetElapsedTime ()
void AddEntry (char *tag, float value)
void DumpLog (char *filename, int mode=ios::out)

Static Public Methods

vtkThreadSafeLog * New ()

Protected Methods

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

Protected Attributes

char * Tags [VTK_THREAD_SAFE_LOG_MAX]
float Values [VTK_THREAD_SAFE_LOG_MAX]
int NumberOfEntries
vtkTimerLogTimer

Detailed Description

Saves tag/float entries.

Date:
2000/10/05 13:31:55
Revision:
1.1

For timing Port stuff. Float values are saved with associated string tags.

Definition at line 58 of file vtkThreadSafeLog.h.


Constructor & Destructor Documentation

vtkThreadSafeLog::vtkThreadSafeLog   [protected]
 

vtkThreadSafeLog::~vtkThreadSafeLog   [protected]
 

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

Definition at line 81 of file vtkThreadSafeLog.h.


Member Function Documentation

vtkThreadSafeLog* vtkThreadSafeLog::New   [static]
 

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

Reimplemented from vtkObject.

const char* vtkThreadSafeLog::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 vtkThreadSafeLog.h.

void vtkThreadSafeLog::StartTimer   [inline]
 

some of the timeing features of vtkTimerLog.

Definition at line 65 of file vtkThreadSafeLog.h.

void vtkThreadSafeLog::StopTimer   [inline]
 

Definition at line 66 of file vtkThreadSafeLog.h.

double vtkThreadSafeLog::GetElapsedTime   [inline]
 

Definition at line 67 of file vtkThreadSafeLog.h.

void vtkThreadSafeLog::AddEntry char *    tag,
float    value
 

Save a tag/value pair.

void vtkThreadSafeLog::DumpLog char *    filename,
int    mode = ios::out
 

Write the timing table out to a file. if mode is out, then two lines are printed: Tags on first, values on second. If mode is iso::app, then only the line with values is printed.

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

Definition at line 82 of file vtkThreadSafeLog.h.


Member Data Documentation

char* vtkThreadSafeLog::Tags[VTK_THREAD_SAFE_LOG_MAX] [protected]
 

Definition at line 85 of file vtkThreadSafeLog.h.

float vtkThreadSafeLog::Values[VTK_THREAD_SAFE_LOG_MAX] [protected]
 

Definition at line 86 of file vtkThreadSafeLog.h.

int vtkThreadSafeLog::NumberOfEntries [protected]
 

Definition at line 87 of file vtkThreadSafeLog.h.

vtkTimerLog* vtkThreadSafeLog::Timer [protected]
 

Definition at line 89 of file vtkThreadSafeLog.h.


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