VoiceMan
Public Types | Public Member Functions | List of all members
AbstractExecutorCallback Class Referenceabstract

The interface for executor event handlers. More...

Inheritance diagram for AbstractExecutorCallback:
VoicemanServer

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. More...
 

Detailed Description

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.

Member Function Documentation

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.

Parameters
[in]eventThe identifier about occurred event