Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

TFactory Class Template Reference

#include <FactoryImpl2.h>

List of all members.

Public Methods

virtual ~TFactory () throw ()
virtual void reset ()
virtual void setParameter (const std::string name, const std::string value)
virtual void setParameter (const std::string name, const u32 value)
virtual void setMode (const int newMode)
virtual std::string getParameterString (const std::string name) const
virtual u32 getParameterNum (const std::string name) const
virtual int getMode () const

Static Public Methods

template<class R> TFactory< S > * getFactory (R *foo=0)

Protected Methods

 TFactory ()
 TFactory (const TFactory< S > &src)
TFactory< S > & operator= (const TFactory< S > &src)

Protected Attributes

int mode
std::map< std::string, std::string > strParamMap
std::map< std::string, u32numParamMap

Static Protected Attributes

TFactory< S > * _instance = 0

template<class S>
class factory::TFactory< S >


Constructor & Destructor Documentation

virtual ~TFactory   throw () [inline, virtual]
 

Definition at line 39 of file FactoryImpl2.h.

TFactory   [inline, protected]
 

Definition at line 85 of file FactoryImpl2.h.

TFactory const TFactory< S > &    src [protected]
 


Member Function Documentation

TFactory<S>* getFactory R *    foo = 0 [inline, static]
 

Definition at line 53 of file FactoryImpl2.h.

Referenced by SmbiosWorkaroundFactory::getFactory().

virtual int getMode   const [inline, virtual]
 

Definition at line 82 of file FactoryImpl2.h.

virtual u32 getParameterNum const std::string    name const [inline, virtual]
 

Definition at line 81 of file FactoryImpl2.h.

virtual std::string getParameterString const std::string    name const [inline, virtual]
 

Definition at line 80 of file FactoryImpl2.h.

TFactory<S>& operator= const TFactory< S > &    src [protected]
 

virtual void reset   [inline, virtual]
 

Definition at line 63 of file FactoryImpl2.h.

virtual void setMode const int    newMode [inline, virtual]
 

Definition at line 77 of file FactoryImpl2.h.

virtual void setParameter const std::string    name,
const u32    value
[inline, virtual]
 

Definition at line 76 of file FactoryImpl2.h.

virtual void setParameter const std::string    name,
const std::string    value
[inline, virtual]
 

Definition at line 75 of file FactoryImpl2.h.


Member Data Documentation

TFactory< S > * _instance = 0 [static, protected]
 

Definition at line 95 of file FactoryImpl2.h.

Referenced by TFactory< factory::IFactory >::getFactory(), TFactory< factory::IFactory >::reset(), and TFactory< factory::IFactory >::~TFactory().

int mode [protected]
 

Definition at line 89 of file FactoryImpl2.h.

Referenced by TFactory< factory::IFactory >::getMode(), TFactory< factory::IFactory >::setMode(), and TFactory< factory::IFactory >::TFactory().

std::map< std::string, u32 > numParamMap [protected]
 

Definition at line 91 of file FactoryImpl2.h.

Referenced by TFactory< factory::IFactory >::getParameterNum(), and TFactory< factory::IFactory >::setParameter().

std::map< std::string, std::string > strParamMap [protected]
 

Definition at line 90 of file FactoryImpl2.h.

Referenced by TFactory< factory::IFactory >::getParameterString(), and TFactory< factory::IFactory >::setParameter().


The documentation for this class was generated from the following file:
Generated on Tue Jul 3 18:35:14 2007 for SMBIOS Library by doxygen1.2.18