Thread Class Reference
[Thread]

Starts a thread in which some work is done, providing start/stop control of the work. More...

#include <Thread.h>


Detailed Description

Starts a thread in which some work is done, providing start/stop control of the work.

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()

Author:
Antonio Franchi
Note:
See the example class IUseThread in exampleThread.cpp

Todo:
(Italian) Attaccarlo opzionalmente ad un fifoTerminal su cui fare trace.

The documentation for this class was generated from the following file:

Generated on Mon Feb 20 07:01:10 2017 for MIP by  doxygen 1.5.6