32 INLINE
size_t get_num_buttons()
const;
35 INLINE
const std::string &get_mapped_button_label(
size_t i)
const;
38 INLINE
ButtonHandle get_mapped_button(
const std::string &raw_name)
const;
39 INLINE
const std::string &get_mapped_button_label(
ButtonHandle raw)
const;
40 INLINE
const std::string &get_mapped_button_label(
const std::string &raw_name)
const;
42 void output(std::ostream &out)
const;
43 void write(std::ostream &out,
int indent_level = 0)
const;
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();}
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(), along with zero to four record_derivation()s.
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 our own Panda specialization on the default STL vector.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.