18 #include "pandabase.h" 20 #include "typedWritableReferenceCount.h" 21 #include "pointerTo.h" 46 int get_num_children()
const;
48 MAKE_SEQ(get_children, get_num_children, get_child);
50 AnimGroup *get_child_named(
const string &name)
const;
51 AnimGroup *find_child(
const string &name)
const;
52 void sort_descendants();
58 virtual void output(ostream &out)
const;
59 virtual void write(ostream &out,
int indent_level)
const;
62 void write_descendants(ostream &out,
int indent_level)
const;
73 static void register_with_read_factory();
89 return get_class_type();
91 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
96 static void init_type() {
97 TypedWritableReferenceCount::init_type();
98 register_type(_type_handle,
"AnimGroup",
99 TypedWritableReferenceCount::get_class_type());
106 inline ostream &operator << (ostream &out,
const AnimGroup &anim) {
111 #include "animGroup.I" virtual void output(ostream &out) const
Writes a one-line description of the group.
void output(ostream &out) const
Outputs the Namable.
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
This is the root of an AnimChannel hierarchy.
Base class for objects that can be written to and read from Bam files.
This is the fundamental interface for writing binary objects to a Bam file, to be extracted later by ...
virtual void fillin(DatagramIterator &scan, BamReader *manager)
This internal function is intended to be called by each class's make_from_bam() method to read in all...
virtual void write_datagram(BamWriter *manager, Datagram &dg)
Writes the contents of this object to the datagram for shipping out to a Bam file.
A base class for all things which can have a name.
This is the base class for AnimChannel and AnimBundle.
virtual int complete_pointers(TypedWritable **p_list, BamReader *manager)
Receives an array of pointers, one for each time manager->read_pointer() was called in fillin()...
An instance of this class is passed to the Factory when requesting it to do its business and construc...
A base class for things which need to inherit from both TypedWritable and from ReferenceCount.
A class to retrieve the individual data elements previously stored in a Datagram. ...
TypeHandle is the identifier used to differentiate C++ class types.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...