#include <AsyncOkPoll.h>
Public Member Functions | |
AsyncOkPoll (boost::asio::io_service &io_service, boost::posix_time::time_duration interval, boost::function< bool()> ok_fn) | |
Private Member Functions | |
void | handler (const boost::system::error_code &error) |
void | set () |
Private Attributes | |
boost::function< bool()> | fn_ |
boost::posix_time::time_duration | interval_ |
boost::asio::io_service & | io_service_ |
boost::asio::deadline_timer | timer_ |
Definition at line 39 of file AsyncOkPoll.h.
AsyncOkPoll::AsyncOkPoll | ( | boost::asio::io_service & | io_service, |
boost::posix_time::time_duration | interval, | ||
boost::function< bool()> | ok_fn | ||
) | [inline] |
Definition at line 41 of file AsyncOkPoll.h.
void AsyncOkPoll::handler | ( | const boost::system::error_code & | error | ) | [inline, private] |
Definition at line 59 of file AsyncOkPoll.h.
void AsyncOkPoll::set | ( | ) | [inline, private] |
Definition at line 53 of file AsyncOkPoll.h.
boost::function<bool()> AsyncOkPoll::fn_ [private] |
Definition at line 72 of file AsyncOkPoll.h.
boost::posix_time::time_duration AsyncOkPoll::interval_ [private] |
Definition at line 69 of file AsyncOkPoll.h.
boost::asio::io_service& AsyncOkPoll::io_service_ [private] |
Definition at line 71 of file AsyncOkPoll.h.
boost::asio::deadline_timer AsyncOkPoll::timer_ [private] |
Definition at line 70 of file AsyncOkPoll.h.