Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

PhxFactory.h

00001 #ifndef PHX_FACTORY_H
00002 #define PHX_FACTORY_H
00003 
00004 namespace Phx {
00005 
00009         template< typename T > class PhxFactory
00010         {
00011         public:
00012                 virtual ~PhxFactory() {};
00013 
00018                 virtual const String& getType() const = 0;
00019 
00026                 virtual T* createInstance( const String& name ) = 0;    
00030                 virtual void destroyInstance( T* ) = 0;    
00031         };
00032 
00033 } // namespace
00034 
00035 #endif

Generated on Mon Jul 10 19:45:28 2006 for Phoenix OSFS by  doxygen 1.4.2