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

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

#include <WGECallbackTraits.h>

Public Types

typedef osg::StateAttribute::Callback CallbackType
 The real callback type. More...
 
typedef osg::StateAttribute 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

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

Definition at line 100 of file WGECallbackTraits.h.

Member Typedef Documentation

◆ CallbackType

typedef osg::StateAttribute::Callback WGECallbackTraits< osg::StateAttribute >::CallbackType

The real callback type.

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

Definition at line 106 of file WGECallbackTraits.h.

◆ HandledType

typedef osg::StateAttribute WGECallbackTraits< osg::StateAttribute >::HandledType

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

Definition at line 111 of file WGECallbackTraits.h.

Member Function Documentation

◆ traverse()

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

Call traversal method if existing for the specific callback type.

Definition at line 116 of file WGECallbackTraits.h.


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