|
HAL
|
Contains utility factory functions. More...
Functions | |
| QStringList | graphicsModuleTypes () |
| QStringList | graphicsGateTypes () |
| GraphicsModule * | createGraphicsModule (Module *m, const int type) |
| GraphicsGate * | createGraphicsGate (Gate *g, const int type) |
Contains utility factory functions.
The GraphicsFactory namespace provides functions to create GraphicsModules and GraphicsGates
| GraphicsGate * hal::GraphicsFactory::createGraphicsGate | ( | Gate * | g, |
| const int | type | ||
| ) |
Creates a GraphicsGate for a certain gate on the heap.
| g | - The underlying gate of the GraphicsModule |
| type | - The type of the GraphicsGate (must be 0 currently) |
Definition at line 39 of file graphics_factory.cpp.
References test_plugin::g, and type.
Referenced by hal::NodeBox::NodeBox(), and hal::GatelibraryGraphicsView::showGate().
| GraphicsModule * hal::GraphicsFactory::createGraphicsModule | ( | Module * | m, |
| const int | type | ||
| ) |
Creates a GraphicsModule for a certain module on the heap.
| m | - The underlying module of the GraphicsModule |
| type | - The type of the GraphicsModule (must be 0 currently) |
Definition at line 28 of file graphics_factory.cpp.
References type.
Referenced by hal::NodeBox::NodeBox().
| QStringList hal::GraphicsFactory::graphicsGateTypes | ( | ) |
Definition at line 20 of file graphics_factory.cpp.
| QStringList hal::GraphicsFactory::graphicsModuleTypes | ( | ) |
Definition at line 12 of file graphics_factory.cpp.