STranscriptionSplitterI Class Reference

Allows to calls multiple transcription callback functions as one callback call. More...

#include <bsapi.h>

Inheritance diagram for STranscriptionSplitterI:

SUnknownI STransCallbackI List of all members.

Public Member Functions

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

Detailed Description

Allows to calls multiple transcription callback functions as one callback call.

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


Member Function Documentation

virtual bool BSAPI_METHOD STranscriptionSplitterI::SetTarget ( int  index,
STransCallbackI 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 transcription 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:17 2009 for BSAPI by  doxygen 1.4.7