00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef FACTORYPARAM_H
00016 #define FACTORYPARAM_H
00017
00018 #include "pandabase.h"
00019
00020 #include "typedReferenceCount.h"
00021
00022 #include "pvector.h"
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034 class EXPCL_PANDA_PUTIL FactoryParam : public TypedReferenceCount {
00035 public:
00036 INLINE FactoryParam();
00037 INLINE FactoryParam(const FactoryParam &other);
00038 INLINE void operator = (const FactoryParam &other);
00039 INLINE ~FactoryParam();
00040
00041 public:
00042 virtual TypeHandle get_type() const {
00043 return get_class_type();
00044 }
00045 virtual TypeHandle force_init_type() {init_type(); return get_class_type();}
00046 static TypeHandle get_class_type() {
00047 return _type_handle;
00048 }
00049 static void init_type() {
00050 TypedReferenceCount::init_type();
00051 register_type(_type_handle, "FactoryParam",
00052 TypedReferenceCount::get_class_type());
00053 }
00054
00055 private:
00056 static TypeHandle _type_handle;
00057 };
00058
00059 #include "factoryParam.I"
00060
00061 #endif
00062