Public Member Functions | |
CmosRWFactoryImpl () | |
virtual | ~CmosRWFactoryImpl () throw () |
virtual ICmosRW * | getSingleton () |
virtual ICmosRW * | makeNew () |
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, u32 > | numParamMap |
Static Protected Attributes | |
static ICmosRW * | _cmosPtr |
static TFactory< S > * | _instance |
Definition at line 27 of file CmosRWFactory.cpp.
CmosRWFactoryImpl | ( | ) | [inline] |
Definition at line 30 of file CmosRWFactory.cpp.
References TFactory::setParameter().
Here is the call graph for this function:
~CmosRWFactoryImpl | ( | ) | throw () [virtual] |
ICmosRW * getSingleton | ( | ) | [virtual] |
Definition at line 63 of file CmosRWFactory.cpp.
References CmosRWFactoryImpl::_cmosPtr, and CmosRWFactoryImpl::makeNew().
Here is the call graph for this function:
ICmosRW * makeNew | ( | ) | [virtual] |
Definition at line 71 of file CmosRWFactory.cpp.
References TFactory::getParameterString(), and TFactory::mode.
Referenced by CmosRWFactoryImpl::getSingleton().
Here is the call graph for this function:
static TFactory<S>* getFactory | ( | R * | foo = 0 |
) | [inline, static, inherited] |
Definition at line 53 of file FactoryImpl2.h.
Referenced by TokenTableFactory::getFactory(), SmiFactory::getFactory(), SmbiosXmlFactory::getFactory(), SmbiosWorkaroundFactory::getFactory(), SmbiosFactory::getFactory(), RbuFactory::getFactory(), MemoryFactory::getFactory(), and CmosRWFactory::getFactory().
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 CmosRWFactoryImpl::CmosRWFactoryImpl(), MemoryFactoryImpl::MemoryFactoryImpl(), SmbiosFactoryImpl::SmbiosFactoryImpl(), and 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(), SmbiosXmlFactoryImpl::makeNew(), MemoryFactoryImpl::makeNew(), and CmosRWFactoryImpl::makeNew().
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 int getMode | ( | ) | const [inline, virtual, inherited] |
Definition at line 82 of file FactoryImpl2.h.
Definition at line 35 of file CmosRWFactory.cpp.
Referenced by CmosRWFactoryImpl::getSingleton(), and CmosRWFactoryImpl::~CmosRWFactoryImpl().
int mode [protected, inherited] |
Definition at line 89 of file FactoryImpl2.h.
Referenced by TFactory< cmos::CmosRWFactory >::getMode(), TokenTableFactoryImpl::makeNew(), SmiFactoryImpl::makeNew(), SmbiosXmlFactoryImpl::makeNew(), SmbiosFactoryImpl::makeNew(), MemoryFactoryImpl::makeNew(), CmosRWFactoryImpl::makeNew(), TFactory< cmos::CmosRWFactory >::setMode(), and SmbiosFactoryImpl::SmbiosFactoryImpl().
std::map< std::string, std::string > strParamMap [mutable, protected, inherited] |
Definition at line 90 of file FactoryImpl2.h.
Referenced by TFactory< cmos::CmosRWFactory >::getParameterString(), and TFactory< cmos::CmosRWFactory >::setParameter().
std::map< std::string, u32 > numParamMap [mutable, protected, inherited] |
Definition at line 91 of file FactoryImpl2.h.
Referenced by TFactory< cmos::CmosRWFactory >::getParameterNum(), and TFactory< cmos::CmosRWFactory >::setParameter().
TFactory< S > * _instance [static, protected, inherited] |
Definition at line 92 of file FactoryImpl2.h.
Referenced by TFactory< cmos::CmosRWFactory >::getFactory(), TFactory< cmos::CmosRWFactory >::reset(), and TFactory< cmos::CmosRWFactory >::~TFactory().