fw4spl
Timer.cpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2015.
3  * Distributed under the terms of the GNU Lesser General Public License (LGPL) as
4  * published by the Free Software Foundation.
5  * ****** END LICENSE BLOCK ****** */
6 
7 #include "fwThread/Timer.hpp"
8 
9 namespace fwThread
10 {
11 
13 {
14 }
15 
16 Timer::~Timer()
17 {
18  this->stop();
19 }
20 
21 } //namespace fwThread
22 
FWTHREAD_API Timer()
Constructs a Timer. By default, a the Timer mode is repetitive.
Definition: Timer.cpp:12
virtual FWTHREAD_API void stop()
Stops the timer and cancel all pending operations.
Definition: Timer.hpp:44
This namespace fwThread provides few tools to execute asynchronous tasks on different threads...