#include <pgfactory.h>
Inheritance diagram for PG_FactoryHolder< H >:

Public Types | |
| typedef PG_Widget *(* | CREATEFN )(PG_Widget *parent) |
Static Public Member Functions | |
| template<class T, class PT> | |
| static void | RegisterClass (const H &classname) |
| template<class T> | |
| static void | RegisterClass (const H &classname) |
| template<class T> | |
| static void | RegisterClass0 (const H &classname) |
| static PG_Widget * | CreateObject (const H &classname, PG_Widget *parent=NULL) |
| static PG_Widget * | CreateObject0 (const H &classname, PG_Widget *parent=NULL) |
Protected Member Functions | |
| void | RegisterCreateFn (const H &classname, CREATEFN fn) |
Protected Attributes | |
| std::map< H, CREATEFN > | creator_map |
Friends | |
| class | PG_Singleton< PG_FactoryHolder< H > > |
|
|||||
|
Definition at line 60 of file pgfactory.h. |
|
||||||||||||||||
|
Definition at line 77 of file pgfactory.h. References PG_Singleton< T >::GetInstance(). Referenced by PG_FactoryHolder< H >::RegisterClass(). |
|
||||||||||||||||
|
Definition at line 87 of file pgfactory.h. References PG_Singleton< T >::GetInstance(). Referenced by PG_FactoryHolder< H >::RegisterClass0(). |
|
||||||||||||||
|
Definition at line 68 of file pgfactory.h. References PG_FactoryHolder< H >::CreateObject(), and PG_Singleton< T >::GetInstance(). |
|
||||||||||||||
|
Definition at line 63 of file pgfactory.h. References PG_FactoryHolder< H >::CreateObject(), and PG_Singleton< T >::GetInstance(). |
|
||||||||||||||
|
Definition at line 73 of file pgfactory.h. References PG_FactoryHolder< H >::CreateObject0(), and PG_Singleton< T >::GetInstance(). |
|
||||||||||||||||
|
Definition at line 99 of file pgfactory.h. References PG_FactoryHolder< H >::creator_map. |
|
|||||
|
Definition at line 105 of file pgfactory.h. |
|
|||||
|
Definition at line 103 of file pgfactory.h. Referenced by PG_FactoryHolder< H >::RegisterCreateFn(). |
1.4.2