#include <itkOpenCLLogger.h>
Used for logging OpenCL compiler errors during a run.
Definition at line 36 of file itkOpenCLLogger.h.
Public Types | |
using | ConstPointer = SmartPointer<const Self> |
using | Pointer = SmartPointer<Self> |
using | Self = OpenCLLogger |
using | Superclass = LoggerBase |
Public Member Functions | |
virtual const char * | GetClassName () const |
std::string | GetLogFileName () const |
bool | IsCreated () const |
ITK_DISALLOW_COPY_AND_MOVE (OpenCLLogger) | |
void | SetLogFileNamePrefix (const std::string &prefix) |
virtual void | SetOutputDirectory (const char *_arg) |
void | Write (PriorityLevelEnum level, std::string const &content) override |
Static Public Member Functions | |
static Pointer | GetInstance () |
static Pointer | New () |
Protected Member Functions | |
void | Initialize () |
OpenCLLogger () | |
~OpenCLLogger () override | |
Private Attributes | |
bool | m_Created {} |
std::string | m_FileName {} |
std::ostream * | m_FileStream {} |
std::string | m_OutputDirectory {} |
itk::StdStreamLogOutput::Pointer | m_Stream {} |
Static Private Attributes | |
static Pointer | m_Instance |
using itk::OpenCLLogger::ConstPointer = SmartPointer<const Self> |
Definition at line 44 of file itkOpenCLLogger.h.
using itk::OpenCLLogger::Pointer = SmartPointer<Self> |
Definition at line 43 of file itkOpenCLLogger.h.
using itk::OpenCLLogger::Self = OpenCLLogger |
Definition at line 41 of file itkOpenCLLogger.h.
Definition at line 42 of file itkOpenCLLogger.h.
|
protected |
Constructor
|
overrideprotected |
Destructor
|
virtual |
Run-time type information (and related methods).
|
static |
Return the singleton instance with no reference counting.
|
inline |
Get the log filename.
Definition at line 67 of file itkOpenCLLogger.h.
|
protected |
Initialize
bool itk::OpenCLLogger::IsCreated | ( | ) | const |
Returns true if the underlying OpenCL logger has been created, false otherwise.
itk::OpenCLLogger::ITK_DISALLOW_COPY_AND_MOVE | ( | OpenCLLogger | ) |
|
static |
This is a singleton pattern New. There will only be ONE reference to a OpenCLLogger object per process. Clients that call this must call Delete on the object so that the reference counting will work. The single instance will be unreferenced when the program exits.
void itk::OpenCLLogger::SetLogFileNamePrefix | ( | const std::string & | prefix | ) |
Set log filename prefix.
|
virtual |
Set output directory for logger.
|
override |
Overloaded.
|
private |
Definition at line 103 of file itkOpenCLLogger.h.
|
private |
Definition at line 98 of file itkOpenCLLogger.h.
|
private |
Definition at line 102 of file itkOpenCLLogger.h.
|
staticprivate |
Definition at line 96 of file itkOpenCLLogger.h.
|
private |
Definition at line 99 of file itkOpenCLLogger.h.
|
private |
Definition at line 101 of file itkOpenCLLogger.h.
Generated on 2024-07-17 for elastix by 1.11.0 (9b424b03c9833626cd435af22a444888fbbb192d) |