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) {
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is the root of an AnimChannel hierarchy.
virtual void output(std::ostream &out) const
Writes a one-line description of the group.
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 base class for AnimChannel and AnimBundle.
static void register_with_read_factory()
Factory method to generate a AnimGroup object.
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 ...
A class to retrieve the individual data elements previously stored in a Datagram.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...
An instance of this class is passed to the Factory when requesting it to do its business and construc...
TypeHandle is the identifier used to differentiate C++ class types.
Base class for objects that can be written to and read from Bam files.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...