7#ifndef ASIOLINK_INTERVAL_TIMER_H
8#define ASIOLINK_INTERVAL_TIMER_H 1
10#include <boost/shared_ptr.hpp>
18class IntervalTimerImpl;
135 boost::shared_ptr<IntervalTimerImpl> impl_;
The IntervalTimer class is a wrapper for the ASIO boost::asio::deadline_timer class.
~IntervalTimer()
The destructor.
long getInterval() const
Return the timer interval.
void cancel()
Cancel the timer.
std::function< void()> Callback
void setup(const Callback &cbfunc, const long interval, const Mode &mode=REPEATING)
Register timer callback function and interval.
Mode
Defines possible timer modes used to setup a timer.
A wrapper interface for the ASIO library.
boost::shared_ptr< isc::asiolink::IntervalTimer > IntervalTimerPtr
boost::shared_ptr< IOService > IOServicePtr
Defines a smart pointer to an IOService instance.
Defines the logger used by the top-level component of kea-lfc.