#include <timer.h>
Inherits Wt::Object.
Public Member Functions | |
Timer (Object *parent=0, const std::string &name="Timer::anon") | |
Create a timer. | |
bool | isActive () const |
int | start (int msec, bool sshot=false) |
void | changeInterval (int msec) |
void | stop () |
int | timerId () const |
Public Attributes | |
sigc::signal< void > | timeout |
Emitted when the timer is triggered. |
Wt::Timer::Timer | ( | Object * | parent = 0 , |
|
const std::string & | name = "Timer::anon" | |||
) |
Create a timer.
void Wt::Timer::changeInterval | ( | int | msec | ) |
bool Wt::Timer::isActive | ( | ) | const [inline] |
int Wt::Timer::start | ( | int | msec, | |
bool | sshot = false | |||
) |
void Wt::Timer::stop | ( | ) |
int Wt::Timer::timerId | ( | ) | const [inline] |
sigc::signal<void> Wt::Timer::timeout |
Emitted when the timer is triggered.
This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.