18 INLINE
void TypeRegistry::
19 freshen_derivations() {
20 if (!_derivations_fresh) {
21 rebuild_derivations();
22 _derivations_fresh =
true;
33 if (_global_pointer ==
nullptr) {
34 init_global_pointer();
36 return _global_pointer;
42 INLINE
void TypeRegistry::
44 if (_lock ==
nullptr) {
63 if (handle._index >= (
int)_handle_registry.size() ||
66 return look_up_invalid(handle,
object);
69 return _handle_registry[(size_t)handle._index];
This is an abstract class that all classes which use TypeHandle, and also provide virtual functions t...
This is a single entry in the TypeRegistry.
static TypeRegistry * ptr()
Returns the pointer to the global TypeRegistry object.
The TypeRegistry class maintains all the assigned TypeHandles in a given system.
A fake mutex implementation for single-threaded applications that don't need any synchronization cont...
TypeHandle is the identifier used to differentiate C++ class types.