aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/device/ringbuffer.h
Commit message (Collapse)AuthorAgeFilesLines
* ringbuffer: converted to item_size unitsAndrew Tridgell2013-09-121-20/+22
| | | | this fixes a number of indexing bugs
* Rework the ringbuffer class so that it's not templated, and refactor its ↵px4dev2013-09-121-109/+269
| | | | clients so they aren't dancing around the linker anymore.
* ringbuffer: added resize() and print_info() methodsAndrew Tridgell2013-09-121-2/+42
| | | | this simplifies the drivers
* ringbuffer: added force() and use lockless methodspx4dev2013-09-121-16/+120
| | | | | this adds force() which can be used for drivers wanting consumers to get the latest data when the buffer overflows
* Add some more useful methods to the ringbuffer class.px4dev2013-08-031-5/+16
|
* Simple ring-buffer template class, because re-implementing the wheel in ↵px4dev2013-08-031-0/+192
every driver is silly.