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

CmosRWFactory Class Reference

#include <ICmosRW.h>

Inheritance diagram for CmosRWFactory:

IFactory List of all members.

Public Types

enum  { AutoDetectMode, UnitTestMode }
enum  { defaultMode = AutoDetectMode }

Public Member Functions

virtual ~CmosRWFactory () throw ()
virtual ICmosRWgetSingleton ()=0
virtual ICmosRWmakeNew ()=0
virtual void setParameter (const std::string name, const std::string value)=0
virtual void setParameter (const std::string name, const u32 value)=0
virtual void setMode (const int mode)=0
virtual void reset ()=0
virtual std::string getParameterString (const std::string name) const=0
virtual u32 getParameterNum (const std::string name) const=0
virtual int getMode () const=0

Static Public Member Functions

CmosRWFactorygetFactory ()

Protected Member Functions

 CmosRWFactory ()

Member Enumeration Documentation

anonymous enum [inherited]
 

Enumeration values:
AutoDetectMode 
UnitTestMode 

Definition at line 57 of file IFactory.h.

anonymous enum [inherited]
 

Enumeration values:
defaultMode 

Definition at line 58 of file IFactory.h.


Constructor & Destructor Documentation

~CmosRWFactory  )  throw () [virtual]
 

Definition at line 39 of file CmosRWFactory.cpp.

CmosRWFactory  )  [protected]
 

Definition at line 41 of file CmosRWFactory.cpp.


Member Function Documentation

CmosRWFactory * getFactory  )  [static]
 

Definition at line 55 of file CmosRWFactory.cpp.

Referenced by TokenTable::addChecksumObserverForD4Struct(), getAssetTagFromToken(), getServiceTagFromCMOSToken(), setAssetTagUsingCMOSToken(), setServiceTagUsingCMOSToken(), testStandalone::setUp(), testRbu::setUp(), testPlatform::setUp(), testStandalone::tearDown(), testRbu::tearDown(), testPlatform::tearDown(), testPlatform::testCmosChecksum(), testPlatform::testCmosWriting(), and upBootHelper().

virtual int getMode  )  const [pure virtual, inherited]
 

Implemented in TFactory< factory::IFactory >.

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

Implemented in TFactory< factory::IFactory >.

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

Implemented in TFactory< factory::IFactory >.

virtual ICmosRW* getSingleton  )  [pure virtual]
 

Referenced by getAssetTagFromToken(), getServiceTagFromCMOSToken(), setAssetTagUsingCMOSToken(), setServiceTagUsingCMOSToken(), and upBootHelper().

virtual ICmosRW* makeNew  )  [pure virtual]
 

virtual void reset  )  [pure virtual, inherited]
 

Implemented in TFactory< factory::IFactory >.

Referenced by testStandalone::testNonXml().

virtual void setMode const int  mode  )  [pure virtual, inherited]
 

Implemented in TFactory< factory::IFactory >.

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

Implemented in TFactory< factory::IFactory >.

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

Implemented in TFactory< factory::IFactory >.

Referenced by testPlatform::testConstructionOffset2(), and testStandalone::testMemoryBadFiles().


The documentation for this class was generated from the following files:
Generated on Wed Apr 11 16:25:11 2007 for SMBIOS Library by doxygen 1.3.5