SignallingFactory Class Reference

A signalling component factory. More...

#include <yatesig.h>

Inheritance diagram for SignallingFactory:
GenObject

List of all members.

Public Member Functions

 SignallingFactory (bool fallback=false)
virtual ~SignallingFactory ()

Static Public Member Functions

static SignallingComponentbuild (const String &type, const NamedList *name=0)
static void * buildInternal (const String &type, const NamedList *name)

Protected Member Functions

virtual SignallingComponentcreate (const String &type, const NamedList &name)=0

Detailed Description

A signalling component factory.

A factory that constructs various elements by name


Constructor & Destructor Documentation

SignallingFactory ( bool  fallback = false  ) 

Constructor, adds the factory to the global list

Parameters:
fallback True to add this factory at the end of the priority list
virtual ~SignallingFactory (  )  [virtual]

Destructor, removes the factory from list


Member Function Documentation

static SignallingComponent* build ( const String type,
const NamedList name = 0 
) [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
static void* buildInternal ( const String type,
const NamedList name 
) [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
virtual SignallingComponent* create ( const String type,
const NamedList name 
) [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

The documentation for this class was generated from the following file:
Generated on Thu Apr 8 18:22:39 2010 for Yate by  doxygen 1.6.3