18 #include "pandabase.h"
19 #include "vertexSlider.h"
20 #include "typedWritableReferenceCount.h"
21 #include "pointerTo.h"
23 #include "cycleData.h"
24 #include "cycleDataReader.h"
25 #include "cycleDataWriter.h"
26 #include "pipelineCycler.h"
27 #include "sparseArray.h"
49 INLINE
bool is_registered()
const;
52 INLINE
int get_num_sliders()
const;
54 MAKE_SEQ(get_sliders, get_num_sliders, get_slider);
55 INLINE
const SparseArray &get_slider_rows(
int n)
const;
57 INLINE
const SparseArray &find_sliders(
const InternalName *name)
const;
58 INLINE
bool has_slider(
const InternalName *name)
const;
59 INLINE
bool is_empty()
const;
63 void set_slider_rows(
int n,
const SparseArray &rows);
64 void remove_slider(
int n);
67 void write(ostream &out)
const;
72 INLINE
void update_modified(
UpdateSeq modified,
Thread *current_thread);
92 class EXPCL_PANDA_GOBJ CData :
public CycleData {
95 INLINE CData(
const CData ©);
100 return SliderTable::get_class_type();
111 static void register_with_read_factory();
123 static void init_type() {
124 TypedWritableReferenceCount::init_type();
125 register_type(_type_handle,
"SliderTable",
126 TypedWritableReferenceCount::get_class_type());
129 return get_class_type();
131 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
139 INLINE ostream &operator << (ostream &out,
const SliderTable &obj);
141 #include "sliderTable.I"
This class records a set of integers, where each integer is either present or not present in the set...
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 an abstract base class that retains some slider value, which is a linear value that typically...
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 ...
Stores the total set of VertexSliders that the vertices in a particular GeomVertexData object might d...
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 ...