1 /* Copyright (C) 2018 Federico Simmross Wattenberg,
2 * Manuel Rodríguez Cayetano,
3 * Javier Royuela del Val,
4 * Elena Martín González,
6 * Marcos Martín Fernández and
7 * Carlos Alberola López
9 * This file is part of OpenCLIPER.
11 * OpenCLIPER is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; version 3 of the License.
15 * OpenCLIPER is distributed in the hope that it will be useful, but
16 * WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with OpenCLIPER; If not, see <http://www.gnu.org/licenses/>.
26 * Federico Simmross Wattenberg
27 * E.T.S.I. Telecomunicación
28 * Universidad de Valladolid
30 * 47011 Valladolid, Spain.
36 * Created on: 15 de nov. de 2016
40 #ifndef INCLUDE_OPENCLIPER_UTILS_HPP_
41 #define INCLUDE_OPENCLIPER_UTILS_HPP_
45 #include <chrono> // measurement of execution times
46 #include <iomanip> // for std::setprecision
48 /// Namespace for the LPISupport library (support classes for the OpenCLIPER framework)
49 namespace LPISupport {
51 * @brief Class containing general purpose methods.
60 static void checkAndSetValue(unsigned long& value, unsigned long min, unsigned long max);
63 } /* namespace OpenCLIPER */
65 #endif /* INCLUDE_OPENCLIPER_UTILS_HPP_ */