Panda3D
Public Member Functions
CycleData Class Reference

A single page of data maintained by a PipelineCycler. More...

#include "cycleData.h"

Inheritance diagram for CycleData:
GraphicsOutput::CData Lens::CData PandaNode::BoundsData Texture::CData

List of all members.

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)
 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, 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 TypeHandle get_parent_type () const
 Returns the type of the container that owns the CycleData.
virtual CycleDatamake_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 &) const
 Writes the contents of this object to the datagram for shipping out to a Bam file.
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.

Detailed Description

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.


Member Function Documentation

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 Texture::CData, and Lens::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.

Returns the type of the container that owns the CycleData.

This is useful mainly for debugging.

Reimplemented in Texture::CData, GraphicsOutput::CData, and Lens::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().

void CycleData::write_datagram ( BamWriter ,
Datagram  
) const [virtual]

Writes the contents of this object to the datagram for shipping out to a Bam file.

Reimplemented in Texture::CData, and Lens::CData.

Definition at line 34 of file cycleData.cxx.

Referenced by BamWriter::write_cdata().

void CycleData::write_datagram ( BamWriter ,
Datagram ,
void *  extra_data 
) const [virtual]

Writes the contents of this object to the datagram for shipping out to a Bam file.

Definition at line 44 of file cycleData.cxx.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations