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

Public Member Functions | |
| Service (Trunk *trunk, int pri, size_t stack=keythreads.getStack()) | |
| Create a service thread on an existing trunk object. | |
| virtual timeout_t | stop (void) |
| request to stop a service and obtain default "delay" time to use for reset interval. | |
| virtual bool | isExiting (void) |
| Indicate if the service thread is exiting and/or can be deleted now. | |
| void | endService (void) |
| Invoke termination. | |
| virtual | ~Service () |
| Termination of service. | |
Protected Member Functions | |
| void | success (void) |
| Signal "successful" completion result. | |
| void | failure (void) |
| Signal "failure" completion result. | |
| void | dspReset (void) |
| Mark required dsp reset. | |
| void | setAudio (void) |
| Set audio marker. | |
| void | clrAudio (void) |
| Clear audio marker. | |
Protected Attributes | |
| volatile bool | stopped |
| trunkdata_t * | data |
| TrunkGroup * | group |
|
||||||||||||||||
|
Create a service thread on an existing trunk object.
|
|
|
Termination of service.
|
|
|
Clear audio marker.
|
|
|
Mark required dsp reset.
|
|
|
Invoke termination.
|
|
|
Signal "failure" completion result.
|
|
|
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.
|
|
|
request to stop a service and obtain default "delay" time to use for reset interval.
|
|
|
Signal "successful" completion result.
|
|
|
|
|
|
|
|
|
|
1.4.4