44 INLINE
bool is_registered()
const;
47 INLINE
size_t get_num_sliders()
const;
49 MAKE_SEQ(get_sliders, get_num_sliders, get_slider);
50 INLINE
const SparseArray &get_slider_rows(
size_t n)
const;
54 INLINE
bool is_empty()
const;
56 MAKE_PROPERTY(modified, get_modified);
59 void set_slider_rows(
size_t n,
const SparseArray &rows);
60 void remove_slider(
size_t n);
63 void write(std::ostream &out)
const;
68 INLINE
void update_modified(
UpdateSeq modified,
Thread *current_thread);
83 SlidersByName _sliders_by_name;
88 class EXPCL_PANDA_GOBJ CData :
public CycleData {
91 INLINE CData(
const CData ©);
96 return SliderTable::get_class_type();
107 static void register_with_read_factory();
119 static void init_type() {
120 TypedWritableReferenceCount::init_type();
122 TypedWritableReferenceCount::get_class_type());
125 return get_class_type();
127 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
135INLINE std::ostream &operator << (std::ostream &out,
const SliderTable &obj);
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
This is the fundamental interface for writing binary objects to a Bam file, to be extracted later by ...
This template class calls PipelineCycler::read_unlocked(), and then provides a transparent read-only ...
This template class calls PipelineCycler::write() in the constructor and PipelineCycler::release_writ...
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 ...
An instance of this class is passed to the Factory when requesting it to do its business and construc...
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...
This class records a set of integers, where each integer is either present or not present in the set.
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.
A base class for things which need to inherit from both TypedWritable and from ReferenceCount.
Base class for objects that can be written to and read from Bam files.
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...
This is our own Panda specialization on the default STL list.
This is our own Panda specialization on the default STL map.
This is our own Panda specialization on the default STL vector.
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.
This class maintains different copies of a page of data between stages of the graphics pipeline (or a...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.