# CallbackData

from pandac.PandaModules import CallbackData

Class : CallbackData
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.

## Inheritance:

CallbackData: TypedObject
TypedObject: MemoryBase
MemoryBase:

## Methods of CallbackData:

getClassType
output
upcall

## Methods of TypedObject:

getClassType
getType
getTypeIndex
isExactType
isOfType

getClassType static TypeHandle CallbackData::get_class_type(void); Undocumented function.

output virtual void CallbackData::output(ostream &out) const; Description:

upcall virtual void CallbackData::upcall(void); Description: 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.

getClassType static TypeHandle TypedObject::get_class_type(void); Undocumented function.

getType virtual TypeHandle TypedObject::get_type(void) const = 0; Derived classes should override this function to return get_class_type().

getTypeIndex int TypedObject::get_type_index(void) const; Description: Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. This is equivalent to get_type().get_index().

isExactType bool TypedObject::is_exact_type(TypeHandle handle) const; Description: Returns true if the current object is the indicated type exactly.

isOfType bool TypedObject::is_of_type(TypeHandle handle) const; Description: Returns true if the current object is or derives from the indicated type.