class SignallingFactory

A signalling component factory. More...

Contains pure virtuals
Full nameTelEngine::SignallingFactory
Definition#include <libs/ysig/yatesig.h>
InheritsTelEngine::GenObject [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Static Methods

Protected Methods


Detailed Description

A factory that constructs various elements by name

 SignallingFactory (bool fallback = false)

SignallingFactory

Constructor, adds the factory to the global list

Parameters:
fallbackTrue 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:
typeThe type of the component that should be returned
nameName 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:
typeThe name of the interface that should be returned
nameName 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:
typeThe name of the interface that should be returned
nameName of the requested component and additional parameters

Returns: Pointer to the created component


Generated by: paulc on bussard on Tue Apr 12 17:15:21 2011, using kdoc 2.0a54.