From 3b3beb099af45afb71751f249712453de8ebaedd Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Tue, 16 Feb 2021 17:00:22 +0100 Subject: [PATCH] Fix clang-tidy job, update headers --- .../PVT/libs/monitor_ephemeris_udp_sink.cc | 15 ++++++++------- .../PVT/libs/monitor_ephemeris_udp_sink.h | 15 +++++++-------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/algorithms/PVT/libs/monitor_ephemeris_udp_sink.cc b/src/algorithms/PVT/libs/monitor_ephemeris_udp_sink.cc index 5e9f45231..6abf37aa0 100644 --- a/src/algorithms/PVT/libs/monitor_ephemeris_udp_sink.cc +++ b/src/algorithms/PVT/libs/monitor_ephemeris_udp_sink.cc @@ -1,15 +1,15 @@ /*! - * \file monitor_pvt_udp_sink.cc - * \brief Implementation of a class that sends serialized Monitor_Pvt - * objects over udp to one or multiple endpoints - * \author Álvaro Cebrián Juan, 2019. acebrianjuan(at)gmail.com + * \file monitor_ephemeris_udp_sink.cc + * \brief Interface of a class that sends serialized Gps_Ephemeris and + * Galileo_Ephemeris objects over udp to one or multiple endpoints. + * \author Javier Arribas, 2021. jarribas(at)cttc.es * * ----------------------------------------------------------------------------- * * GNSS-SDR is a Global Navigation Satellite System software-defined receiver. * This file is part of GNSS-SDR. * - * Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) + * Copyright (C) 2010-2021 (see AUTHORS file for a list of contributors) * SPDX-License-Identifier: GPL-3.0-or-later * * ----------------------------------------------------------------------------- @@ -38,7 +38,7 @@ Monitor_Ephemeris_Udp_Sink::Monitor_Ephemeris_Udp_Sink(const std::vector monitor_gal_eph) +bool Monitor_Ephemeris_Udp_Sink::write_galileo_ephemeris(const std::shared_ptr& monitor_gal_eph) { std::string outbound_data; if (use_protobuf == false) @@ -74,7 +74,8 @@ bool Monitor_Ephemeris_Udp_Sink::write_galileo_ephemeris(const std::shared_ptr monitor_gps_eph) + +bool Monitor_Ephemeris_Udp_Sink::write_gps_ephemeris(const std::shared_ptr& monitor_gps_eph) { std::string outbound_data; if (use_protobuf == false) diff --git a/src/algorithms/PVT/libs/monitor_ephemeris_udp_sink.h b/src/algorithms/PVT/libs/monitor_ephemeris_udp_sink.h index 824797eb7..b61e71049 100644 --- a/src/algorithms/PVT/libs/monitor_ephemeris_udp_sink.h +++ b/src/algorithms/PVT/libs/monitor_ephemeris_udp_sink.h @@ -1,15 +1,15 @@ /*! - * \file monitor_pvt_udp_sink.h - * \brief Interface of a class that sends serialized Gps_Ephemeris objects - * over udp to one or multiple endpoints - * \author Álvaro Cebrián Juan, 2019. acebrianjuan(at)gmail.com + * \file monitor_ephemeris_udp_sink.h + * \brief Interface of a class that sends serialized Gps_Ephemeris and + * Galileo_Ephemeris objects over udp to one or multiple endpoints. + * \author Javier Arribas, 2021. jarribas(at)cttc.es * * ----------------------------------------------------------------------------- * * GNSS-SDR is a Global Navigation Satellite System software-defined receiver. * This file is part of GNSS-SDR. * - * Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) + * Copyright (C) 2010-2021 (see AUTHORS file for a list of contributors) * SPDX-License-Identifier: GPL-3.0-or-later * * ----------------------------------------------------------------------------- @@ -43,9 +43,8 @@ class Monitor_Ephemeris_Udp_Sink { public: Monitor_Ephemeris_Udp_Sink(const std::vector& addresses, const uint16_t& port, bool protobuf_enabled); - bool write_gps_ephemeris(const std::shared_ptr monitor_gps_eph); - bool write_galileo_ephemeris(const std::shared_ptr monitor_gal_eph); - + bool write_gps_ephemeris(const std::shared_ptr& monitor_gps_eph); + bool write_galileo_ephemeris(const std::shared_ptr& monitor_gal_eph); private: Serdes_Galileo_Eph serdes_gal;