Go to the documentation of this file.
34 INLINE
explicit AnimBundle(
const std::string &name, PN_stdfloat fps,
int num_frames);
38 INLINE
double get_base_frame_rate()
const;
39 INLINE
int get_num_frames()
const;
41 MAKE_PROPERTY(base_frame_rate, get_base_frame_rate);
42 MAKE_PROPERTY(num_frames, get_num_frames);
44 virtual void output(std::ostream &out)
const;
67 return get_class_type();
69 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
73 static void init_type() {
74 AnimGroup::init_type();
76 AnimGroup::get_class_type());
83 inline std::ostream &operator <<(std::ostream &out,
const AnimBundle &bundle) {
virtual void write_datagram(BamWriter *manager, Datagram &me)
Writes the contents of this object to the datagram for shipping out to a Bam file.
virtual void output(std::ostream &out) const
Writes a one-line description of the group.
This is the root of an AnimChannel hierarchy.
static void register_with_read_factory()
Factory method to generate a AnimGroup object.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A class to retrieve the individual data elements previously stored in a Datagram.
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 ...
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.
An instance of this class is passed to the Factory when requesting it to do its business and construc...
This is the base class for AnimChannel and AnimBundle.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
virtual void output(std::ostream &out) const
Writes a one-line description of the group.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.