clang-tidy header include order

This commit is contained in:
Erik Frojdh 2019-05-14 17:34:51 +02:00
parent 7314c52c63
commit 24fc5de58d
13 changed files with 18 additions and 18 deletions

View File

@ -12,8 +12,8 @@
#include "container_utils.h" #include "container_utils.h"
#include "string_utils.h"
#include "network_utils.h" #include "network_utils.h"
#include "string_utils.h"
#include <cstring> #include <cstring>
#include <iomanip> #include <iomanip>

View File

@ -5,8 +5,8 @@
***********************************************/ ***********************************************/
#include "BinaryFile.h" #include "BinaryFile.h"
#include "receiver_defs.h"
#include "Fifo.h" #include "Fifo.h"
#include "receiver_defs.h"
#include <iostream> #include <iostream>

View File

@ -7,9 +7,9 @@
#include "DataProcessor.h" #include "DataProcessor.h"
#include "GeneralData.h"
#include "Fifo.h"
#include "BinaryFile.h" #include "BinaryFile.h"
#include "Fifo.h"
#include "GeneralData.h"
#ifdef HDF5C #ifdef HDF5C
#include "HDF5File.h" #include "HDF5File.h"
#endif #endif

View File

@ -5,8 +5,8 @@
#include "DataStreamer.h" #include "DataStreamer.h"
#include "GeneralData.h"
#include "Fifo.h" #include "Fifo.h"
#include "GeneralData.h"
#include "ZmqSocket.h" #include "ZmqSocket.h"
#include "sls_detector_exceptions.h" #include "sls_detector_exceptions.h"

View File

@ -8,9 +8,9 @@
#include "Fifo.h" #include "Fifo.h"
#include "sls_detector_exceptions.h" #include "sls_detector_exceptions.h"
#include <iostream>
#include <cstdlib> #include <cstdlib>
#include <cstring> #include <cstring>
#include <iostream>
Fifo::Fifo(int ind, uint32_t fifoItemSize, uint32_t depth): Fifo::Fifo(int ind, uint32_t fifoItemSize, uint32_t depth):

View File

@ -7,10 +7,10 @@
#include "Listener.h" #include "Listener.h"
#include "GeneralData.h"
#include "Fifo.h" #include "Fifo.h"
#include "genericSocket.h" #include "GeneralData.h"
#include "container_utils.h" // For sls::make_unique<> #include "container_utils.h" // For sls::make_unique<>
#include "genericSocket.h"
#include "sls_detector_exceptions.h" #include "sls_detector_exceptions.h"
#include <cerrno> #include <cerrno>

View File

@ -1,9 +1,9 @@
/* A simple server in the internet domain using TCP /* A simple server in the internet domain using TCP
The port number is passed as an argument */ The port number is passed as an argument */
#include "sls_detector_defs.h"
#include "slsReceiverUsers.h"
#include "logger.h" #include "logger.h"
#include "slsReceiverUsers.h"
#include "sls_detector_defs.h"
#include <csignal> //SIGINT #include <csignal> //SIGINT
#include <cstdlib> //system #include <cstdlib> //system

View File

@ -13,11 +13,11 @@
#include "container_utils.h" // For sls::make_unique<> #include "container_utils.h" // For sls::make_unique<>
#include "logger.h"
#include "slsReceiver.h" #include "slsReceiver.h"
#include "slsReceiverTCPIPInterface.h" #include "slsReceiverTCPIPInterface.h"
#include "sls_detector_exceptions.h" #include "sls_detector_exceptions.h"
#include "versionAPI.h" #include "versionAPI.h"
#include "logger.h"
slsReceiver::slsReceiver(int argc, char *argv[]): slsReceiver::slsReceiver(int argc, char *argv[]):
tcpipInterface (nullptr) { tcpipInterface (nullptr) {

View File

@ -5,11 +5,11 @@
#include "slsReceiverImplementation.h" #include "slsReceiverImplementation.h"
#include "GeneralData.h"
#include "Listener.h"
#include "DataProcessor.h" #include "DataProcessor.h"
#include "DataStreamer.h" #include "DataStreamer.h"
#include "Fifo.h" #include "Fifo.h"
#include "GeneralData.h"
#include "Listener.h"
#include "ZmqSocket.h" //just for the zmq port define #include "ZmqSocket.h" //just for the zmq port define
#include <cerrno> //eperm #include <cerrno> //eperm

View File

@ -4,11 +4,11 @@
***********************************************/ ***********************************************/
#include "slsReceiverTCPIPInterface.h" #include "slsReceiverTCPIPInterface.h"
#include "slsReceiverImplementation.h"
#include "MySocketTCP.h" #include "MySocketTCP.h"
#include "ServerInterface.h" #include "ServerInterface.h"
#include "slsReceiverUsers.h"
#include "slsReceiver.h" #include "slsReceiver.h"
#include "slsReceiverImplementation.h"
#include "slsReceiverUsers.h"
#include "versionAPI.h" #include "versionAPI.h"
#include <array> #include <array>

View File

@ -6,10 +6,10 @@
#include "string_utils.h" #include "string_utils.h"
#include <arpa/inet.h> #include <arpa/inet.h>
#include <cstring>
#include <iostream> #include <iostream>
#include <stdexcept> #include <stdexcept>
#include <unistd.h> #include <unistd.h>
#include <cstring>
#define DEFAULT_PACKET_SIZE 1286 #define DEFAULT_PACKET_SIZE 1286
#define SOCKET_BUFFER_SIZE (100 * 1024 * 1024) // 100 MB #define SOCKET_BUFFER_SIZE (100 * 1024 * 1024) // 100 MB
#define DEFAULT_BACKLOG 5 #define DEFAULT_BACKLOG 5

View File

@ -1,9 +1,9 @@
#include "ClientSocket.h" #include "ClientSocket.h"
#include "ServerSocket.h" #include "ServerSocket.h"
#include "catch.hpp" #include "catch.hpp"
#include <chrono>
#include <future> #include <future>
#include <iostream> #include <iostream>
#include <chrono>
std::vector<char> server() { std::vector<char> server() {
std::cout << "starting server\n"; std::cout << "starting server\n";

View File

@ -4,8 +4,8 @@
#include <iostream> #include <iostream>
#include <vector> #include <vector>
#include "string_utils.h"
#include "sls_detector_exceptions.h" #include "sls_detector_exceptions.h"
#include "string_utils.h"
using namespace sls; using namespace sls;