14#ifndef RECORDERFRAME_H
15#define RECORDERFRAME_H
32class EXPCL_PANDA_RECORDER RecorderFrame :
public TypedWritable {
34 INLINE RecorderFrame();
35 INLINE RecorderFrame(
double timestamp,
int frame,
37 INLINE ~RecorderFrame();
58 static TypedWritable *make_from_bam(
const FactoryParams ¶ms);
65 static void init_type() {
66 TypedWritable::init_type();
68 TypedWritable::get_class_type());
71 return get_class_type();
73 virtual TypeHandle force_init_type() {init_type();
return get_class_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 ...
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...
void play_frame(BamReader *manager)
Once the raw data has been read in from the session file, and the table has been decoded,...
static void register_with_read_factory()
Tells the BamReader how to create objects of type Lens.
This object is used by the RecorderController to write (and read) a record of the set of recorders in...
TypeHandle is the identifier used to differentiate C++ class types.
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.
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().
This is our own Panda specialization on the default STL list.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.