|
Yate
|
A signalling component factory. More...
#include <yatesig.h>
Public Member Functions | |
| SignallingFactory (bool fallback=false) | |
| virtual | ~SignallingFactory () |
Static Public Member Functions | |
| static SignallingComponent * | build (const String &type, const NamedList *name=0) |
| static void * | buildInternal (const String &type, const NamedList *name) |
Protected Member Functions | |
| virtual SignallingComponent * | create (const String &type, const NamedList &name)=0 |
A signalling component factory.
A factory that constructs various elements by name
| SignallingFactory | ( | bool | fallback = false | ) |
Constructor, adds the factory to the global list
| fallback | True to add this factory at the end of the priority list |
| virtual ~SignallingFactory | ( | ) | [virtual] |
Destructor, removes the factory from list
| static SignallingComponent* build | ( | const String & | type, |
| const NamedList * | name = 0 |
||
| ) | [static] |
Builds a component given its name and arbitrary parameters
| type | The type of the component that should be returned |
| name | Name of the requested component and additional parameters |
| static void* buildInternal | ( | const String & | type, |
| const NamedList * | name | ||
| ) | [static] |
This method is for internal use only and must not be called directly
| type | The name of the interface that should be returned |
| name | Name of the requested component and additional parameters |
| virtual SignallingComponent* create | ( | const String & | type, |
| const NamedList & | name | ||
| ) | [protected, pure virtual] |
Creates a component given its name and arbitrary parameters
| type | The name of the interface that should be returned |
| name | Name of the requested component and additional parameters |
1.7.6.1