zoo.h File Reference
#include <libplayercore/playercore.h>
#include <stage.h>
#include "zoo_driver.h"
#include "zoo_species.h"
#include "zoo_controller.h"
#include "zoo_referee.h"
Go to the source code of this file.
|
Data Structures |
| struct | rmap_t |
Defines |
| #define | stg_model_add_property_callback(a, b, c, d) |
| #define | stg_model_add_property_toggles(a, b, c, d, e, f, g, h) |
| #define | stg_model_get_property_fixed(a, b, c) (0) |
| #define | stg_model_set_property(a, b, c, d) |
| #define | ZOO_CONTROLLER_SECTYPE "controller" |
| #define | ZOO_DEBUGMSG(f, a, b) PLAYER_MSG2(ZOO_DIAGNOSTIC_LEVEL, f, a, b) |
| #define | ZOO_DEFAULT_FREQUENCY 1 |
| #define | ZOO_DEFAULT_SPECIES "planktron" |
| #define | ZOO_DIAGNOSTIC_LEVEL 5 |
| #define | ZOO_DRIVER_NAME "zoo" |
| #define | ZOO_RUN_IND_PROP "zoo_run" |
| #define | ZOO_RUN_IND_TIME 5000 |
| #define | ZOO_SCORE_BUFFER_SIZE 256 |
| #define | ZOO_SCORE_LABEL "score from Zoo" |
| #define | ZOO_SCORE_PROPERTY_NAME "zoo_score" |
| #define | ZOO_SPECIES_SECTYPE "species" |
| #define | ZOOREF_CREATE "zooref_create" |
| #define | ZOOREF_SCORE_FIG_NAME "zooref_score_fig" |
Typedefs |
| typedef stg_model_callback_t | stg_property_callback_t |
| typedef ZooReferee *(* | zooref_create_t )(ConfigFile *, int, ZooDriver *) |
| typedef int(* | zooref_init_t )(ConfigFile *, int, ZooDriver *) |
| typedef int(* | zooref_score_draw_t )(stg_model_t *, const char *propname, const void *sdata, size_t, void *, int mindex) |
Functions |
| int | zoo_err (const char *,...) |
Variables |
| bool | player_quiet_startup |
Define Documentation
| #define stg_model_add_property_callback |
( |
a, |
|
|
b, |
|
|
c, |
|
|
d |
|
) |
|
|
| #define stg_model_add_property_toggles |
( |
a, |
|
|
b, |
|
|
c, |
|
|
d, |
|
|
e, |
|
|
f, |
|
|
g, |
|
|
h |
|
) |
|
|
| #define stg_model_get_property_fixed |
( |
a, |
|
|
b, |
|
|
c |
|
) |
(0) |
|
| #define stg_model_set_property |
( |
a, |
|
|
b, |
|
|
c, |
|
|
d |
|
) |
|
|
| #define ZOO_CONTROLLER_SECTYPE "controller" |
|
| #define ZOO_DEBUGMSG |
( |
f, |
|
|
a, |
|
|
b |
|
) |
PLAYER_MSG2(ZOO_DIAGNOSTIC_LEVEL, f, a, b) |
|
| #define ZOO_DEFAULT_FREQUENCY 1 |
|
| #define ZOO_DEFAULT_SPECIES "planktron" |
|
| #define ZOO_DIAGNOSTIC_LEVEL 5 |
|
| #define ZOO_DRIVER_NAME "zoo" |
|
| #define ZOO_RUN_IND_PROP "zoo_run" |
|
| #define ZOO_RUN_IND_TIME 5000 |
|
| #define ZOO_SCORE_BUFFER_SIZE 256 |
|
| #define ZOO_SCORE_LABEL "score from Zoo" |
|
| #define ZOO_SCORE_PROPERTY_NAME "zoo_score" |
|
| #define ZOO_SPECIES_SECTYPE "species" |
|
| #define ZOOREF_CREATE "zooref_create" |
|
| #define ZOOREF_SCORE_FIG_NAME "zooref_score_fig" |
|
Typedef Documentation
Function Documentation
| int zoo_err |
( |
const char * |
fmt, |
|
|
|
... |
|
) |
|
|
|
|
A variable-argument function that Zoo routines should call to report errors that wouldn't stop the simulation (use stg_err for ones that would). The parameters work just like printf. |
Variable Documentation
Generated on Mon Feb 27 23:30:51 2006 for Stage by
1.4.4