00001 // Filename: cycleData.cxx 00002 // Created by: drose (21Feb02) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved 00008 // 00009 // All use of this software is subject to the terms of the Panda 3d 00010 // Software license. You should have received a copy of this license 00011 // along with this source code; you will also find a current copy of 00012 // the license at http://www.panda3d.org/license.txt . 00013 // 00014 // To contact the maintainers of this program write to 00015 // panda3d@yahoogroups.com . 00016 // 00017 //////////////////////////////////////////////////////////////////// 00018 00019 #include "cycleData.h" 00020 00021 00022 //////////////////////////////////////////////////////////////////// 00023 // Function: CycleData::Destructor 00024 // Access: Public, Virtual 00025 // Description: 00026 //////////////////////////////////////////////////////////////////// 00027 CycleData:: 00028 ~CycleData() { 00029 } 00030 00031 //////////////////////////////////////////////////////////////////// 00032 // Function: CycleData::write_datagram 00033 // Access: Public, Virtual 00034 // Description: Writes the contents of this object to the datagram 00035 // for shipping out to a Bam file. 00036 //////////////////////////////////////////////////////////////////// 00037 void CycleData:: 00038 write_datagram(BamWriter *, Datagram &) const { 00039 } 00040 00041 //////////////////////////////////////////////////////////////////// 00042 // Function: CycleData::complete_pointers 00043 // Access: Public, Virtual 00044 // Description: Receives an array of pointers, one for each time 00045 // manager->read_pointer() was called in fillin(). 00046 // Returns the number of pointers processed. 00047 //////////////////////////////////////////////////////////////////// 00048 int CycleData:: 00049 complete_pointers(TypedWritable **, BamReader *) { 00050 return 0; 00051 } 00052 00053 //////////////////////////////////////////////////////////////////// 00054 // Function: CycleData::fillin 00055 // Access: Public, Virtual 00056 // Description: This internal function is intended to be called by 00057 // each class's make_from_bam() method to read in all of 00058 // the relevant data from the BamFile for the new 00059 // object. 00060 //////////////////////////////////////////////////////////////////// 00061 void CycleData:: 00062 fillin(DatagramIterator &, BamReader *) { 00063 } 00064