Go to the documentation of this file.
14 #ifndef CYCLEDATALOCKEDSTAGEREADER_H
15 #define CYCLEDATALOCKEDSTAGEREADER_H
26 template<
class CycleDataType>
43 INLINE
operator const CycleDataType * ()
const;
53 const CycleDataType *_pointer;
55 #else // !DO_PIPELINING
57 const CycleDataType *_pointer;
58 #endif // DO_PIPELINING
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class is similar to CycleDataLockedReader, except it allows reading from a particular stage of t...
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...
get_current_thread
Returns a pointer to the currently-executing Thread object.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Thread * get_current_thread() const
Returns the Thread pointer of the currently-executing thread, as passed to the constructor of this ob...
A thread; that is, a lightweight process.
This class maintains different copies of a page of data between stages of the graphics pipeline (or a...