OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Macros | Enumerations | Functions
Notify.h File Reference
#include <osg/Export>
#include <osg/Referenced>
#include <ostream>
Include dependency graph for Notify.h:

Go to the source code of this file.

Classes

class  osg::NotifyHandler
 
class  osg::StandardNotifyHandler
 

Namespaces

 osg
 

Macros

#define OSG_NOTIFY(level)   if (osg::isNotifyEnabled(level)) 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
}
 

Functions

OSG_EXPORT void osg::setNotifyLevel (NotifySeverity severity)
 
OSG_EXPORT NotifySeverity osg::getNotifyLevel ()
 
OSG_EXPORT bool osg::initNotifyLevel ()
 
OSG_EXPORT bool osg::isNotifyEnabled (NotifySeverity severity)
 
OSG_EXPORT std::ostream & osg::notify (const NotifySeverity severity)
 
std::ostream & osg::notify (void)
 
OSG_EXPORT void osg::setNotifyHandler (NotifyHandler *handler)
 
OSG_EXPORT NotifyHandler * osg::getNotifyHandler ()
 

Macro Definition Documentation

#define OSG_ALWAYS   OSG_NOTIFY(osg::ALWAYS)

Definition at line 83 of file Notify.h.

#define OSG_DEBUG   OSG_NOTIFY(osg::DEBUG_INFO)

Definition at line 88 of file Notify.h.

#define OSG_DEBUG_FP   OSG_NOTIFY(osg::DEBUG_FP)

Definition at line 89 of file Notify.h.

#define OSG_FATAL   OSG_NOTIFY(osg::FATAL)

Definition at line 84 of file Notify.h.

#define OSG_INFO   OSG_NOTIFY(osg::INFO)

Definition at line 87 of file Notify.h.

#define OSG_NOTICE   OSG_NOTIFY(osg::NOTICE)

Definition at line 86 of file Notify.h.

#define OSG_NOTIFY (   level)    if (osg::isNotifyEnabled(level)) osg::notify(level)

Definition at line 82 of file Notify.h.

#define OSG_WARN   OSG_NOTIFY(osg::WARN)

Definition at line 85 of file Notify.h.