Stg::StgAncestor Class Reference
#include <stage.hh>
Inherited by Stg::StgModel, and Stg::StgWorld.
Detailed Description
Base class for StgModel and StgWorld
Public Member Functions | |
virtual void | AddChild (StgModel *mod) |
void | ForEachDescendant (stg_model_callback_t func, void *arg) |
virtual stg_pose_t | GetGlobalPose () |
virtual void | RemoveChild (StgModel *mod) |
void | SetToken (const char *str) |
const char * | Token () |
Public Attributes | |
unsigned int | child_type_counts [MODEL_TYPE_COUNT] |
Protected Attributes | |
GList * | children |
bool | debug |
char * | token |
Member Function Documentation
void StgAncestor::ForEachDescendant | ( | stg_model_callback_t | func, | |
void * | arg | |||
) |
recursively call func( model, arg ) for each descendant
Member Data Documentation
unsigned int Stg::StgAncestor::child_type_counts[MODEL_TYPE_COUNT] |
array contains the number of each type of child model
The documentation for this class was generated from the following files:
- stage.hh
- ancestor.cc
Generated on Wed Jul 30 11:36:06 2008 for Stage by 1.4.7