|
| ||||||||||||||||
A data source with a thread of its own
| ~ThreadedSource ()
| ~ThreadedSource |
[virtual]
The destructor, stops the thread
| bool start (const char *name = "ThreadedSource")
| start |
Starts the worker thread
Returns: True if started, false if an error occured
| void stop ()
| stop |
Stops and destroys the worker thread if running
| Thread * thread ()
| thread |
[const]
Return a pointer to the worker thread
Returns: Pointer to running worker thread or NULL
| ThreadedSource (const char *format = "slin")
| ThreadedSource |
[protected]
Threaded Source constructor
Parameters:
| format | Name of the data format, default "slin" (Signed Linear) |
| void run ()
| run |
[protected pure virtual]
The worker method. You have to reimplement it as you need
| void cleanup ()
| cleanup |
[protected virtual]
The cleanup after thread method
| Generated by: kk on nyx on Sat Jun 4 19:29:41 2005, using kdoc 2.0a54. |