Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

CycleData Class Reference

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

#include <cycleData.h>

Inheritance diagram for CycleData:

BoundedObject::CData DirectionalLight::CData GeomNode::CData Light::CData LODNode::CData NodePathComponent::CData PandaNode::CData PlaneNode::CData PointLight::CData RopeNode::CData SequenceNode::CData Spotlight::CData SwitchNode::CData List of all members.

Public Member Functions

 CycleData ()
virtual ~CycleData ()
virtual CycleData * make_copy () const=0
virtual void write_datagram (BamWriter *, Datagram &) const
 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().

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.


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 60 of file cycleData.h.


Constructor & Destructor Documentation

CycleData::CycleData  )  [inline]
 

Definition at line 31 of file cycleData.I.

CycleData::~CycleData  )  [virtual]
 

Definition at line 33 of file cycleData.cxx.


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 GeomNode::CData, and PandaNode::CData.

Definition at line 63 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 RopeNode::CData, DirectionalLight::CData, GeomNode::CData, Light::CData, LODNode::CData, PandaNode::CData, PlaneNode::CData, PointLight::CData, SequenceNode::CData, Spotlight::CData, and SwitchNode::CData.

Definition at line 82 of file cycleData.cxx.

virtual CycleData* CycleData::make_copy  )  const [pure virtual]
 

Implemented in BoundedObject::CData, RopeNode::CData, DirectionalLight::CData, GeomNode::CData, Light::CData, LODNode::CData, NodePathComponent::CData, PandaNode::CData, PlaneNode::CData, PointLight::CData, SequenceNode::CData, Spotlight::CData, and SwitchNode::CData.

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 RopeNode::CData, DirectionalLight::CData, GeomNode::CData, Light::CData, LODNode::CData, PandaNode::CData, PlaneNode::CData, PointLight::CData, SequenceNode::CData, Spotlight::CData, and SwitchNode::CData.

Definition at line 47 of file cycleData.cxx.


The documentation for this class was generated from the following files:
Generated on Fri May 2 00:49:07 2003 for Panda by doxygen1.3