#include <animGroup.h>
Inheritance diagram for AnimGroup:
Public Member Functions | |
AnimGroup (AnimGroup *parent, const string &name) | |
AnimGroup * | get_child (int n) const |
AnimGroup * | find_child (const string &name) const |
virtual TypeHandle | get_value_type () const |
void | sort_descendants () |
virtual void | write (ostream &out, int indent_level) const |
virtual void | write_datagram (BamWriter *manager, Datagram &me) |
virtual int | complete_pointers (TypedWritable **p_list, BamReader *manager) |
virtual TypeHandle | get_type () const |
virtual TypeHandle | force_init_type () |
Static Public Member Functions | |
void | register_with_read_factory (void) |
TypedWritable * | make_AnimGroup (const FactoryParams ¶ms) |
TypeHandle | get_class_type () |
void | init_type () |
Public Attributes | |
PUBLISHED | __pad0__: int get_num_children() const |
PUBLISHED | __pad1__: virtual void output(ostream &out) const |
Protected Types | |
typedef pvector< PT(AnimGroup) | Children ) |
Protected Member Functions | |
AnimGroup (const string &name="") | |
void | write_descendants (ostream &out, int indent_level) const |
void | fillin (DatagramIterator &scan, BamReader *manager) |
Protected Attributes | |
Children | _children |
AnimBundle * | _root |
Private Attributes | |
int | _num_children |
Static Private Attributes | |
TypeHandle | _type_handle |
|
Definition at line 69 of file animGroup.h. |
|
Definition at line 45 of file animGroup.h. |
|
Definition at line 44 of file animGroup.cxx. |
|
Reimplemented from TypedWritable. Definition at line 224 of file animGroup.cxx. References _children, _num_children, _root, DCAST, TypeHandle::get_name(), get_type(), and TypedWritable::Null. |
|
Reimplemented from TypedWritable. Reimplemented in AnimBundle, AnimChannelBase, AnimChannelMatrixXfmTable, and AnimChannelScalarTable. Definition at line 205 of file animGroup.cxx. References _num_children, DatagramIterator::get_string(), DatagramIterator::get_uint16(), BamReader::read_pointer(), and Namable::set_name(). Referenced by AnimChannelBase::fillin(), AnimBundle::fillin(), and make_AnimGroup(). |
|
Definition at line 81 of file animGroup.cxx. |
|
Reimplemented from TypedWritableReferenceCount. Reimplemented in AnimBundle, AnimChannel< SwitchType >, AnimChannelBase, AnimChannelFixed< SwitchType >, AnimChannelMatrixXfmTable, AnimChannelScalarTable, AnimChannel< ACScalarSwitchType >, and AnimChannel< ACMatrixSwitchType >. Definition at line 91 of file animGroup.h. References Namable::get_class_type(), and Namable::init_type(). |
|
Definition at line 69 of file animGroup.cxx. References _children, n, and NULL. Referenced by PartGroup::check_hierarchy(). |
|
Reimplemented from Namable. Reimplemented in AnimBundle, AnimChannel< SwitchType >, AnimChannelBase, AnimChannelFixed< SwitchType >, AnimChannelMatrixXfmTable, AnimChannelScalarTable, AnimChannel< ACScalarSwitchType >, and AnimChannel< ACMatrixSwitchType >. Definition at line 93 of file animGroup.h. Referenced by AnimChannelBase::force_init_type(), AnimBundle::force_init_type(), AnimChannelBase::get_type(), AnimBundle::get_type(), AnimChannelBase::init_type(), AnimBundle::init_type(), and register_with_read_factory(). |
|
Reimplemented from TypedWritableReferenceCount. Reimplemented in AnimBundle, AnimChannel< SwitchType >, AnimChannelBase, AnimChannelFixed< SwitchType >, AnimChannelMatrixXfmTable, AnimChannelScalarTable, AnimChannel< ACScalarSwitchType >, and AnimChannel< ACMatrixSwitchType >. Definition at line 88 of file animGroup.h. References Namable::get_class_type(). Referenced by complete_pointers(). |
|
Reimplemented in AnimChannel< SwitchType >, AnimChannelBase, AnimChannel< ACScalarSwitchType >, and AnimChannel< ACMatrixSwitchType >. Definition at line 106 of file animGroup.cxx. References TypeHandle::none(). Referenced by PartGroup::check_hierarchy(). |
|
Reimplemented from Namable. Reimplemented in AnimBundle, AnimChannel< SwitchType >, AnimChannelBase, AnimChannelFixed< SwitchType >, AnimChannelMatrixXfmTable, AnimChannelScalarTable, AnimChannel< ACScalarSwitchType >, and AnimChannel< ACMatrixSwitchType >. Definition at line 96 of file animGroup.h. References ReferenceCount::get_class_type(), TypedWritableReferenceCount::init_type(), and register_type(). Referenced by ConfigureFn(), AnimChannelBase::force_init_type(), AnimBundle::force_init_type(), AnimChannelBase::init_type(), and AnimBundle::init_type(). |
|
Definition at line 249 of file animGroup.cxx. References fillin(), params, and parse_params(). Referenced by register_with_read_factory(). |
|
Reimplemented in AnimBundle, AnimChannelMatrixXfmTable, and AnimChannelScalarTable. Definition at line 266 of file animGroup.cxx. References get_class_type(), BamReader::get_factory(), make_AnimGroup(), and Factory< TypedWritable >::register_factory(). Referenced by ConfigureFn(). |
|
Definition at line 129 of file animGroup.cxx. References _children. Referenced by AnimBundleMaker::make_bundle(). |
|
Reimplemented in AnimChannelMatrixXfmTable, and AnimChannelScalarTable. Definition at line 156 of file animGroup.cxx. References indent(), and write_descendants(). |
|
Implements TypedWritableReferenceCount. Reimplemented in AnimBundle, AnimChannelBase, AnimChannelMatrixXfmTable, and AnimChannelScalarTable. Definition at line 184 of file animGroup.cxx. References _children, Datagram::add_string(), Datagram::add_uint16(), Namable::get_name(), and BamWriter::write_pointer(). Referenced by AnimChannelBase::write_datagram(), and AnimBundle::write_datagram(). |
|
Definition at line 169 of file animGroup.cxx. References _children. Referenced by write(), AnimChannelScalarTable::write(), and AnimChannelMatrixXfmTable::write(). |
|
Reimplemented from Namable. Reimplemented in AnimBundle. Definition at line 52 of file animGroup.h. |
|
Definition at line 62 of file animGroup.h. |
|
Definition at line 70 of file animGroup.h. Referenced by AnimGroup(), complete_pointers(), find_child(), get_child(), sort_descendants(), AnimChannelScalarTable::write(), AnimChannelMatrixXfmTable::write(), write_datagram(), and write_descendants(). |
|
Definition at line 85 of file animGroup.h. Referenced by complete_pointers(), and fillin(). |
|
Definition at line 71 of file animGroup.h. Referenced by AnimGroup(), complete_pointers(), AnimChannelScalarTable::set_table(), and AnimChannelMatrixXfmTable::set_table(). |
|
Reimplemented from Namable. Reimplemented in AnimBundle, AnimChannel< SwitchType >, AnimChannelBase, AnimChannelFixed< SwitchType >, AnimChannelMatrixXfmTable, AnimChannelScalarTable, AnimChannel< ACScalarSwitchType >, and AnimChannel< ACMatrixSwitchType >. Definition at line 33 of file animGroup.cxx. |