30class EXPCL_PANDA_PUTIL
ButtonMap :
public TypedReferenceCount {
42 void output(std::ostream &out)
const;
43 void write(std::ostream &out,
int indent_level = 0)
const;
55 pmap<int, ButtonNode> _button_map;
56 pvector<ButtonNode*> _buttons;
62 static void init_type() {
63 TypedReferenceCount::init_type();
65 TypedReferenceCount::get_class_type());
68 return get_class_type();
70 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.