Go to the documentation of this file.
14 #ifndef CYCLEDATALOCKEDREADER_H
15 #define CYCLEDATALOCKEDREADER_H
39 template<
class CycleDataType>
56 INLINE
operator const CycleDataType * ()
const;
66 const CycleDataType *_pointer;
67 CycleDataType *_write_pointer;
68 #else // !DO_PIPELINING
70 const CycleDataType *_pointer;
71 #endif // DO_PIPELINING
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
get_current_thread
Returns a pointer to the currently-executing Thread object.
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...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This template class calls PipelineCycler::read() in the constructor and PipelineCycler::release_read(...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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 CycleDataWriter when it elevates the pointer from read to wri...
A thread; that is, a lightweight process.
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...