SFeatureSplitterI Class Reference

Sends features to multiple feature callback targets. More...

#include <bsapi.h>

Inheritance diagram for SFeatureSplitterI:

SUnknownI SFeatureExtractionCallbackI List of all members.

Public Member Functions

virtual bool BSAPI_METHOD SetTarget (int index, SFeatureExtractionCallbackI *pTarget)=0
 Set target handlers.
virtual bool BSAPI_METHOD AddTarget (SFeatureExtractionCallbackI *pTarget)=0

Detailed Description

Sends features to multiple feature callback targets.

This class maintains an array of feature target handlers (instances of classes that implement the SFeatureExtractionCallbackI interface) and when the OnTranscription function is called, the call is routed to all handlers. This allows to connect multiple targets to all classes that send features.


Member Function Documentation

virtual bool BSAPI_METHOD SFeatureSplitterI::SetTarget ( int  index,
SFeatureExtractionCallbackI pTarget 
) [pure virtual]

Set target handlers.

Set target handlers. Each handler is characterized by its own index. Each handler can be disabled by calling this function with corresponding index and zero pointer.

Parameters:
index index that the programmer assings to the handler. It is not neccesary to use full series, but it is recommented to start with 0 and not to skip many values. It can slow down the tun.
pTarget pointer to feature handler.
Returns:
true if there is no memory allocation error


The documentation for this class was generated from the following file:
Generated on Wed Jul 15 10:10:08 2009 for BSAPI by  doxygen 1.4.7