40 TypeHandle get_type();
42 INLINE
void *get_void_ptr()
const;
43 INLINE ReferenceCount *get_ref_ptr()
const;
44 INLINE TypedObject *get_typed_ptr()
const;
46 INLINE
bool is_size_known()
const;
47 INLINE
size_t get_size()
const;
49 INLINE
double get_time()
const;
53 void determine_dynamic_type();
54 bool update_type_handle(TypeHandle &destination, TypeHandle refined);
58 F_size_known = 0x0001,
59 F_reconsider_dynamic_type = 0x0002,
63 ReferenceCount *_ref_ptr;
64 TypedObject *_typed_ptr;
66 TypeHandle _static_type;
67 TypeHandle _dynamic_type;
73 friend class MemoryUsage;
A base class for all things that want to be reference-counted.
This is an abstract class that all classes which use TypeHandle, and also provide virtual functions t...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.