osg::NotifyHandler Class Reference
List of all members.
Detailed Description
Handler processing output of notification stream. It acts as a sink to notification messages. It is called when notification stream needs to be synchronized (i.e. after
osg::notify() << std::endl).
StandardNotifyHandler is used by default, it writes notifications to stderr (severity <= WARN) or stdout (severity > WARN). Notifications can be redirected to other sinks such as GUI widgets or windows debugger (WinDebugNotifyHandler) with custom handlers. Use setNotifyHandler to set custom handler. Note that
osg notification API is not thread safe although notification handler is called from many threads. When incorporating handlers into GUI widgets you must take care of thread safety on your own.
- See also:
- setNotifyHandler
Member Function Documentation
virtual void osg::NotifyHandler::notify |
( |
osg::NotifySeverity |
severity, |
|
|
const char * |
message | |
|
) |
| | [pure virtual] |
The documentation for this class was generated from the following file: