OpenSceneGraph  3.0.1
Public Member Functions | Protected Attributes
osgWidget::Callback Class Reference
Inheritance diagram for osgWidget::Callback:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Callback ()
 Callback (const Callback &rhs)
virtual const char * className () const
 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

virtual const char* osgWidget::Callback::className ( ) const [inline, virtual]
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 Mon Oct 3 2011 12:39:51 for the OpenSceneGraph by doxygen 1.7.5.