#include <bayonne.h>
Inheritance diagram for Service:

Public Methods | |
| Service (Trunk *trunk, int pri) | |
| Create a service thread on an existing trunk object. More... | |
| virtual timeout_t | Stop (void) |
| request to stop a service and obtain default "delay" time to use for reset interval. More... | |
| virtual bool | isExiting (void) |
| Indicate if the service thread is exiting and/or can be deleted now. More... | |
| virtual | ~Service () |
| Termination of service. | |
Protected Methods | |
| void | Success (void) |
| Signal "successful" completion result. | |
| void | Failure (void) |
| Signal "failure" completion result. | |
| char* | getPrompt (char *name) |
| get a audio sample file name. More... | |
| char* | getPlayfile (void) |
| Get next name of entry in play list. More... | |
| void | dspReset (void) |
| Mark required dsp reset. | |
| void | setAudio (void) |
| Set audio marker. | |
| void | clrAudio (void) |
| Clear audio marker. | |
Protected Attributes | |
| volatile bool | stopped |
| Trunk* | trunk |
| TrunkGroup* | group |
| trunkdata_t* | data |
|
|
Create a service thread on an existing trunk object.
|
|
|
Termination of service.
|
|
|
Signal "failure" completion result.
|
|
|
request to stop a service and obtain default "delay" time to use for reset interval.
|
|
|
Signal "successful" completion result.
|
|
|
Clear audio marker.
|
|
|
Mark required dsp reset.
|
|
|
Get next name of entry in play list.
|
|
|
get a audio sample file name.
|
|
|
Indicate if the service thread is exiting and/or can be deleted now. If false, then it will be cleaned by the scheduler thread.
|
|
|
Set audio marker.
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.1 written by Dimitri van Heesch,
© 1997-2000