OpenSceneGraph 3.6.5
Notify File Reference
#include <osg/Export>
#include <osg/Referenced>
#include <ostream>

Go to the source code of this file.

Classes

class  osg::NotifyHandler
 Handler processing output of notification stream. More...
class  osg::StandardNotifyHandler
 Redirects notification stream to stderr (severity <= WARN) or stdout (severity > WARN). More...

Namespaces

namespace  osg
 The core osg library provides the basic scene graph classes such as Nodes, State and Drawables, and maths and general helper classes.

Macros

#define OSG_NOTIFY_H   1
#define OSG_NOTIFY(level)
#define OSG_ALWAYS   OSG_NOTIFY(osg::ALWAYS)
#define OSG_FATAL   OSG_NOTIFY(osg::FATAL)
#define OSG_WARN   OSG_NOTIFY(osg::WARN)
#define OSG_NOTICE   OSG_NOTIFY(osg::NOTICE)
#define OSG_INFO   OSG_NOTIFY(osg::INFO)
#define OSG_DEBUG   OSG_NOTIFY(osg::DEBUG_INFO)
#define OSG_DEBUG_FP   OSG_NOTIFY(osg::DEBUG_FP)

Enumerations

enum  osg::NotifySeverity {
  osg::ALWAYS =0 , osg::FATAL =1 , osg::WARN =2 , osg::NOTICE =3 ,
  osg::INFO =4 , osg::DEBUG_INFO =5 , osg::DEBUG_FP =6
}
 Range of notify levels from DEBUG_FP through to FATAL, ALWAYS is reserved for forcing the absorption of all messages. More...

Functions

OSG_EXPORT void osg::setNotifyLevel (NotifySeverity severity)
 set the notify level, overriding the default or the value set by the environmental variable OSGNOTIFYLEVEL or OSG_NOTIFY_LEVEL.
OSG_EXPORT NotifySeverity osg::getNotifyLevel ()
 get the notify level.
OSG_EXPORT bool osg::initNotifyLevel ()
 initialize notify level.
OSG_EXPORT bool osg::isNotifyEnabled (NotifySeverity severity)
 is notification enabled, given the current setNotifyLevel() setting?
OSG_EXPORT std::ostream & osg::notify (const NotifySeverity severity)
 notify messaging function for providing fatal through to verbose debugging messages.
std::ostream & osg::notify (void)
OSG_EXPORT void osg::setNotifyHandler (NotifyHandler *handler)
 Set notification handler, by default StandardNotifyHandler is used.
OSG_EXPORT NotifyHandlerosg::getNotifyHandler ()
 Get currrent notification handler.

Macro Definition Documentation

◆ OSG_ALWAYS

#define OSG_ALWAYS   OSG_NOTIFY(osg::ALWAYS)

◆ OSG_DEBUG

#define OSG_DEBUG   OSG_NOTIFY(osg::DEBUG_INFO)

◆ OSG_DEBUG_FP

#define OSG_DEBUG_FP   OSG_NOTIFY(osg::DEBUG_FP)

◆ OSG_FATAL

#define OSG_FATAL   OSG_NOTIFY(osg::FATAL)

◆ OSG_INFO

◆ OSG_NOTICE

◆ OSG_NOTIFY

#define OSG_NOTIFY ( level)
Value:
OSG_EXPORT bool isNotifyEnabled(NotifySeverity severity)
is notification enabled, given the current setNotifyLevel() setting?
std::ostream & notify(void)
Definition Notify:80

◆ OSG_NOTIFY_H

#define OSG_NOTIFY_H   1

◆ OSG_WARN


osg logo
Generated at Wed Jul 23 2025 00:00:00 for the OpenSceneGraph by doxygen 1.14.0.