Panda3D
Public Member Functions | Static Public Member Functions
CallbackData Class Reference

This is a generic data block that is passed along to a CallbackObject when a callback is made. More...

#include "callbackData.h"

Inheritance diagram for CallbackData:
TypedObject MemoryBase CallbackGraphicsWindow::WindowCallbackData DisplayRegionCullCallbackData DisplayRegionDrawCallbackData GeomDrawCallbackData GraphicsWindowProcCallbackData NodeCullCallbackData CallbackGraphicsWindow::EventsCallbackData CallbackGraphicsWindow::PropertiesCallbackData CallbackGraphicsWindow::RenderCallbackData

List of all members.

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.

Detailed Description

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.


Member Function Documentation

static void CallbackData::init_type ( ) [inline, static]
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.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations