Apply clang tidy checks and clang-format

This commit is contained in:
Carles Fernandez
2019-09-13 08:56:37 +02:00
parent 0520d400b3
commit e80122f4ff
132 changed files with 359 additions and 347 deletions
+6 -6
View File
@@ -44,13 +44,13 @@ Channel::Channel(ConfigurationInterface* configuration, uint32_t channel, const
const std::shared_ptr<TrackingInterface>& trk, const std::shared_ptr<TelemetryDecoderInterface>& nav,
const std::string& role, const std::string& implementation, const std::shared_ptr<Concurrent_Queue<pmt::pmt_t> >& queue)
{
acq_ = std::move(acq);
trk_ = std::move(trk);
nav_ = std::move(nav);
role_ = std::move(role);
implementation_ = std::move(implementation);
acq_ = acq;
trk_ = trk;
nav_ = nav;
role_ = role;
implementation_ = implementation;
channel_ = channel;
queue_ = std::move(queue);
queue_ = queue;
channel_fsm_ = std::make_shared<ChannelFsm>();
flag_enable_fpga = configuration->property("GNSS-SDR.enable_FPGA", false);
+3 -3
View File
@@ -30,8 +30,8 @@
* -------------------------------------------------------------------------
*/
#ifndef GNSS_SDR_CHANNEL_FSM_H
#define GNSS_SDR_CHANNEL_FSM_H
#ifndef GNSS_SDR_CHANNEL_FSM_H_
#define GNSS_SDR_CHANNEL_FSM_H_
#include "acquisition_interface.h"
#include "concurrent_queue.h"
@@ -83,4 +83,4 @@ private:
std::mutex mx;
};
#endif // GNSS_SDR_CHANNEL_FSM_H
#endif // GNSS_SDR_CHANNEL_FSM_H_
@@ -28,8 +28,8 @@
* -------------------------------------------------------------------------
*/
#ifndef GNSS_SDR_CHANNEL_MSG_RECEIVER_CC_H
#define GNSS_SDR_CHANNEL_MSG_RECEIVER_CC_H
#ifndef GNSS_SDR_CHANNEL_MSG_RECEIVER_CC_H_
#define GNSS_SDR_CHANNEL_MSG_RECEIVER_CC_H_
#include "channel_fsm.h"
#include <gnuradio/block.h>
@@ -58,4 +58,4 @@ private:
void msg_handler_events(pmt::pmt_t msg);
};
#endif
#endif // GNSS_SDR_CHANNEL_MSG_RECEIVER_CC_H_