Go to the documentation of this file.
14 #ifndef TRANSFORMBLENDTABLE_H
15 #define TRANSFORMBLENDTABLE_H
55 INLINE
size_t get_num_blends()
const;
57 MAKE_SEQ(get_blends, get_num_blends, get_blend);
61 void remove_blend(
size_t n);
64 INLINE
int get_num_transforms()
const;
65 INLINE
int get_max_simultaneous_transforms()
const;
71 void write(std::ostream &out,
int indent_level)
const;
73 MAKE_SEQ_PROPERTY(blends, get_num_blends, get_blend, set_blend, remove_blend);
74 MAKE_PROPERTY(modified, get_modified);
75 MAKE_PROPERTY(num_transforms, get_num_transforms);
76 MAKE_PROPERTY(max_simultaneous_transforms, get_max_simultaneous_transforms);
77 MAKE_PROPERTY(rows, get_rows, set_rows);
83 INLINE
void consider_rebuild_index()
const;
86 void recompute_modified(CData *cdata,
Thread *current_thread);
87 void clear_modified(
Thread *current_thread);
105 int _max_simultaneous_transforms;
110 class EXPCL_PANDA_GOBJ CData :
public CycleData {
113 INLINE CData(
const CData ©);
118 return TransformBlendTable::get_class_type();
131 static void register_with_read_factory();
143 static void init_type() {
144 CopyOnWriteObject::init_type();
146 CopyOnWriteObject::get_class_type());
149 return get_class_type();
151 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
This is a sequence number that increments monotonically.
A single page of data maintained by a PipelineCycler.
virtual TypeHandle get_parent_type() const
Returns the type of the container that owns the CycleData.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A class to retrieve the individual data elements previously stored in a Datagram.
This is our own Panda specialization on the default STL map.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is the fundamental interface for writing binary objects to a Bam file, to be extracted later by ...
Base class for objects that can be written to and read from Bam files.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...
virtual void write_datagram(BamWriter *, Datagram &) const
Writes the contents of this object to the datagram for shipping out to a Bam file.
get_current_thread
Returns a pointer to the currently-executing Thread object.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
An instance of this class is passed to the Factory when requesting it to do its business and construc...
This template class calls PipelineCycler::write() in the constructor and PipelineCycler::release_writ...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class records a set of integers, where each integer is either present or not present in the set.
This template class calls PipelineCycler::read_unlocked(), and then provides a transparent read-only ...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This base class provides basic reference counting, but also can be used with a CopyOnWritePointer to ...
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...
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.
This template class calls PipelineCycler::read() in the constructor and PipelineCycler::release_read(...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A thread; that is, a lightweight process.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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().