25 #ifndef WGECALLBACKTRAITS_H
26 #define WGECALLBACKTRAITS_H
29 #include <osg/StateAttribute>
30 #include <osg/StateSet>
31 #include <osg/Drawable>
36 template <
typename Type >
60 template <
typename Type >
92 inst->traverse( handled, nv );
175 #endif // WGECALLBACKTRAITS_H
osg::Drawable::UpdateCallback CallbackType
The real callback type.
static void traverse(CallbackType *, HandledType *, osg::NodeVisitor *)
Call traversal method if existing for the specific callback type.
osg::StateSet HandledType
The type of the element used as parameter in the () operator.
Type::Callback CallbackType
The real callback type.
osg::Node HandledType
The type of the element used as parameter in the () operator.
osg::Drawable HandledType
The type of the element used as parameter in the () operator.
osg::StateAttribute HandledType
The type of the element used as parameter in the () operator.
static void traverse(CallbackType *, HandledType *, osg::NodeVisitor *)
Call traversal method if existing for the specific callback type.
osg::StateSet::Callback CallbackType
The real callback type.
osg::NodeCallback CallbackType
The real callback type.
osg::StateAttribute::Callback CallbackType
The real callback type.
static void traverse(CallbackType *inst, HandledType *handled, osg::NodeVisitor *nv)
Call traversal method if existing for the specific callback type.
static void traverse(CallbackType *inst, HandledType *handled, osg::NodeVisitor *nv)
Call traversal method if existing for the specific callback type.
Type HandledType
The type of the element used as parameter in the () operator.
This class is needed as OSG does not define a uniform callback type.
static void traverse(CallbackType *, HandledType *, osg::NodeVisitor *)
Call traversal method if existing for the specific callback type.