SmbiosFactoryImpl Class Reference

#include <SmbiosImpl.h>

Inheritance diagram for SmbiosFactoryImpl:

Inheritance graph
[legend]
Collaboration diagram for SmbiosFactoryImpl:

Collaboration graph
[legend]

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

template<class R>
static TFactory< S > * 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< S > * _instance = 0


Detailed Description

Definition at line 41 of file SmbiosImpl.h.


Constructor & Destructor Documentation

Definition at line 58 of file SmbiosFactory.cpp.

References TFactory::mode, and TFactory::setParameter().

Here is the call graph for this function:

~SmbiosFactoryImpl (  )  throw () [virtual]

Definition at line 49 of file SmbiosFactory.cpp.

References SmbiosFactoryImpl::_tableInstance.


Member Function Documentation

ISmbiosTable * getSingleton (  )  [virtual]

Definition at line 65 of file SmbiosFactory.cpp.

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

Here is the call graph for this function:

ISmbiosTable * makeNew (  )  [virtual]

Definition at line 73 of file SmbiosFactory.cpp.

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

Referenced by SmbiosFactoryImpl::getSingleton().

Here is the call graph for this function:

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

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]

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]

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

Definition at line 81 of file FactoryImpl2.h.

Referenced by SmbiosFactoryImpl::makeNew().

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

Definition at line 82 of file FactoryImpl2.h.


Member Data Documentation

ISmbiosTable * _tableInstance = 0 [static, protected]

int mode [protected, inherited]

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

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

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


The documentation for this class was generated from the following files:

Generated on Sat Sep 27 22:02:27 2008 for SMBIOS Library by  doxygen 1.5.6