15 #ifndef TRANSFORMTABLE_H
16 #define TRANSFORMTABLE_H
18 #include "pandabase.h"
19 #include "vertexTransform.h"
20 #include "typedWritableReferenceCount.h"
21 #include "pointerTo.h"
24 #include "cycleData.h"
25 #include "cycleDataReader.h"
26 #include "cycleDataWriter.h"
27 #include "pipelineCycler.h"
49 INLINE
bool is_registered()
const;
52 INLINE
int get_num_transforms()
const;
54 MAKE_SEQ(get_transforms, get_num_transforms, get_transform);
58 void remove_transform(
int n);
61 void write(ostream &out)
const;
66 INLINE
void update_modified(
UpdateSeq modified,
Thread *current_thread);
75 class EXPCL_PANDA_GOBJ CData :
public CycleData {
78 INLINE CData(
const CData ©);
83 return TransformTable::get_class_type();
94 static void register_with_read_factory();
106 static void init_type() {
107 TypedWritableReferenceCount::init_type();
108 register_type(_type_handle,
"TransformTable",
109 TypedWritableReferenceCount::get_class_type());
112 return get_class_type();
114 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
122 INLINE ostream &operator << (ostream &out,
const TransformTable &obj);
124 #include "transformTable.I"
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
A single page of data maintained by a PipelineCycler.
Base class for objects that can be written to and read from Bam files.
This is the fundamental interface for writing binary objects to a Bam file, to be extracted later by ...
This is our own Panda specialization on the default STL list.
This template class calls PipelineCycler::read_unlocked(), and then provides a transparent read-only ...
An instance of this class is passed to the Factory when requesting it to do its business and construc...
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 template class calls PipelineCycler::write() in the constructor and PipelineCycler::release_writ...
A base class for things which need to inherit from both TypedWritable and from ReferenceCount.
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...
A thread; that is, a lightweight process.
A class to retrieve the individual data elements previously stored in a Datagram. ...
virtual void write_datagram(BamWriter *, Datagram &) const
Writes the contents of this object to the datagram for shipping out to a Bam file.
TypeHandle is the identifier used to differentiate C++ class types.
This is a sequence number that increments monotonically.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...