51#ifdef OSG_NOTIFY_DISABLED
82#define OSG_NOTIFY(level) if (osg::isNotifyEnabled(level)) osg::notify(level)
83#define OSG_ALWAYS OSG_NOTIFY(osg::ALWAYS)
84#define OSG_FATAL OSG_NOTIFY(osg::FATAL)
85#define OSG_WARN OSG_NOTIFY(osg::WARN)
86#define OSG_NOTICE OSG_NOTIFY(osg::NOTICE)
87#define OSG_INFO OSG_NOTIFY(osg::INFO)
88#define OSG_DEBUG OSG_NOTIFY(osg::DEBUG_INFO)
89#define OSG_DEBUG_FP OSG_NOTIFY(osg::DEBUG_FP)
129#if defined(WIN32) && !defined(__CYGWIN__)
The core osg library provides the basic scene graph classes such as Nodes, State and Drawables,...
Definition AlphaFunc:19
NotifySeverity
Range of notify levels from DEBUG_FP through to FATAL, ALWAYS is reserved for forcing the absorption ...
Definition Notify:30
@ WARN
Definition Notify:33
@ DEBUG_INFO
Definition Notify:36
@ NOTICE
Definition Notify:34
@ INFO
Definition Notify:35
@ FATAL
Definition Notify:32
@ DEBUG_FP
Definition Notify:37
@ ALWAYS
Definition Notify:31
OSG_EXPORT bool isNotifyEnabled(NotifySeverity severity)
is notification enabled, given the current setNotifyLevel() setting?
OSG_EXPORT bool initNotifyLevel()
initialize notify level.
OSG_EXPORT void setNotifyHandler(NotifyHandler *handler)
Set notification handler, by default StandardNotifyHandler is used.
OSG_EXPORT NotifyHandler * getNotifyHandler()
Get currrent notification handler.
OSG_EXPORT NotifySeverity getNotifyLevel()
get the notify level.
std::ostream & notify(void)
Definition Notify:80
OSG_EXPORT void setNotifyLevel(NotifySeverity severity)
set the notify level, overriding the default or the value set by the environmental variable OSGNOTIFY...
OSG_EXPORT std::ostream & notify(const NotifySeverity severity)
notify messaging function for providing fatal through to verbose debugging messages.
Handler processing output of notification stream.
Definition Notify:105
virtual void notify(osg::NotifySeverity severity, const char *message)=0
Redirects notification stream to stderr (severity <= WARN) or stdout (severity > WARN).
Definition Notify:124
void notify(osg::NotifySeverity severity, const char *message)
Base class for providing reference counted objects.
Definition Referenced:44
#define OSG_EXPORT
Definition Export:39