Main Page | Class Hierarchy | Class List | File List | Class Members

EventClock Class Reference

Event clock. More...

#include <EventClock.h>

List of all members.

Public Types

typedef unsigned long long tTime
 The datatype for time.

Public Member Functions

 EventClock ()
 Constructor.
void Update ()
 Sets the time to now.
unsigned long long GetTime ()
 Returns the clock in milliseconds.
void Report (const std::string &name, std::ostream &out, int ccindent=0) const
 Writes a report of this object to the given stream. This is mainly useful for debugging.


Detailed Description

Event clock.

An object of this class is used to model the time reference for the application.

The time reference is updated by the MainLoop when new events (EventInterface timeout or active IOInterface filehandles) need to be dispatched. That means that all events dispatched in that round perceive the same time (returned by the GetTime() method).


The documentation for this class was generated from the following file:
Generated on Wed Jun 1 09:19:07 2005 for libmip by doxygen 1.3.8