Stg::Model::cb_t Class Reference

#include <stage.hh>

List of all members.

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.


Constructor & Destructor Documentation

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

Member Function Documentation

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

for placing in a sorted container

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

for searching in a sorted container


Member Data Documentation


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