Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Timer Class Reference

#include <Timer.h>

List of all members.

Public Methods

 Timer (int miliseconds)
bool expired () const
void reset (int miliseconds)

Private Attributes

long alarmSecs
long alarmUSecs

Friends

ostream& operator< (ostream &ostr, const Timer &T)
istream& operator> (istream &istr, Timer &T)


Constructor & Destructor Documentation

Timer::Timer ( int miliseconds ) [inline]
 

Definition at line 53 of file Timer.h.


Member Function Documentation

bool Timer::expired ( ) const [inline]
 

Definition at line 61 of file Timer.h.

void Timer::reset ( int miliseconds ) [inline]
 

Definition at line 69 of file Timer.h.

Referenced by Timer(), and LogFileWatcher::setInterval().


Friends And Related Function Documentation

ostream & operator< ( ostream & ostr,
const Timer & T ) [friend]
 

Definition at line 82 of file Timer.h.

istream & operator> ( istream & istr,
Timer & T ) [friend]
 

Definition at line 89 of file Timer.h.


Member Data Documentation

long Timer::alarmSecs [private]
 

Definition at line 103 of file Timer.h.

long Timer::alarmUSecs [private]
 

Definition at line 103 of file Timer.h.


The documentation for this class was generated from the following file:
Generated at Tue Jun 19 09:50:09 2001 for Magnus Classes by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001