Make the adapters take the configuration pointer as const

This commit is contained in:
Carles Fernandez
2020-06-29 09:07:41 +02:00
parent 0c4bdfac48
commit 2b3d4b321d
194 changed files with 563 additions and 519 deletions
@@ -24,7 +24,8 @@
#include <glog/logging.h>
BeidouB1iTelemetryDecoder::BeidouB1iTelemetryDecoder(ConfigurationInterface* configuration,
BeidouB1iTelemetryDecoder::BeidouB1iTelemetryDecoder(
const ConfigurationInterface* configuration,
const std::string& role,
unsigned int in_streams,
unsigned int out_streams) : role_(role),
@@ -39,7 +39,8 @@ class ConfigurationInterface;
class BeidouB1iTelemetryDecoder : public TelemetryDecoderInterface
{
public:
BeidouB1iTelemetryDecoder(ConfigurationInterface* configuration,
BeidouB1iTelemetryDecoder(
const ConfigurationInterface* configuration,
const std::string& role,
unsigned int in_streams,
unsigned int out_streams);
@@ -23,7 +23,7 @@
#include <glog/logging.h>
BeidouB3iTelemetryDecoder::BeidouB3iTelemetryDecoder(
ConfigurationInterface *configuration, const std::string &role,
const ConfigurationInterface *configuration, const std::string &role,
unsigned int in_streams, unsigned int out_streams)
: role_(role), in_streams_(in_streams), out_streams_(out_streams)
{
@@ -37,7 +37,8 @@ class ConfigurationInterface;
class BeidouB3iTelemetryDecoder : public TelemetryDecoderInterface
{
public:
BeidouB3iTelemetryDecoder(ConfigurationInterface *configuration,
BeidouB3iTelemetryDecoder(
const ConfigurationInterface *configuration,
const std::string &role, unsigned int in_streams,
unsigned int out_streams);
@@ -25,7 +25,8 @@
#include <glog/logging.h>
GalileoE1BTelemetryDecoder::GalileoE1BTelemetryDecoder(ConfigurationInterface* configuration,
GalileoE1BTelemetryDecoder::GalileoE1BTelemetryDecoder(
const ConfigurationInterface* configuration,
const std::string& role,
unsigned int in_streams,
unsigned int out_streams) : role_(role),
@@ -41,7 +41,8 @@ class ConfigurationInterface;
class GalileoE1BTelemetryDecoder : public TelemetryDecoderInterface
{
public:
GalileoE1BTelemetryDecoder(ConfigurationInterface* configuration,
GalileoE1BTelemetryDecoder(
const ConfigurationInterface* configuration,
const std::string& role,
unsigned int in_streams,
unsigned int out_streams);
@@ -28,7 +28,8 @@
#include <glog/logging.h>
GalileoE5aTelemetryDecoder::GalileoE5aTelemetryDecoder(ConfigurationInterface* configuration,
GalileoE5aTelemetryDecoder::GalileoE5aTelemetryDecoder(
const ConfigurationInterface* configuration,
const std::string& role,
unsigned int in_streams,
unsigned int out_streams) : role_(role),
@@ -42,7 +42,8 @@ class ConfigurationInterface;
class GalileoE5aTelemetryDecoder : public TelemetryDecoderInterface
{
public:
GalileoE5aTelemetryDecoder(ConfigurationInterface* configuration,
GalileoE5aTelemetryDecoder(
const ConfigurationInterface* configuration,
const std::string& role,
unsigned int in_streams,
unsigned int out_streams);
@@ -25,7 +25,8 @@
#include <glog/logging.h>
GlonassL1CaTelemetryDecoder::GlonassL1CaTelemetryDecoder(ConfigurationInterface* configuration,
GlonassL1CaTelemetryDecoder::GlonassL1CaTelemetryDecoder(
const ConfigurationInterface* configuration,
const std::string& role,
unsigned int in_streams,
unsigned int out_streams) : role_(role),
@@ -39,7 +39,8 @@ class ConfigurationInterface;
class GlonassL1CaTelemetryDecoder : public TelemetryDecoderInterface
{
public:
GlonassL1CaTelemetryDecoder(ConfigurationInterface* configuration,
GlonassL1CaTelemetryDecoder(
const ConfigurationInterface* configuration,
const std::string& role,
unsigned int in_streams,
unsigned int out_streams);
@@ -24,7 +24,8 @@
#include <glog/logging.h>
GlonassL2CaTelemetryDecoder::GlonassL2CaTelemetryDecoder(ConfigurationInterface* configuration,
GlonassL2CaTelemetryDecoder::GlonassL2CaTelemetryDecoder(
const ConfigurationInterface* configuration,
const std::string& role,
unsigned int in_streams,
unsigned int out_streams) : role_(role),
@@ -38,7 +38,8 @@ class ConfigurationInterface;
class GlonassL2CaTelemetryDecoder : public TelemetryDecoderInterface
{
public:
GlonassL2CaTelemetryDecoder(ConfigurationInterface* configuration,
GlonassL2CaTelemetryDecoder(
const ConfigurationInterface* configuration,
const std::string& role,
unsigned int in_streams,
unsigned int out_streams);
@@ -24,7 +24,8 @@
#include <glog/logging.h>
GpsL1CaTelemetryDecoder::GpsL1CaTelemetryDecoder(ConfigurationInterface* configuration,
GpsL1CaTelemetryDecoder::GpsL1CaTelemetryDecoder(
const ConfigurationInterface* configuration,
const std::string& role,
unsigned int in_streams,
unsigned int out_streams) : role_(role),
@@ -38,7 +38,8 @@ class ConfigurationInterface;
class GpsL1CaTelemetryDecoder : public TelemetryDecoderInterface
{
public:
GpsL1CaTelemetryDecoder(ConfigurationInterface* configuration,
GpsL1CaTelemetryDecoder(
const ConfigurationInterface* configuration,
const std::string& role,
unsigned int in_streams,
unsigned int out_streams);
@@ -24,7 +24,8 @@
#include <glog/logging.h>
GpsL2CTelemetryDecoder::GpsL2CTelemetryDecoder(ConfigurationInterface* configuration,
GpsL2CTelemetryDecoder::GpsL2CTelemetryDecoder(
const ConfigurationInterface* configuration,
const std::string& role,
unsigned int in_streams,
unsigned int out_streams) : role_(role),
@@ -38,7 +38,8 @@ class ConfigurationInterface;
class GpsL2CTelemetryDecoder : public TelemetryDecoderInterface
{
public:
GpsL2CTelemetryDecoder(ConfigurationInterface* configuration,
GpsL2CTelemetryDecoder(
const ConfigurationInterface* configuration,
const std::string& role,
unsigned int in_streams,
unsigned int out_streams);
@@ -24,7 +24,8 @@
#include <glog/logging.h>
GpsL5TelemetryDecoder::GpsL5TelemetryDecoder(ConfigurationInterface* configuration,
GpsL5TelemetryDecoder::GpsL5TelemetryDecoder(
const ConfigurationInterface* configuration,
const std::string& role,
unsigned int in_streams,
unsigned int out_streams) : role_(role),
@@ -40,7 +40,8 @@ class ConfigurationInterface;
class GpsL5TelemetryDecoder : public TelemetryDecoderInterface
{
public:
GpsL5TelemetryDecoder(ConfigurationInterface* configuration,
GpsL5TelemetryDecoder(
const ConfigurationInterface* configuration,
const std::string& role,
unsigned int in_streams,
unsigned int out_streams);
@@ -24,7 +24,8 @@
#include <glog/logging.h>
SbasL1TelemetryDecoder::SbasL1TelemetryDecoder(ConfigurationInterface* configuration,
SbasL1TelemetryDecoder::SbasL1TelemetryDecoder(
const ConfigurationInterface* configuration,
const std::string& role,
unsigned int in_streams,
unsigned int out_streams) : role_(role),
@@ -40,7 +40,8 @@ class ConfigurationInterface;
class SbasL1TelemetryDecoder : public TelemetryDecoderInterface
{
public:
SbasL1TelemetryDecoder(ConfigurationInterface* configuration,
SbasL1TelemetryDecoder(
const ConfigurationInterface* configuration,
const std::string& role,
unsigned int in_streams,
unsigned int out_streams);