#include <BaseTypeFactory.h>
Inheritance diagram for gadget::BaseTypeConstructorBase:

Public Methods | |
| BaseTypeConstructorBase () | |
| Constructor. More... | |
| virtual Input * | createNetDevice (std::string baseType) |
| Creates the device. More... | |
| virtual std::string | getBaseType () |
| Gets the name 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 56 of file BaseTypeFactory.h.
|
|
Constructor.
Definition at line 63 of file BaseTypeFactory.h.
00063 {;}
|
|
|
Creates the device.
Reimplemented in gadget::BaseTypeConstructor. Definition at line 66 of file BaseTypeFactory.h.
00067 {
00068 boost::ignore_unused_variable_warning(baseType);
00069 vprDEBUG(vprDBG_ALL, vprDBG_CRITICAL_LVL) << "ERROR: DeviceConstructorBase::createDevice: Should never be called" << vprDEBUG_FLUSH;
00070 return NULL;
00071 }
|
|
|
Gets the name of the type of element we can create.
Reimplemented in gadget::BaseTypeConstructor. Definition at line 74 of file BaseTypeFactory.h.
00075 {
00076 return std::string("BaseConstructor: Invalid type");
00077 }
|
1.2.14 written by Dimitri van Heesch,
© 1997-2002