Panda3D
|
A single page of data maintained by a PipelineCycler. More...
#include "cycleData.h"
Public Member Functions | |
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(). | |
virtual void | fillin (DatagramIterator &scan, BamReader *manager, void *extra_data) |
This internal function is intended to be called by each class's make_from_bam() method to read in all of the relevant data from the BamFile for the new object. | |
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 of the relevant data from the BamFile for the new object. | |
virtual TypeHandle | get_parent_type () const |
Returns the type of the container that owns the CycleData. | |
virtual CycleData * | make_copy () const =0 |
virtual void | output (ostream &out) const |
Formats the contents of the CycleData in some meaningful way for humans. | |
virtual void | write_datagram (BamWriter *, Datagram &, void *extra_data) const |
Writes the contents of this object to the datagram for shipping out to a Bam file. | |
virtual void | write_datagram (BamWriter *, Datagram &) const |
Writes the contents of this object to the datagram for shipping out to a Bam file. |
A single page of data maintained by a PipelineCycler.
Normally you should inherit from this class to define the data structures that are important to protect between stages of a pipeline. See PipelineCycler.
Definition at line 50 of file cycleData.h.
int CycleData::complete_pointers | ( | TypedWritable ** | p_list, |
BamReader * | manager | ||
) | [virtual] |
Receives an array of pointers, one for each time manager->read_pointer() was called in fillin().
Returns the number of pointers processed.
Reimplemented in Texture::CData.
Definition at line 55 of file cycleData.cxx.
void CycleData::fillin | ( | DatagramIterator & | scan, |
BamReader * | manager | ||
) | [virtual] |
This internal function is intended to be called by each class's make_from_bam() method to read in all of the relevant data from the BamFile for the new object.
Reimplemented in Lens::CData, and Texture::CData.
Definition at line 68 of file cycleData.cxx.
Referenced by BamReader::read_cdata().
void CycleData::fillin | ( | DatagramIterator & | scan, |
BamReader * | manager, | ||
void * | extra_data | ||
) | [virtual] |
This internal function is intended to be called by each class's make_from_bam() method to read in all of the relevant data from the BamFile for the new object.
Definition at line 81 of file cycleData.cxx.
TypeHandle CycleData::get_parent_type | ( | ) | const [virtual] |
Returns the type of the container that owns the CycleData.
This is useful mainly for debugging.
Reimplemented in GraphicsOutput::CData, Lens::CData, and Texture::CData.
Definition at line 91 of file cycleData.cxx.
References TypeHandle::none().
Referenced by PipelineCyclerTrivialImpl::get_parent_type(), and output().
void CycleData::output | ( | ostream & | out | ) | const [virtual] |
Formats the contents of the CycleData in some meaningful way for humans.
This is useful mainly for debugging.
Definition at line 103 of file cycleData.cxx.
References get_parent_type().
Writes the contents of this object to the datagram for shipping out to a Bam file.
Definition at line 44 of file cycleData.cxx.
Writes the contents of this object to the datagram for shipping out to a Bam file.
Reimplemented in Lens::CData, and Texture::CData.
Definition at line 34 of file cycleData.cxx.
Referenced by BamWriter::write_cdata().