#include <MemoryImpl.h>
Inheritance diagram for MemoryFactoryImpl:
Public Member Functions | |
MemoryFactoryImpl () | |
virtual | ~MemoryFactoryImpl () throw () |
virtual IMemory * | getSingleton () |
virtual IMemory * | 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 | |
static TFactory< MemoryFactory > * | 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 IMemory * | _mem_instance = 0 |
static TFactory< MemoryFactory > * | _instance |
Definition at line 31 of file MemoryImpl.h.
Definition at line 46 of file Memory_Linux.cpp.
References TFactory< MemoryFactory >::setParameter().
~MemoryFactoryImpl | ( | ) | throw () [virtual] |
IMemory * getSingleton | ( | ) | [virtual] |
Definition at line 66 of file Memory.cpp.
References MemoryFactoryImpl::_mem_instance, and MemoryFactoryImpl::makeNew().
IMemory * makeNew | ( | ) | [virtual] |
Definition at line 74 of file Memory.cpp.
References _, TFactory< MemoryFactory >::getParameterString(), and TFactory< MemoryFactory >::mode.
Referenced by MemoryFactoryImpl::getSingleton().
static TFactory<MemoryFactory >* getFactory | ( | R * | foo = 0 |
) | [inline, static, inherited] |
Definition at line 53 of file FactoryImpl2.h.
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] |
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] |
virtual u32 getParameterNum | ( | const std::string | name | ) | const [inline, virtual, inherited] |
Definition at line 81 of file FactoryImpl2.h.
virtual int getMode | ( | ) | const [inline, virtual, inherited] |
Definition at line 82 of file FactoryImpl2.h.
IMemory * _mem_instance = 0 [static, protected] |
Definition at line 39 of file MemoryImpl.h.
Referenced by MemoryFactoryImpl::getSingleton(), and MemoryFactoryImpl::~MemoryFactoryImpl().
int mode [protected, inherited] |
std::map< std::string, std::string > strParamMap [mutable, protected, inherited] |
Definition at line 90 of file FactoryImpl2.h.
std::map< std::string, u32 > numParamMap [mutable, protected, inherited] |
Definition at line 91 of file FactoryImpl2.h.
TFactory<MemoryFactory >* _instance [static, protected, inherited] |
Definition at line 92 of file FactoryImpl2.h.