#include <gridclientrecurringeventthread.hpp>
Classes | |
| class | EventListener |
Public Member Functions | |
| GridClientRecurringEventThread (long refreshIntervalInMillis, EventListener &pLstnr) | |
| virtual | ~GridClientRecurringEventThread () |
Protected Member Functions | |
| void | onTimerHandler (const boost::system::error_code &error) |
Service class for threads with periodic actions.
| GridClientRecurringEventThread::GridClientRecurringEventThread | ( | long | refreshIntervalInMillis, | |
| EventListener & | pLstnr | |||
| ) | [inline] |
Constructor for thread - after this thread will notify listener on a periodic basis.
| pRefreshIntervalInSec | Interval in milliseconds between notifications. | |
| pLstnr | Listener to notify. |
| virtual GridClientRecurringEventThread::~GridClientRecurringEventThread | ( | ) | [inline, virtual] |
Virtual destructor - stops event thread before leave.
| void GridClientRecurringEventThread::onTimerHandler | ( | const boost::system::error_code & | error | ) | [inline, protected] |
Handler for Boost timer.
1.7.1