Public Member Functions | Public Attributes | List of all members
Stg::World::Event Class Reference

#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
 
Modelmod
 model to pass into callback More...
 
usec_t time
 time that event occurs More...
 

Detailed Description

Definition at line 1041 of file stage.hh.

Constructor & Destructor Documentation

Stg::World::Event::Event ( usec_t  time,
Model mod,
model_callback_t  cb,
void *  arg 
)
inline

Definition at line 1045 of file stage.hh.

Member Function Documentation

bool World::Event::operator< ( const Event other) const

order by time. Break ties by value of Model*, then cb*.

Parameters
eventto compare with this one.

Definition at line 1173 of file world.cc.

Member Data Documentation

void* Stg::World::Event::arg

Definition at line 1051 of file stage.hh.

model_callback_t Stg::World::Event::cb

Definition at line 1050 of file stage.hh.

Model* Stg::World::Event::mod

model to pass into callback

Definition at line 1049 of file stage.hh.

usec_t Stg::World::Event::time

time that event occurs

Definition at line 1048 of file stage.hh.


The documentation for this class was generated from the following files:


stage
Author(s): Richard Vaughan , Brian Gerkey , Reed Hedges , Andrew Howard , Toby Collett , Pooya Karimian , Jeremy Asher , Alex Couture-Beil , Geoff Biggs , Rich Mattes , Abbas Sadat
autogenerated on Mon Jun 10 2019 15:06:12