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

Public Methods | |
| DeviceConstructorBase () | |
| Constructor. More... | |
| virtual Input * | createDevice (jccl::ConfigElementPtr element) |
| Creates the device. More... | |
| virtual std::string | getElementType () |
| Gets the string desc of the type of element we can create. More... | |
Implementations of this class are registered with the device factory for each device in the system.
Definition at line 55 of file DeviceConstructorBase.h.
|
|
Constructor.
Definition at line 62 of file DeviceConstructorBase.h.
00062 {;}
|
|
|
Creates the device.
Reimplemented in gadget::DeviceConstructor. Definition at line 65 of file DeviceConstructorBase.h.
00066 {
00067 boost::ignore_unused_variable_warning(element);
00068 vprDEBUG(vprDBG_ALL, vprDBG_CRITICAL_LVL)
00069 << "ERROR: DeviceConstructorBase::createDevice: Should never be called\n"
00070 << vprDEBUG_FLUSH;
00071 return NULL;
00072 }
|
|
|
Gets the string desc of the type of element we can create.
Reimplemented in gadget::DeviceConstructor. Definition at line 75 of file DeviceConstructorBase.h.
00076 {
00077 return std::string("BaseConstructor: Invalid type");
00078 }
|
1.2.14 written by Dimitri van Heesch,
© 1997-2002