15 #define OSG_NOTIFY_H 1
18 #include <osg/Referenced>
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__)
OSG_EXPORT void setNotifyLevel(NotifySeverity severity)
OSG_EXPORT NotifySeverity getNotifyLevel()
OSG_EXPORT bool initNotifyLevel()
OSG_EXPORT bool isNotifyEnabled(NotifySeverity severity)
OSG_EXPORT NotifyHandler * getNotifyHandler()
OSG_EXPORT std::ostream & notify(const NotifySeverity severity)
OSG_EXPORT void setNotifyHandler(NotifyHandler *handler)