#include <cycleDataReader.h>
Public Member Functions | |
CycleDataReader (const PipelineCycler< CycleDataType > &cycler) | |
CycleDataReader (const CycleDataReader< CycleDataType > ©) | |
void | operator= (const CycleDataReader< CycleDataType > ©) |
~CycleDataReader () | |
const CycleDataType * | operator-> () const |
This provides an indirect member access to the actual CycleData data. | |
operator const CycleDataType * () const | |
This allows the CycleDataReader to be passed to any function that expects a const CycleDataType pointer. | |
const CycleDataType * | take_pointer () |
This is intended to be called only from CycleDataWriter when it elevates the pointer from read to write status. | |
CycleDataType * | elevate_to_write (PipelineCycler< CycleDataType > &cycler) |
Call this to permanently elevate the readable pointer to a writable pointer. | |
Private Attributes | |
const CycleDataType * | _pointer |
In the interim, it provides a transparent read-only access to the CycleData.
It exists as a syntactic convenience to access the data in the CycleData. It also allows the whole system to compile down to nothing if SUPPORT_PIPELINING is not defined.
Definition at line 54 of file cycleDataReader.h.
|
Definition at line 203 of file cycleDataReader.I. |
|
Definition at line 216 of file cycleDataReader.I. References INLINE. |
|
Definition at line 243 of file cycleDataReader.I. |
|
Call this to permanently elevate the readable pointer to a writable pointer. This returns a writable pointer; subsequent calls to the same function will trivially return the same writable pointer. Definition at line 318 of file cycleDataReader.I. |
|
This allows the CycleDataReader to be passed to any function that expects a const CycleDataType pointer.
Definition at line 274 of file cycleDataReader.I. |
|
This provides an indirect member access to the actual CycleData data.
Definition at line 258 of file cycleDataReader.I. |
|
Definition at line 230 of file cycleDataReader.I. References INLINE. |
|
This is intended to be called only from CycleDataWriter when it elevates the pointer from read to write status. This function returns the reader's pointer and relinquishes ownership of the pointer, rendering the reader invalid for future reads. Definition at line 298 of file cycleDataReader.I. |
|
Definition at line 76 of file cycleDataReader.h. |