36 nassertv(_tables.empty());
43 output(std::ostream &out)
const {
44 out << get_type() <<
" " << *
get_name();
51 write(std::ostream &out,
int indent_level)
const {
53 << *
this <<
" = " << get_slider() <<
"\n";
62 mark_modified(
Thread *current_thread) {
63 CDWriter cdata(_cycler,
true, current_thread);
67 for (ti = _tables.begin(); ti != _tables.end(); ++ti) {
68 (*ti)->update_modified(cdata->_modified, current_thread);
95 return new CData(*
this);
102 void VertexSlider::CData::
110 int VertexSlider::CData::
121 void VertexSlider::CData::
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
get_name
Returns the name of this particular slider.
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
std::ostream & indent(std::ostream &out, int indent_level)
A handy function for doing text formatting.
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().
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Encodes a string name in a hash table, mapping it to a pointer.
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 ...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
virtual void write_datagram(BamWriter *manager, Datagram &dg)
Writes the contents of this object to the datagram for shipping out to a Bam file.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.