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 |
osgWidget::Callback::Callback | ( | bool(T::*)(Event &) | function, | |
T * | obj, | |||
EventType | type, | |||
void * | data = 0 | |||
) | [inline] |
osgWidget::Callback::Callback | ( | T * | functor, | |
EventType | type, | |||
void * | data = 0 | |||
) | [inline] |
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] |
EventType osgWidget::Callback::_type [protected] |
void* osgWidget::Callback::_data [protected] |
osg::ref_ptr<CallbackInterface> osgWidget::Callback::_callback [protected] |