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

TokenTableFactory Class Reference

#include <IToken.h>

Inheritance diagram for TokenTableFactory:

IFactory List of all members.

Public Types

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

Public Member Functions

virtual ~TokenTableFactory () throw ()
virtual ITokenTablegetSingleton (const smbios::ISmbiosTable *table=0)=0
virtual ITokenTablemakeNew (const smbios::ISmbiosTable *table)=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

TokenTableFactorygetFactory ()

Protected Member Functions

 TokenTableFactory ()

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

~TokenTableFactory  )  throw () [virtual]
 

Definition at line 41 of file TokenTableFactory.cpp.

TokenTableFactory  )  [protected]
 

Definition at line 38 of file TokenTableFactory.cpp.


Member Function Documentation

TokenTableFactory * getFactory  )  [static]
 

Definition at line 45 of file TokenTableFactory.cpp.

Referenced by rbu::activateRbuToken(), smbios::activateToken(), rbu::cancelRbuToken(), getAssetTagFromToken(), getServiceTagFromCMOSToken(), smbios::isTokenActive(), SmiFactoryImpl::makeNew(), setAssetTagUsingCMOSToken(), setServiceTagUsingCMOSToken(), SMBIOSGetNvramStateBytes(), SMBIOSHasNvramStateBytes(), SMBIOSSetNvramStateBytes(), testStandalone::tearDown(), testRbu::tearDown(), testPlatform::tearDown(), testPlatform::testCmosChecksum(), testStandalone::testCmosConstructor(), 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 ITokenTable* getSingleton const smbios::ISmbiosTable table = 0  )  [pure virtual]
 

Referenced by rbu::activateRbuToken(), smbios::activateToken(), rbu::cancelRbuToken(), getAssetTagFromToken(), getServiceTagFromCMOSToken(), smbios::isTokenActive(), SmiFactoryImpl::makeNew(), setAssetTagUsingCMOSToken(), setServiceTagUsingCMOSToken(), SMBIOSGetNvramStateBytes(), SMBIOSHasNvramStateBytes(), SMBIOSSetNvramStateBytes(), testPlatform::testCmosChecksum(), testStandalone::testCmosConstructor(), testPlatform::testCmosWriting(), and upBootHelper().

virtual ITokenTable* makeNew const smbios::ISmbiosTable table  )  [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:12 2007 for SMBIOS Library by doxygen 1.3.5