#include <PVLE/Export.h>#include <osg/Notify>#include <boost/preprocessor/control/if.hpp>#include <boost/preprocessor/control/expr_if.hpp>#include <boost/preprocessor/facilities/is_empty.hpp>#include <ostream>


Go to the source code of this file.
Namespaces | |
| namespace | osg |
| OSG missing operators, added by PVLE. | |
Defines | |
| #define | __PVLE_METHOD__ |
| #define | PVLE_TRACE_INFO "File " << __FILE__ << " (line " << __LINE__ << ") " << __PVLE_METHOD__ " : " |
| #define | FORCED_LOG |
| #define | LOG_ALWAYS osg::notify(osg::ALWAYS) FORCED_LOG |
| #define | LOG_FATAL osg::notify(osg::FATAL) FORCED_LOG |
| #define | LOG_ERROR osg::notify(osg::FATAL) FORCED_LOG |
| Alias for LOG_FATAL. | |
| #define | LOG_WARN osg::notify(osg::WARN) FORCED_LOG |
| #define | LOG_NOTICE osg::notify(osg::NOTICE) FORCED_LOG |
| #define | LOG_INFO osg::notify(osg::INFO) FORCED_LOG |
| #define | LOG_DEBUG_INFO osg::notify(osg::DEBUG_INFO) FORCED_LOG |
| #define | LOG_DEBUG_FP osg::notify(osg::DEBUG_FP) FORCED_LOG |
Functions | |
| PVLE_EXPORT std::ostream & | operator<< (std::ostream &stream, const osg::Vec3f &v) |
| PVLE_EXPORT std::ostream & | operator<< (std::ostream &stream, const osg::Vec4f &v) |
| PVLE_EXPORT std::ostream & | operator<< (std::ostream &stream, const osg::Quat &q) |
| PVLE_EXPORT std::ostream & | operator<< (std::ostream &stream, const osg::Matrixf &m) |
| #define __PVLE_METHOD__ |
Value:
BOOST_PP_IF( BOOST_PP_IS_EMPTY(__METHOD__), \
BOOST_PP_IF( BOOST_PP_IS_EMPTY(__FUNCTION__), \
BOOST_PP_IF( BOOST_PP_IS_EMPTY(__func__), \
BOOST_PP_IF( BOOST_PP_IS_EMPTY(__FUNC__), \
"Unknown method", \
__FUNC__), \
__func__), \
__FUNCTION__), \
__METHOD__)
| #define LOG_ALWAYS osg::notify(osg::ALWAYS) FORCED_LOG |
| #define LOG_DEBUG_INFO osg::notify(osg::DEBUG_INFO) FORCED_LOG |
| #define LOG_ERROR osg::notify(osg::FATAL) FORCED_LOG |
Alias for LOG_FATAL.
Definition at line 102 of file Log.h.
Referenced by loadBindings(), InvKeyMap::operator()(), and ControlMapper::removeHandler().
| #define LOG_INFO osg::notify(osg::INFO) FORCED_LOG |
Definition at line 105 of file Log.h.
Referenced by C3DPhy::attachBodies(), and Physics::MeshHandler::create().
| #define LOG_NOTICE osg::notify(osg::NOTICE) FORCED_LOG |
Definition at line 104 of file Log.h.
Referenced by C3DPhy::bind(), Physics::MeshHandler::create(), createNormalMap(), getClosestFullscreenResolution(), C3DPhy::set3DtoPhy(), and spotLightProcessing().
| #define LOG_WARN osg::notify(osg::WARN) FORCED_LOG |
Definition at line 103 of file Log.h.
Referenced by Physics::Space::add(), C3DPhy::addGeom(), C3DPhy::addSpace(), Physics::MeshHandler::create(), createNormalMap(), and Physics::Space::Space().
| #define PVLE_TRACE_INFO "File " << __FILE__ << " (line " << __LINE__ << ") " << __PVLE_METHOD__ " : " |
| PVLE_EXPORT std::ostream& operator<< | ( | std::ostream & | stream, | |
| const osg::Matrixf & | m | |||
| ) |
| PVLE_EXPORT std::ostream& operator<< | ( | std::ostream & | stream, | |
| const osg::Quat & | q | |||
| ) |
| PVLE_EXPORT std::ostream& operator<< | ( | std::ostream & | stream, | |
| const osg::Vec4f & | v | |||
| ) |
| PVLE_EXPORT std::ostream& operator<< | ( | std::ostream & | stream, | |
| const osg::Vec3f & | v | |||
| ) |
1.5.9