SimpleITK
|
#include <sitkLogger.h>
A class to hold itk::OutputWindows instances.
All "DisplayText" methods are forwarded to the held OutputWindow instance.
Neither the ownership nor callback functionality of the ObjectOwnedBase is supported.
Definition at line 110 of file sitkLogger.h.
Public Member Functions | |
void | DisplayDebugText (const char *t) override |
void | DisplayErrorText (const char *t) override |
void | DisplayGenericOutputText (const char *t) override |
void | DisplayText (const char *t) override |
void | DisplayWarningText (const char *t) override |
ITKLogger ()=default | |
ITKLogger (const ITKLogger &) | |
ITKLogger (itk::OutputWindow *) | |
ITKLogger & | operator= (ITKLogger) |
ITKLogger | SetAsGlobalITKLogger () override |
~ITKLogger () override | |
Public Member Functions inherited from itk::simple::LoggerBase | |
std::string | GetName () const override |
LoggerBase ()=default | |
void | SetName (const std::string &n) override |
~LoggerBase () override | |
Public Member Functions inherited from itk::simple::ObjectOwnedBase | |
ObjectOwnedBase ()=default | |
virtual | ~ObjectOwnedBase ()=0 |
Public Member Functions inherited from itk::simple::NonCopyable | |
NonCopyable (const NonCopyable &)=delete | |
NonCopyable & | operator= (const NonCopyable &)=delete |
Private Attributes | |
itk::OutputWindow * | m_OutputWindow { nullptr } |
Additional Inherited Members | |
Static Public Member Functions inherited from itk::simple::LoggerBase | |
static ITKLogger | GetGlobalITKLogger () |
Protected Member Functions inherited from itk::simple::ObjectOwnedBase | |
virtual size_t | AddObjectCallback (itk::Object *o, std::function< void()> onDelete) |
Register an Object and a method to call on this object's destructor. More... | |
ObjectOwnedBase (const ObjectOwnedBase &o) | |
Copy Constructor. More... | |
virtual size_t | RemoveObject (const itk::Object *) |
virtual void | SetOwnedByObjects (bool o) |
virtual bool | GetOwnedByObjects () const |
virtual void | OwnedByObjectsOn () |
virtual void | OwnedByObjectsOff () |
Protected Member Functions inherited from itk::simple::NonCopyable | |
NonCopyable ()=default | |
|
override |
|
overridevirtual |
Reimplemented from itk::simple::LoggerBase.
|
overridevirtual |
Reimplemented from itk::simple::LoggerBase.
|
overridevirtual |
Reimplemented from itk::simple::LoggerBase.
|
overridevirtual |
Implements itk::simple::LoggerBase.
|
overridevirtual |
Reimplemented from itk::simple::LoggerBase.
|
default |
itk::simple::SITK_FINAL::ITKLogger | ( | const ITKLogger & | ) |
|
explicit |
|
overridevirtual |
Set the ITK logger to the ITK OutputWindow instance held.
Overrides the base functionality to eliminate the creation of the intermediary adaptor class.
Reimplemented from itk::simple::LoggerBase.
|
private |
Definition at line 146 of file sitkLogger.h.