|
PTLib Version 2.10.2
|
#include <vxml.h>
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 |
| 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 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.
Reimplemented in PVXMLPlayableData, and PVXMLPlayableFilename.
| virtual void PVXMLPlayable::SetRepeat | ( | PINDEX | v | ) | [inline, virtual] |
References repeat.
| void PVXMLPlayable::SetSampleFrequency | ( | unsigned | rate | ) | [inline] |
References sampleFrequency.
PString PVXMLPlayable::arg [protected] |
PBoolean PVXMLPlayable::autoDelete [protected] |
Referenced by PVXMLPlayable().
PINDEX PVXMLPlayable::delay [protected] |
Referenced by GetDelay(), and PVXMLPlayable().
PBoolean PVXMLPlayable::delayDone [protected] |
Referenced by PVXMLPlayable().
PString PVXMLPlayable::format [protected] |
Referenced by SetFormat().
PINDEX PVXMLPlayable::repeat [protected] |
Referenced by GetRepeat(), PVXMLPlayable(), and SetRepeat().
unsigned PVXMLPlayable::sampleFrequency [protected] |
Referenced by PVXMLPlayable(), and SetSampleFrequency().