HDK
|
#include <UT_UniversalLogSource.h>
Public Member Functions | |
void | sendToSinks (const UT_UniversalLogEntry &entry) |
Sends a message to our associated log sinks. More... | |
Protected Member Functions | |
UT_UniversalLogSource () | |
virtual | ~UT_UniversalLogSource () |
UT_UniversalLogSource (const UT_UniversalLogSource &)=delete | |
UT_UniversalLogSource & | operator= (const UT_UniversalLogSource &)=delete |
Protected Attributes | |
UT_Lock | mySinksLock |
UT_Array< UT_UniversalLogSink * > | mySinks |
Friends | |
class | UT_UniversalLogSourceRegistration |
This class represents a logging data source. Each source is a singleton created by the registration code the first time a sink asks to connect to it. The Source is destroyed when the last sink disconnects from it. The source's connection to its sinks is maintained by the base class, so source subclasses simply need to call sendToSinks when they have a log entry to broadcast.
Definition at line 61 of file UT_UniversalLogSource.h.
|
protected |
|
protectedvirtual |
|
protecteddelete |
|
protecteddelete |
void UT_UniversalLogSource::sendToSinks | ( | const UT_UniversalLogEntry & | entry | ) |
Sends a message to our associated log sinks.
|
friend |
Definition at line 77 of file UT_UniversalLogSource.h.
|
protected |
Definition at line 75 of file UT_UniversalLogSource.h.
|
protected |
Definition at line 74 of file UT_UniversalLogSource.h.