#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... | |
void | endService (void) |
Invoke termination. More... | |
virtual | ~Service () |
Termination of service. More... | |
Protected Methods | |
void | Success (void) |
Signal "successful" completion result. More... | |
void | Failure (void) |
Signal "failure" completion result. More... | |
void | dspReset (void) |
Mark required dsp reset. More... | |
void | setAudio (void) |
Set audio marker. More... | |
void | clrAudio (void) |
Clear audio marker. More... | |
Protected Attributes | |
volatile bool | stopped |
trunkdata_t * | data |
TrunkGroup * | group |
|
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.
|
|
Invoke termination.
|
|
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.
|
|
|
|
|
|
|