Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <itkOpenCLLogger.h>
Used for logging OpenCL compiler errors during a run.
Definition at line 36 of file itkOpenCLLogger.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef OpenCLLogger | Self |
typedef LoggerBase | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () const |
std::string | GetLogFileName () const |
bool | IsCreated () const |
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 Member Functions | |
OpenCLLogger (const Self &) | |
void | operator= (const Self &) |
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 |
typedef SmartPointer< const Self > itk::OpenCLLogger::ConstPointer |
Definition at line 43 of file itkOpenCLLogger.h.
typedef SmartPointer< Self > itk::OpenCLLogger::Pointer |
Definition at line 42 of file itkOpenCLLogger.h.
typedef OpenCLLogger itk::OpenCLLogger::Self |
Definition at line 40 of file itkOpenCLLogger.h.
Definition at line 41 of file itkOpenCLLogger.h.
|
protected |
Constructor
|
overrideprotected |
Destructor
|
private |
|
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 62 of file itkOpenCLLogger.h.
|
protected |
Initialize
bool itk::OpenCLLogger::IsCreated | ( | ) | const |
Returns true if the underlying OpenCL logger has been created, false otherwise.
|
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.
|
private |
void itk::OpenCLLogger::SetLogFileNamePrefix | ( | const std::string & | prefix | ) |
Set log filename prefix.
|
virtual |
Set output directory for logger.
|
override |
Overloaded.
|
private |
Definition at line 97 of file itkOpenCLLogger.h.
|
private |
Definition at line 92 of file itkOpenCLLogger.h.
|
private |
Definition at line 96 of file itkOpenCLLogger.h.
|
staticprivate |
Definition at line 87 of file itkOpenCLLogger.h.
|
private |
Definition at line 93 of file itkOpenCLLogger.h.
|
private |
Definition at line 95 of file itkOpenCLLogger.h.
Generated on 1667476801 for elastix by 1.9.4 |