_stg_world Struct Reference
[Internals]

#include <stage_internal.h>


Data Fields

int child_type_count [256]
gboolean destroy
stg_msec_t gui_interval
stg_msec_t gui_last_update
stg_msec_t gui_menu_interval
stg_msec_t gui_menu_last_update
stg_meters_t height
stg_id_t id
_stg_matrixmatrix
GHashTable * models
GHashTable * models_by_name
gboolean paused
double ppm
stg_msec_t real_interval_measured
GList * selected_models
stg_msec_t sim_interval
stg_msec_t sim_time
int subs
char * token
stg_msec_t wall_interval
stg_msec_t wall_last_update
stg_meters_t width
gui_window_twin

Field Documentation

int _stg_world::child_type_count[256]
 

the number of models of each type is counted so we can automatically generate names for them

gboolean _stg_world::destroy
 

this world should be destroyed ASAP

stg_msec_t _stg_world::gui_interval
 

real-time interval between GUI canvas updates

stg_msec_t _stg_world::gui_last_update
 

the wall-clock time of the last gui canvas update

stg_msec_t _stg_world::gui_menu_interval
 

real-time interval between GUI menu updates

stg_msec_t _stg_world::gui_menu_last_update
 

the wall-clock time of the last gui menu update

stg_meters_t _stg_world::height
 

y size of the world

stg_id_t _stg_world::id
 

Stage's unique identifier for this world.

struct _stg_matrix* _stg_world::matrix
 

occupancy quadtree for model raytracing

GHashTable* _stg_world::models
 

the models that make up the world, indexed by id

GHashTable* _stg_world::models_by_name
 

the models that make up the world, indexed by name

gboolean _stg_world::paused
 

the world only updates when this is zero

double _stg_world::ppm
 

the resolution of the world model in pixels per meter

stg_msec_t _stg_world::real_interval_measured
 

the wallclock-time interval elapsed between the last two updates - compare this with sim_interval to see the ratio of sim to real time

GList* _stg_world::selected_models
 

a list of models that are currently selected by the user

stg_msec_t _stg_world::sim_interval
 

this much simulated time elapses each step.

stg_msec_t _stg_world::sim_time
 

the current time in this world

int _stg_world::subs
 

the total number of subscriptions to all models

char* _stg_world::token
 

the name of this world

stg_msec_t _stg_world::wall_interval
 

real-time interval between updates - set this to zero for 'as fast as possible'

stg_msec_t _stg_world::wall_last_update
 

the wall-clock time of the last world update

stg_meters_t _stg_world::width
 

x size of the world

gui_window_t* _stg_world::win
 

the gui window associated with this world


The documentation for this struct was generated from the following file:
Generated on Thu Dec 13 13:55:22 2007 for Stage by  doxygen 1.4.6