PWLib
1.10.10
|
#include <vxml.h>
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 |
PVXMLPlayable::PVXMLPlayable | ( | ) | [inline] |
References autoDelete, delay, delayDone, repeat, and sampleFrequency.
virtual PINDEX PVXMLPlayable::GetDelay | ( | ) | const [inline, virtual] |
References delay.
virtual PINDEX PVXMLPlayable::GetRepeat | ( | ) | const [inline, virtual] |
References repeat.
virtual void PVXMLPlayable::OnRepeat | ( | PVXMLChannel & | ) | [inline, virtual] |
Reimplemented in PVXMLPlayableFilenameList.
virtual void PVXMLPlayable::OnStart | ( | ) | [inline, virtual] |
virtual void PVXMLPlayable::OnStop | ( | ) | [inline, virtual] |
Reimplemented in PVXMLPlayableFilenameList, PVXMLPlayableFilename, and PVXMLPlayableCommand.
virtual BOOL PVXMLPlayable::Open | ( | PVXMLChannel & | , |
PINDEX | _delay, | ||
PINDEX | _repeat, | ||
BOOL | _autoDelete | ||
) | [inline, virtual] |
References autoDelete, delay, and repeat.
virtual BOOL PVXMLPlayable::Open | ( | PVXMLChannel & | chan, |
const PString & | _arg, | ||
PINDEX | _delay, | ||
PINDEX | _repeat, | ||
BOOL | v | ||
) | [inline, virtual] |
Reimplemented in PVXMLPlayableFilename, PVXMLPlayableData, and PVXMLPlayableURL.
Referenced by Open().
virtual void PVXMLPlayable::Play | ( | PVXMLChannel & | outgoingChannel | ) | [pure virtual] |
Implemented in PVXMLPlayableFilenameList, PVXMLPlayableFilename, PVXMLPlayableCommand, PVXMLPlayableData, and PVXMLPlayableURL.
virtual BOOL PVXMLPlayable::ReadFrame | ( | PVXMLChannel & | channel, |
void * | buf, | ||
PINDEX | len | ||
) | [virtual] |
virtual BOOL PVXMLPlayable::Rewind | ( | PChannel * | ) | [inline, virtual] |
Reimplemented in PVXMLPlayableFilename, and PVXMLPlayableData.
void PVXMLPlayable::SetFormat | ( | const PString & | _fmt | ) | [inline] |
References format.
virtual void PVXMLPlayable::SetRepeat | ( | PINDEX | v | ) | [inline, virtual] |
References repeat.
void PVXMLPlayable::SetSampleFrequency | ( | unsigned | _rate | ) | [inline] |
References sampleFrequency.
friend class PVXMLChannel [friend] |
PString PVXMLPlayable::arg [protected] |
Referenced by Open().
BOOL PVXMLPlayable::autoDelete [protected] |
Referenced by Open(), and PVXMLPlayable().
PINDEX PVXMLPlayable::delay [protected] |
Referenced by GetDelay(), Open(), and PVXMLPlayable().
BOOL PVXMLPlayable::delayDone [protected] |
Referenced by PVXMLPlayable().
PString PVXMLPlayable::format [protected] |
Referenced by SetFormat().
PINDEX PVXMLPlayable::repeat [protected] |
Referenced by GetRepeat(), Open(), PVXMLPlayable(), and SetRepeat().
unsigned PVXMLPlayable::sampleFrequency [protected] |
Referenced by PVXMLPlayable(), and SetSampleFrequency().