30class EXPCL_PANDA_PUTIL Configurable :
public TypedObject {
33 Configurable(
void ) { make_dirty(); }
34 virtual void config(
void ) { _dirty =
false; }
35 INLINE
void check_config()
const {
42 ((Configurable *)
this)->config();
46 INLINE
bool is_dirty()
const {
return _dirty; }
47 INLINE
void make_dirty() { _dirty =
true; }
61 TypedObject::get_class_type());
64 return get_class_type();
TypeHandle is the identifier used to differentiate C++ class types.
static void init_type()
This function is declared non-inline to work around a compiler bug in g++ 2.96.
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.