![]() |
CTK
0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
|
#include <Libs/PluginFramework/service/log/ctkLogListener.h>
Public Member Functions | |
virtual void | logged (ctkLogEntryPtr entry)=0 |
virtual | ~ctkLogListener () |
Subscribes to ctkLogEntry
objects from the ctkLogReaderService
.
ctkLogListener
objects may be registered with the Framework service registry. After the listener is registered, the logged(ctkLogEntryPtr)
method will be called for each ctkLogEntry
object created.
Qt slots can also be used to be notified about new ctkLogEntry
objects. See ctkLogReaderService::connectLogListener()
.
Definition at line 48 of file ctkLogListener.h.
|
inlinevirtual |
Definition at line 50 of file ctkLogListener.h.
|
pure virtual |
Listener method called for each ctkLogEntry object created.
As with all event listeners, this method should return to its caller as soon as possible.
entry | A ctkLogEntry object containing log information. |