Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

Public Types | Public Member Functions | Private Member Functions

PTextToSpeech Class Reference

Inheritance diagram for PTextToSpeech:
Inheritance graph
[legend]
Collaboration diagram for PTextToSpeech:
Collaboration graph
[legend]

List of all members.

Public Types

enum  TextType {
  Default, Literal, Digits, Number,
  Currency, Time, Date, Phone,
  IPAddress, Duration
}

Public Member Functions

virtual BOOL Close ()=0
virtual unsigned GetRate ()=0
virtual PStringArray GetVoiceList ()=0
virtual unsigned GetVolume ()=0
virtual BOOL IsOpen ()=0
virtual BOOL OpenChannel (PChannel *chanel)=0
virtual BOOL OpenFile (const PFilePath &fn)=0
virtual BOOL SetRate (unsigned rate)=0
virtual BOOL SetVoice (const PString &voice)=0
virtual BOOL SetVolume (unsigned volume)=0
virtual BOOL Speak (const PString &text, TextType hint=Default)=0
Miscellaneous functions
virtual PObjectClone () const
virtual PINDEX HashFunction () const

Private Member Functions

 PCLASSINFO (PTextToSpeech, PObject)

Comparison functions

enum  Comparison { LessThan = -1, EqualTo = 0, GreaterThan = 1 }
virtual Comparison Compare (const PObject &obj) const
virtual Comparison CompareObjectMemoryDirect (const PObject &obj) const
bool operator== (const PObject &obj) const
bool operator!= (const PObject &obj) const
bool operator< (const PObject &obj) const
bool operator> (const PObject &obj) const
bool operator<= (const PObject &obj) const
bool operator>= (const PObject &obj) const

Run Time Type functions

virtual const char * GetClass (unsigned=0) const
BOOL IsClass (const char *cls) const
virtual BOOL InternalIsDescendant (const char *clsName) const
static const char * Class ()

I/O functions

virtual void PrintOn (ostream &strm) const
virtual void ReadFrom (istream &strm)
ostream & operator<< (ostream &strm, const PObject &obj)
istream & operator>> (istream &strm, PObject &obj)

Detailed Description

Definition at line 62 of file ptts.h.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index