#include <Thread.h>
Thread class, an example of inclusion in a class is given in exampleThread.cpp.
Automatically start a thread that by default does nothing, in every moment the including class is able to start and stop the "work()" state machine that has to be defined in the including class and linked at the startup by mean the two methods: setWork() and setObject(). Start/stop control is done by calling the startWork() and stopWork() methods.
Since the "work()" method may be interrupted at any moment, the class provides workClean() which must be linked by setWorkClean()