Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
BufferSource Class Referencedescription of BufferSource More...
Inheritance diagram for BufferSource:
Detailed Descriptiondescription of BufferSource Definition at line 11 of file BufferSource.h.
Constructor & Destructor Documentation
constructor Definition at line 14 of file BufferSource.h. Member Function Documentation
Returns a descriptive name of the next data segment for user feedback (e.g. a filename for logged data). Just use your class name if you don't have a useful name for individual samples. Implements DataSource. Definition at line 26 of file BufferSource.h.
Returns the simulator time of the next data segment. Should be in the future if nothing new since last data segment, otherwise should be the timestamp of the most recent data segment (older segments are skipped), return -1U if there is no more data Implements DataSource. Definition at line 25 of file BufferSource.h.
Definition at line 31 of file BufferSource.h.
swaps timestamp, name, and buffer with their "ready" counterparts Member Data Documentation
pointer to buffer for writing Definition at line 22 of file BufferSource.h.
incremented for each call to signalReady(); Definition at line 44 of file BufferSource.h. set to true when signalReady() is called, cleared by getData() Definition at line 43 of file BufferSource.h.
value to return as name of buffer (or nextName()) Definition at line 21 of file BufferSource.h. Referenced by nextName().
the payload data to return in getData() Definition at line 42 of file BufferSource.h.
the name to report for readyBuffer in getData() Definition at line 41 of file BufferSource.h.
used to wake up sleeping thread in getData() Definition at line 39 of file BufferSource.h.
the timestamp to report for readyBuffer in getData() Definition at line 40 of file BufferSource.h.
requested timestamp by last call to getData(), or -1U if not called or no LoadDataThread registered Definition at line 23 of file BufferSource.h. Referenced by setDataSourceThread().
lock while swapping during signalReady() Definition at line 38 of file BufferSource.h.
value to return as timestamp of buffer (or nextTimestamp()) Definition at line 20 of file BufferSource.h. Referenced by nextTimestamp(). The documentation for this class was generated from the following file: |
Tekkotsu Hardware Abstraction Layer 5.1CVS |
Generated Mon May 9 05:01:40 2016 by Doxygen 1.6.3 |