SmiFactoryImpl Class Reference

Inheritance diagram for SmiFactoryImpl:

TFactory< SmiFactory > SmiFactory List of all members.

Public Member Functions

 SmiFactoryImpl ()
virtual ~SmiFactoryImpl () throw ()
virtual std::auto_ptr< ISmimakeNew (u8 type)
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 Member Functions

static TFactory< SmiFactory > * getFactory (R *foo=0)

Protected Attributes

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

Static Protected Attributes

static ISmi_cmosPtr
static TFactory< SmiFactory > * _instance

Detailed Description

Definition at line 31 of file SmiFactory.cpp.


Constructor & Destructor Documentation

SmiFactoryImpl (  )  [inline]

Definition at line 34 of file SmiFactory.cpp.

References TFactory< SmiFactory >::setParameter().

virtual ~SmiFactoryImpl (  )  throw () [inline, virtual]

Definition at line 35 of file SmiFactory.cpp.


Member Function Documentation

std::auto_ptr< ISmi > makeNew ( u8  type  )  [virtual]

Definition at line 55 of file SmiFactory.cpp.

References _, ITokenTable::begin(), ITokenTable::end(), TokenTableFactory::getFactory(), TFactory< SmiFactory >::getParameterString(), TokenTableFactory::getSingleton(), TFactory< SmiFactory >::mode, and ISmi::setCommandIOMagic().

static TFactory<SmiFactory >* getFactory ( R *  foo = 0  )  [inline, static, inherited]

Definition at line 53 of file FactoryImpl2.h.

virtual void reset (  )  [inline, virtual, inherited]

Definition at line 63 of file FactoryImpl2.h.

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

Definition at line 75 of file FactoryImpl2.h.

Referenced by SmiFactoryImpl::SmiFactoryImpl().

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

Definition at line 76 of file FactoryImpl2.h.

virtual void setMode ( const int  newMode  )  [inline, virtual, inherited]

Definition at line 77 of file FactoryImpl2.h.

virtual std::string getParameterString ( const std::string  name  )  const [inline, virtual, inherited]

Definition at line 80 of file FactoryImpl2.h.

Referenced by SmiFactoryImpl::makeNew().

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

Definition at line 81 of file FactoryImpl2.h.

virtual int getMode (  )  const [inline, virtual, inherited]

Definition at line 82 of file FactoryImpl2.h.


Member Data Documentation

ISmi* _cmosPtr [static, protected]

Definition at line 38 of file SmiFactory.cpp.

int mode [protected, inherited]

Definition at line 89 of file FactoryImpl2.h.

Referenced by SmiFactoryImpl::makeNew().

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

Definition at line 90 of file FactoryImpl2.h.

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

Definition at line 91 of file FactoryImpl2.h.

TFactory<SmiFactory >* _instance [static, protected, inherited]

Definition at line 92 of file FactoryImpl2.h.


The documentation for this class was generated from the following file:
Generated on Sat Apr 21 11:36:11 2007 for SMBIOS Library by  doxygen 1.5.2