osgWidget::Callback Class Reference

Inheritance diagram for osgWidget::Callback:

Inheritance graph
[legend]

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

const void* osgWidget::Callback::getData (  )  const [inline]

void* osgWidget::Callback::getData (  )  [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 Feb 23 17:56:23 2009 for the OpenSceneGraph by doxygen 1.5.8.