#include <ISmi.h>
Inheritance diagram for SmiFactory:
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< ISmi > | makeNew (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 | |
static SmiFactory * | getFactory () |
Protected Member Functions | |
SmiFactory () |
Definition at line 55 of file ISmi.h.
anonymous enum |
anonymous enum [inherited] |
anonymous enum [inherited] |
~SmiFactory | ( | ) | throw () [virtual] |
Definition at line 42 of file SmiFactory.cpp.
SmiFactory | ( | ) | [protected] |
Definition at line 44 of file SmiFactory.cpp.
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().
Referenced by smi::setupCallingInterfaceSmi(), and smi::switchControl().
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().
virtual void setParameter | ( | const std::string | name, | |
const u32 | value | |||
) | [pure virtual, inherited] |
Implemented in TFactory< factory::IFactory >.
virtual void setMode | ( | const int | mode | ) | [pure virtual, inherited] |
Implemented in TFactory< factory::IFactory >.
virtual void reset | ( | ) | [pure virtual, inherited] |
virtual std::string getParameterString | ( | const std::string | name | ) | 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 int getMode | ( | ) | const [pure virtual, inherited] |
Implemented in TFactory< factory::IFactory >.