Inherits SpeakerInterface.
Public Member Functions | |
| Speaker () | |
| ~Speaker () | |
| virtual void | destroy (void) |
| virtual void | say (Speech *speech, Int priority, Int timeout, Int interrupt) |
| Submits speech to play. | |
| virtual void | say (Char *speechName, Int priority, Int timeout, Int interrupt) |
| virtual void | setPriority (Int priority) |
| Set speaker's priority level. | |
| virtual void | setDelay (Int delay) |
| Set speaker's delay between speeches( in milliseconds) | |
| virtual void | setBuffering (Int buffer_time) |
| Set speaker's amount of buffer (in milliseconds) | |
| virtual Int | getPriority (void) |
| Get speaker's priority level. | |
| virtual Int | getDelay (void) |
| Get speaker's delay between speeches( in milliseconds) | |
| virtual Int | getBuffering (void) |
| Get speaker's amount of buffer (in milliseconds) | |
| virtual void | pause (void) |
| pause speaker | |
| virtual void | resume (void) |
| resume speaking | |
| virtual void | stop (void) |
| stop speaking (flushes queue) | |
| virtual void | cancel (Speech *speech) |
| cancel pending line of dialog | |
| virtual Bool | hasSaid (Speech *speech) |
| is line of dialog no longer pending | |
| virtual Bool | isGoingToSay (Speech *speech) |
| check in line of dialog is pending | |
| virtual Bool | isTalking (void) |
| is speaker talking | |
| virtual Speech * | saying (void) |
| returns currently spoken speech | |
| virtual void | update (void) |
| Service speaker. | |
| void | init (char *name, Int priority, Int btime, Int delay) |
| initialized speaker for use | |
| void | deinit (void) |
| void | setManager (SpeechManager *manager) |
| SpeechItem * | firstItem (TimeStamp now=0) |
| SpeechItem * | nextItem (SpeechItem *item, TimeStamp now=0) |
| SpeechItem * | findItem (Speech *speech) |
| void | flush (void) |
Definition at line 141 of file GameSpeech.cpp.
| Speaker::Speaker | ( | ) |
Definition at line 1100 of file GameSpeech.cpp.
| Speaker::~Speaker | ( | ) |
Definition at line 1114 of file GameSpeech.cpp.
|
virtual |
cancel pending line of dialog
Definition at line 1579 of file GameSpeech.cpp.
| void Speaker::deinit | ( | void | ) |
Definition at line 1144 of file GameSpeech.cpp.
|
virtual |
Delete and free speaker
Definition at line 1260 of file GameSpeech.cpp.
| SpeechItem * Speaker::findItem | ( | Speech * | speech | ) |
Definition at line 1223 of file GameSpeech.cpp.
| SpeechItem * Speaker::firstItem | ( | TimeStamp | now = 0 | ) |
Definition at line 1160 of file GameSpeech.cpp.
| void Speaker::flush | ( | void | ) |
Definition at line 1245 of file GameSpeech.cpp.
|
virtual |
Get speaker's amount of buffer (in milliseconds)
Definition at line 1469 of file GameSpeech.cpp.
|
virtual |
Get speaker's delay between speeches( in milliseconds)
Definition at line 1451 of file GameSpeech.cpp.
|
virtual |
Get speaker's priority level.
Definition at line 1433 of file GameSpeech.cpp.
is line of dialog no longer pending
Definition at line 1595 of file GameSpeech.cpp.
initialized speaker for use
Definition at line 1123 of file GameSpeech.cpp.
check in line of dialog is pending
Definition at line 1604 of file GameSpeech.cpp.
|
virtual |
is speaker talking
Definition at line 1613 of file GameSpeech.cpp.
| SpeechItem * Speaker::nextItem | ( | SpeechItem * | item, |
| TimeStamp | now = 0 ) |
Definition at line 1189 of file GameSpeech.cpp.
|
virtual |
pause speaker
Definition at line 1479 of file GameSpeech.cpp.
|
virtual |
resume speaking
Definition at line 1514 of file GameSpeech.cpp.
Definition at line 1273 of file GameSpeech.cpp.
Submits speech to play.
Definition at line 1283 of file GameSpeech.cpp.
|
virtual |
returns currently spoken speech
Definition at line 1622 of file GameSpeech.cpp.
|
virtual |
Set speaker's amount of buffer (in milliseconds)
Definition at line 1460 of file GameSpeech.cpp.
|
virtual |
Set speaker's delay between speeches( in milliseconds)
Definition at line 1442 of file GameSpeech.cpp.
|
inline |
Definition at line 194 of file GameSpeech.cpp.
|
virtual |
Set speaker's priority level.
Definition at line 1414 of file GameSpeech.cpp.
|
virtual |
stop speaking (flushes queue)
Definition at line 1553 of file GameSpeech.cpp.
|
virtual |
Service speaker.
Definition at line 1348 of file GameSpeech.cpp.