OpenWalnut  1.5.0dev
Public Types | Static Public Member Functions | List of all members
WGECallbackTraits< osg::Drawable > Class Reference

Drawables have their own callback type and do NOT provide a traverse method. More...

#include <WGECallbackTraits.h>

Public Types

typedef osg::Drawable::UpdateCallback CallbackType
 The real callback type. More...
 
typedef osg::Drawable HandledType
 The type of the element used as parameter in the () operator. More...
 

Static Public Member Functions

static void traverse (CallbackType *, HandledType *, osg::NodeVisitor *)
 Call traversal method if existing for the specific callback type. More...
 

Detailed Description

Drawables have their own callback type and do NOT provide a traverse method.

Definition at line 152 of file WGECallbackTraits.h.

Member Typedef Documentation

◆ CallbackType

The real callback type.

Some specific OSG classes have specific callbacks. Specialize this template in this case.

Definition at line 158 of file WGECallbackTraits.h.

◆ HandledType

typedef osg::Drawable WGECallbackTraits< osg::Drawable >::HandledType

The type of the element used as parameter in the () operator.

Definition at line 163 of file WGECallbackTraits.h.

Member Function Documentation

◆ traverse()

static void WGECallbackTraits< osg::Drawable >::traverse ( CallbackType ,
HandledType ,
osg::NodeVisitor *   
)
inlinestatic

Call traversal method if existing for the specific callback type.

Definition at line 168 of file WGECallbackTraits.h.


The documentation for this class was generated from the following file: