327 |
inline void operator--(int) { |
inline void operator--(int) { |
328 |
--*this; |
--*this; |
329 |
} |
} |
330 |
|
|
331 |
|
/** |
332 |
|
* "Increment assign" operator, for advancing NonVolatileReader's |
333 |
|
* read position by @a n elements. |
334 |
|
* |
335 |
|
* @param n - amount of elements to advance read position |
336 |
|
*/ |
337 |
|
inline void operator+=(int n) { |
338 |
|
if (read_space() < n) return; |
339 |
|
read_ptr = (read_ptr+n) & pBuf->size_mask; |
340 |
|
} |
341 |
|
|
342 |
/** |
/** |
343 |
* Returns pointer to the RingBuffer data of current |
* Returns pointer to the RingBuffer data of current |