ZooReferee
[Zoo]
Detailed Description
Description: An addon to the Stage plugin for Zoo functionality. Author: Adam Lein Date: July 14, 2005
|
Defines |
#define | ZOOREF_CREATE "zooref_create" |
#define | ZOOREF_SCORE_FIG_NAME "zooref_score_fig" |
Typedefs |
typedef ZooReferee *(* | zooref_create_t )(ConfigFile *, int, ZooDriver *) |
Functions |
static int | ZooReferee::draw_double_cb (stg_model_t *, const char *pname, const double *sdata, size_t siz) |
static int | ZooReferee::draw_int_cb (stg_model_t *, const char *pname, const int *sdata, size_t siz) |
static int | ZooReferee::draw_run_ind_cb (stg_model_t *, const char *pname, const stg_msec_t *data) |
virtual void | ZooReferee::Startup (void) |
| ZooReferee::ZooReferee (ConfigFile *, int, ZooDriver *) |
Variables |
static ZooDriver * | ZooReferee::zoo = NULL |
Define Documentation
#define ZOOREF_CREATE "zooref_create" |
|
#define ZOOREF_SCORE_FIG_NAME "zooref_score_fig" |
|
Typedef Documentation
Function Documentation
int ZooReferee::draw_double_cb |
( |
stg_model_t * |
mod, |
|
|
const char * |
propname, |
|
|
const double * |
data, |
|
|
size_t |
siz |
|
) |
[static, inherited] |
|
|
Stock callback for drawing (arrays of) doubles. - Parameters:
-
| siz | (number of elements) * sizeof(double) |
|
int ZooReferee::draw_int_cb |
( |
stg_model_t * |
mod, |
|
|
const char * |
propname, |
|
|
const int * |
data, |
|
|
size_t |
siz |
|
) |
[static, inherited] |
|
|
Stock callback for drawing (arrays of) ints. - Parameters:
-
| siz | (number of elements) * sizeof(int) |
|
int ZooReferee::draw_run_ind_cb |
( |
stg_model_t * |
mod, |
|
|
const char * |
propname, |
|
|
const stg_msec_t * |
datum |
|
) |
[static, inherited] |
|
|
Callback to draw an indicator that a robot's controller has been run or stopped. |
void ZooReferee::Startup |
( |
void |
|
) |
[virtual, inherited] |
|
|
Called by Zoo when everything is ready to start. I should use this opportunity to start controllers for the initial batch of robots.
I also like to draw little green circles around robots when a controller is connected; attach a callback for this purpose here. |
ZooReferee::ZooReferee |
( |
ConfigFile * |
cf, |
|
|
int |
section, |
|
|
ZooDriver * |
zd |
|
) |
[inherited] |
|
Variable Documentation
Generated on Thu Dec 13 14:35:18 2007 for Stage by
1.4.6