|
| ||||||||||||||||
A factory that constructs various elements by name
| SignallingFactory (bool fallback = false)
| SignallingFactory |
Constructor, adds the factory to the global list
Parameters:
| fallback | True to add this factory at the end of the priority list |
| ~SignallingFactory ()
| ~SignallingFactory |
[virtual]
Destructor, removes the factory from list
| SignallingComponent* build (const String& type, const NamedList* name = 0)
| build |
[static]
Builds a component given its name and arbitrary parameters
Parameters:
| type | The type of the component that should be returned |
| name | Name of the requested component and additional parameters |
Returns: Pointer to the created component, NULL on failure
| void* buildInternal (const String& type, const NamedList* name)
| buildInternal |
[static]
This method is for internal use only and must not be called directly
Parameters:
| type | The name of the interface that should be returned |
| name | Name of the requested component and additional parameters |
Returns: Raw pointer to the requested interface of the component, NULL on failure
| SignallingComponent* create (const String& type, const NamedList& name)
| create |
[protected pure virtual]
Creates a component given its name and arbitrary parameters
Parameters:
| type | The name of the interface that should be returned |
| name | Name of the requested component and additional parameters |
Returns: Pointer to the created component
| Generated by: paulc on bussard on Fri Apr 1 18:17:10 2011, using kdoc 2.0a54. |