VTK-m  2.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
vtkm::rendering::raytracing::Logger Class Reference

#include <Logger.h>

Public Member Functions

 ~Logger ()
 
void OpenLogEntry (const std::string &entryName)
 
void CloseLogEntry (const vtkm::Float64 &entryTime)
 
void Clear ()
 
template<typename T >
void AddLogData (const std::string key, const T &value)
 
std::stringstream & GetStream ()
 

Static Public Member Functions

static LoggerGetInstance ()
 

Protected Member Functions

 Logger ()
 
 Logger (Logger const &)
 

Protected Attributes

std::stringstream Stream
 
std::stack< std::string > Entries
 

Static Protected Attributes

static class LoggerInstance
 

Constructor & Destructor Documentation

◆ ~Logger()

vtkm::rendering::raytracing::Logger::~Logger ( )

◆ Logger() [1/2]

vtkm::rendering::raytracing::Logger::Logger ( )
protected

◆ Logger() [2/2]

vtkm::rendering::raytracing::Logger::Logger ( Logger const &  )
protected

Member Function Documentation

◆ AddLogData()

template<typename T >
void vtkm::rendering::raytracing::Logger::AddLogData ( const std::string  key,
const T &  value 
)
inline

◆ Clear()

void vtkm::rendering::raytracing::Logger::Clear ( )

◆ CloseLogEntry()

void vtkm::rendering::raytracing::Logger::CloseLogEntry ( const vtkm::Float64 entryTime)

◆ GetInstance()

static Logger* vtkm::rendering::raytracing::Logger::GetInstance ( )
static

◆ GetStream()

std::stringstream& vtkm::rendering::raytracing::Logger::GetStream ( )

◆ OpenLogEntry()

void vtkm::rendering::raytracing::Logger::OpenLogEntry ( const std::string &  entryName)

Member Data Documentation

◆ Entries

std::stack<std::string> vtkm::rendering::raytracing::Logger::Entries
protected

◆ Instance

class Logger* vtkm::rendering::raytracing::Logger::Instance
staticprotected

◆ Stream

std::stringstream vtkm::rendering::raytracing::Logger::Stream
protected

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