#include <NamedProductPluggableFactory.h>
Inheritance diagram for NamedProductPluggableFactory:

Public Member Functions | |
| virtual AlgBase & | LendAlg (const char *algnm) |
| virtual AlgConfig & | LendAlgConfig (const char *regnm) |
| void | RegisterPrototypicalAlg (AlgBase *prototypicalalg) |
| void | RegisterPrototypicalAlgConfig (AlgConfig *prototypicalalgconfig) |
Protected Member Functions | |
| NamedProductPluggableFactory () | |
| virtual | ~NamedProductPluggableFactory () |
| AlgConfig * | GetAlgConfigPtr (const char *regnm) |
| AlgBase * | GetAlgPtr (const char *algnm) |
Protected Attributes | |
| TList | fPrototypicalAlgs |
| TList | fPrototypicalAlgConfigs |
Private Member Functions | |
| NamedProductPluggableFactory (const NamedProductPluggableFactory &) | |
| void | operator= (const NamedProductPluggableFactory &) |
|
|
Definition at line 34 of file NamedProductPluggableFactory.cxx. References MSG. 00035 {
00036 MSG("DynFac", Msg::kDebug)
00037 << "NamedProductPluggableFactory::Constructor\n";
00038 }
|
|
|
Definition at line 41 of file NamedProductPluggableFactory.cxx. References fPrototypicalAlgConfigs, fPrototypicalAlgs, and MSG. 00042 {
00043 MSG("DynFac", Msg::kDebug)
00044 << "NamedProductPluggableFactory::Destructor\n";
00045
00046 fPrototypicalAlgConfigs.Delete();
00047 fPrototypicalAlgs.Delete();
00048 }
|
|
|
|
|
|
Definition at line 51 of file NamedProductPluggableFactory.cxx. References fPrototypicalAlgConfigs. Referenced by LendAlgConfig(), and DynamicPluggableFactory::LendAlgConfig(). 00053 {
00054 TObject *genconf = fPrototypicalAlgConfigs.FindObject(regnm);
00055 return (genconf ? (AlgConfig *) genconf : 0);
00056 }
|
|
|
Definition at line 59 of file NamedProductPluggableFactory.cxx. References fPrototypicalAlgs. Referenced by LendAlg(), and DynamicPluggableFactory::LendAlg(). 00060 {
00061 TObject *genalg = fPrototypicalAlgs.FindObject(algnm);
00062 return (genalg ? (AlgBase *) genalg : 0);
00063 }
|
|
|
Reimplemented in DynamicPluggableFactory. Definition at line 66 of file NamedProductPluggableFactory.cxx. References GetAlgPtr(). 00067 {
00068 AlgBase *algbase = GetAlgPtr(algnm);
00069 assert(algbase);
00070 return *algbase;
00071 }
|
|
|
Reimplemented in DynamicPluggableFactory. Definition at line 74 of file NamedProductPluggableFactory.cxx. References GetAlgConfigPtr(). 00076 {
00077 AlgConfig *algconfig = GetAlgConfigPtr(regnm);
00078 assert(algconfig);
00079 return *algconfig;
00080 }
|
|
|
|
|
|
Definition at line 83 of file NamedProductPluggableFactory.cxx. References fPrototypicalAlgs, and MSG. Referenced by DynamicPluggableFactory::GetPrototypicalAlg(). 00085 {
00086 assert(prototypicalalg);
00087
00088 MSG("DynFac", Msg::kDebug)
00089 << "NamedProductPluggableFactory::RegisterPrototypicalAlg("
00090 << prototypicalalg->GetName() << ")\n";
00091
00092 fPrototypicalAlgs.Add(prototypicalalg);
00093 }
|
|
|
Definition at line 96 of file NamedProductPluggableFactory.cxx. References fPrototypicalAlgConfigs, AlgConfig::GetName(), and MSG. Referenced by DynamicPluggableFactory::GetPrototypicalAlgConfig(). 00098 {
00099 assert(prototypicalalgconfig);
00100
00101 MSG("DynFac", Msg::kDebug)
00102 << "NamedProductPluggableFactory::RegisterPrototypicalAlgConfig("
00103 << prototypicalalgconfig->GetName() << ")\n";
00104
00105 fPrototypicalAlgConfigs.Add(prototypicalalgconfig);
00106 }
|
|
|
Definition at line 35 of file NamedProductPluggableFactory.h. Referenced by GetAlgConfigPtr(), RegisterPrototypicalAlgConfig(), and ~NamedProductPluggableFactory(). |
|
|
Definition at line 34 of file NamedProductPluggableFactory.h. Referenced by GetAlgPtr(), RegisterPrototypicalAlg(), and ~NamedProductPluggableFactory(). |
1.3.9.1