15 #ifndef CYCLEDATALOCKEDSTAGEREADER_H 16 #define CYCLEDATALOCKEDSTAGEREADER_H 18 #include "pandabase.h" 20 #include "cycleData.h" 21 #include "pipelineCycler.h" 29 template<
class CycleDataType>
40 INLINE ~CycleDataLockedStageReader();
43 INLINE
operator const CycleDataType * ()
const;
53 const CycleDataType *_pointer;
55 #else // !DO_PIPELINING 57 const CycleDataType *_pointer;
58 #endif // DO_PIPELINING 62 #include "cycleDataLockedStageReader.I" This class maintains different copies of a page of data between stages of the graphics pipeline (or a...
const CycleDataType * operator->() const
This provides an indirect member access to the actual CycleData data.
const CycleDataType * take_pointer()
This is intended to be called only from CycleDataStageWriter when it elevates the pointer from read t...
static Thread * get_current_thread()
Returns a pointer to the currently-executing Thread object.
This class is similar to CycleDataLockedReader, except it allows reading from a particular stage of t...
A thread; that is, a lightweight process.
Thread * get_current_thread() const
Returns the Thread pointer of the currently-executing thread, as passed to the constructor of this ob...