Go to the documentation of this file.
43 int get_num_children()
const;
45 MAKE_SEQ(get_children, get_num_children, get_child);
47 AnimGroup *get_child_named(
const std::string &name)
const;
48 AnimGroup *find_child(
const std::string &name)
const;
49 void sort_descendants();
51 MAKE_SEQ_PROPERTY(children, get_num_children, get_child);
57 virtual void output(std::ostream &out)
const;
58 virtual void write(std::ostream &out,
int indent_level)
const;
61 void write_descendants(std::ostream &out,
int indent_level)
const;
72 static void register_with_read_factory();
88 return get_class_type();
90 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
95 static void init_type() {
96 TypedWritableReferenceCount::init_type();
98 TypedWritableReferenceCount::get_class_type());
105 inline std::ostream &operator << (std::ostream &out,
const AnimGroup &anim) {
virtual void write_datagram(BamWriter *manager, Datagram &me)
Writes the contents of this object to the datagram for shipping out to a Bam file.
This is the root of an AnimChannel hierarchy.
This is our own Panda specialization on the default STL vector.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A class to retrieve the individual data elements previously stored in a Datagram.
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().
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
This is the fundamental interface for writing binary objects to a Bam file, to be extracted later by ...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Base class for objects that can be written to and read from Bam files.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
An instance of this class is passed to the Factory when requesting it to do its business and construc...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void output(std::ostream &out) const
Outputs the Namable.
This is the base class for AnimChannel and AnimBundle.
virtual void output(std::ostream &out) const
Writes a one-line description of the group.
A base class for all things which can have a name.
A base class for things which need to inherit from both TypedWritable and from ReferenceCount.
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...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.