14#ifndef TYPEDREFERENCECOUNT_H
15#define TYPEDREFERENCECOUNT_H
31class EXPCL_PANDA_EXPRESS TypedReferenceCount :
public TypedObject,
public ReferenceCount {
33 INLINE TypedReferenceCount();
34 INLINE TypedReferenceCount(
const TypedReferenceCount ©);
35 INLINE
void operator = (
const TypedReferenceCount ©);
39 return get_class_type();
51 ReferenceCount::init_type();
53 TypedObject::get_class_type(),
54 ReferenceCount::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.
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.