Wt::Timer Class Reference

Timer handles known events that must happen (fairly) regularly. More...

#include <timer.h>

Inherits Wt::Object.

List of all members.

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.


Detailed Description

Timer handles known events that must happen (fairly) regularly.


Constructor & Destructor Documentation

Wt::Timer::Timer ( Object parent = 0,
const std::string &  name = "Timer::anon" 
)

Create a timer.


Member Function Documentation

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]


Member Data Documentation

sigc::signal<void> Wt::Timer::timeout

Emitted when the timer is triggered.


The documentation for this class was generated from the following files:

Generated Fri Jul 28 19:22:39 2006.
Copyright © 1998-2003 by the respective authors.

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.