PVXMLPlayable Class Reference

#include <vxml.h>

Inheritance diagram for PVXMLPlayable:

PObject PVXMLPlayableCommand PVXMLPlayableData PVXMLPlayableFilename PVXMLPlayableFilenameList PVXMLPlayableURL

List of all members.

Public Member Functions

 PVXMLPlayable ()
virtual BOOL Open (PVXMLChannel &, PINDEX _delay, PINDEX _repeat, BOOL _autoDelete)
virtual BOOL Open (PVXMLChannel &chan, const PString &_arg, PINDEX _delay, PINDEX _repeat, BOOL v)
virtual void Play (PVXMLChannel &outgoingChannel)=0
virtual void OnRepeat (PVXMLChannel &)
virtual void OnStart ()
virtual void OnStop ()
virtual void SetRepeat (PINDEX v)
virtual PINDEX GetRepeat () const
virtual PINDEX GetDelay () const
void SetFormat (const PString &_fmt)
void SetSampleFrequency (unsigned _rate)
virtual BOOL ReadFrame (PVXMLChannel &channel, void *buf, PINDEX len)
virtual BOOL Rewind (PChannel *)

Protected Attributes

PString arg
PINDEX repeat
PINDEX delay
PString format
unsigned sampleFrequency
BOOL autoDelete
BOOL delayDone

Friends

class PVXMLChannel


Constructor & Destructor Documentation

PVXMLPlayable::PVXMLPlayable (  )  [inline]


Member Function Documentation

virtual BOOL PVXMLPlayable::Open ( PVXMLChannel ,
PINDEX  _delay,
PINDEX  _repeat,
BOOL  _autoDelete 
) [inline, virtual]

virtual BOOL PVXMLPlayable::Open ( PVXMLChannel chan,
const PString _arg,
PINDEX  _delay,
PINDEX  _repeat,
BOOL  v 
) [inline, virtual]

Reimplemented in PVXMLPlayableURL, PVXMLPlayableData, and PVXMLPlayableFilename.

virtual void PVXMLPlayable::Play ( PVXMLChannel outgoingChannel  )  [pure virtual]

Implemented in PVXMLPlayableURL, PVXMLPlayableData, PVXMLPlayableCommand, PVXMLPlayableFilename, and PVXMLPlayableFilenameList.

virtual void PVXMLPlayable::OnRepeat ( PVXMLChannel  )  [inline, virtual]

Reimplemented in PVXMLPlayableFilenameList.

virtual void PVXMLPlayable::OnStart (  )  [inline, virtual]

virtual void PVXMLPlayable::OnStop (  )  [inline, virtual]

Reimplemented in PVXMLPlayableCommand, PVXMLPlayableFilename, and PVXMLPlayableFilenameList.

virtual void PVXMLPlayable::SetRepeat ( PINDEX  v  )  [inline, virtual]

virtual PINDEX PVXMLPlayable::GetRepeat (  )  const [inline, virtual]

virtual PINDEX PVXMLPlayable::GetDelay (  )  const [inline, virtual]

void PVXMLPlayable::SetFormat ( const PString _fmt  )  [inline]

void PVXMLPlayable::SetSampleFrequency ( unsigned  _rate  )  [inline]

virtual BOOL PVXMLPlayable::ReadFrame ( PVXMLChannel channel,
void *  buf,
PINDEX  len 
) [virtual]

virtual BOOL PVXMLPlayable::Rewind ( PChannel  )  [inline, virtual]

Reimplemented in PVXMLPlayableData, and PVXMLPlayableFilename.


Friends And Related Function Documentation

friend class PVXMLChannel [friend]


Member Data Documentation

PString PVXMLPlayable::arg [protected]

PINDEX PVXMLPlayable::repeat [protected]

PINDEX PVXMLPlayable::delay [protected]

PString PVXMLPlayable::format [protected]

unsigned PVXMLPlayable::sampleFrequency [protected]

BOOL PVXMLPlayable::autoDelete [protected]

BOOL PVXMLPlayable::delayDone [protected]


The documentation for this class was generated from the following file:
Generated on Fri Sep 21 14:40:16 2007 for PWLib by  doxygen 1.5.3