16 #include "animBundle.h"
20 #include "datagramIterator.h"
21 #include "bamReader.h"
22 #include "bamWriter.h"
38 _num_frames(copy._num_frames)
65 output(ostream &out)
const {
66 out << get_type() <<
" " << get_name() <<
", " << get_num_frames()
67 <<
" frames at " << get_base_frame_rate() <<
" fps";
106 AnimGroup::fillin(scan, manager);
122 parse_params(params, scan, manager);
123 me->fillin(scan, manager);
PN_stdfloat get_stdfloat()
Extracts either a 32-bit or a 64-bit floating-point number, according to Datagram::set_stdfloat_doubl...
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.
virtual void write_datagram(BamWriter *manager, Datagram &me)
Function to write the important information in the particular object to a Datagram.
This is the fundamental interface for writing binary objects to a Bam file, to be extracted later by ...
virtual void write_datagram(BamWriter *manager, Datagram &me)
Function to write the important information in the particular object to a Datagram.
static TypedWritable * make_AnimBundle(const FactoryParams ¶ms)
Factory method to generate a AnimBundle object.
PN_uint16 get_uint16()
Extracts an unsigned 16-bit integer.
static void register_with_read_factory()
Factory method to generate a AnimBundle object.
void add_stdfloat(PN_stdfloat value)
Adds either a 32-bit or a 64-bit floating-point number, according to set_stdfloat_double().
This is the base class for AnimChannel and AnimBundle.
An instance of this class is passed to the Factory when requesting it to do its business and construc...
void register_factory(TypeHandle handle, CreateFunc *func)
Registers a new kind of thing the Factory will be able to create.
void add_uint16(PN_uint16 value)
Adds an unsigned 16-bit integer to the datagram.
static WritableFactory * get_factory()
Returns the global WritableFactory for generating TypedWritable objects.
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 ...