37class EXPCL_PANDA_GOBJ VertexSlider :
public TypedWritableReferenceCount {
40 virtual ~VertexSlider();
45 virtual PN_stdfloat get_slider()
const=0;
47 MAKE_PROPERTY(slider, get_slider);
50 virtual void output(std::ostream &out)
const;
51 virtual void write(std::ostream &out,
int indent_level)
const;
54 void mark_modified(
Thread *current_thread);
60 typedef pset<SliderTable *> Tables;
64 class EXPCL_PANDA_GOBJ CData :
public CycleData {
67 INLINE CData(
const CData ©);
73 return VertexSlider::get_class_type();
79 PipelineCycler<CData> _cycler;
80 typedef CycleDataReader<CData> CDReader;
81 typedef CycleDataWriter<CData> CDWriter;
87 void fillin(DatagramIterator &scan, BamReader *manager);
90 static TypeHandle get_class_type() {
93 static void init_type() {
94 TypedWritableReferenceCount::init_type();
96 TypedWritableReferenceCount::get_class_type());
98 virtual TypeHandle get_type()
const {
99 return get_class_type();
101 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
104 static TypeHandle _type_handle;
106 friend class SliderTable;
109INLINE std::ostream &operator << (std::ostream &out,
const VertexSlider &obj);
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.
A class to retrieve the individual data elements previously stored in a Datagram.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...
Encodes a string name in a hash table, mapping it to a pointer.
Stores the total set of VertexSliders that the vertices in a particular GeomVertexData object might d...
A thread; that is, a lightweight process.
get_current_thread
Returns a pointer to the currently-executing Thread object.
TypeHandle is the identifier used to differentiate C++ class types.
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().
This is a sequence number that increments monotonically.
This is an abstract base class that retains some slider value, which is a linear value that typically...
get_modified
Returns a sequence number that's guaranteed to change at least every time the value reported by get_s...
get_name
Returns the name of this particular slider.
This is our own Panda specialization on the default STL list.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.