From 9bde6675e709426e4b66beb05e9158760acff79a Mon Sep 17 00:00:00 2001 From: Guilhem Saurel <guilhem.saurel@laas.fr> Date: Mon, 4 Mar 2019 16:24:55 +0100 Subject: [PATCH] Remove GPL Headers --- CMakeLists.txt | 13 ------ doc/additionalDoc/package.h | 13 +----- include/dynamic-graph/all-commands.h | 12 ------ include/dynamic-graph/all-signals.h | 12 ------ include/dynamic-graph/command-bind.h | 11 ----- include/dynamic-graph/command-direct-getter.h | 11 ----- include/dynamic-graph/command-direct-setter.h | 11 ----- include/dynamic-graph/command-getter.h | 12 ------ include/dynamic-graph/command-getter.t.cpp | 11 ----- include/dynamic-graph/command-setter.h | 12 ------ include/dynamic-graph/command-setter.t.cpp | 27 ++++-------- include/dynamic-graph/command.h | 11 ----- include/dynamic-graph/debug.h | 12 ------ include/dynamic-graph/dynamic-graph-api.h | 12 ------ include/dynamic-graph/eigen-io.h | 41 +++++++------------ include/dynamic-graph/entity-helper.h | 11 ----- include/dynamic-graph/entity.h | 12 ------ include/dynamic-graph/exception-abstract.h | 12 ------ include/dynamic-graph/exception-factory.h | 12 ------ include/dynamic-graph/exception-signal.h | 12 ------ include/dynamic-graph/exception-traces.h | 12 ------ include/dynamic-graph/factory.h | 12 ------ include/dynamic-graph/fwd.hh | 1 - include/dynamic-graph/linear-algebra.h | 11 ----- include/dynamic-graph/logger.h | 6 +-- include/dynamic-graph/null-ptr.hh | 14 +------ include/dynamic-graph/pool.h | 12 ------ include/dynamic-graph/real-time-logger.h | 12 ------ include/dynamic-graph/signal-array.h | 12 ------ include/dynamic-graph/signal-base.h | 12 ------ include/dynamic-graph/signal-cast-helper.h | 12 ------ include/dynamic-graph/signal-caster.h | 12 ------ include/dynamic-graph/signal-helper.h | 17 ++------ include/dynamic-graph/signal-ptr.h | 12 ------ include/dynamic-graph/signal-ptr.t.cpp | 14 +------ include/dynamic-graph/signal-time-dependent.h | 12 ------ include/dynamic-graph/signal.h | 14 +------ include/dynamic-graph/signal.t.cpp | 12 ------ include/dynamic-graph/time-dependency.h | 12 ------ include/dynamic-graph/time-dependency.t.cpp | 12 ------ include/dynamic-graph/tracer-real-time.h | 12 ------ include/dynamic-graph/tracer.h | 12 ------ include/dynamic-graph/value.h | 13 +----- src/CMakeLists.txt | 22 ---------- src/command/command.cpp | 22 ---------- src/command/value.cpp | 22 ---------- src/debug/debug.cpp | 23 ----------- src/debug/logger.cpp | 11 ++--- src/debug/real-time-logger.cpp | 15 +------ src/dgraph/entity.cpp | 23 ----------- src/dgraph/factory.cpp | 22 ---------- src/dgraph/pool.cpp | 24 ----------- src/exception/exception-abstract.cpp | 22 ---------- src/exception/exception-factory.cpp | 22 ---------- src/exception/exception-signal.cpp | 22 ---------- src/exception/exception-traces.cpp | 22 ---------- src/signal/signal-array.cpp | 22 ---------- src/signal/signal-cast-helper.cpp | 22 ---------- src/signal/signal-caster.cpp | 22 ---------- src/traces/tracer-real-time.cpp | 22 ---------- src/traces/tracer.cpp | 22 ---------- tests/CMakeLists.txt | 12 ------ tests/custom-entity.cpp | 13 ------ tests/debug-trace.cpp | 16 +++----- tests/debug-tracer.cpp | 22 +++++----- tests/entity.cpp | 8 ++-- tests/factory.cpp | 12 ------ tests/interpreter-tracer.cpp | 12 ------ tests/pool.cpp | 34 +++++---------- tests/real-time-logger.cpp | 11 ----- tests/signal-cast-registerer-libA.cpp | 12 ------ tests/signal-cast-registerer-libA.hh | 12 ------ tests/signal-cast-registerer-libB.cpp | 12 ------ tests/signal-cast-registerer-libB.hh | 12 ------ tests/signal-cast-registerer.cpp | 12 ------ tests/signal-ptr.cpp | 12 ------ tests/signal-time-dependent.cpp | 12 ------ tests/value.cpp | 12 ------ 78 files changed, 69 insertions(+), 1099 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f9893e5..92487d1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,17 +1,4 @@ # Copyright 2010, Olivier Stasse, JRL, CNRS/AIST -# -# This file is part of dynamic-graph. -# dynamic-graph is free software: you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public License -# as published by the Free Software Foundation, either version 3 of -# the License, or (at your option) any later version. -# -# dynamic-graph is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Lesser Public License for more details. You should have -# received a copy of the GNU Lesser General Public License along with -# dynamic-graph. If not, see <http://www.gnu.org/licenses/>. CMAKE_MINIMUM_REQUIRED(VERSION 2.6) diff --git a/doc/additionalDoc/package.h b/doc/additionalDoc/package.h index 95071b7..76dd15c 100644 --- a/doc/additionalDoc/package.h +++ b/doc/additionalDoc/package.h @@ -6,17 +6,6 @@ * * CNRS/AIST * - * This file is part of dynamic-graph. - * dynamic-graph is free software: you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License - * as published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * dynamic-graph is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. You should - * have received a copy of the GNU Lesser General Public License along - * with dynamic-graph. If not, see <http://www.gnu.org/licenses/>. */ /** @@ -31,7 +20,7 @@ The installation instruction are given at \subpage subp_installation. The software graph structure is detailled in \subpage p_graph -For debugging your entities detailed instructions are given in \subpage debug +For debugging your entities detailed instructions are given in \subpage debug For citing the software in your research work please refer to \subpage subp_references diff --git a/include/dynamic-graph/all-commands.h b/include/dynamic-graph/all-commands.h index 8d53724..2ace540 100644 --- a/include/dynamic-graph/all-commands.h +++ b/include/dynamic-graph/all-commands.h @@ -2,18 +2,6 @@ // Copyright 2010, François Bleibel, Olivier Stasse, JRL, CNRS/AIST // Thomas Moulard, Nicolas Mansard LAAS-CNRS // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public License -// as published by the Free Software Foundation, either version 3 of -// the License, or (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, but -// WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Lesser Public License for more details. You should have -// received a copy of the GNU Lesser General Public License along with -// dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef DYNAMIC_GRAPH_ALL_COMMANDS_H # define DYNAMIC_GRAPH_ALL_COMMANDS_H diff --git a/include/dynamic-graph/all-signals.h b/include/dynamic-graph/all-signals.h index 33ba7c2..82b9957 100644 --- a/include/dynamic-graph/all-signals.h +++ b/include/dynamic-graph/all-signals.h @@ -2,18 +2,6 @@ // Copyright 2010, François Bleibel, Thomas Moulard, Olivier Stasse, // JRL, CNRS/AIST. // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public License -// as published by the Free Software Foundation, either version 3 of -// the License, or (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, but -// WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Lesser Public License for more details. You should have -// received a copy of the GNU Lesser General Public License along with -// dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef DYNAMIC_GRAPH_ALL_SIGNALS_H # define DYNAMIC_GRAPH_ALL_SIGNALS_H diff --git a/include/dynamic-graph/command-bind.h b/include/dynamic-graph/command-bind.h index ab39f6d..064e748 100644 --- a/include/dynamic-graph/command-bind.h +++ b/include/dynamic-graph/command-bind.h @@ -3,17 +3,6 @@ // // Author: Nicolas Mansard // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public License -// as published by the Free Software Foundation, either version 3 of -// the License, or (at your option) any later version. -// dynamic-graph is distributed in the hope that it will be -// useful, but WITHOUT ANY WARRANTY; without even the implied warranty -// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Lesser General Public License for more details. You should -// have received a copy of the GNU Lesser General Public License along -// with dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef __dg_command_bind_h__ #define __dg_command_bind_h__ diff --git a/include/dynamic-graph/command-direct-getter.h b/include/dynamic-graph/command-direct-getter.h index 7f3da90..5424c2c 100644 --- a/include/dynamic-graph/command-direct-getter.h +++ b/include/dynamic-graph/command-direct-getter.h @@ -3,17 +3,6 @@ // // Author: Nicolas Mansard // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public License -// as published by the Free Software Foundation, either version 3 of -// the License, or (at your option) any later version. -// dynamic-graph is distributed in the hope that it will be -// useful, but WITHOUT ANY WARRANTY; without even the implied warranty -// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Lesser General Public License for more details. You should -// have received a copy of the GNU Lesser General Public License along -// with dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef __dg_command_direct_getter_h__ #define __dg_command_direct_getter_h__ diff --git a/include/dynamic-graph/command-direct-setter.h b/include/dynamic-graph/command-direct-setter.h index 2457975..dc8b9f4 100644 --- a/include/dynamic-graph/command-direct-setter.h +++ b/include/dynamic-graph/command-direct-setter.h @@ -3,17 +3,6 @@ // // Author: Nicolas Mansard // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public License -// as published by the Free Software Foundation, either version 3 of -// the License, or (at your option) any later version. -// dynamic-graph is distributed in the hope that it will be -// useful, but WITHOUT ANY WARRANTY; without even the implied warranty -// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Lesser General Public License for more details. You should -// have received a copy of the GNU Lesser General Public License along -// with dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef __dg_command_direct_setter_h__ #define __dg_command_direct_setter_h__ diff --git a/include/dynamic-graph/command-getter.h b/include/dynamic-graph/command-getter.h index 731c9dd..4319721 100644 --- a/include/dynamic-graph/command-getter.h +++ b/include/dynamic-graph/command-getter.h @@ -3,17 +3,6 @@ // // Author: Florent Lamiraux // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public License -// as published by the Free Software Foundation, either version 3 of -// the License, or (at your option) any later version. -// dynamic-graph is distributed in the hope that it will be -// useful, but WITHOUT ANY WARRANTY; without even the implied warranty -// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Lesser General Public License for more details. You should -// have received a copy of the GNU Lesser General Public License along -// with dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef DYNAMIC_GRAPH_COMMAND_GETTER_H #define DYNAMIC_GRAPH_COMMAND_GETTER_H @@ -72,4 +61,3 @@ namespace dynamicgraph { #include "dynamic-graph/command-getter.t.cpp" #endif //DYNAMIC_GRAPH_COMMAND_GETTER_H - diff --git a/include/dynamic-graph/command-getter.t.cpp b/include/dynamic-graph/command-getter.t.cpp index 63e06bd..032d1c0 100644 --- a/include/dynamic-graph/command-getter.t.cpp +++ b/include/dynamic-graph/command-getter.t.cpp @@ -3,17 +3,6 @@ // // Author: Florent Lamiraux // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public License -// as published by the Free Software Foundation, either version 3 of -// the License, or (at your option) any later version. -// dynamic-graph is distributed in the hope that it will be -// useful, but WITHOUT ANY WARRANTY; without even the implied warranty -// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Lesser General Public License for more details. You should -// have received a copy of the GNU Lesser General Public License along -// with dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef DYNAMIC_GRAPH_COMMAND_GETTER_T_CPP #define DYNAMIC_GRAPH_COMMAND_GETTER_T_CPP diff --git a/include/dynamic-graph/command-setter.h b/include/dynamic-graph/command-setter.h index 45cc9dc..4ebfaaf 100644 --- a/include/dynamic-graph/command-setter.h +++ b/include/dynamic-graph/command-setter.h @@ -3,17 +3,6 @@ // // Author: Florent Lamiraux // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public License -// as published by the Free Software Foundation, either version 3 of -// the License, or (at your option) any later version. -// dynamic-graph is distributed in the hope that it will be -// useful, but WITHOUT ANY WARRANTY; without even the implied warranty -// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Lesser General Public License for more details. You should -// have received a copy of the GNU Lesser General Public License along -// with dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef DYNAMIC_GRAPH_COMMAND_SETTER_H #define DYNAMIC_GRAPH_COMMAND_SETTER_H @@ -72,4 +61,3 @@ namespace dynamicgraph { #include "dynamic-graph/command-setter.t.cpp" #endif //DYNAMIC_GRAPH_COMMAND_SETTER_H - diff --git a/include/dynamic-graph/command-setter.t.cpp b/include/dynamic-graph/command-setter.t.cpp index 0a26374..f812159 100644 --- a/include/dynamic-graph/command-setter.t.cpp +++ b/include/dynamic-graph/command-setter.t.cpp @@ -3,17 +3,6 @@ // // Author: Florent Lamiraux // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public License -// as published by the Free Software Foundation, either version 3 of -// the License, or (at your option) any later version. -// dynamic-graph is distributed in the hope that it will be -// useful, but WITHOUT ANY WARRANTY; without even the implied warranty -// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Lesser General Public License for more details. You should -// have received a copy of the GNU Lesser General Public License along -// with dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef DYNAMIC_GRAPH_COMMAND_SETTER_T_CPP #define DYNAMIC_GRAPH_COMMAND_SETTER_T_CPP @@ -26,7 +15,7 @@ namespace dynamicgraph { class Entity; namespace command { - // + // // Template specialization: bool // template <class E> @@ -64,7 +53,7 @@ namespace dynamicgraph { return Value(); } - // + // // Template specialization: unsigned // template <class E> @@ -102,7 +91,7 @@ namespace dynamicgraph { return Value(); } - // + // // Template specialization: int // template <class E> @@ -140,7 +129,7 @@ namespace dynamicgraph { return Value(); } - // + // // Template specialization: float // template <class E> @@ -178,7 +167,7 @@ namespace dynamicgraph { return Value(); } - // + // // Template specialization: double // template <class E> @@ -216,7 +205,7 @@ namespace dynamicgraph { return Value(); } - // + // // Template specialization: std::string // template <class E> @@ -254,7 +243,7 @@ namespace dynamicgraph { return Value(); } - // + // // Template specialization: Vector // template <class E> @@ -292,7 +281,7 @@ namespace dynamicgraph { return Value(); } - // + // // Template specialization: Matrix // template <class E> diff --git a/include/dynamic-graph/command.h b/include/dynamic-graph/command.h index 832bf4a..b383be5 100644 --- a/include/dynamic-graph/command.h +++ b/include/dynamic-graph/command.h @@ -3,17 +3,6 @@ // // Author: Florent Lamiraux // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public License -// as published by the Free Software Foundation, either version 3 of -// the License, or (at your option) any later version. -// dynamic-graph is distributed in the hope that it will be -// useful, but WITHOUT ANY WARRANTY; without even the implied warranty -// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Lesser General Public License for more details. You should -// have received a copy of the GNU Lesser General Public License along -// with dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef DYNAMIC_GRAPH_COMMAND_H #define DYNAMIC_GRAPH_COMMAND_H diff --git a/include/dynamic-graph/debug.h b/include/dynamic-graph/debug.h index 216a35a..7bc3627 100644 --- a/include/dynamic-graph/debug.h +++ b/include/dynamic-graph/debug.h @@ -2,18 +2,6 @@ // Copyright 2010, François Bleibel, Thomas Moulard, Olivier Stasse, // JRL, CNRS/AIST. // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public License -// as published by the Free Software Foundation, either version 3 of -// the License, or (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, but -// WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Lesser Public License for more details. You should have -// received a copy of the GNU Lesser General Public License along with -// dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef DYNAMIC_GRAPH_DEBUG_HH # define DYNAMIC_GRAPH_DEBUG_HH diff --git a/include/dynamic-graph/dynamic-graph-api.h b/include/dynamic-graph/dynamic-graph-api.h index e1125ee..69dff1d 100644 --- a/include/dynamic-graph/dynamic-graph-api.h +++ b/include/dynamic-graph/dynamic-graph-api.h @@ -2,18 +2,6 @@ // Copyright 2010, François Bleibel, Thomas Moulard, Olivier Stasse, // JRL, CNRS/AIST. // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public License -// as published by the Free Software Foundation, either version 3 of -// the License, or (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, but -// WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Lesser Public License for more details. You should have -// received a copy of the GNU Lesser General Public License along with -// dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef DYNAMIC_GRAPH_API_H # define DYNAMIC_GRAPH_API_H diff --git a/include/dynamic-graph/eigen-io.h b/include/dynamic-graph/eigen-io.h index f96d7a8..4198b52 100644 --- a/include/dynamic-graph/eigen-io.h +++ b/include/dynamic-graph/eigen-io.h @@ -3,17 +3,6 @@ // // Author: Rohan Budhiraja // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public License -// as published by the Free Software Foundation, either version 3 of -// the License, or (at your option) any later version. -// dynamic-graph is distributed in the hope that it will be -// useful, but WITHOUT ANY WARRANTY; without even the implied warranty -// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Lesser General Public License for more details. You should -// have received a copy of the GNU Lesser General Public License along -// with dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef DYNAMIC_GRAPH_EIGEN_IO_H #define DYNAMIC_GRAPH_EIGEN_IO_H @@ -39,7 +28,7 @@ using dynamicgraph::ExceptionSignal; namespace Eigen { typedef EIGEN_DEFAULT_DENSE_INDEX_TYPE eigen_index; - inline std::istringstream& operator >> (std::istringstream &iss, + inline std::istringstream& operator >> (std::istringstream &iss, dynamicgraph::Vector &inst) { unsigned int _size; double _dbl_val; @@ -82,7 +71,7 @@ namespace Eigen { */ template<typename Derived> - inline std::istringstream& operator >> (std::istringstream &iss, + inline std::istringstream& operator >> (std::istringstream &iss, DenseBase<Derived> &inst) { unsigned int _colsize; unsigned int _rowsize; @@ -133,13 +122,13 @@ namespace Eigen { return iss; } - - inline std::istringstream& operator >> (std::istringstream &iss, + + inline std::istringstream& operator >> (std::istringstream &iss, Transform<double,3,Affine> &inst) { MatrixXd M; iss >> M; inst.matrix() = M; return iss; } - - - + + + /* \brief Eigen Homogeneous Matrix output * @@ -147,27 +136,27 @@ namespace Eigen { * e.g. [2,5]((1 23 32.2 12.12 32),(2 32 23 92.01 19.2)) */ - inline std::ostream& operator << (std::ostream &os, + inline std::ostream& operator << (std::ostream &os, Transform<double,3,Affine> MH) { IOFormat boostFmt(StreamPrecision, DontAlignCols, ",", ",", "(",")", "(",")"); - + os << "[4,4]"<< MH.matrix().format(boostFmt); return os; } - - - inline std::ostream& operator << (std::ostream &os, + + + inline std::ostream& operator << (std::ostream &os, AngleAxisd quat) { VectorXd v(4); v(0) = quat.angle(); v.tail<3>() = quat.axis(); os << v; return os; } - - inline std::istringstream& operator >> (std::istringstream &iss, + + inline std::istringstream& operator >> (std::istringstream &iss, AngleAxisd &inst) { VectorXd v(4); iss >>v; inst.angle() = v(0); inst.axis() = v.tail<3>(); return iss; } - + } diff --git a/include/dynamic-graph/entity-helper.h b/include/dynamic-graph/entity-helper.h index 694910b..15fc8d8 100644 --- a/include/dynamic-graph/entity-helper.h +++ b/include/dynamic-graph/entity-helper.h @@ -1,17 +1,6 @@ /* * Copyright 2011, Nicolas Mansard, LAAS-CNRS * - * This file is part of sot-core. - * sot-core is free software: you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License - * as published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * sot-core is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. You should - * have received a copy of the GNU Lesser General Public License along - * with sot-core. If not, see <http://www.gnu.org/licenses/>. */ #ifndef __sot_core_entity_helper_H__ diff --git a/include/dynamic-graph/entity.h b/include/dynamic-graph/entity.h index 015c5d5..5c57b5f 100644 --- a/include/dynamic-graph/entity.h +++ b/include/dynamic-graph/entity.h @@ -2,18 +2,6 @@ // Copyright 2010, François Bleibel, Thomas Moulard, Olivier Stasse, // JRL, CNRS/AIST. // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public License -// as published by the Free Software Foundation, either version 3 of -// the License, or (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, but -// WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Lesser Public License for more details. You should have -// received a copy of the GNU Lesser General Public License along with -// dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef DYNAMIC_GRAPH_ENTITY_H # define DYNAMIC_GRAPH_ENTITY_H diff --git a/include/dynamic-graph/exception-abstract.h b/include/dynamic-graph/exception-abstract.h index 2eb40ff..3e1bf4c 100644 --- a/include/dynamic-graph/exception-abstract.h +++ b/include/dynamic-graph/exception-abstract.h @@ -2,18 +2,6 @@ // Copyright 2010, François Bleibel, Thomas Moulard, Olivier Stasse, // JRL, CNRS/AIST. // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public License -// as published by the Free Software Foundation, either version 3 of -// the License, or (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, but -// WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Lesser Public License for more details. You should have -// received a copy of the GNU Lesser General Public License along with -// dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef DYNAMIC_GRAPH_EXCEPTION_ABSTRACT_H # define DYNAMIC_GRAPH_EXCEPTION_ABSTRACT_H diff --git a/include/dynamic-graph/exception-factory.h b/include/dynamic-graph/exception-factory.h index 214c8e2..836b15a 100644 --- a/include/dynamic-graph/exception-factory.h +++ b/include/dynamic-graph/exception-factory.h @@ -2,18 +2,6 @@ // Copyright 2010, François Bleibel, Thomas Moulard, Olivier Stasse, // JRL, CNRS/AIST. // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public License -// as published by the Free Software Foundation, either version 3 of -// the License, or (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, but -// WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Lesser Public License for more details. You should have -// received a copy of the GNU Lesser General Public License along with -// dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef DYNAMIC_GRAPH_EXCEPTION_FACTORY_H # define DYNAMIC_GRAPH_EXCEPTION_FACTORY_H diff --git a/include/dynamic-graph/exception-signal.h b/include/dynamic-graph/exception-signal.h index fcf379c..abadca1 100644 --- a/include/dynamic-graph/exception-signal.h +++ b/include/dynamic-graph/exception-signal.h @@ -2,18 +2,6 @@ // Copyright 2010, François Bleibel, Thomas Moulard, Olivier Stasse, // JRL, CNRS/AIST. // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public License -// as published by the Free Software Foundation, either version 3 of -// the License, or (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, but -// WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Lesser Public License for more details. You should have -// received a copy of the GNU Lesser General Public License along with -// dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef DYNAMIC_GRAPH_EXCEPTION_SIGNAL_H # define DYNAMIC_GRAPH_EXCEPTION_SIGNAL_H diff --git a/include/dynamic-graph/exception-traces.h b/include/dynamic-graph/exception-traces.h index 81ab676..6f5c73f 100644 --- a/include/dynamic-graph/exception-traces.h +++ b/include/dynamic-graph/exception-traces.h @@ -2,18 +2,6 @@ // Copyright 2010, François Bleibel, Thomas Moulard, Olivier Stasse, // JRL, CNRS/AIST. // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public License -// as published by the Free Software Foundation, either version 3 of -// the License, or (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, but -// WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Lesser Public License for more details. You should have -// received a copy of the GNU Lesser General Public License along with -// dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef DYNAMIC_GRAPH_EXCEPTION_TRACES_H # define DYNAMIC_GRAPH_EXCEPTION_TRACES_H diff --git a/include/dynamic-graph/factory.h b/include/dynamic-graph/factory.h index 292f9d9..1c94fcf 100644 --- a/include/dynamic-graph/factory.h +++ b/include/dynamic-graph/factory.h @@ -2,18 +2,6 @@ // Copyright 2010, François Bleibel, Thomas Moulard, Olivier Stasse, // JRL, CNRS/AIST. // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public License -// as published by the Free Software Foundation, either version 3 of -// the License, or (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, but -// WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Lesser Public License for more details. You should have -// received a copy of the GNU Lesser General Public License along with -// dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef DYNAMIC_GRAPH_FACTORY_HH # define DYNAMIC_GRAPH_FACTORY_HH diff --git a/include/dynamic-graph/fwd.hh b/include/dynamic-graph/fwd.hh index 5dcb7a1..29b9b34 100644 --- a/include/dynamic-graph/fwd.hh +++ b/include/dynamic-graph/fwd.hh @@ -1,7 +1,6 @@ // Copyright 2010-2019, CNRS, JRL, AIST, LAAS // Thomas Moulard, Olivier Stasse // -// See License #ifndef DYNAMIC_GRAPH_FWD_HH # define DYNAMIC_GRAPH_FWD_HH diff --git a/include/dynamic-graph/linear-algebra.h b/include/dynamic-graph/linear-algebra.h index 4b566fb..c0b3d21 100644 --- a/include/dynamic-graph/linear-algebra.h +++ b/include/dynamic-graph/linear-algebra.h @@ -3,17 +3,6 @@ // // Author: Florent Lamiraux // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public License -// as published by the Free Software Foundation, either version 3 of -// the License, or (at your option) any later version. -// dynamic-graph is distributed in the hope that it will be -// useful, but WITHOUT ANY WARRANTY; without even the implied warranty -// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Lesser General Public License for more details. You should -// have received a copy of the GNU Lesser General Public License along -// with dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef DYNAMIC_GRAPH_LINEAR_ALGEBRA_H #define DYNAMIC_GRAPH_LINEAR_ALGEBRA_H diff --git a/include/dynamic-graph/logger.h b/include/dynamic-graph/logger.h index 98e7e1d..46a58ca 100644 --- a/include/dynamic-graph/logger.h +++ b/include/dynamic-graph/logger.h @@ -3,8 +3,6 @@ * LAAS-CNRS * Andrea Del Prete, François Bailly, Olivier Stasse * - * This file is part of dynamic-graph. - * See license file. */ #ifndef __dynamic_graph_logger_H__ @@ -141,7 +139,7 @@ namespace dynamicgraph { /// // Somewhere in the main function of your executable /// int main (int argc, char** argv) { /// std::ofstream of; - /// of.open("/tmp/dg-LOGS.txt",std::ofstream::out|std::ofstream::app); + /// of.open("/tmp/dg-LOGS.txt",std::ofstream::out|std::ofstream::app); /// dgADD_OSTREAM_TO_RTLOG (of); /// } /// @@ -154,7 +152,7 @@ namespace dynamicgraph { /// /// \endcode /// - /// + /// class Logger { public: diff --git a/include/dynamic-graph/null-ptr.hh b/include/dynamic-graph/null-ptr.hh index 2842e61..60ea303 100644 --- a/include/dynamic-graph/null-ptr.hh +++ b/include/dynamic-graph/null-ptr.hh @@ -1,17 +1,5 @@ // Copyright 2010, Thomas Moulard, JRL, CNRS/AIST // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public License -// as published by the Free Software Foundation, either version 3 of -// the License, or (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, but -// WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Lesser Public License for more details. You should have -// received a copy of the GNU Lesser General Public License along with -// dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef DYNAMIC_GRAPH_NULL_PTR_HH # define DYNAMIC_GRAPH_NULL_PTR_HH @@ -26,7 +14,7 @@ namespace dynamicgraph { return 0; } - + template<class C, class T> operator T C::*() const { diff --git a/include/dynamic-graph/pool.h b/include/dynamic-graph/pool.h index feaeb09..9d380e1 100644 --- a/include/dynamic-graph/pool.h +++ b/include/dynamic-graph/pool.h @@ -2,18 +2,6 @@ // Copyright 2010, François Bleibel, Thomas Moulard, Olivier Stasse, // JRL, CNRS/AIST. // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public License -// as published by the Free Software Foundation, either version 3 of -// the License, or (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, but -// WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Lesser Public License for more details. You should have -// received a copy of the GNU Lesser General Public License along with -// dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef DYNAMIC_GRAPH_POOL_H # define DYNAMIC_GRAPH_POOL_H diff --git a/include/dynamic-graph/real-time-logger.h b/include/dynamic-graph/real-time-logger.h index f878011..8049e88 100644 --- a/include/dynamic-graph/real-time-logger.h +++ b/include/dynamic-graph/real-time-logger.h @@ -1,18 +1,6 @@ // -*- mode: c++ -*- // Copyright 2018, Joseph Mirabel LAAS-CNRS // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public License -// as published by the Free Software Foundation, either version 3 of -// the License, or (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, but -// WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Lesser Public License for more details. You should have -// received a copy of the GNU Lesser General Public License along with -// dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef DYNAMIC_GRAPH_LOGGER_REAL_TIME_H # define DYNAMIC_GRAPH_LOGGER_REAL_TIME_H diff --git a/include/dynamic-graph/signal-array.h b/include/dynamic-graph/signal-array.h index 3af85ff..6900b9b 100644 --- a/include/dynamic-graph/signal-array.h +++ b/include/dynamic-graph/signal-array.h @@ -2,18 +2,6 @@ // Copyright 2010, François Bleibel, Thomas Moulard, Olivier Stasse, // JRL, CNRS/AIST. // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public License -// as published by the Free Software Foundation, either version 3 of -// the License, or (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, but -// WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Lesser Public License for more details. You should have -// received a copy of the GNU Lesser General Public License along with -// dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef DYNAMIC_GRAPH_SIGNAL_ARRAY_H # define DYNAMIC_GRAPH_SIGNAL_ARRAY_H diff --git a/include/dynamic-graph/signal-base.h b/include/dynamic-graph/signal-base.h index bb8f9ca..df8f191 100644 --- a/include/dynamic-graph/signal-base.h +++ b/include/dynamic-graph/signal-base.h @@ -2,18 +2,6 @@ // Copyright 2010, François Bleibel, Thomas Moulard, Olivier Stasse, // JRL, CNRS/AIST. // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public License -// as published by the Free Software Foundation, either version 3 of -// the License, or (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, but -// WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Lesser Public License for more details. You should have -// received a copy of the GNU Lesser General Public License along with -// dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef DYNAMIC_GRAPH_SIGNAL_BASE_H # define DYNAMIC_GRAPH_SIGNAL_BASE_H diff --git a/include/dynamic-graph/signal-cast-helper.h b/include/dynamic-graph/signal-cast-helper.h index 4c7148d..ac10a3a 100644 --- a/include/dynamic-graph/signal-cast-helper.h +++ b/include/dynamic-graph/signal-cast-helper.h @@ -1,18 +1,6 @@ // -*- c++-mode -*- // Copyright 2010 François Bleibel Thomas Moulard, Olivier Stasse, Nicolas Mansard // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Lesser General Public License for more details. -// You should have received a copy of the GNU Lesser General Public License -// along with dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef DYNAMIC_GRAPH_SIGNAL_CASTER_HELPER_HH # define DYNAMIC_GRAPH_SIGNAL_CASTER_HELPER_HH diff --git a/include/dynamic-graph/signal-caster.h b/include/dynamic-graph/signal-caster.h index 525f906..9bbf6cb 100644 --- a/include/dynamic-graph/signal-caster.h +++ b/include/dynamic-graph/signal-caster.h @@ -1,18 +1,6 @@ // -*- c++-mode -*- // Copyright 2010 François Bleibel Thomas Moulard, Olivier Stasse // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Lesser General Public License for more details. -// You should have received a copy of the GNU Lesser General Public License -// along with dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef DYNAMIC_GRAPH_SIGNAL_CASTER_HH # define DYNAMIC_GRAPH_SIGNAL_CASTER_HH diff --git a/include/dynamic-graph/signal-helper.h b/include/dynamic-graph/signal-helper.h index 5cb88f9..a8d814d 100644 --- a/include/dynamic-graph/signal-helper.h +++ b/include/dynamic-graph/signal-helper.h @@ -1,19 +1,8 @@ /* - * Copyright 2011, 2019 + * Copyright 2011, 2019 * LAAS-CNRS - * Nicolas Mansard, François Bailly + * Nicolas Mansard, François Bailly * - * This file is part of dynamic-graph. - * dynamic-graph is free software: you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License - * as published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * dynamic-graph is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. You should - * have received a copy of the GNU Lesser General Public License along - * with dynamic-graph. If not, see <http://www.gnu.org/licenses/>. */ #ifndef __dynamic_graph_signal_helper_H__ @@ -25,7 +14,7 @@ #include <dynamic-graph/entity.h> #include <dynamic-graph/signal-ptr.h> #include <dynamic-graph/signal-time-dependent.h> -#include <dynamic-graph/linear-algebra.h> +#include <dynamic-graph/linear-algebra.h> /* --- MACROS ---------------------------------------------------------- */ #define SIGNAL_OUT_FUNCTION_NAME(name) name##SOUT_function diff --git a/include/dynamic-graph/signal-ptr.h b/include/dynamic-graph/signal-ptr.h index 3f3a6ee..4acdffe 100644 --- a/include/dynamic-graph/signal-ptr.h +++ b/include/dynamic-graph/signal-ptr.h @@ -2,18 +2,6 @@ // Copyright 2010, François Bleibel, Thomas Moulard, Olivier Stasse, // JRL, CNRS/AIST. // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public License -// as published by the Free Software Foundation, either version 3 of -// the License, or (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, but -// WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Lesser Public License for more details. You should have -// received a copy of the GNU Lesser General Public License along with -// dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef DYNAMIC_GRAPH_SIGNAL_PTR_H #define DYNAMIC_GRAPH_SIGNAL_PTR_H diff --git a/include/dynamic-graph/signal-ptr.t.cpp b/include/dynamic-graph/signal-ptr.t.cpp index 6862e7e..5df9d63 100644 --- a/include/dynamic-graph/signal-ptr.t.cpp +++ b/include/dynamic-graph/signal-ptr.t.cpp @@ -2,18 +2,6 @@ // Copyright 2010, François Bleibel, Thomas Moulard, Olivier Stasse, // JRL, CNRS/AIST. // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public License -// as published by the Free Software Foundation, either version 3 of -// the License, or (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, but -// WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Lesser Public License for more details. You should have -// received a copy of the GNU Lesser General Public License along with -// dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef DYNAMIC_GRAPH_SIGNAL_PTR_T_CPP # define DYNAMIC_GRAPH_SIGNAL_PTR_T_CPP @@ -121,7 +109,7 @@ namespace dynamicgraph transmitAbstract = false; DG_THROW ExceptionSignal( ExceptionSignal::PLUG_IMPOSSIBLE, "Compl. Uncompatible types for plugin.", - "(while trying to plug <%s> on <%s>)" + "(while trying to plug <%s> on <%s>)" " with types <%s> on <%s>.", unknown_ref->getName ().c_str (), this->getName ().c_str (), diff --git a/include/dynamic-graph/signal-time-dependent.h b/include/dynamic-graph/signal-time-dependent.h index f9f4b1d..0beb648 100644 --- a/include/dynamic-graph/signal-time-dependent.h +++ b/include/dynamic-graph/signal-time-dependent.h @@ -2,18 +2,6 @@ // Copyright 2010, François Bleibel, Thomas Moulard, Olivier Stasse, // JRL, CNRS/AIST. // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public License -// as published by the Free Software Foundation, either version 3 of -// the License, or (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, but -// WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Lesser Public License for more details. You should have -// received a copy of the GNU Lesser General Public License along with -// dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef DYNAMIC_GRAPH_SIGNAL_TIME_DEPENDENT_H # define DYNAMIC_GRAPH_SIGNAL_TIME_DEPENDENT_H diff --git a/include/dynamic-graph/signal.h b/include/dynamic-graph/signal.h index 111bb8c..18d25d3 100644 --- a/include/dynamic-graph/signal.h +++ b/include/dynamic-graph/signal.h @@ -5,17 +5,6 @@ * * CNRS/AIST * - * This file is part of dynamic-graph. - * dynamic-graph is free software: you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License - * as published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * dynamic-graph is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. You should - * have received a copy of the GNU Lesser General Public License along - * with dynamic-graph. If not, see <http://www.gnu.org/licenses/>. */ #ifndef __SIGNAL_HH @@ -126,7 +115,7 @@ protected: inline operator const T& () const { return accessCopy (); } virtual void getClassName(std::string & aClassName) const { aClassName = typeid(this).name(); } - + public: virtual void checkCompatibility () { throw Tcopy; } @@ -150,4 +139,3 @@ protected: * c-basic-offset: 4 * End: */ - diff --git a/include/dynamic-graph/signal.t.cpp b/include/dynamic-graph/signal.t.cpp index 6aa555e..1b04705 100644 --- a/include/dynamic-graph/signal.t.cpp +++ b/include/dynamic-graph/signal.t.cpp @@ -2,18 +2,6 @@ // Copyright 2010, François Bleibel, Thomas Moulard, Olivier Stasse, // JRL, CNRS/AIST. // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public License -// as published by the Free Software Foundation, either version 3 of -// the License, or (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, but -// WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Lesser Public License for more details. You should have -// received a copy of the GNU Lesser General Public License along with -// dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef DYNAMIC_GRAPH_SIGNAL_T_CPP # define DYNAMIC_GRAPH_SIGNAL_T_CPP diff --git a/include/dynamic-graph/time-dependency.h b/include/dynamic-graph/time-dependency.h index c79c2b6..1505e90 100644 --- a/include/dynamic-graph/time-dependency.h +++ b/include/dynamic-graph/time-dependency.h @@ -2,18 +2,6 @@ // Copyright 2010, François Bleibel, Thomas Moulard, Olivier Stasse, // JRL, CNRS/AIST. // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public License -// as published by the Free Software Foundation, either version 3 of -// the License, or (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, but -// WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Lesser Public License for more details. You should have -// received a copy of the GNU Lesser General Public License along with -// dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef DYNAMIC_GRAPH_TIME_DEPENDENCY_H # define DYNAMIC_GRAPH_TIME_DEPENDENCY_H diff --git a/include/dynamic-graph/time-dependency.t.cpp b/include/dynamic-graph/time-dependency.t.cpp index 6199bb1..f968957 100644 --- a/include/dynamic-graph/time-dependency.t.cpp +++ b/include/dynamic-graph/time-dependency.t.cpp @@ -2,18 +2,6 @@ // Copyright 2010, François Bleibel, Thomas Moulard, Olivier Stasse, // JRL, CNRS/AIST. // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public License -// as published by the Free Software Foundation, either version 3 of -// the License, or (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, but -// WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Lesser Public License for more details. You should have -// received a copy of the GNU Lesser General Public License along with -// dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef DYNAMIC_GRAPH_TIME_DEPENDENCY_T_CPP # define DYNAMIC_GRAPH_TIME_DEPENDENCY_T_CPP diff --git a/include/dynamic-graph/tracer-real-time.h b/include/dynamic-graph/tracer-real-time.h index 3db261b..b39b8a7 100644 --- a/include/dynamic-graph/tracer-real-time.h +++ b/include/dynamic-graph/tracer-real-time.h @@ -2,18 +2,6 @@ // Copyright 2010, François Bleibel, Thomas Moulard, Olivier Stasse, // JRL, CNRS/AIST. // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public License -// as published by the Free Software Foundation, either version 3 of -// the License, or (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, but -// WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Lesser Public License for more details. You should have -// received a copy of the GNU Lesser General Public License along with -// dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef DYNAMIC_GRAPH_TRACER_REAL_TIME_H # define DYNAMIC_GRAPH_TRACER_REAL_TIME_H diff --git a/include/dynamic-graph/tracer.h b/include/dynamic-graph/tracer.h index 386f4b2..61a7f06 100644 --- a/include/dynamic-graph/tracer.h +++ b/include/dynamic-graph/tracer.h @@ -2,18 +2,6 @@ // Copyright 2010, François Bleibel, Thomas Moulard, Olivier Stasse, // JRL, CNRS/AIST. // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public License -// as published by the Free Software Foundation, either version 3 of -// the License, or (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, but -// WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Lesser Public License for more details. You should have -// received a copy of the GNU Lesser General Public License along with -// dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef DYNAMIC_GRAPH_TRACER_H # define DYNAMIC_GRAPH_TRACER_H diff --git a/include/dynamic-graph/value.h b/include/dynamic-graph/value.h index 14b8f47..1389866 100644 --- a/include/dynamic-graph/value.h +++ b/include/dynamic-graph/value.h @@ -3,17 +3,6 @@ // // Author: Florent Lamiraux // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public License -// as published by the Free Software Foundation, either version 3 of -// the License, or (at your option) any later version. -// dynamic-graph is distributed in the hope that it will be -// useful, but WITHOUT ANY WARRANTY; without even the implied warranty -// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Lesser General Public License for more details. You should -// have received a copy of the GNU Lesser General Public License along -// with dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #ifndef DYNAMIC_GRAPH_VALUE_H #define DYNAMIC_GRAPH_VALUE_H @@ -112,7 +101,7 @@ namespace dynamicgraph { }; /* ---- HELPER ---------------------------------------------------------- */ - // Note: to ensure the WIN32 compatibility, it is necessary to export + // Note: to ensure the WIN32 compatibility, it is necessary to export // the template specialization. Also, it is forbidden to do the template // specialization declaration in the header file, for the same reason. template< typename T > diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 738a664..00054c9 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,27 +1,5 @@ # Copyright 2010, Olivier Stasse, JRL, CNRS/AIST # -# This file is part of dynamic-graph. -# dynamic-graph is free software: -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #################################### ### Main Library diff --git a/src/command/command.cpp b/src/command/command.cpp index 99fd8b7..d38eddc 100644 --- a/src/command/command.cpp +++ b/src/command/command.cpp @@ -3,28 +3,6 @@ // // Author: Florent Lamiraux // -// This file is part of dynamic-graph. -// dynamic-graph is free software: -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are met: -// -// * Redistributions of source code must retain the above copyright notice, this -// list of conditions and the following disclaimer. -// -// * Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following disclaimer in the documentation -// and/or other materials provided with the distribution. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include <sstream> #include "dynamic-graph/command.h" diff --git a/src/command/value.cpp b/src/command/value.cpp index bb32599..2dde1c3 100644 --- a/src/command/value.cpp +++ b/src/command/value.cpp @@ -3,28 +3,6 @@ // // Author: Florent Lamiraux // -// This file is part of dynamic-graph. -// dynamic-graph is free software: -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are met: -// -// * Redistributions of source code must retain the above copyright notice, this -// list of conditions and the following disclaimer. -// -// * Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following disclaimer in the documentation -// and/or other materials provided with the distribution. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "dynamic-graph/value.h" diff --git a/src/debug/debug.cpp b/src/debug/debug.cpp index 935516f..4e3828c 100644 --- a/src/debug/debug.cpp +++ b/src/debug/debug.cpp @@ -5,28 +5,6 @@ * * CNRS/AIST * - * This file is part of dynamic-graph. - * dynamic-graph is free software: - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include <dynamic-graph/debug.h> @@ -83,4 +61,3 @@ void DebugTrace::closeFile(const char *) //DebugTrace dgDebugFLOW(std::cout); //DebugTrace dgERRORFLOW(std::cerr); - diff --git a/src/debug/logger.cpp b/src/debug/logger.cpp index 3bb3542..7aa01cc 100644 --- a/src/debug/logger.cpp +++ b/src/debug/logger.cpp @@ -1,10 +1,8 @@ /* - * Copyright 2015, 2019 + * Copyright 2015, 2019 * LAAS-CNRS * Andrea Del Prete, François Bailly, Olivier Stasse - * - * This file is part of dynamic-graph. - * See license file. + * */ #ifndef WIN32 @@ -37,7 +35,7 @@ namespace dynamicgraph Logger::~Logger() { } - + void Logger::setVerbosity(LoggerVerbosity lv) { m_lv=lv; @@ -46,7 +44,7 @@ namespace dynamicgraph LoggerVerbosity Logger::getVerbosity() { return m_lv; - + } void Logger::countdown() { @@ -104,4 +102,3 @@ namespace dynamicgraph return true; } } // namespace dynamicgraph - diff --git a/src/debug/real-time-logger.cpp b/src/debug/real-time-logger.cpp index 97ad576..3407380 100644 --- a/src/debug/real-time-logger.cpp +++ b/src/debug/real-time-logger.cpp @@ -4,17 +4,6 @@ * * LAAS-CNRS * - * This file is part of dynamic-graph. - * dynamic-graph is free software: you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License - * as published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * dynamic-graph is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. You should - * have received a copy of the GNU Lesser General Public License along - * with dynamic-graph. If not, see <http://www.gnu.org/licenses/>. */ #include <dynamic-graph/real-time-logger.h> @@ -103,9 +92,9 @@ namespace dynamicgraph threadParam.sched_priority -= 5; if (threadParam.sched_priority < sched_get_priority_min (threadPolicy)) threadParam.sched_priority = sched_get_priority_min (threadPolicy); - + pthread_setschedparam (pthread_self(), threadPolicy, &threadParam); - } + } while (!requestShutdown_ || !logger->empty()) { diff --git a/src/dgraph/entity.cpp b/src/dgraph/entity.cpp index 87f09ad..eb5bf59 100644 --- a/src/dgraph/entity.cpp +++ b/src/dgraph/entity.cpp @@ -5,28 +5,6 @@ * * CNRS/AIST * - * This file is part of dynamic-graph. - * dynamic-graph is free software: - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /*! Local framework includes */ @@ -286,4 +264,3 @@ sendMsg(const std::string &msg, { logger_.sendMsg("["+name+"]"+msg,t,file,line); } - diff --git a/src/dgraph/factory.cpp b/src/dgraph/factory.cpp index 0504d1d..9c10a6c 100644 --- a/src/dgraph/factory.cpp +++ b/src/dgraph/factory.cpp @@ -1,28 +1,6 @@ // Copyright 2010, François Bleibel, Thomas Moulard, Olivier Stasse, // JRL, CNRS/AIST. // -// This file is part of dynamic-graph. -// dynamic-graph is free software: -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are met: -// -// * Redistributions of source code must retain the above copyright notice, this -// list of conditions and the following disclaimer. -// -// * Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following disclaimer in the documentation -// and/or other materials provided with the distribution. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include <boost/foreach.hpp> diff --git a/src/dgraph/pool.cpp b/src/dgraph/pool.cpp index de10597..0d240cf 100644 --- a/src/dgraph/pool.cpp +++ b/src/dgraph/pool.cpp @@ -5,29 +5,6 @@ * * CNRS/AIST * - * This file is part of dynamic-graph. - * dynamic-graph is free software: - * Redistribution and use in source and binary forms, - * with or without modification, are permitted provided that the following - * conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, * INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. */ /* --------------------------------------------------------------------- */ @@ -295,4 +272,3 @@ getSignal( std::istringstream& sigpath ) } PoolStorage* PoolStorage::instance_ = 0; - diff --git a/src/exception/exception-abstract.cpp b/src/exception/exception-abstract.cpp index 895d700..f1eb90d 100644 --- a/src/exception/exception-abstract.cpp +++ b/src/exception/exception-abstract.cpp @@ -1,28 +1,6 @@ // Copyright 2010, François Bleibel, Thomas Moulard, Olivier Stasse, // JRL, CNRS/AIST. // -// This file is part of dynamic-graph. -// dynamic-graph is free software: -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are met: -// -// * Redistributions of source code must retain the above copyright notice, this -// list of conditions and the following disclaimer. -// -// * Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following disclaimer in the documentation -// and/or other materials provided with the distribution. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include <cstring> #include <dynamic-graph/exception-abstract.h> diff --git a/src/exception/exception-factory.cpp b/src/exception/exception-factory.cpp index 523cea2..96e9257 100644 --- a/src/exception/exception-factory.cpp +++ b/src/exception/exception-factory.cpp @@ -5,28 +5,6 @@ * * CNRS/AIST * - * This file is part of dynamic-graph. - * dynamic-graph is free software: - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include <dynamic-graph/exception-factory.h> diff --git a/src/exception/exception-signal.cpp b/src/exception/exception-signal.cpp index 53d35d9..44ab17d 100644 --- a/src/exception/exception-signal.cpp +++ b/src/exception/exception-signal.cpp @@ -5,28 +5,6 @@ * * CNRS/AIST * - * This file is part of dynamic-graph. - * dynamic-graph is free software: - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include <dynamic-graph/exception-signal.h> diff --git a/src/exception/exception-traces.cpp b/src/exception/exception-traces.cpp index 0d15f8a..a028581 100644 --- a/src/exception/exception-traces.cpp +++ b/src/exception/exception-traces.cpp @@ -5,28 +5,6 @@ * * CNRS/AIST * - * This file is part of dynamic-graph. - * dynamic-graph is free software: - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include <dynamic-graph/exception-traces.h> diff --git a/src/signal/signal-array.cpp b/src/signal/signal-array.cpp index 6dd75c9..02e8a00 100644 --- a/src/signal/signal-array.cpp +++ b/src/signal/signal-array.cpp @@ -5,28 +5,6 @@ * * CNRS/AIST * - * This file is part of dynamic-graph. - * dynamic-graph is free software: - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include <dynamic-graph/signal-array.h> diff --git a/src/signal/signal-cast-helper.cpp b/src/signal/signal-cast-helper.cpp index a483fa0..dc3d9bc 100644 --- a/src/signal/signal-cast-helper.cpp +++ b/src/signal/signal-cast-helper.cpp @@ -1,28 +1,6 @@ // -*- c++-mode -*- // Copyright 2010 François Bleibel Thomas Moulard, Olivier Stasse, Nicolas Mansard // -// This file is part of dynamic-graph. -// dynamic-graph is free software: -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are met: -// -// * Redistributions of source code must retain the above copyright notice, this -// list of conditions and the following disclaimer. -// -// * Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following disclaimer in the documentation -// and/or other materials provided with the distribution. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include <boost/date_time/posix_time/posix_time.hpp> #include <dynamic-graph/signal-caster.h> diff --git a/src/signal/signal-caster.cpp b/src/signal/signal-caster.cpp index 410b75e..b8cac84 100644 --- a/src/signal/signal-caster.cpp +++ b/src/signal/signal-caster.cpp @@ -1,28 +1,6 @@ // -*- c++-mode -*- // Copyright 2010 François Bleibel Thomas Moulard, Olivier Stasse // -// This file is part of dynamic-graph. -// dynamic-graph is free software: -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are met: -// -// * Redistributions of source code must retain the above copyright notice, this -// list of conditions and the following disclaimer. -// -// * Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following disclaimer in the documentation -// and/or other materials provided with the distribution. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include <dynamic-graph/signal-caster.h> #include <dynamic-graph/dynamic-graph-api.h> diff --git a/src/traces/tracer-real-time.cpp b/src/traces/tracer-real-time.cpp index b70249f..cc7abf0 100644 --- a/src/traces/tracer-real-time.cpp +++ b/src/traces/tracer-real-time.cpp @@ -5,28 +5,6 @@ * * CNRS/AIST * - * This file is part of dynamic-graph. - * dynamic-graph is free software: - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* --------------------------------------------------------------------- */ diff --git a/src/traces/tracer.cpp b/src/traces/tracer.cpp index 9ad0eef..3d2b978 100644 --- a/src/traces/tracer.cpp +++ b/src/traces/tracer.cpp @@ -5,28 +5,6 @@ * * CNRS/AIST * - * This file is part of dynamic-graph. - * dynamic-graph is free software: - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* --------------------------------------------------------------------- */ diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index d832826..c9cebb2 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,17 +1,5 @@ # Copyright 2010, Olivier Stasse, JRL, CNRS/AIST # -# This file is part of dynamic-graph. -# dynamic-graph is free software: you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public License -# as published by the Free Software Foundation, either version 3 of -# the License, or (at your option) any later version. -# -# dynamic-graph is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Lesser Public License for more details. You should have -# received a copy of the GNU Lesser General Public License along with -# dynamic-graph. If not, see <http://www.gnu.org/licenses/>. ADD_DEFINITIONS(-DDEBUG=2) diff --git a/tests/custom-entity.cpp b/tests/custom-entity.cpp index 31b523a..e744826 100644 --- a/tests/custom-entity.cpp +++ b/tests/custom-entity.cpp @@ -1,17 +1,5 @@ // Copyright 2010 Thomas Moulard. // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Lesser General Public License for more details. -// You should have received a copy of the GNU Lesser General Public License -// along with dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #include <sstream> #include <dynamic-graph/factory.h> @@ -81,4 +69,3 @@ BOOST_AUTO_TEST_CASE (display) // Deregister entities before destroying them dynamicgraph::PoolStorage::destroy(); } - diff --git a/tests/debug-trace.cpp b/tests/debug-trace.cpp index a15ade2..a390784 100644 --- a/tests/debug-trace.cpp +++ b/tests/debug-trace.cpp @@ -2,8 +2,6 @@ * * Olivier Stasse * - * See LICENSE file - * */ #include <sstream> #include <iostream> @@ -66,9 +64,9 @@ namespace dynamicgraph BOOST_AUTO_TEST_CASE(testDebugTrace) { - + BOOST_CHECK_EQUAL (dynamicgraph::CustomEntity::CLASS_NAME, "CustomEntity"); - + dynamicgraph::CustomEntity& entity = *(dynamic_cast<dynamicgraph::CustomEntity *>( dynamicgraph::FactoryStorage::getInstance()->newEntity("CustomEntity", "my-entity"))); @@ -79,7 +77,7 @@ BOOST_AUTO_TEST_CASE(testDebugTrace) std::fstream the_debug_file; the_debug_file.open(dynamicgraph::DebugTrace::DEBUG_FILENAME_DEFAULT, std::ios::in ); - + // Extract the filename and this source file from the output std::string astr; std::ostringstream oss_debug_file; @@ -91,7 +89,7 @@ BOOST_AUTO_TEST_CASE(testDebugTrace) std::string asubstr2 = asubstr.substr(found+1,astr.length()); oss_debug_file << asubstr2; } - + the_debug_file.close(); // Compare with the strings put inside this source file @@ -103,9 +101,7 @@ BOOST_AUTO_TEST_CASE(testDebugTrace) // Make comparisons. two_sub_string_identical = str_to_test == oss_debug_file.str(); - - BOOST_CHECK(two_sub_string_identical); - -} + BOOST_CHECK(two_sub_string_identical); +} diff --git a/tests/debug-tracer.cpp b/tests/debug-tracer.cpp index 34a8cfd..8bf547d 100644 --- a/tests/debug-tracer.cpp +++ b/tests/debug-tracer.cpp @@ -2,8 +2,6 @@ * * Olivier Stasse * - * See LICENSE file - * */ #include <iostream> @@ -26,11 +24,11 @@ namespace dynamicgraph struct MyEntity : public dynamicgraph::Entity { static const std::string CLASS_NAME; - + dynamicgraph::Signal<double, int> m_sigdSIN; dynamicgraph::SignalTimeDependent<double, int> m_sigdTimeDepSOUT; dynamicgraph::SignalTimeDependent<double, int> m_sigdTwoTimeDepSOUT; - + MyEntity (const std::string& name) : Entity (name) ,m_sigdSIN("MyEntity("+name+")::input(double)::in_double") @@ -40,30 +38,30 @@ namespace dynamicgraph ,m_sigdTwoTimeDepSOUT(boost::bind(&MyEntity::update,this,_1,_2), m_sigdSIN, "MyEntity("+name+")::input(double)::out2double") - + { signalRegistration(m_sigdSIN << m_sigdTimeDepSOUT << m_sigdTwoTimeDepSOUT); } - + virtual void display (std::ostream& os) const { os << "Hello! My name is " << getName () << " !" << std::endl; } - + virtual const std::string& getClassName () const { return CLASS_NAME; } - + double & update(double &res, const int &inTime) { const double &aDouble = m_sigdSIN(inTime); res = aDouble; return res; } - + }; DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN (MyEntity,"MyEntity"); } @@ -96,7 +94,7 @@ BOOST_AUTO_TEST_CASE(test_tracer) atracer.addSignalToTrace(aSignal,"output2"); aSignalInt.setConstant(1.5); - + std::string rootdir("/tmp"); std::string basename("my-tracer"); std::string suffix(".dat"); @@ -112,8 +110,8 @@ BOOST_AUTO_TEST_CASE(test_tracer) aSignalInt.setTime(i); atracer.recordTrigger(i,i); } - + atracer.stop(); - + atracer.closeFiles(); } diff --git a/tests/entity.cpp b/tests/entity.cpp index b45a24e..7e4a5d0 100644 --- a/tests/entity.cpp +++ b/tests/entity.cpp @@ -1,8 +1,6 @@ /* Copyright 2010-2019 LAAS, CNRS * Thomas Moulard. * - * See LICENSE file - * */ #define ENABLE_RT_LOG @@ -63,7 +61,7 @@ namespace dynamicgraph res = aDouble; return res; } - + }; DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN (CustomEntity,"CustomEntity"); } @@ -193,7 +191,7 @@ BOOST_AUTO_TEST_CASE (sendMsg) dynamicgraph::PoolStorage::getInstance()->getEntity("my-entity"); output_test_stream output; - + for(unsigned int i=0; i<4; i++) @@ -205,7 +203,7 @@ BOOST_AUTO_TEST_CASE (sendMsg) entity.setLoggerVerbosityLevel(aLoggerVerbosityLevel); if (entity.getLoggerVerbosityLevel()!=aLoggerVerbosityLevel) output << "Mismatch output"; - + std::string aBaseMsg="Auto Test Case"; std::string aMsg=aBaseMsg+" DEBUG"; entity.sendMsg(aMsg, dynamicgraph::MSG_TYPE_DEBUG, __FILE__, __LINE__); diff --git a/tests/factory.cpp b/tests/factory.cpp index fbc5683..5fbeb4f 100644 --- a/tests/factory.cpp +++ b/tests/factory.cpp @@ -1,17 +1,5 @@ // Copyright 2010 Thomas Moulard. // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Lesser General Public License for more details. -// You should have received a copy of the GNU Lesser General Public License -// along with dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #include <sstream> #include <dynamic-graph/factory.h> diff --git a/tests/interpreter-tracer.cpp b/tests/interpreter-tracer.cpp index d314fbe..f514b87 100644 --- a/tests/interpreter-tracer.cpp +++ b/tests/interpreter-tracer.cpp @@ -1,17 +1,5 @@ // Copyright 2010 Thomas Moulard. // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Lesser General Public License for more details. -// You should have received a copy of the GNU Lesser General Public License -// along with dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #include <sstream> #include <dynamic-graph/exception-factory.h> diff --git a/tests/pool.cpp b/tests/pool.cpp index e382171..9ea3b2d 100644 --- a/tests/pool.cpp +++ b/tests/pool.cpp @@ -1,17 +1,5 @@ // Copyright 2010 Thomas Moulard. // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Lesser General Public License for more details. -// You should have received a copy of the GNU Lesser General Public License -// along with dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #include <sstream> #include <iostream> @@ -35,7 +23,7 @@ struct MyEntity : public dynamicgraph::Entity dynamicgraph::SignalPtr<double, int> m_sigdSIN; dynamicgraph::SignalTimeDependent<double, int> m_sigdTimeDepSOUT; - + MyEntity (const std::string& name) : Entity (name) ,m_sigdSIN(NULL,"MyEntity("+name+")::input(double)::in_double") @@ -62,7 +50,7 @@ struct MyEntity : public dynamicgraph::Entity res = aDouble; return res; } - + }; DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN (MyEntity, "MyEntity"); @@ -129,7 +117,7 @@ BOOST_AUTO_TEST_CASE (pool_display) bool testExistence = anEntityMap.find("MyEntityInst")==anEntityMap.end(); BOOST_CHECK(!testExistence); - + /// Testing the existence of an entity testExistence = dg::PoolStorage::getInstance()->existEntity ("MyEntityInst",entity); @@ -149,7 +137,7 @@ BOOST_AUTO_TEST_CASE (pool_display) oss_output_wgph << the_debug_file.rdbuf(); the_debug_file.close(); - /// Use a predefined output + /// Use a predefined output std::string str_to_test="/* This graph has been automatically generated.\n" " 2019 Month: 2 Day: 28 Time: 11:28 */\n" "digraph \"output\" { graph [ label=\"output\" bgcolor = white rankdir=LR ]\n" @@ -160,7 +148,7 @@ BOOST_AUTO_TEST_CASE (pool_display) " fontcolor = black, color = black, fillcolor=cyan, style=filled, shape=box ]\n" "}\n"; - /// Check the two substring (remove the date) - + /// Check the two substring (remove the date) - std::string s_output_wgph = oss_output_wgph.str(); std::string s_crmk="*/"; @@ -171,12 +159,12 @@ BOOST_AUTO_TEST_CASE (pool_display) bool two_sub_string_identical; two_sub_string_identical=sub_str_to_test==sub_s_output_wgph; - + BOOST_CHECK(two_sub_string_identical); /// Test name of a valid signal. std::istringstream an_iss("MyEntityInst.in_double"); - + dg::SignalBase<int> &aSignal= dg::PoolStorage::getInstance()->getSignal(an_iss); @@ -195,8 +183,8 @@ BOOST_AUTO_TEST_CASE (pool_display) res =(aef.getCode()==dg::ExceptionFactory::UNREFERED_SIGNAL); } BOOST_CHECK(res); - - + + /// Deregister the entity. dg::PoolStorage::getInstance()->deregisterEntity (entity->getName()); @@ -204,13 +192,13 @@ BOOST_AUTO_TEST_CASE (pool_display) /// Testing the existance of an entity testExistence = dg::PoolStorage::getInstance()->existEntity ("MyEntityInst",entity); - + BOOST_CHECK(!testExistence); /// Create Entity std::string name_entity("MyEntityInst2"); dg::PoolStorage::getInstance()-> clearPlugin(name_entity); - + dg::PoolStorage::destroy(); } diff --git a/tests/real-time-logger.cpp b/tests/real-time-logger.cpp index c96b156..eb5b7e1 100644 --- a/tests/real-time-logger.cpp +++ b/tests/real-time-logger.cpp @@ -4,17 +4,6 @@ * * LAAS-CNRS * - * This file is part of dynamic-graph. - * dynamic-graph is free software: you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License - * as published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * dynamic-graph is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. You should - * have received a copy of the GNU Lesser General Public License along - * with dynamic-graph. If not, see <http://www.gnu.org/licenses/>. */ #include <iostream> diff --git a/tests/signal-cast-registerer-libA.cpp b/tests/signal-cast-registerer-libA.cpp index b403e89..ffd30da 100644 --- a/tests/signal-cast-registerer-libA.cpp +++ b/tests/signal-cast-registerer-libA.cpp @@ -1,17 +1,5 @@ // Copyright 2010 Thomas Moulard. // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Lesser General Public License for more details. -// You should have received a copy of the GNU Lesser General Public License -// along with dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #include "signal-cast-registerer-libA.hh" diff --git a/tests/signal-cast-registerer-libA.hh b/tests/signal-cast-registerer-libA.hh index f0065e2..d4a940c 100644 --- a/tests/signal-cast-registerer-libA.hh +++ b/tests/signal-cast-registerer-libA.hh @@ -1,17 +1,5 @@ // Copyright 2010 Thomas Moulard. // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Lesser General Public License for more details. -// You should have received a copy of the GNU Lesser General Public License -// along with dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #include <Eigen/Dense> diff --git a/tests/signal-cast-registerer-libB.cpp b/tests/signal-cast-registerer-libB.cpp index a8ce1b1..81a8391 100644 --- a/tests/signal-cast-registerer-libB.cpp +++ b/tests/signal-cast-registerer-libB.cpp @@ -1,17 +1,5 @@ // Copyright 2010 Thomas Moulard. // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Lesser General Public License for more details. -// You should have received a copy of the GNU Lesser General Public License -// along with dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #include "signal-cast-registerer-libB.hh" diff --git a/tests/signal-cast-registerer-libB.hh b/tests/signal-cast-registerer-libB.hh index 1c600a5..47f4399 100644 --- a/tests/signal-cast-registerer-libB.hh +++ b/tests/signal-cast-registerer-libB.hh @@ -1,17 +1,5 @@ // Copyright 2010 Thomas Moulard. // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Lesser General Public License for more details. -// You should have received a copy of the GNU Lesser General Public License -// along with dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #include <Eigen/Core> diff --git a/tests/signal-cast-registerer.cpp b/tests/signal-cast-registerer.cpp index 1982589..42b2b3f 100644 --- a/tests/signal-cast-registerer.cpp +++ b/tests/signal-cast-registerer.cpp @@ -1,17 +1,5 @@ // Copyright 2010 Thomas Moulard. // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Lesser General Public License for more details. -// You should have received a copy of the GNU Lesser General Public License -// along with dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #include <string> diff --git a/tests/signal-ptr.cpp b/tests/signal-ptr.cpp index 36638fd..9e196ac 100644 --- a/tests/signal-ptr.cpp +++ b/tests/signal-ptr.cpp @@ -1,17 +1,5 @@ // Copyright 2010 Thomas Moulard. // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Lesser General Public License for more details. -// You should have received a copy of the GNU Lesser General Public License -// along with dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #include <string> diff --git a/tests/signal-time-dependent.cpp b/tests/signal-time-dependent.cpp index 246a3c6..e186960 100644 --- a/tests/signal-time-dependent.cpp +++ b/tests/signal-time-dependent.cpp @@ -1,17 +1,5 @@ // Copyright 2010 Thomas Moulard. // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Lesser General Public License for more details. -// You should have received a copy of the GNU Lesser General Public License -// along with dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #include <boost/foreach.hpp> diff --git a/tests/value.cpp b/tests/value.cpp index c3f62fb..ca4855c 100644 --- a/tests/value.cpp +++ b/tests/value.cpp @@ -1,17 +1,5 @@ // Copyright 2011 Florent Lamiraux, Thomas Moulard. // -// This file is part of dynamic-graph. -// dynamic-graph is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// dynamic-graph is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Lesser General Public License for more details. -// You should have received a copy of the GNU Lesser General Public License -// along with dynamic-graph. If not, see <http://www.gnu.org/licenses/>. #include <iostream> #include "dynamic-graph/value.h" -- GitLab