Rubber Band Library 4.0.0
|
Interface for log callbacks that may optionally be provided to the stretcher on construction. More...
#include <RubberBandStretcher.h>
Public Member Functions | |
virtual void | log (const char *)=0 |
Receive a log message with no numeric values. | |
virtual void | log (const char *, double)=0 |
Receive a log message and one accompanying numeric value. | |
virtual void | log (const char *, double, double)=0 |
Receive a log message and two accompanying numeric values. | |
virtual | ~Logger () |
Interface for log callbacks that may optionally be provided to the stretcher on construction.
If a Logger is provided, the stretcher will call one of these functions instead of sending output to cerr
when there is something to report. This allows debug output to be diverted to an application's logging facilities, and/or handled in an RT-safe way. See setDebugLevel() for details about how and when RubberBandStretcher reports something in this way.
The message text passed to each of these log functions is a C-style string with no particular guaranteed lifespan. If you need to retain it, copy it before returning. Do not free it.
Definition at line 467 of file RubberBandStretcher.h.
|
inlinevirtual |
Definition at line 477 of file RubberBandStretcher.h.
|
pure virtual |
Receive a log message with no numeric values.
|
pure virtual |
Receive a log message and one accompanying numeric value.
|
pure virtual |
Receive a log message and two accompanying numeric values.