eosim::graphic::RefreshGraphic Class Reference
[Graphic Simulations]

#include <eosim/graphic/RefreshGraphic.hpp>

Inheritance diagram for eosim::graphic::RefreshGraphic:

Inheritance graph
[legend]
Collaboration diagram for eosim::graphic::RefreshGraphic:

Collaboration graph
[legend]
List of all members.

Detailed Description

C Event which refresh the graphics of a Display.

Author:
Sebastián Alaggia
Version:
1.1.1
Date:
2006
This is an auxiliary class used to invoke Display::advance. In RefreshGraphic::eventRoutine the time beat is calculated, and the Display is advanced correctly.
Note:
To make a graphical model this event must be the last registered CEvent in the model.


Public Member Functions

 RefreshGraphic (eosim::core::Model &model, Display &disp)
 This is the constructor a RefreshGraphic, linked to a model and to the Display which will be advanced.
 ~RefreshGraphic ()
 The destructor of RefreshGraphic.
void eventRoutine ()
 In this operation the time beat is calculated and the Display is advanced.


Member Function Documentation

void RefreshGraphic::eventRoutine (  )  [virtual]

In this operation the time beat is calculated and the Display is advanced.

Note:
This operation will show the simulation time in the title of the Display window. For that it uses the function Display::setTitle.

Implements eosim::core::CEvent.


Generated on Tue Oct 14 16:49:02 2008 for EOSimulator by  doxygen 1.5.2