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

SmiFactory Class Reference

#include <ISmi.h>

Inheritance diagram for SmiFactory:

IFactory List of all members.

Public Types

enum  { RAW_SMI, DELL_CALLING_INTERFACE_SMI_RAW, DELL_CALLING_INTERFACE_SMI }
enum  { AutoDetectMode, UnitTestMode }
enum  { defaultMode = AutoDetectMode }

Public Member Functions

virtual ~SmiFactory () throw ()
virtual std::auto_ptr< ISmimakeNew (u8 type)=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

SmiFactorygetFactory ()

Protected Member Functions

 SmiFactory ()

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.

anonymous enum
 

Enumeration values:
RAW_SMI 
DELL_CALLING_INTERFACE_SMI_RAW 
DELL_CALLING_INTERFACE_SMI 

Definition at line 58 of file ISmi.h.


Constructor & Destructor Documentation

~SmiFactory  )  throw () [virtual]
 

Definition at line 42 of file SmiFactory.cpp.

SmiFactory  )  [protected]
 

Definition at line 44 of file SmiFactory.cpp.


Member Function Documentation

SmiFactory * getFactory  )  [static]
 

Definition at line 47 of file SmiFactory.cpp.

Referenced by SmiTokenDA::getString(), SmiTokenDA::setString(), testStandalone::setUp(), testRbu::setUp(), testPlatform::setUp(), smi::setupCallingInterfaceSmi(), smi::switchControl(), testStandalone::tearDown(), testRbu::tearDown(), testPlatform::tearDown(), testStandalone::testSmi_callingInterface(), and testStandalone::testSmi_callingInterface_physaddr().

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 std::auto_ptr<ISmi> makeNew u8  type  )  [pure virtual]
 

Referenced by smi::setupCallingInterfaceSmi(), and smi::switchControl().

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