sipxmedialib  Version 3.3
Protected Member Functions | Private Attributes | List of all members
StreamFormatDecoder Class Referenceabstract

#include <StreamFormatDecoder.h>

Inheritance diagram for StreamFormatDecoder:
Inheritance graph
[legend]
Collaboration diagram for StreamFormatDecoder:
Collaboration graph
[legend]

Public Member Functions

Creators
 StreamFormatDecoder (StreamDataSource *pDataSource)
 
virtual ~StreamFormatDecoder ()
 
Manipulators
virtual OsStatus init ()=0
 
virtual OsStatus free ()=0
 
virtual OsStatus begin ()=0
 
virtual OsStatus end ()=0
 
virtual OsStatus getFrame (unsigned short *pSamples)=0
 
void setListener (StreamDecoderListener *pListener)
 returns TRUE if a frame is available, otherwise false More...
 
Accessors
virtual OsStatus toString (UtlString &string)=0
 
StreamDataSourcegetDataSource ()
 
Inquiry
virtual UtlBoolean isDecoding ()=0
 
virtual UtlBoolean validDecoder ()=0
 

Protected Member Functions

 StreamFormatDecoder (const StreamFormatDecoder &rStreamFormatDecoder)
 
StreamFormatDecoderoperator= (const StreamFormatDecoder &rhs)
 
virtual void fireEvent (StreamDecoderEvent event)
 

Private Attributes

StreamDecoderListenermpListener
 
StreamDataSourcempDataSource
 

Constructor & Destructor Documentation

~StreamFormatDecoder ( )
virtual
StreamFormatDecoder ( const StreamFormatDecoder rStreamFormatDecoder)
protected

Member Function Documentation

virtual OsStatus init ( )
pure virtual
virtual OsStatus free ( )
pure virtual
virtual OsStatus begin ( )
pure virtual
virtual OsStatus end ( )
pure virtual
virtual OsStatus getFrame ( unsigned short *  pSamples)
pure virtual

Implemented in StreamQueueingFormatDecoder.

void setListener ( StreamDecoderListener pListener)

returns TRUE if a frame is available, otherwise false

virtual OsStatus toString ( UtlString &  string)
pure virtual
StreamDataSource * getDataSource ( )
virtual UtlBoolean isDecoding ( )
pure virtual
virtual UtlBoolean validDecoder ( )
pure virtual
StreamFormatDecoder & operator= ( const StreamFormatDecoder rhs)
protected
void fireEvent ( StreamDecoderEvent  event)
protectedvirtual

Member Data Documentation

StreamDecoderListener* mpListener
private
StreamDataSource* mpDataSource
private