Commit Graph

13 Commits

Author SHA1 Message Date
Lucas De Marchi 246f940d01 AP_Buffer: replace header guard with pragma once 2016-02-18 14:52:34 -02:00
Jonathan Challinger 1c75ce88f2 AP_Buffer: change pop_front to return a bool if successful 2014-10-20 08:26:14 +11:00
Jonathan Challinger ceef10cc41 AP_Buffer: Add peek_mutable function allowing in-place modification of buffered objects 2014-10-20 08:26:14 +11:00
Jonathan Challinger 630a87d9a9 AP_Buffer: remove scalar assignment so that non-scalars can be buffered 2014-10-20 08:26:14 +11:00
Tobias 0b181dd995 AP_Buffer: remove header/source separation to allow arbitrary template
parameters without explicit instantiation in the cpp file.

http://stackoverflow.com/questions/495021/why-can-templates-only-be-implemented-in-the-header-file
2013-10-27 13:41:43 +09:00
Tobias dc62398821 AP_Buffer: add comments and rename functions to conform with the
STL-container naming conventions
Comment format changes by Randy
2013-10-27 13:41:36 +09:00
Andrew Tridgell 918a3d46f5 AP_Buffer: fixed indent-tabs-mode 2013-05-30 09:53:15 +10:00
Andrew Tridgell dcc3873056 AP_Buffer: remove bool return from add() method 2013-04-22 13:26:49 +10:00
Andrew Tridgell bad478134d AP_Buffer: instantiate as a .cpp file, and optimise for const usage 2013-04-22 12:21:58 +10:00
Pat Hickey e787b5ccd9 AP_Buffer: ported to AP_HAL 2012-12-20 14:51:29 +11:00
rmackay9 a84d9110bd AP_Buffer: add size 5 float fifo buffer to predeclared types 2012-12-10 00:41:59 +09:00
rmackay9 06d1c6b0c1 AP_Buffer: bug fix to allow buffer to completely fill up.
Also removed redundant _tail parameter which saves 1 byte.
2012-12-06 10:18:00 +09:00
rmackay9 48f1955f8e AP_Buffer: initial implementation of FIFO buffer for use with inertial nav 2012-11-07 19:20:37 +09:00