#include <stage.hh>
Public Member Functions | |
Event (usec_t time, Model *mod, model_callback_t cb, void *arg) | |
bool | operator< (const Event &other) const |
Public Attributes | |
void * | arg |
model_callback_t | cb |
Model * | mod |
model to pass into callback | |
usec_t | time |
time that event occurs |
Stg::World::Event::Event | ( | usec_t | time, |
Model * | mod, | ||
model_callback_t | cb, | ||
void * | arg | ||
) | [inline] |
bool World::Event::operator< | ( | const Event & | other | ) | const |
order by time. Break ties by value of Model*, then cb*.
event | to compare with this one. |
void* Stg::World::Event::arg |
model to pass into callback
time that event occurs