Changes have been pushed for the project "Fawkes Robotics Software Framework".
Gitweb: http://git.fawkesrobotics.org/fawkes.git Trac: http://trac.fawkesrobotics.org The branch, thofmann/circular-buffer has been created at 3e612b84fee53a1edfe4a07638065f45102bfc49 (commit) http://git.fawkesrobotics.org/fawkes.git/thofmann/circular-buffer - *Log* --------------------------------------------------------------- commit a679cedb33a3af15dcac88ebfaad10095a5dbb4e Author: Till Hofmann <hofm...@kbsg.rwth-aachen.de> AuthorDate: Fri Aug 15 14:05:22 2014 +0200 Commit: Till Hofmann <hofm...@kbsg.rwth-aachen.de> CommitDate: Fri Aug 15 19:13:03 2014 +0200 core: add CircularBuffer Container The CircularBuffer is a simple circular buffer which uses a std::deque to store the data. It has a fixed size which it automatically maintains by removing elements from the front of the buffer if the buffer grows too large. It does not allow any element manipulation other than push_back() and pop_front(). http://git.fawkesrobotics.org/fawkes.git/commit/a679ced http://trac.fawkesrobotics.org/changeset/a679ced - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - commit 1e06bce7001d893f982fec1444d39bdb072d9b82 Author: Till Hofmann <hofm...@kbsg.rwth-aachen.de> AuthorDate: Fri Aug 15 17:25:45 2014 +0200 Commit: Till Hofmann <hofm...@kbsg.rwth-aachen.de> CommitDate: Fri Aug 15 19:13:03 2014 +0200 core: add unit test for CircularBuffer http://git.fawkesrobotics.org/fawkes.git/commit/1e06bce http://trac.fawkesrobotics.org/changeset/1e06bce - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - commit 3e612b84fee53a1edfe4a07638065f45102bfc49 Author: Till Hofmann <hofm...@kbsg.rwth-aachen.de> AuthorDate: Fri Aug 15 17:48:24 2014 +0200 Commit: Till Hofmann <hofm...@kbsg.rwth-aachen.de> CommitDate: Fri Aug 15 19:13:04 2014 +0200 core: don't add unit tests to the make target 'all' http://git.fawkesrobotics.org/fawkes.git/commit/3e612b8 http://trac.fawkesrobotics.org/changeset/3e612b8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *Summary* ----------------------------------------------------------- src/libs/core/Makefile | 2 +- src/libs/core/tests/Makefile | 29 -------- src/libs/core/tests/test_circular_buffer.cpp | 91 -------------------------- 3 files changed, 1 insertions(+), 121 deletions(-) delete mode 100644 src/libs/core/tests/Makefile delete mode 100644 src/libs/core/tests/test_circular_buffer.cpp - *Diffs* ------------------------------------------------------------- - *commit* a679cedb33a3af15dcac88ebfaad10095a5dbb4e - - - - - - - - - - Author: Till Hofmann <hofm...@kbsg.rwth-aachen.de> Date: Fri Aug 15 14:05:22 2014 +0200 Subject: core: add CircularBuffer Container src/libs/core/utils/circular_buffer.h | 176 +++++++++++++++++++++++++++++++++ 1 files changed, 176 insertions(+), 0 deletions(-) - *commit* 1e06bce7001d893f982fec1444d39bdb072d9b82 - - - - - - - - - - Author: Till Hofmann <hofm...@kbsg.rwth-aachen.de> Date: Fri Aug 15 17:25:45 2014 +0200 Subject: core: add unit test for CircularBuffer src/libs/{interfaces/qa => core/tests}/Makefile | 18 ++-- src/libs/core/tests/test_circular_buffer.cpp | 91 +++++++++++++++++++++++ 2 files changed, 100 insertions(+), 9 deletions(-) - *commit* 3e612b84fee53a1edfe4a07638065f45102bfc49 - - - - - - - - - - Author: Till Hofmann <hofm...@kbsg.rwth-aachen.de> Date: Fri Aug 15 17:48:24 2014 +0200 Subject: core: don't add unit tests to the make target 'all' src/libs/core/Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) _Diff for modified files_: diff --git a/src/libs/core/Makefile b/src/libs/core/Makefile index ab98983..f20a5e4 100644 --- a/src/libs/core/Makefile +++ b/src/libs/core/Makefile @@ -20,7 +20,7 @@ LIBS_libfawkescore = pthread stdc++ m ifneq ($(OS),Darwin) LIBS_libfawkescore += rt endif -OBJS_libfawkescore = $(patsubst %.cpp,%.o,$(patsubst qa/%,,$(subst $(SRCDIR)/,,$(realpath $(wildcard $(SRCDIR)/*.cpp $(SRCDIR)/*/*.cpp $(SRCDIR)/*/*/*.cpp))))) +OBJS_libfawkescore = $(patsubst %.cpp,%.o,$(patsubst qa/%,,$(subst $(SRCDIR)/,,$(realpath $(filter-out $(SRCDIR)/tests/%,$(wildcard $(SRCDIR)/*.cpp $(SRCDIR)/*/*.cpp $(SRCDIR)/*/*/*.cpp)))))) HDRS_libfawkescore = $(subst $(SRCDIR)/,,$(wildcard $(SRCDIR)/*.h $(SRCDIR)/*/*.h $(SRCDIR)/*/*/*.h )) OBJS_all = $(OBJS_libfawkescore) -- Fawkes Robotics Framework http://www.fawkesrobotics.org _______________________________________________ fawkes-commits mailing list fawkes-commits@lists.kbsg.rwth-aachen.de https://lists.kbsg.rwth-aachen.de/listinfo/fawkes-commits