Wt::TimerBlock Class Reference

Inheritance diagram for Wt::TimerBlock:

Inheritance graph
[legend]
Collaboration diagram for Wt::TimerBlock:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TimerBlock (int ms)
virtual bool operator() ()

Private Attributes

Time time
int ms

Detailed Description

Definition at line 244 of file application.cpp.


Constructor & Destructor Documentation

Wt::TimerBlock::TimerBlock ( int  ms  )  [inline]

Definition at line 246 of file application.cpp.

References Wt::Time::start(), and time.

00247             : ms(ms) {
00248         time.start();
00249     }

Here is the call graph for this function:


Member Function Documentation

virtual bool Wt::TimerBlock::operator() (  )  [inline, virtual]

Implements Wt::Application::Condition.

Definition at line 251 of file application.cpp.

References Wt::Time::elapsed(), ms, and time.

00251                               {
00252         return (time.elapsed() > ms);
00253     }

Here is the call graph for this function:


Member Data Documentation

int Wt::TimerBlock::ms [private]

Definition at line 257 of file application.cpp.

Referenced by operator()().

Time Wt::TimerBlock::time [private]

Definition at line 256 of file application.cpp.

Referenced by operator()(), and TimerBlock().


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

Generated Fri Jul 28 19:25:16 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.