Public Member Functions | Public Attributes | List of all members
Stg::Model::cb_t Class Reference

#include <stage.hh>

Public Member Functions

 cb_t (model_callback_t cb, void *arg)
 
 cb_t (world_callback_t cb, void *arg)
 
 cb_t ()
 
bool operator< (const cb_t &other) const
 
bool operator== (const cb_t &other) const
 

Public Attributes

void * arg
 
model_callback_t callback
 

Detailed Description

container for a callback function and a single argument, so they can be stored together in a list with a single pointer.

Definition at line 1785 of file stage.hh.

Constructor & Destructor Documentation

Stg::Model::cb_t::cb_t ( model_callback_t  cb,
void *  arg 
)
inline

Definition at line 1791 of file stage.hh.

Stg::Model::cb_t::cb_t ( world_callback_t  cb,
void *  arg 
)
inline

Definition at line 1794 of file stage.hh.

Stg::Model::cb_t::cb_t ( )
inline

Definition at line 1797 of file stage.hh.

Member Function Documentation

bool Stg::Model::cb_t::operator< ( const cb_t other) const
inline

for placing in a sorted container

Definition at line 1800 of file stage.hh.

bool Stg::Model::cb_t::operator== ( const cb_t other) const
inline

for searching in a sorted container

Definition at line 1809 of file stage.hh.

Member Data Documentation

void* Stg::Model::cb_t::arg

Definition at line 1789 of file stage.hh.

model_callback_t Stg::Model::cb_t::callback

Definition at line 1788 of file stage.hh.


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


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