Go to the documentation of this file.
14 #ifndef CYCLEDATAREADER_H
15 #define CYCLEDATAREADER_H
34 template<
class CycleDataType>
48 INLINE
operator const CycleDataType * ()
const;
49 INLINE
const CycleDataType *
p()
const;
58 const CycleDataType *_pointer;
59 CycleDataType *_write_pointer;
60 #else // !DO_PIPELINING
62 const CycleDataType *_pointer;
63 #endif // DO_PIPELINING
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...
get_current_thread
Returns a pointer to the currently-executing Thread object.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This template class calls PipelineCycler::read_unlocked(), and then provides a transparent read-only ...
const CycleDataType * operator->() const
This provides an indirect member access to the actual CycleData data.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
const CycleDataType * p() const
This allows the CycleDataReader to be passed to any function that expects a const CycleDataType point...
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...