14 #ifndef CALLBACKOBJECT_H 15 #define CALLBACKOBJECT_H 35 virtual void output(std::ostream &out)
const;
46 static void init_type() {
47 TypedReferenceCount::init_type();
49 TypedReferenceCount::get_class_type());
52 return get_class_type();
54 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
60 inline std::ostream &operator << (std::ostream &out,
const CallbackObject &cbo) {
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A base class for things which need to inherit from both TypedObject and from ReferenceCount.
This is a generic data block that is passed along to a CallbackObject when a callback is made.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is a generic object that can be assigned to a callback at various points in the rendering proces...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.