14 #ifndef CYCLEDATALOCKEDSTAGEREADER_H
15 #define CYCLEDATALOCKEDSTAGEREADER_H
26 template<
class CycleDataType>
43 INLINE
operator const CycleDataType * ()
const;
53 const CycleDataType *_pointer;
57 const CycleDataType *_pointer;
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.
Thread * get_current_thread() const
Returns the Thread pointer of the currently-executing thread, as passed to the constructor of this ob...
const CycleDataType * take_pointer()
This is intended to be called only from CycleDataStageWriter when it elevates the pointer from read t...
A thread; that is, a lightweight process.
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class maintains different copies of a page of data between stages of the graphics pipeline (or a...