VTK  9.0.20201028
Public Member Functions | Protected Member Functions | Friends | List of all members
vtkRenderTimerLog::ScopedEventLogger Struct Reference

RAII struct for logging events. More...

#include <vtkRenderTimerLog.h>

Public Member Functions

 ScopedEventLogger ()
 ScopedEventLogger (ScopedEventLogger &&other)
ScopedEventLoggeroperator= (ScopedEventLogger &&other)
 ~ScopedEventLogger ()
void Stop ()

Protected Member Functions

 ScopedEventLogger (vtkRenderTimerLog *log)


class vtkRenderTimerLog

Detailed Description

RAII struct for logging events.

Such events start when vtkRenderTimerLog::StartScopedEvent(name) is called, and end when the returned object is destroyed, or ScopedEventLogger::Stop() is called.

Definition at line 137 of file vtkRenderTimerLog.h.

Constructor & Destructor Documentation

◆ ScopedEventLogger() [1/3]

vtkRenderTimerLog::ScopedEventLogger::ScopedEventLogger ( )

Definition at line 139 of file vtkRenderTimerLog.h.

◆ ScopedEventLogger() [2/3]

vtkRenderTimerLog::ScopedEventLogger::ScopedEventLogger ( ScopedEventLogger &&  other)

◆ ~ScopedEventLogger()

vtkRenderTimerLog::ScopedEventLogger::~ScopedEventLogger ( )

Definition at line 145 of file vtkRenderTimerLog.h.

◆ ScopedEventLogger() [3/3]

vtkRenderTimerLog::ScopedEventLogger::ScopedEventLogger ( vtkRenderTimerLog log)

Definition at line 150 of file vtkRenderTimerLog.h.

Member Function Documentation

◆ operator=()

ScopedEventLogger& vtkRenderTimerLog::ScopedEventLogger::operator= ( ScopedEventLogger &&  other)

◆ Stop()

void vtkRenderTimerLog::ScopedEventLogger::Stop ( )

Friends And Related Function Documentation

◆ vtkRenderTimerLog

friend class vtkRenderTimerLog

Definition at line 147 of file vtkRenderTimerLog.h.

The documentation for this struct was generated from the following file: