Panda3D
|
This is a generic data block that is passed along to a CallbackObject when a callback is made. More...
#include "callbackData.h"
Public Member Functions | |
virtual TypeHandle | force_init_type () |
virtual TypeHandle | get_type () const |
virtual void | output (ostream &out) const |
virtual void | upcall () |
You should make this call during the callback if you want to continue the normal function that would have been done in the absence of a callback. | |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
This function is declared non-inline to work around a compiler bug in g++ 2.96. |
This is a generic data block that is passed along to a CallbackObject when a callback is made.
It contains data specific to the particular callback type in question.
This is actually an abstract base class and contains no data. Specializations of this class will contain the actual data relevant to each callback type.
Definition at line 32 of file callbackData.h.
static void CallbackData::init_type | ( | ) | [inline, static] |
This function is declared non-inline to work around a compiler bug in g++ 2.96.
Making it inline seems to cause problems in the optimizer.
Reimplemented from TypedObject.
Reimplemented in CallbackGraphicsWindow::RenderCallbackData, CallbackGraphicsWindow::PropertiesCallbackData, CallbackGraphicsWindow::EventsCallbackData, GraphicsWindowProcCallbackData, CallbackGraphicsWindow::WindowCallbackData, GeomDrawCallbackData, DisplayRegionCullCallbackData, DisplayRegionDrawCallbackData, and NodeCullCallbackData.
Definition at line 45 of file callbackData.h.
References TypedObject::init_type().
Referenced by NodeCullCallbackData::init_type(), DisplayRegionDrawCallbackData::init_type(), DisplayRegionCullCallbackData::init_type(), GeomDrawCallbackData::init_type(), CallbackGraphicsWindow::WindowCallbackData::init_type(), and GraphicsWindowProcCallbackData::init_type().
void CallbackData::upcall | ( | ) | [virtual] |
You should make this call during the callback if you want to continue the normal function that would have been done in the absence of a callback.
Reimplemented in CallbackGraphicsWindow::RenderCallbackData, CallbackGraphicsWindow::PropertiesCallbackData, CallbackGraphicsWindow::EventsCallbackData, GeomDrawCallbackData, DisplayRegionCullCallbackData, DisplayRegionDrawCallbackData, and NodeCullCallbackData.
Definition at line 38 of file callbackData.cxx.