PTLib Version 2.10.2
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]

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

References format.

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

References repeat.

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

References sampleFrequency.


Member Data Documentation

PINDEX PVXMLPlayable::delay [protected]

Referenced by GetDelay(), and PVXMLPlayable().

Referenced by SetFormat().

PINDEX PVXMLPlayable::repeat [protected]

Referenced by GetRepeat(), PVXMLPlayable(), and SetRepeat().

unsigned PVXMLPlayable::sampleFrequency [protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines