#include <gadget/Type/DeviceConstructorBase.h>
Inheritance diagram for gadget::DeviceConstructorBase:

Public Member Functions | |
| DeviceConstructorBase () | |
| Constructor. | |
| virtual | ~DeviceConstructorBase () |
| virtual Input * | createDevice (jccl::ConfigElementPtr element) |
| Creates the device. | |
| virtual std::string | getElementType () |
| Gets the string desc of the type of element we can create. | |
Implementations of this class are registered with the device factory for each device in the system.
Definition at line 56 of file DeviceConstructorBase.h.
| gadget::DeviceConstructorBase::DeviceConstructorBase | ( | ) | [inline] |
Constructor.
Definition at line 63 of file DeviceConstructorBase.h.
| virtual gadget::DeviceConstructorBase::~DeviceConstructorBase | ( | ) | [inline, virtual] |
| virtual Input* gadget::DeviceConstructorBase::createDevice | ( | jccl::ConfigElementPtr | element | ) | [inline, virtual] |
Creates the device.
Reimplemented in gadget::DeviceConstructor< DEV >.
Definition at line 70 of file DeviceConstructorBase.h.
Referenced by gadget::DeviceFactory::loadDevice().
00071 { 00072 boost::ignore_unused_variable_warning(element); 00073 vprDEBUG(vprDBG_ALL, vprDBG_CRITICAL_LVL) 00074 << "ERROR: DeviceConstructorBase::createDevice: Should never be called\n" 00075 << vprDEBUG_FLUSH; 00076 return NULL; 00077 }
| virtual std::string gadget::DeviceConstructorBase::getElementType | ( | ) | [inline, virtual] |
Gets the string desc of the type of element we can create.
Reimplemented in gadget::DeviceConstructor< DEV >.
Definition at line 80 of file DeviceConstructorBase.h.
Referenced by gadget::DeviceFactory::registerDevice().
1.5.1