Modules | Files | Inheritance Tree | Inheritance Graph | Name Index
module GNOME::Speech
interface EngineListener
Files: GNOME_Speech.idl
GNOME-Speech-EngineListener-inheritance GNOME-Speech-Recognition-RecognizerListener.html GNOME-Speech-Synthesis-SynthesizerListener.html GNOME-Speech-EventListener.html Bonobo-Listener.html Bonobo-Unknown.html

Interface defining methods to be called when state-change events for a speech engine occur. To receive engine events an application attaches a listener by calling the addEngineListener method of an Engine. A listener is removed by a call to the removeEngineListener method.

The event dispatch policy is defined in the documentation for the SpeechEvent class.

This interface is extended by the RecognizerListener and SynthesizerListener interfaces to handle the specialized events of speech recognizers and synthesizers.

See Also:
SpeechEvent
RecognizerListener
SynthesizerListener


Operations Summary:
 voidengineAllocated(in EngineEvent e)
 voidengineAllocatingResources(in EngineEvent e)
 voidengineDeallocated(in EngineEvent e)
 voidengineDeallocatingResources(in EngineEvent e)
 voidengineError(in EngineErrorEvent e)
 voidenginePaused(in EngineEvent e)
 voidengineResumed(in EngineEvent e)

Operations Inherited from Bonobo::Listener
event, unImplemented, unImplemented2

Operations Inherited from Bonobo::Unknown
ref, unref, queryInterface

Operation Details:
 void engineAllocated(in EngineEvent e)

The Engine has been allocated.

Parameters:
e - the EngineEvent causing this state change.
See Also:
EngineEvent#ENGINE_ALLOCATED


 void engineAllocatingResources(in EngineEvent e)

The Engine is being allocated.

Parameters:
e - the EngineEvent causing this state change.
See Also:
EngineEvent#ENGINE_ALLOCATING_RESOURCES


 void engineDeallocated(in EngineEvent e)

The Engine has been deallocated.

Parameters:
e - the EngineEvent causing this state change.
See Also:
EngineEvent#ENGINE_DEALLOCATED


 void engineDeallocatingResources(in EngineEvent e)

The Engine is being deallocated.

Parameters:
e - the EngineEvent causing this state change.
See Also:
EngineEvent#ENGINE_DEALLOCATING_RESOURCES


 void engineError(in EngineErrorEvent e)

An EngineErrorEvent has occurred and the Engine is unable to continue normal operation.

Parameters:
e - the EngineEvent causing this state change.
See Also:
EngineErrorEvent


 void enginePaused(in EngineEvent e)

The Engine has been paused.

Parameters:
e - the EngineEvent causing this state change.
See Also:
EngineEvent#ENGINE_PAUSED


 void engineResumed(in EngineEvent e)

The Engine has been resumed.

Parameters:
e - the EngineEvent causing this state change.
See Also:
EngineEvent#ENGINE_RESUMED