OpenSceneGraph 2.8.3

osgWidget::Callback Class Reference

Inheritance diagram for osgWidget::Callback:

List of all members.

Public Member Functions

 Callback ()
 Callback (const Callback &rhs)
 Callback (EventType type, void *data=0)
template<typename T >
 Callback (bool(T::*function)(Event &), T *obj, EventType type, void *data=0)
template<typename T >
 Callback (T *functor, EventType type, void *data=0)
virtual ~Callback ()
virtual bool operator() (Event &ev)
EventType getType () const
void * getData ()
const void * getData () const

Protected Attributes

EventType _type
void * _data
osg::ref_ptr< CallbackInterface_callback

Constructor & Destructor Documentation

osgWidget::Callback::Callback ( ) [inline]
osgWidget::Callback::Callback ( const Callback rhs) [inline]
osgWidget::Callback::Callback ( EventType  type,
void *  data = 0 
) [inline]
template<typename T >
osgWidget::Callback::Callback ( bool(T::*)(Event &)  function,
T *  obj,
EventType  type,
void *  data = 0 
) [inline]
template<typename T >
osgWidget::Callback::Callback ( T *  functor,
EventType  type,
void *  data = 0 
) [inline]
virtual osgWidget::Callback::~Callback ( ) [inline, virtual]

Member Function Documentation

void* osgWidget::Callback::getData ( ) [inline]
const void* osgWidget::Callback::getData ( ) const [inline]
EventType osgWidget::Callback::getType ( ) const [inline]
virtual bool osgWidget::Callback::operator() ( Event ev) [inline, virtual]

Member Data Documentation

void* osgWidget::Callback::_data [protected]

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

osg logo
Generated at Tue Mar 22 2011 13:20:31 for the OpenSceneGraph by doxygen 1.7.3.