#include <yatephone.h>
Inheritance diagram for ThreadedSource:
Public Member Functions | |
virtual | ~ThreadedSource () |
bool | start (const char *name="ThreadedSource", Thread::Priority prio=Thread::Normal) |
void | stop () |
Thread * | thread () const |
Protected Member Functions | |
ThreadedSource (const char *format="slin") | |
virtual void | run ()=0 |
virtual void | cleanup () |
Friends | |
class | ThreadedSourcePrivate |
|
The destructor, stops the thread |
|
Threaded Source constructor
|
|
The cleanup after thread method |
|
The worker method. You have to reimplement it as you need |
|
Starts the worker thread
|
|
Stops and destroys the worker thread if running |
|
Return a pointer to the worker thread
|