15 #include "vertexSlider.h"
16 #include "vertexTransform.h"
17 #include "bamReader.h"
18 #include "bamWriter.h"
20 #include "sliderTable.h"
30 VertexSlider(
const InternalName *name) : _name(name) {
42 nassertv(_tables.empty());
51 output(ostream &out)
const {
52 out << get_type() <<
" " << *
get_name();
61 write(ostream &out,
int indent_level)
const {
62 indent(out, indent_level)
63 << *
this <<
" = " << get_slider() <<
"\n";
75 mark_modified(
Thread *current_thread) {
76 CDWriter cdata(_cycler,
true, current_thread);
80 for (ti = _tables.begin(); ti != _tables.end(); ++ti) {
81 (*ti)->update_modified(cdata->_modified, current_thread);
115 return new CData(*
this);
124 void VertexSlider::CData::
135 int VertexSlider::CData::
149 void VertexSlider::CData::
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 ...
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...
virtual void write_datagram(BamWriter *manager, Datagram &dg)
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()...
A thread; that is, a lightweight process.
A class to retrieve the individual data elements previously stored in a Datagram. ...
TypeHandle is the identifier used to differentiate C++ class types.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...
const InternalName * get_name() const
Returns the name of this particular slider.
virtual void write_datagram(BamWriter *manager, Datagram &dg)
Writes the contents of this object to the datagram for shipping out to a Bam file.