Changed file extension of all C++ only header files from .h to .hpp
This commit is contained in:
parent
34c90c2485
commit
54aa794bf8
|
|
@ -26,7 +26,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include "M17Datatypes.h"
|
#include "M17Datatypes.hpp"
|
||||||
|
|
||||||
namespace M17
|
namespace M17
|
||||||
{
|
{
|
||||||
|
|
@ -28,7 +28,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <experimental/array>
|
#include <experimental/array>
|
||||||
#include "M17Utils.h"
|
#include "M17Utils.hpp"
|
||||||
|
|
||||||
namespace M17
|
namespace M17
|
||||||
{
|
{
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef M17_CONSTANTS_H
|
#ifndef M17_CONSTANTS_H
|
||||||
#define M17_CONSTANTS_H
|
#define M17_CONSTANTS_H
|
||||||
|
|
||||||
#include <M17/M17Datatypes.h>
|
#include <M17/M17Datatypes.hpp>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <array>
|
#include <array>
|
||||||
|
|
||||||
|
|
@ -34,8 +34,8 @@
|
||||||
#include <dsp.h>
|
#include <dsp.h>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <interfaces/audio_stream.h>
|
#include <interfaces/audio_stream.h>
|
||||||
#include <M17/M17Datatypes.h>
|
#include <M17/M17Datatypes.hpp>
|
||||||
#include <M17/M17Constants.h>
|
#include <M17/M17Constants.hpp>
|
||||||
|
|
||||||
namespace M17
|
namespace M17
|
||||||
{
|
{
|
||||||
|
|
@ -28,9 +28,9 @@
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <array>
|
#include <array>
|
||||||
#include "M17LinkSetupFrame.h"
|
#include "M17LinkSetupFrame.hpp"
|
||||||
#include "M17Viterbi.h"
|
#include "M17Viterbi.hpp"
|
||||||
#include "M17StreamFrame.h"
|
#include "M17StreamFrame.hpp"
|
||||||
|
|
||||||
namespace M17
|
namespace M17
|
||||||
{
|
{
|
||||||
|
|
@ -27,9 +27,9 @@
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <array>
|
#include <array>
|
||||||
#include "M17ConvolutionalEncoder.h"
|
#include "M17ConvolutionalEncoder.hpp"
|
||||||
#include "M17LinkSetupFrame.h"
|
#include "M17LinkSetupFrame.hpp"
|
||||||
#include "M17StreamFrame.h"
|
#include "M17StreamFrame.hpp"
|
||||||
|
|
||||||
namespace M17
|
namespace M17
|
||||||
{
|
{
|
||||||
|
|
@ -27,7 +27,7 @@
|
||||||
#error This header is C++ only!
|
#error This header is C++ only!
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "M17Utils.h"
|
#include "M17Utils.hpp"
|
||||||
|
|
||||||
namespace M17
|
namespace M17
|
||||||
{
|
{
|
||||||
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <array>
|
#include <array>
|
||||||
#include "M17Datatypes.h"
|
#include "M17Datatypes.hpp"
|
||||||
|
|
||||||
namespace M17
|
namespace M17
|
||||||
{
|
{
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <interfaces/audio_stream.h>
|
#include <interfaces/audio_stream.h>
|
||||||
#include <M17/M17Constants.h>
|
#include <M17/M17Constants.hpp>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <array>
|
#include <array>
|
||||||
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include "M17Datatypes.h"
|
#include "M17Datatypes.hpp"
|
||||||
|
|
||||||
namespace M17
|
namespace M17
|
||||||
{
|
{
|
||||||
|
|
@ -27,10 +27,10 @@
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <array>
|
#include <array>
|
||||||
#include "M17ConvolutionalEncoder.h"
|
#include "M17ConvolutionalEncoder.hpp"
|
||||||
#include "M17LinkSetupFrame.h"
|
#include "M17LinkSetupFrame.hpp"
|
||||||
#include "M17StreamFrame.h"
|
#include "M17StreamFrame.hpp"
|
||||||
#include "M17Modulator.h"
|
#include "M17Modulator.hpp"
|
||||||
|
|
||||||
namespace M17
|
namespace M17
|
||||||
{
|
{
|
||||||
|
|
@ -31,7 +31,7 @@
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <bitset>
|
#include <bitset>
|
||||||
#include "M17Utils.h"
|
#include "M17Utils.hpp"
|
||||||
|
|
||||||
namespace M17
|
namespace M17
|
||||||
{
|
{
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef OPMODE_FM_H
|
#ifndef OPMODE_FM_H
|
||||||
#define OPMODE_FM_H
|
#define OPMODE_FM_H
|
||||||
|
|
||||||
#include "OpMode.h"
|
#include "OpMode.hpp"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Specialisation of the OpMode class for the management of analog FM operating
|
* Specialisation of the OpMode class for the management of analog FM operating
|
||||||
|
|
@ -21,11 +21,11 @@
|
||||||
#ifndef OPMODE_M17_H
|
#ifndef OPMODE_M17_H
|
||||||
#define OPMODE_M17_H
|
#define OPMODE_M17_H
|
||||||
|
|
||||||
#include <M17/M17FrameDecoder.h>
|
#include <M17/M17FrameDecoder.hpp>
|
||||||
#include <M17/M17Transmitter.h>
|
#include <M17/M17Transmitter.hpp>
|
||||||
#include <M17/M17Demodulator.h>
|
#include <M17/M17Demodulator.hpp>
|
||||||
#include <M17/M17Modulator.h>
|
#include <M17/M17Modulator.hpp>
|
||||||
#include "OpMode.h"
|
#include "OpMode.hpp"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Specialisation of the OpMode class for the management of M17 operating mode.
|
* Specialisation of the OpMode class for the management of M17 operating mode.
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <M17/M17Callsign.h>
|
#include <M17/M17Callsign.hpp>
|
||||||
|
|
||||||
bool M17::encode_callsign(const std::string& callsign, call_t& encodedCall,
|
bool M17::encode_callsign(const std::string& callsign, call_t& encodedCall,
|
||||||
bool strict)
|
bool strict)
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
* along with this program; if not, see <http://www.gnu.org/licenses/> *
|
* along with this program; if not, see <http://www.gnu.org/licenses/> *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include <M17/M17DSP.h>
|
#include <M17/M17DSP.hpp>
|
||||||
|
|
||||||
Fir< std::tuple_size< decltype(M17::rrc_taps_48k) >::value > M17::rrc_48k(M17::rrc_taps_48k);
|
Fir< std::tuple_size< decltype(M17::rrc_taps_48k) >::value > M17::rrc_48k(M17::rrc_taps_48k);
|
||||||
Fir< std::tuple_size< decltype(M17::rrc_taps_24k) >::value > M17::rrc_24k(M17::rrc_taps_24k);
|
Fir< std::tuple_size< decltype(M17::rrc_taps_24k) >::value > M17::rrc_24k(M17::rrc_taps_24k);
|
||||||
|
|
|
||||||
|
|
@ -20,9 +20,9 @@
|
||||||
* along with this program; if not, see <http://www.gnu.org/licenses/> *
|
* along with this program; if not, see <http://www.gnu.org/licenses/> *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include <M17/M17Demodulator.h>
|
#include <M17/M17Demodulator.hpp>
|
||||||
#include <M17/M17DSP.h>
|
#include <M17/M17DSP.hpp>
|
||||||
#include <M17/M17Utils.h>
|
#include <M17/M17Utils.hpp>
|
||||||
#include <interfaces/audio_stream.h>
|
#include <interfaces/audio_stream.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
|
||||||
|
|
@ -18,13 +18,13 @@
|
||||||
* along with this program; if not, see <http://www.gnu.org/licenses/> *
|
* along with this program; if not, see <http://www.gnu.org/licenses/> *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include <M17/M17Golay.h>
|
#include <M17/M17Golay.hpp>
|
||||||
#include <M17/M17FrameDecoder.h>
|
#include <M17/M17FrameDecoder.hpp>
|
||||||
#include <M17/M17Interleaver.h>
|
#include <M17/M17Interleaver.hpp>
|
||||||
#include <M17/M17Decorrelator.h>
|
#include <M17/M17Decorrelator.hpp>
|
||||||
#include <M17/M17CodePuncturing.h>
|
#include <M17/M17CodePuncturing.hpp>
|
||||||
#include <M17/M17Constants.h>
|
#include <M17/M17Constants.hpp>
|
||||||
#include <M17/M17Utils.h>
|
#include <M17/M17Utils.hpp>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
using namespace M17;
|
using namespace M17;
|
||||||
|
|
|
||||||
|
|
@ -18,11 +18,11 @@
|
||||||
* along with this program; if not, see <http://www.gnu.org/licenses/> *
|
* along with this program; if not, see <http://www.gnu.org/licenses/> *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include <M17/M17CodePuncturing.h>
|
#include <M17/M17CodePuncturing.hpp>
|
||||||
#include <M17/M17Decorrelator.h>
|
#include <M17/M17Decorrelator.hpp>
|
||||||
#include <M17/M17Interleaver.h>
|
#include <M17/M17Interleaver.hpp>
|
||||||
#include <M17/M17FrameEncoder.h>
|
#include <M17/M17FrameEncoder.hpp>
|
||||||
#include <M17/M17Constants.h>
|
#include <M17/M17Constants.hpp>
|
||||||
|
|
||||||
using namespace M17;
|
using namespace M17;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
* along with this program; if not, see <http://www.gnu.org/licenses/> *
|
* along with this program; if not, see <http://www.gnu.org/licenses/> *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include <M17/M17Golay.h>
|
#include <M17/M17Golay.hpp>
|
||||||
|
|
||||||
using namespace M17;
|
using namespace M17;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,9 +19,9 @@
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <M17/M17Golay.h>
|
#include <M17/M17Golay.hpp>
|
||||||
#include <M17/M17Callsign.h>
|
#include <M17/M17Callsign.hpp>
|
||||||
#include <M17/M17LinkSetupFrame.h>
|
#include <M17/M17LinkSetupFrame.hpp>
|
||||||
|
|
||||||
using namespace M17;
|
using namespace M17;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,9 +22,9 @@
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <experimental/array>
|
#include <experimental/array>
|
||||||
#include <M17/M17Modulator.h>
|
#include <M17/M17Modulator.hpp>
|
||||||
#include <M17/M17Utils.h>
|
#include <M17/M17Utils.hpp>
|
||||||
#include <M17/M17DSP.h>
|
#include <M17/M17DSP.hpp>
|
||||||
|
|
||||||
#if defined(PLATFORM_LINUX)
|
#if defined(PLATFORM_LINUX)
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
||||||
|
|
@ -18,10 +18,10 @@
|
||||||
* along with this program; if not, see <http://www.gnu.org/licenses/> *
|
* along with this program; if not, see <http://www.gnu.org/licenses/> *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include <M17/M17CodePuncturing.h>
|
#include <M17/M17CodePuncturing.hpp>
|
||||||
#include <M17/M17Decorrelator.h>
|
#include <M17/M17Decorrelator.hpp>
|
||||||
#include <M17/M17Interleaver.h>
|
#include <M17/M17Interleaver.hpp>
|
||||||
#include <M17/M17Transmitter.h>
|
#include <M17/M17Transmitter.hpp>
|
||||||
|
|
||||||
using namespace M17;
|
using namespace M17;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
* Copyright (C) 2021 by Federico Amedeo Izzo IU2NUO, *
|
* Copyright (C) 2021 - 2022 by Federico Amedeo Izzo IU2NUO, *
|
||||||
* Niccolò Izzo IU2KIN *
|
* Niccolò Izzo IU2KIN *
|
||||||
* Frederik Saraci IU2NRO *
|
* Frederik Saraci IU2NRO *
|
||||||
* Silvano Seva IU2KWO *
|
* Silvano Seva IU2KWO *
|
||||||
* *
|
* *
|
||||||
* This program is free software; you can redistribute it and/or modify *
|
* This program is free software; you can redistribute it and/or modify *
|
||||||
* it under the terms of the GNU General Public License as published by *
|
* it under the terms of the GNU General Public License as published by *
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
#include <interfaces/delays.h>
|
#include <interfaces/delays.h>
|
||||||
#include <interfaces/radio.h>
|
#include <interfaces/radio.h>
|
||||||
#include <interfaces/audio.h>
|
#include <interfaces/audio.h>
|
||||||
#include <OpMode_FM.h>
|
#include <OpMode_FM.hpp>
|
||||||
#include <rtx.h>
|
#include <rtx.h>
|
||||||
|
|
||||||
#ifdef PLATFORM_MDUV3x0
|
#ifdef PLATFORM_MDUV3x0
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
#include <interfaces/delays.h>
|
#include <interfaces/delays.h>
|
||||||
#include <interfaces/audio.h>
|
#include <interfaces/audio.h>
|
||||||
#include <interfaces/radio.h>
|
#include <interfaces/radio.h>
|
||||||
#include <OpMode_M17.h>
|
#include <OpMode_M17.hpp>
|
||||||
#include <audio_codec.h>
|
#include <audio_codec.h>
|
||||||
#include <rtx.h>
|
#include <rtx.h>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
* Copyright (C) 2020 by Federico Amedeo Izzo IU2NUO, *
|
* Copyright (C) 2020 - 2022 by Federico Amedeo Izzo IU2NUO, *
|
||||||
* Niccolò Izzo IU2KIN *
|
* Niccolò Izzo IU2KIN *
|
||||||
* Frederik Saraci IU2NRO *
|
* Frederik Saraci IU2NRO *
|
||||||
* Silvano Seva IU2KWO *
|
* Silvano Seva IU2KWO *
|
||||||
* *
|
* *
|
||||||
* This program is free software; you can redistribute it and/or modify *
|
* This program is free software; you can redistribute it and/or modify *
|
||||||
* it under the terms of the GNU General Public License as published by *
|
* it under the terms of the GNU General Public License as published by *
|
||||||
|
|
@ -21,8 +21,8 @@
|
||||||
#include <interfaces/radio.h>
|
#include <interfaces/radio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <rtx.h>
|
#include <rtx.h>
|
||||||
#include <OpMode_FM.h>
|
#include <OpMode_FM.hpp>
|
||||||
#include <OpMode_M17.h>
|
#include <OpMode_M17.hpp>
|
||||||
|
|
||||||
pthread_mutex_t *cfgMutex; // Mutex for incoming config messages
|
pthread_mutex_t *cfgMutex; // Mutex for incoming config messages
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue