15 #ifndef VERTEXSLIDER_H 16 #define VERTEXSLIDER_H 18 #include "pandabase.h" 19 #include "typedWritableReferenceCount.h" 20 #include "internalName.h" 21 #include "updateSeq.h" 23 #include "cycleData.h" 24 #include "cycleDataReader.h" 25 #include "cycleDataWriter.h" 26 #include "pipelineCycler.h" 46 INLINE
const InternalName *get_name()
const;
48 virtual PN_stdfloat get_slider()
const=0;
51 virtual void output(ostream &out)
const;
52 virtual void write(ostream &out,
int indent_level)
const;
55 void mark_modified(
Thread *current_thread);
58 CPT(InternalName) _name;
65 class EXPCL_PANDA_GOBJ CData :
public CycleData {
68 INLINE CData(
const CData ©);
74 return VertexSlider::get_class_type();
94 static void init_type() {
95 TypedWritableReferenceCount::init_type();
96 register_type(_type_handle,
"VertexSlider",
97 TypedWritableReferenceCount::get_class_type());
100 return get_class_type();
102 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
110 INLINE ostream &operator << (ostream &out,
const VertexSlider &obj);
112 #include "vertexSlider.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.
virtual TypeHandle get_parent_type() const
Returns the type of the container that owns the CycleData.
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...
virtual void write_datagram(BamWriter *, Datagram &) const
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()...
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. ...
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 ...