This class is needed as OSG does not define a uniform callback type. More...
#include <WGECallbackTraits.h>
Public Types | |
typedef Type::Callback | CallbackType |
The real callback type. | |
typedef Type | HandledType |
The type of the element used as parameter in the () operator. | |
Static Public Member Functions | |
static void | traverse (CallbackType *inst, HandledType *handled, osg::NodeVisitor *nv) |
Call traversal method if existing for the specific callback type. |
This class is needed as OSG does not define a uniform callback type.
Definition at line 37 of file WGECallbackTraits.h.
typedef Type::Callback WGECallbackTraits< Type >::CallbackType |
The real callback type.
Some specific osg classes have specific callbacks. Specialize this template in this case.
Definition at line 43 of file WGECallbackTraits.h.
typedef Type WGECallbackTraits< Type >::HandledType |
The type of the element used as parameter in the () operator.
Definition at line 48 of file WGECallbackTraits.h.
static void WGECallbackTraits< Type >::traverse | ( | CallbackType * | inst, | |
HandledType * | handled, | |||
osg::NodeVisitor * | nv | |||
) | [static] |
Call traversal method if existing for the specific callback type.
inst | the instance to use | |
handled | the instance of the handled object | |
nv | the node visitor |