|
| CycleDataStageWriter (const CycleDataStageWriter< CycleDataType > ©) |
|
| CycleDataStageWriter (CycleDataStageWriter< CycleDataType > &&from) noexcept |
|
| CycleDataStageWriter (PipelineCycler< CycleDataType > &cycler, int stage, bool force_to_0, Thread *current_thread=Thread::get_current_thread()) |
|
| CycleDataStageWriter (PipelineCycler< CycleDataType > &cycler, int stage, CycleDataLockedStageReader< CycleDataType > &take_from) |
| This flavor of the constructor elevates the pointer from the CycleDataLockedStageReader from a read to a write pointer (and invalidates the reader).
|
|
| CycleDataStageWriter (PipelineCycler< CycleDataType > &cycler, int stage, CycleDataLockedStageReader< CycleDataType > &take_from, bool force_to_0) |
| This flavor of the constructor elevates the pointer from the CycleDataLockedStageReader from a read to a write pointer (and invalidates the reader).
|
|
| CycleDataStageWriter (PipelineCycler< CycleDataType > &cycler, int stage, Thread *current_thread=Thread::get_current_thread()) |
|
Thread * | get_current_thread () const |
| Returns the Thread pointer of the currently-executing thread, as passed to the constructor of this object.
|
|
| operator CycleDataType * () |
| This allows the CycleDataStageWriter to be passed to any function that expects a CycleDataType pointer.
|
|
CycleDataType * | operator-> () |
| This provides an indirect member access to the actual CycleData data.
|
|
const CycleDataType * | operator-> () const |
| This provides an indirect member access to the actual CycleData data.
|
|
void | operator= (const CycleDataStageWriter< CycleDataType > ©) |
|
void | operator= (CycleDataStageWriter< CycleDataType > &&from) noexcept |
|
template<class CycleDataType>
class CycleDataStageWriter< CycleDataType >
This class is similar to CycleDataWriter, except it allows writing to a particular stage of the pipeline.
Usually this is used to implement writing directly to an upstream pipeline value, to recompute a cached value there (otherwise, the cached value would go away with the next pipeline cycle).
Definition at line 31 of file cycleDataStageWriter.h.