Stg::StgAncestor Class Reference
#include <stage.hh>
Inherited by Stg::StgModel, and Stg::StgWorld.
Detailed Description
Base class for StgModel and StgWorldPublic Member Functions | |
virtual void | AddChild (StgModel *mod) |
virtual stg_pose_t | GetGlobalPose () |
unsigned int | GetNumChildrenOfType (const char *typestr) |
void | IncrementNumChildrenOfType (const char *typestr) |
virtual void | PopColor ()=0 |
virtual void | PushColor (double r, double g, double b, double a)=0 |
virtual void | PushColor (stg_color_t col)=0 |
virtual void | RemoveChild (StgModel *mod) |
StgAncestor () | |
const char * | Token () |
virtual | ~StgAncestor () |
Protected Attributes | |
GHashTable * | child_types |
GList * | children |
bool | debug |
char * | token |
Friends | |
class | StgCanvas |
Constructor & Destructor Documentation
StgAncestor::StgAncestor | ( | ) |
References child_types, children, debug, and token.
StgAncestor::~StgAncestor | ( | ) | [virtual] |
References child_types, and children.
Member Function Documentation
void StgAncestor::AddChild | ( | StgModel * | mod | ) | [virtual] |
References children, IncrementNumChildrenOfType(), and Stg::StgModel::typestr.
Referenced by Stg::StgModel::StgModel().
stg_pose_t StgAncestor::GetGlobalPose | ( | ) | [virtual] |
Reimplemented in Stg::StgModel.
unsigned int StgAncestor::GetNumChildrenOfType | ( | const char * | typestr | ) |
void StgAncestor::IncrementNumChildrenOfType | ( | const char * | typestr | ) |
virtual void Stg::StgAncestor::PopColor | ( | ) | [pure virtual] |
Implemented in Stg::StgModel, and Stg::StgWorldGui.
virtual void Stg::StgAncestor::PushColor | ( | double | r, | |
double | g, | |||
double | b, | |||
double | a | |||
) | [pure virtual] |
Implemented in Stg::StgModel, and Stg::StgWorldGui.
virtual void Stg::StgAncestor::PushColor | ( | stg_color_t | col | ) | [pure virtual] |
Implemented in Stg::StgModel, and Stg::StgWorldGui.
void StgAncestor::RemoveChild | ( | StgModel * | mod | ) | [virtual] |
const char* Stg::StgAncestor::Token | ( | ) | [inline] |
References token.
Referenced by InterfaceModel::InterfaceModel(), Stg::StgBlock::Map(), Stg::StgModel::Print(), InterfacePosition::ProcessMessage(), Stg::StgModel::StgModel(), and Stg::StgBlock::UnMap().
Friends And Related Function Documentation
friend class StgCanvas [friend] |
Reimplemented in Stg::StgModel, and Stg::StgWorldGui.
Member Data Documentation
GHashTable* Stg::StgAncestor::child_types [protected] |
Referenced by GetNumChildrenOfType(), IncrementNumChildrenOfType(), StgAncestor(), and ~StgAncestor().
GList* Stg::StgAncestor::children [protected] |
Referenced by AddChild(), Stg::StgModel::Draw(), Stg::StgCanvas::draw(), Stg::StgModel::DrawBlocks(), Stg::StgModel::DrawPicker(), Stg::StgModel::GetUnsubscribedModelOfType(), Stg::StgModel::GPoseDirtyTree(), Stg::StgModel::IsDescendent(), Stg::StgModel::MapWithChildren(), Stg::StgCanvas::Select(), Stg::StgModel::SetParent(), StgAncestor(), Stg::StgModel::TreeToPtrArray(), Stg::StgModel::UnMapWithChildren(), ~StgAncestor(), and Stg::StgModel::~StgModel().
bool Stg::StgAncestor::debug [protected] |
char* Stg::StgAncestor::token [protected] |
Referenced by Stg::StgModel::DrawSelected(), Stg::StgModel::GetModel(), Stg::StgWorldGui::Load(), Stg::StgModelPosition::Load(), Stg::StgModel::Load(), Stg::StgModel::Print(), Stg::StgModel::PrintWithPose(), Stg::StgWorldGui::Save(), Stg::StgModel::Save(), StgAncestor(), Stg::StgModel::StgModel(), Token(), Stg::StgModel::Unsubscribe(), and Stg::StgModelPosition::Update().
The documentation for this class was generated from the following files:
Generated on Thu Jan 7 17:42:17 2010 for Stage by 1.5.5