Public Member Functions | |
| Watchdog (int mins) | |
| void | run () |
Private Attributes | |
| long | sleepTime |
Class in charge of stopping the Sampling for all the DataPrinter objects that composes the BeanGrouper
A parameters consisting in minutes has to be passed to the constructor, and after that time has passed
the thread stops the sampling.
| cl::utfsm::samplingSystemUI::BeanGrouper::Watchdog::Watchdog | ( | int | mins | ) | [inline] |
Sets the period of time in which this BeanGrouper will sample, and sets to maximum this thread priority.
| mins |
References sleepTime.
| void cl::utfsm::samplingSystemUI::BeanGrouper::Watchdog::run | ( | ) | [inline] |
Starts the thread right away putting it to sleep for the minutes needed. Then, stops the sampling in the BeanGrouper.
References cl::utfsm::samplingSystemUI::BeanGrouper::isStopped, sleepTime, and cl::utfsm::samplingSystemUI::BeanGrouper::stopSample().
Referenced by run(), and Watchdog().
1.6.2