Stg::Model::stg_cb_t Class Reference

#include <stage.hh>

List of all members.

Public Member Functions

bool operator< (const stg_cb_t &other) const
bool operator== (const stg_cb_t &other) const
 stg_cb_t ()
 stg_cb_t (stg_world_callback_t cb, void *arg)
 stg_cb_t (stg_model_callback_t cb, void *arg)

Public Attributes

void * arg
stg_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::stg_cb_t::stg_cb_t ( stg_model_callback_t  cb,
void *  arg 
) [inline]
Stg::Model::stg_cb_t::stg_cb_t ( stg_world_callback_t  cb,
void *  arg 
) [inline]
Stg::Model::stg_cb_t::stg_cb_t (  )  [inline]

Member Function Documentation

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

for placing in a sorted container

bool Stg::Model::stg_cb_t::operator== ( const stg_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:

Generated on Tue Oct 20 15:42:06 2009 for Stage by  doxygen 1.6.1