Posted by SimEventQueue at the beginning of each clock tick. More...
#include <Simulation/SimEvents.H>
Public Member Functions | |
SimEventClockTick (SimModule *src, const SimTime &t) | |
Constuctor. | |
virtual | ~SimEventClockTick () |
Destructor. | |
const SimTime & | time () const |
Time at which the event was created. | |
virtual std::string | toString () const |
Show the time. |
Posted by SimEventQueue at the beginning of each clock tick.
A SimModule that registers a callback for this event type will have its callback triggered at every clock tick.
Definition at line 148 of file SimEvents.H.
Constuctor.
Definition at line 104 of file SimEvents.C.
SimEventClockTick::~SimEventClockTick | ( | ) | [virtual] |
Destructor.
Definition at line 108 of file SimEvents.C.
const SimTime & SimEventClockTick::time | ( | ) | const |
Time at which the event was created.
Definition at line 111 of file SimEvents.C.
std::string SimEventClockTick::toString | ( | ) | const [virtual] |
Show the time.
Reimplemented from SimEvent.
Definition at line 114 of file SimEvents.C.
References SimTime::msecs(), and sformat().