14 #ifndef CONFIGURABLE_H
15 #define CONFIGURABLE_H
21 #include "pandabase.h"
23 #include "typedObject.h"
40 virtual void config(
void ) { _dirty =
false; }
41 INLINE
void check_config()
const {
53 INLINE
bool is_dirty()
const {
return _dirty; }
54 INLINE
void make_dirty() { _dirty =
true; }
67 register_type(_type_handle,
"Configurable",
68 TypedObject::get_class_type());
71 return get_class_type();
static void init_type()
This function is declared non-inline to work around a compiler bug in g++ 2.96.
This is an abstract class that all classes which use TypeHandle, and also provide virtual functions t...
An object that has data or parameters that are set less frequently (at least occasionally) than every...
TypeHandle is the identifier used to differentiate C++ class types.