Appender implementation, which writes directly to an UNIX-style unbuffered file descriptor. More...
#include <mitsuba/core/appender.h>
Public Member Functions | |
UnbufferedAppender (int fd) | |
Create a new appender. More... | |
void | append (ELogLevel level, const std::string &pText) |
Append a line of text. More... | |
void | logProgress (Float progress, const std::string &name, const std::string &formatted, const std::string &eta, const void *ptr) |
Process a progress message. More... | |
std::string | toString () const |
Return a string representation. More... | |
virtual const Class * | getClass () const |
Retrieve this object's class. More... | |
Public Member Functions inherited from Object | |
Object () | |
Construct a new object. More... | |
int | getRefCount () const |
Return the current reference count. More... | |
void | incRef () const |
Increase the reference count of the object by one. More... | |
void | decRef (bool autoDeallocate=true) const |
Decrease the reference count of the object and possibly deallocate it. More... | |
Static Public Attributes | |
static Class * | m_theClass |
Static Public Attributes inherited from mitsuba::Appender | |
static Class * | m_theClass |
Static Public Attributes inherited from Object | |
static Class * | m_theClass |
Pointer to the object's class descriptor. More... | |
Protected Member Functions | |
virtual | ~UnbufferedAppender () |
Virtual destructor. More... | |
Protected Member Functions inherited from mitsuba::Appender | |
virtual | ~Appender () |
Virtual destructor. More... | |
Protected Member Functions inherited from Object | |
virtual | ~Object () |
Virtual private deconstructor. (Will only be called by ref) More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Object | |
static void | staticInitialization () |
Initializes the built-in reference count debugger (if enabled) More... | |
static void | staticShutdown () |
Free the memory taken by staticInitialization() More... | |
Appender implementation, which writes directly to an UNIX-style unbuffered file descriptor.
mitsuba::UnbufferedAppender::UnbufferedAppender | ( | int | fd | ) |
Create a new appender.
|
protectedvirtual |
Virtual destructor.
|
virtual |
Append a line of text.
Implements mitsuba::Appender.
|
virtual |
Retrieve this object's class.
Reimplemented from mitsuba::Appender.
|
virtual |
Process a progress message.
Implements mitsuba::Appender.
|
virtual |
Return a string representation.
Reimplemented from Object.
|
static |