osgWidget::Callback Class Reference

Inheritance diagram for osgWidget::Callback:

osg::Referenced

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]

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

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 on Fri Mar 19 19:53:01 2010 for openscenegraph by  doxygen 1.5.6