osgWidget::Callback Class Reference

List of all members.

Public Member Functions

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)
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

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]


Member Function Documentation

bool osgWidget::Callback::operator() ( Event ev  )  [inline]

EventType osgWidget::Callback::getType (  )  const [inline]

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

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


Member Data Documentation

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


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

Generated at Thu Aug 14 05:01:10 2008 for the OpenSceneGraph by doxygen 1.5.6.