Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

auto_bind.cxx File Reference

#include "auto_bind.h"
#include "animBundleNode.h"
#include "partBundleNode.h"
#include "config_chan.h"
#include "string_utils.h"

Go to the source code of this file.

Typedefs

typedef pset< AnimBundleNode * > AnimNodes
typedef pmap< string, AnimNodesAnims
typedef pset< PartBundleNode * > PartNodes
typedef pmap< string, PartNodesParts

Functions

void bind_anims (const PartNodes &parts, const AnimNodes &anims, AnimControlCollection &controls, int hierarchy_match_flags)
void r_find_bundles (PandaNode *node, Anims &anims, Parts &parts)
void auto_bind (PandaNode *root_node, AnimControlCollection &controls, int hierarchy_match_flags)


Typedef Documentation

typedef pset<AnimBundleNode *> AnimNodes
 

Definition at line 26 of file auto_bind.cxx.

typedef pmap<string, AnimNodes> Anims
 

Definition at line 27 of file auto_bind.cxx.

Referenced by auto_bind().

typedef pset<PartBundleNode *> PartNodes
 

Definition at line 29 of file auto_bind.cxx.

typedef pmap<string, PartNodes> Parts
 

Definition at line 30 of file auto_bind.cxx.

Referenced by auto_bind().


Function Documentation

void auto_bind PandaNode root_node,
AnimControlCollection controls,
int  hierarchy_match_flags
 

Definition at line 127 of file auto_bind.cxx.

References Anims, bind_anims(), Parts, and r_find_bundles().

Referenced by herc_keys(), load_our_models(), and WindowFramework::loop_animations().

void bind_anims const PartNodes parts,
const AnimNodes anims,
AnimControlCollection controls,
int  hierarchy_match_flags
[static]
 

Definition at line 41 of file auto_bind.cxx.

References PartBundle::bind_anim(), AnimControlCollection::find_anim(), format_string(), index, NULL, PT, and AnimControlCollection::store_anim().

Referenced by auto_bind().

void r_find_bundles PandaNode node,
Anims anims,
Parts parts
[static]
 

Definition at line 99 of file auto_bind.cxx.

References DCAST, PandaNode::get_children(), PartBundleNode::get_class_type(), AnimBundleNode::get_class_type(), and TypedObject::is_of_type().

Referenced by auto_bind().


Generated on Fri Apr 18 00:10:24 2003 for Panda by doxygen1.3