Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ringbuffer: converted to item_size units | Andrew Tridgell | 2013-09-12 | 1 | -20/+22 |
| | | | | this fixes a number of indexing bugs | ||||
* | Rework the ringbuffer class so that it's not templated, and refactor its ↵ | px4dev | 2013-09-12 | 1 | -109/+269 |
| | | | | clients so they aren't dancing around the linker anymore. | ||||
* | ringbuffer: added resize() and print_info() methods | Andrew Tridgell | 2013-09-12 | 1 | -2/+42 |
| | | | | this simplifies the drivers | ||||
* | ringbuffer: added force() and use lockless methods | px4dev | 2013-09-12 | 1 | -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. | px4dev | 2013-08-03 | 1 | -5/+16 |
| | |||||
* | Simple ring-buffer template class, because re-implementing the wheel in ↵ | px4dev | 2013-08-03 | 1 | -0/+192 |
every driver is silly. |