SmbiosFactoryImpl Class Reference

#include <SmbiosImpl.h>

Inheritance diagram for SmbiosFactoryImpl:

TFactory< SmbiosFactory > SmbiosFactory SmbiosXmlFactoryImpl List of all members.

Public Member Functions

 SmbiosFactoryImpl ()
virtual ~SmbiosFactoryImpl () throw ()
virtual ISmbiosTablegetSingleton ()
virtual ISmbiosTablemakeNew ()
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< SmbiosFactory > * getFactory (R *foo=0)

Protected Attributes

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

Static Protected Attributes

static ISmbiosTable_tableInstance = 0
static TFactory< SmbiosFactory > * _instance

Detailed Description

Definition at line 40 of file SmbiosImpl.h.


Constructor & Destructor Documentation

SmbiosFactoryImpl  ) 
 

Definition at line 58 of file SmbiosFactory.cpp.

References TFactory< SmbiosFactory >::mode, and TFactory< SmbiosFactory >::setParameter().

~SmbiosFactoryImpl  )  throw () [virtual]
 

Definition at line 49 of file SmbiosFactory.cpp.

References SmbiosFactoryImpl::_tableInstance.


Member Function Documentation

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

Definition at line 53 of file FactoryImpl2.h.

Referenced by SmbiosXmlFactory::getFactory().

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

Definition at line 82 of file FactoryImpl2.h.

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

Definition at line 81 of file FactoryImpl2.h.

Referenced by SmbiosXmlFactoryImpl::makeNew(), and SmbiosFactoryImpl::makeNew().

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

Definition at line 80 of file FactoryImpl2.h.

Referenced by SmbiosXmlFactoryImpl::makeNew().

ISmbiosTable * getSingleton  )  [virtual]
 

Definition at line 65 of file SmbiosFactory.cpp.

References SmbiosFactoryImpl::_tableInstance, and SmbiosFactoryImpl::makeNew().

ISmbiosTable * makeNew  )  [virtual]
 

Reimplemented in SmbiosXmlFactoryImpl.

Definition at line 73 of file SmbiosFactory.cpp.

References _, TFactory< SmbiosFactory >::getParameterNum(), SmbiosTable::initializeWorkaround(), and TFactory< SmbiosFactory >::mode.

Referenced by SmbiosFactoryImpl::getSingleton().

virtual void reset  )  [inline, virtual, inherited]
 

Definition at line 63 of file FactoryImpl2.h.

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

Definition at line 77 of file FactoryImpl2.h.

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

Definition at line 76 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 SmbiosFactoryImpl::SmbiosFactoryImpl().


Member Data Documentation

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

Definition at line 92 of file FactoryImpl2.h.

ISmbiosTable * _tableInstance = 0 [static, protected]
 

Definition at line 48 of file SmbiosImpl.h.

Referenced by SmbiosFactoryImpl::getSingleton(), and SmbiosFactoryImpl::~SmbiosFactoryImpl().

int mode [protected, inherited]
 

Definition at line 89 of file FactoryImpl2.h.

Referenced by SmbiosXmlFactoryImpl::makeNew(), SmbiosFactoryImpl::makeNew(), and SmbiosFactoryImpl::SmbiosFactoryImpl().

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

Definition at line 91 of file FactoryImpl2.h.

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

Definition at line 90 of file FactoryImpl2.h.


The documentation for this class was generated from the following files:
Generated on Tue Jan 17 02:59:09 2006 for SMBIOS Library by  doxygen 1.4.6