VoiceMan
|
The interface for executor event handlers. More...
Public Types | |
enum | { Silence = 0, Stopped = 1, QueueLimit = 2 } |
Public Member Functions | |
virtual void | onExecutorEvent (int event)=0 |
The function to notify about new executor event. |
This class declares abstract interface to transmit notifications about events sent by executor process. The most important event is the notification there are no items in queue to say and it is silence now. In future notifications about speaking part of text also must be implemented.
virtual void AbstractExecutorCallback::onExecutorEvent | ( | int | event | ) | [pure virtual] |
This method notifies implementation new event was received from executor. ExecutorInterface class parses received information and provides event code. In future information provided by executor can be extended.
[in] | event | The identifier about occurred event |