PVXMLPlayable Class Reference

#include <vxml.h>

Inheritance diagram for PVXMLPlayable:

PObject PVXMLPlayableCommand PVXMLPlayableData PVXMLPlayableFilename PVXMLPlayableFilenameList PVXMLPlayableStop PVXMLPlayableURL PVXMLPlayableTone List of all members.

Public Member Functions

 PVXMLPlayable ()
virtual PBoolean Open (PVXMLChannel &, PINDEX delay, PINDEX repeat, PBoolean autoDelete)
virtual PBoolean Open (PVXMLChannel &chan, const PString &arg, PINDEX delay, PINDEX repeat, PBoolean 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 PBoolean ReadFrame (PVXMLChannel &channel, void *buf, PINDEX len)
virtual PBoolean Rewind (PChannel *)

Protected Attributes

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

Constructor & Destructor Documentation

PVXMLPlayable::PVXMLPlayable (  )  [inline]


Member Function Documentation

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

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

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 PBoolean PVXMLPlayable::Open ( PVXMLChannel chan,
const PString arg,
PINDEX  delay,
PINDEX  repeat,
PBoolean  v 
) [virtual]

Reimplemented in PVXMLPlayableURL, PVXMLPlayableData, PVXMLPlayableTone, and PVXMLPlayableFilename.

virtual PBoolean PVXMLPlayable::Open ( PVXMLChannel ,
PINDEX  delay,
PINDEX  repeat,
PBoolean  autoDelete 
) [virtual]

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

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

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

Reimplemented in PVXMLPlayableStop.

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

Reimplemented in PVXMLPlayableData, and PVXMLPlayableFilename.

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

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

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


Member Data Documentation

PString PVXMLPlayable::arg [protected]

PBoolean PVXMLPlayable::autoDelete [protected]

PINDEX PVXMLPlayable::delay [protected]

PBoolean PVXMLPlayable::delayDone [protected]

PString PVXMLPlayable::format [protected]

PINDEX PVXMLPlayable::repeat [protected]

unsigned PVXMLPlayable::sampleFrequency [protected]


The documentation for this class was generated from the following file:
Generated on Fri Oct 14 01:44:14 2011 for PTLib by  doxygen 1.4.7