VTK
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)
 

Friends

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 143 of file vtkRenderTimerLog.h.

Constructor & Destructor Documentation

vtkRenderTimerLog::ScopedEventLogger::ScopedEventLogger ( )
inline

Definition at line 145 of file vtkRenderTimerLog.h.

vtkRenderTimerLog::ScopedEventLogger::ScopedEventLogger ( ScopedEventLogger &&  other)
vtkRenderTimerLog::ScopedEventLogger::~ScopedEventLogger ( )
inline

Definition at line 148 of file vtkRenderTimerLog.h.

vtkRenderTimerLog::ScopedEventLogger::ScopedEventLogger ( vtkRenderTimerLog log)
inlineprotected

Definition at line 152 of file vtkRenderTimerLog.h.

Member Function Documentation

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

Friends And Related Function Documentation

friend class vtkRenderTimerLog
friend

Definition at line 150 of file vtkRenderTimerLog.h.


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