class TranslatorFactory

An unidirectional data translator (codec). More...

Contains pure virtuals
Full nameTelEngine::TranslatorFactory
Definition#include <telephony.h>
InheritsTelEngine::GenObject [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

A factory for constructing data translators by format name conversion of data from one type to another

 TranslatorFactory ()

TranslatorFactory

 ~TranslatorFactory ()

~TranslatorFactory

[virtual]

DataTranslator * create (const String &sFormat, const String &dFormat)

create

[pure virtual]

Creates a translator given the source and destination format names

Parameters:
sFormatName of the source format (data received from the consumer)
dFormatName of the destination format (data supplied to the source)

Returns: A pointer to a DataTranslator object or NULL

const TranslatorCaps * getCapabilities ()

getCapabilities

[const pure virtual]

Get the capabilities table of this translator

Returns: A pointer to the first element of the capabilities table


Generated by: kk on nyx on Sat Jun 4 19:29:41 2005, using kdoc 2.0a54.