1//
2// TimerTask.cpp
3//
4// Library: Util
5// Package: Timer
6// Module: TimerTask
7//
8// Copyright (c) 2009, Applied Informatics Software Engineering GmbH.
9// and Contributors.
10//
11// SPDX-License-Identifier: BSL-1.0
12//
13
14
15#include "Poco/Util/TimerTask.h"
16
17
18namespace Poco {
19namespace Util {
20
21
22TimerTask::TimerTask():
23 _lastExecution(0),
24 _isCancelled(false)
25{
26}
27
28
29TimerTask::~TimerTask()
30{
31}
32
33
34void TimerTask::cancel()
35{
36 _isCancelled = true;
37}
38
39
40} } // namespace Poco::Util
41