15 #ifndef CYCLEDATAREADER_H 16 #define CYCLEDATAREADER_H 18 #include "pandabase.h" 20 #include "cycleData.h" 21 #include "pipelineCycler.h" 40 template<
class CycleDataType>
51 INLINE ~CycleDataReader();
54 INLINE
operator const CycleDataType * ()
const;
55 INLINE
const CycleDataType *
p()
const;
64 const CycleDataType *_pointer;
65 CycleDataType *_write_pointer;
66 #else // !DO_PIPELINING 68 const CycleDataType *_pointer;
69 #endif // DO_PIPELINING 73 #include "cycleDataReader.I" const CycleDataType * p() const
This allows the CycleDataReader to be passed to any function that expects a const CycleDataType point...
This class maintains different copies of a page of data between stages of the graphics pipeline (or a...
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_unlocked(), and then provides a transparent read-only ...
A thread; that is, a lightweight process.
const CycleDataType * operator->() const
This provides an indirect member access to the actual CycleData data.