class DataConsumer

A data consumer More...

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

Public Methods


Detailed Description

A data consumer

 DataConsumer (const char *format = "slin")

DataConsumer

Consumer constructor

Parameters:
formatName of the data format, default "slin" (Signed Linear)

void  Consume (const DataBlock &data, unsigned long timeDelta)

Consume

[pure virtual]

Consumes the data sent to it from a source

Parameters:
dataThe raw data block to process; an empty block ends data
timeDeltaTimestamp increment of data - typically samples

DataSource * getConnSource ()

getConnSource

[const]

Get the data source of this object if it's connected

Returns: A pointer to the DataSource object or NULL

DataSource * getTransSource ()

getTransSource

[const virtual]

Get the data source of a translator object

Returns: A pointer to the DataSource object or NULL


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