15 #ifndef CYCLEDATAWRITER_H 16 #define CYCLEDATAWRITER_H 18 #include "pandabase.h" 20 #include "cycleData.h" 21 #include "pipelineCycler.h" 22 #include "cycleDataLockedReader.h" 37 template<
class CycleDataType>
48 CycleDataType *locked_cdata,
56 INLINE ~CycleDataWriter();
61 INLINE
operator CycleDataType * ();
70 CycleDataType *_pointer;
71 #else // !DO_PIPELINING 73 CycleDataType *_pointer;
74 #endif // DO_PIPELINING 78 #include "cycleDataWriter.I" This class maintains different copies of a page of data between stages of the graphics pipeline (or a...
CycleDataType * operator->()
This provides an indirect member access to the actual CycleData data.
Thread * get_current_thread() const
Returns the Thread pointer of the currently-executing thread, as passed to the constructor of this ob...
static Thread * get_current_thread()
Returns a pointer to the currently-executing Thread object.
This template class calls PipelineCycler::read() in the constructor and PipelineCycler::release_read(...
This template class calls PipelineCycler::write() in the constructor and PipelineCycler::release_writ...
A thread; that is, a lightweight process.