|
Yate
|
A signalling component factory. More...
#include <yatesig.h>
Public Member Functions | |
| SignallingFactory (bool fallback=false) | |
| virtual | ~SignallingFactory () |
Public Member Functions inherited from GenObject | |
| GenObject () | |
| virtual | ~GenObject () |
| virtual bool | alive () const |
| virtual void | destruct () |
| virtual const String & | toString () const |
| virtual const String & | traceId () const |
| virtual void * | getObject (const String &name) const |
| NamedCounter * | getObjCounter () const |
| NamedCounter * | setObjCounter (NamedCounter *counter) |
Static Public Member Functions | |
| static SignallingComponent * | build (const String &type, NamedList *name=0) |
| static void * | buildInternal (const String &type, NamedList *name) |
Static Public Member Functions inherited from GenObject | |
| static void * | getObject (const String &name, const GenObject *obj) |
| static bool | getObjCounting () |
| static void | setObjCounting (bool enable) |
| static NamedCounter * | getObjCounter (const String &name, bool create=true) |
| static ObjList & | getObjCounters () |
Protected Member Functions | |
| virtual SignallingComponent * | create (const String &type, 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 |
Destructor, removes the factory from list
|
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 |
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 |
|
protectedpure 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 |