From 7139623a7158a5e94eba86345780a4b38d575f67 Mon Sep 17 00:00:00 2001 From: tftzee <49162693+rex-schilasky@users.noreply.github.com> Date: Thu, 8 Feb 2024 13:52:12 +0100 Subject: [PATCH] based on ecal-io pr https://github.com/ecal-io/ecal-cop/pull/38 apply the IWYU pragma, focus on std headers, as those don't come with umbrella headers --- .gitignore | 3 +++ src/core/include/ecal/ecal_config.h | 3 ++- src/core/include/ecal/ecal_monitoring.h | 1 + src/core/include/ecal/ecal_publisher.h | 5 +++-- src/core/include/ecal/ecal_subscriber.h | 5 +++-- src/core/include/ecal/ecal_util.h | 4 ++-- .../include/ecal/msg/protobuf/dynamic_publisher.h | 8 +++++++- .../include/ecal/msg/protobuf/dynamic_subscriber.h | 3 +++ src/core/include/ecal/msg/protobuf/ecal_proto_hlp.h | 1 + src/core/include/ecal/msg/protobuf/publisher.h | 3 ++- src/core/include/ecal/msg/protobuf/server.h | 3 ++- src/core/include/ecal/msg/protobuf/subscriber.h | 3 ++- src/core/include/ecal/msg/string/publisher.h | 1 + src/core/include/ecal/msg/string/subscriber.h | 1 + src/core/include/ecal/types/monitoring.h | 1 + src/core/src/config/ecal_config.cpp | 3 +++ src/core/src/config/ecal_config_reader.cpp | 5 ++++- src/core/src/ecal.cpp | 5 ++++- src/core/src/ecal_descgate.cpp | 7 ++++++- src/core/src/ecal_descgate.h | 11 ++++++----- src/core/src/ecal_event.cpp | 3 +++ src/core/src/ecal_global_accessors.cpp | 4 +++- src/core/src/ecal_globals.cpp | 3 +++ src/core/src/ecal_globals.h | 2 ++ src/core/src/ecal_process.cpp | 6 ++++-- src/core/src/ecal_process_stub.cpp | 3 ++- src/core/src/ecal_util.cpp | 5 +++++ src/core/src/ecalc.cpp | 5 +++++ src/core/src/io/mtx/ecal_named_mutex.cpp | 3 +++ src/core/src/io/mtx/linux/ecal_named_mutex_impl.h | 2 ++ .../linux/ecal_named_mutex_robust_clocklock_impl.h | 2 ++ src/core/src/io/shm/ecal_memfile.cpp | 3 ++- src/core/src/io/shm/ecal_memfile.h | 3 ++- src/core/src/io/shm/ecal_memfile_db.cpp | 3 +++ src/core/src/io/shm/ecal_memfile_db.h | 1 + src/core/src/io/shm/ecal_memfile_info.h | 3 ++- src/core/src/io/shm/ecal_memfile_naming.cpp | 2 ++ src/core/src/io/shm/ecal_memfile_os.h | 1 + src/core/src/io/shm/ecal_memfile_pool.cpp | 8 ++++++++ src/core/src/io/shm/ecal_memfile_pool.h | 3 +++ src/core/src/io/shm/ecal_memfile_sync.cpp | 5 +++++ src/core/src/io/shm/ecal_memfile_sync.h | 2 ++ src/core/src/io/shm/linux/ecal_memfile_os.cpp | 9 +++++---- src/core/src/io/udp/ecal_udp_configurations.cpp | 1 + src/core/src/io/udp/ecal_udp_sample_receiver.cpp | 4 ++++ src/core/src/io/udp/ecal_udp_sample_receiver.h | 2 ++ src/core/src/io/udp/ecal_udp_sample_sender.cpp | 6 ++++++ src/core/src/io/udp/ecal_udp_sample_sender.h | 1 + src/core/src/io/udp/ecal_udp_topic2mcast.h | 6 ++++-- src/core/src/io/udp/fragmentation/rcv_fragments.cpp | 3 +++ src/core/src/io/udp/fragmentation/rcv_fragments.h | 1 + src/core/src/io/udp/fragmentation/snd_fragments.cpp | 3 +++ src/core/src/io/udp/fragmentation/snd_fragments.h | 1 + src/core/src/io/udp/sendreceive/udp_receiver.cpp | 3 +++ src/core/src/io/udp/sendreceive/udp_receiver.h | 1 + .../src/io/udp/sendreceive/udp_receiver_asio.cpp | 2 ++ src/core/src/io/udp/sendreceive/udp_receiver_asio.h | 1 + src/core/src/io/udp/sendreceive/udp_sender.cpp | 2 ++ src/core/src/io/udp/sendreceive/udp_sender.h | 1 + src/core/src/logging/ecal_log.cpp | 1 + src/core/src/logging/ecal_log_impl.h | 4 +++- src/core/src/pubsub/ecal_pubgate.cpp | 7 ++++++- src/core/src/pubsub/ecal_pubgate.h | 3 ++- src/core/src/pubsub/ecal_publisher.cpp | 6 +++++- src/core/src/pubsub/ecal_subgate.cpp | 8 ++++++++ src/core/src/pubsub/ecal_subgate.h | 3 ++- src/core/src/pubsub/ecal_subscriber.cpp | 6 +++++- src/core/src/readwrite/ecal_reader.cpp | 5 +++++ src/core/src/readwrite/ecal_reader.h | 4 ++++ src/core/src/readwrite/ecal_writer.cpp | 6 ++++++ src/core/src/readwrite/ecal_writer.h | 3 +++ src/core/src/readwrite/shm/ecal_reader_shm.cpp | 3 +++ src/core/src/readwrite/shm/ecal_reader_shm.h | 2 ++ src/core/src/readwrite/shm/ecal_writer_shm.cpp | 2 ++ src/core/src/readwrite/shm/ecal_writer_shm.h | 2 ++ src/core/src/readwrite/udp/ecal_reader_udp_mc.cpp | 5 +++++ src/core/src/readwrite/udp/ecal_reader_udp_mc.h | 1 + src/core/src/readwrite/udp/ecal_writer_udp_mc.cpp | 5 ++++- src/core/src/readwrite/udp/ecal_writer_udp_mc.h | 1 + .../src/registration/ecal_registration_provider.cpp | 6 ++++++ .../src/registration/ecal_registration_receiver.cpp | 7 ++++++- .../src/registration/ecal_registration_receiver.h | 1 + .../registration/ecal_registration_receiver_shm.cpp | 3 +++ .../registration/ecal_registration_receiver_shm.h | 1 + .../src/registration/shm/ecal_memfile_broadcast.cpp | 6 +++++- .../src/registration/shm/ecal_memfile_broadcast.h | 7 ++++--- .../shm/ecal_memfile_broadcast_reader.cpp | 8 +++++++- .../registration/shm/ecal_memfile_broadcast_reader.h | 5 +++-- .../shm/ecal_memfile_broadcast_writer.cpp | 5 ++++- .../registration/shm/ecal_memfile_broadcast_writer.h | 1 + .../registration/shm/relocatable_circular_queue.h | 7 ++++--- src/core/src/serialization/ecal_serialize_common.cpp | 8 ++++++-- src/core/src/serialization/ecal_serialize_common.h | 2 ++ .../src/serialization/ecal_serialize_logging.cpp | 4 ++++ .../src/serialization/ecal_serialize_monitoring.cpp | 2 ++ .../src/serialization/ecal_serialize_monitoring.h | 1 + .../serialization/ecal_serialize_sample_payload.cpp | 3 +++ .../serialization/ecal_serialize_sample_payload.h | 1 + .../ecal_serialize_sample_registration.cpp | 4 ++++ .../ecal_serialize_sample_registration.h | 1 + .../src/serialization/ecal_serialize_service.cpp | 3 +++ src/core/src/serialization/ecal_serialize_service.h | 1 + .../src/serialization/ecal_struct_sample_payload.h | 2 ++ .../serialization/ecal_struct_sample_registration.h | 1 + src/core/src/serialization/ecal_struct_service.h | 1 + src/core/src/service/ecal_clientgate.cpp | 5 +++++ src/core/src/service/ecal_clientgate.h | 4 +++- src/core/src/service/ecal_service_client.cpp | 1 + src/core/src/service/ecal_service_client_impl.cpp | 4 ++++ src/core/src/service/ecal_service_server.cpp | 1 + src/core/src/service/ecal_service_server_impl.cpp | 3 +++ src/core/src/service/ecal_service_server_impl.h | 2 ++ .../src/service/ecal_service_singleton_manager.cpp | 5 +++++ .../src/service/ecal_service_singleton_manager.h | 7 ++++++- src/core/src/service/ecal_servicegate.cpp | 3 +++ src/core/src/time/ecal_time.cpp | 1 + src/core/src/time/ecal_timegate.cpp | 2 ++ src/core/src/time/ecal_timegate.h | 1 + src/core/src/time/ecal_timer.cpp | 3 ++- src/core/src/util/advanced_tclap_output.cpp | 6 ++++++ src/core/src/util/ecal_expmap.h | 3 ++- .../include/ecal/service/client_manager.h | 6 +++++- .../include/ecal/service/client_session.h | 3 +++ .../ecal_service/include/ecal/service/server.h | 2 ++ .../include/ecal/service/server_manager.h | 5 ++++- src/service/ecal_service/src/client_manager.cpp | 6 ++++++ src/service/ecal_service/src/client_session.cpp | 4 ++++ .../ecal_service/src/client_session_impl_base.h | 4 ++++ .../ecal_service/src/client_session_impl_v0.cpp | 6 ++++++ .../ecal_service/src/client_session_impl_v0.h | 3 +++ .../ecal_service/src/client_session_impl_v1.cpp | 7 +++++++ .../ecal_service/src/client_session_impl_v1.h | 4 ++++ src/service/ecal_service/src/log_helpers.h | 1 + src/service/ecal_service/src/protocol_v0.cpp | 5 +++++ src/service/ecal_service/src/protocol_v0.h | 5 ++--- src/service/ecal_service/src/protocol_v1.cpp | 6 ++++++ src/service/ecal_service/src/server.cpp | 2 ++ src/service/ecal_service/src/server_impl.cpp | 3 +++ src/service/ecal_service/src/server_impl.h | 6 ++++-- src/service/ecal_service/src/server_manager.cpp | 5 +++++ .../ecal_service/src/server_session_impl_base.h | 2 +- .../ecal_service/src/server_session_impl_v0.cpp | 6 ++++++ .../ecal_service/src/server_session_impl_v0.h | 4 ++++ .../ecal_service/src/server_session_impl_v1.cpp | 8 +++++++- .../ecal_service/src/server_session_impl_v1.h | 4 ++++ src/service/test/src/ecal_tcp_service_test.cpp | 5 +++-- src/time/linuxptp/src/config/config.h | 5 +++-- src/time/linuxptp/src/ecal_time_linuxptp.cpp | 12 +++++++----- src/time/linuxptp/src/ecal_time_linuxptp.h | 3 ++- src/time/linuxptp/src/ecaltime.cpp | 4 +++- src/utils/include/ecal_utils/filesystem.h | 3 ++- src/utils/include/ecal_utils/string.h | 1 + src/utils/src/filesystem.cpp | 7 +++++++ 153 files changed, 483 insertions(+), 78 deletions(-) diff --git a/.gitignore b/.gitignore index c4211a8..44f74ae 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,6 @@ cmake-build-* # Visual Studio code *.vscode + +#QtCreator +*.txt.user diff --git a/src/core/include/ecal/ecal_config.h b/src/core/include/ecal/ecal_config.h index c817d79..78ea92e 100644 --- a/src/core/include/ecal/ecal_config.h +++ b/src/core/include/ecal/ecal_config.h @@ -19,9 +19,10 @@ #pragma once +#include +#include #include #include -#include #include diff --git a/src/core/include/ecal/ecal_monitoring.h b/src/core/include/ecal/ecal_monitoring.h index 972f109..b97c701 100644 --- a/src/core/include/ecal/ecal_monitoring.h +++ b/src/core/include/ecal/ecal_monitoring.h @@ -26,6 +26,7 @@ #include #include +#include namespace eCAL { diff --git a/src/core/include/ecal/ecal_publisher.h b/src/core/include/ecal/ecal_publisher.h index aeaf8c9..7d6c1e3 100644 --- a/src/core/include/ecal/ecal_publisher.h +++ b/src/core/include/ecal/ecal_publisher.h @@ -24,9 +24,10 @@ #pragma once -#include -#include +#include #include +#include +#include #include #include diff --git a/src/core/include/ecal/ecal_subscriber.h b/src/core/include/ecal/ecal_subscriber.h index 0d3a690..32741ca 100644 --- a/src/core/include/ecal/ecal_subscriber.h +++ b/src/core/include/ecal/ecal_subscriber.h @@ -24,9 +24,10 @@ #pragma once -#include -#include +#include #include +#include +#include #include #include diff --git a/src/core/include/ecal/ecal_util.h b/src/core/include/ecal/ecal_util.h index 39bb0a8..3a05290 100644 --- a/src/core/include/ecal/ecal_util.h +++ b/src/core/include/ecal/ecal_util.h @@ -30,12 +30,12 @@ #include #include -#include #include #include +#include +#include #include - namespace eCAL { namespace Util diff --git a/src/core/include/ecal/msg/protobuf/dynamic_publisher.h b/src/core/include/ecal/msg/protobuf/dynamic_publisher.h index 19ac4ff..5652f51 100644 --- a/src/core/include/ecal/msg/protobuf/dynamic_publisher.h +++ b/src/core/include/ecal/msg/protobuf/dynamic_publisher.h @@ -24,11 +24,17 @@ #pragma once +#include +#include +#include +#include #include #include -#include #include +#include +#include +#include #ifdef _MSC_VER #pragma warning(push, 0) // disable proto warnings diff --git a/src/core/include/ecal/msg/protobuf/dynamic_subscriber.h b/src/core/include/ecal/msg/protobuf/dynamic_subscriber.h index 4d78d36..032536e 100644 --- a/src/core/include/ecal/msg/protobuf/dynamic_subscriber.h +++ b/src/core/include/ecal/msg/protobuf/dynamic_subscriber.h @@ -30,8 +30,11 @@ #include #include +#include #include +#include #include +#include #ifdef _MSC_VER #pragma warning(push, 0) // disable proto warnings diff --git a/src/core/include/ecal/msg/protobuf/ecal_proto_hlp.h b/src/core/include/ecal/msg/protobuf/ecal_proto_hlp.h index b60b8af..bb7e982 100644 --- a/src/core/include/ecal/msg/protobuf/ecal_proto_hlp.h +++ b/src/core/include/ecal/msg/protobuf/ecal_proto_hlp.h @@ -25,6 +25,7 @@ #pragma once #include +#include #include #include diff --git a/src/core/include/ecal/msg/protobuf/publisher.h b/src/core/include/ecal/msg/protobuf/publisher.h index e60f580..894fc19 100644 --- a/src/core/include/ecal/msg/protobuf/publisher.h +++ b/src/core/include/ecal/msg/protobuf/publisher.h @@ -24,9 +24,10 @@ #pragma once +#include #include -#include #include +#include // protobuf includes #ifdef _MSC_VER diff --git a/src/core/include/ecal/msg/protobuf/server.h b/src/core/include/ecal/msg/protobuf/server.h index 5fa84c1..2f6cb8c 100644 --- a/src/core/include/ecal/msg/protobuf/server.h +++ b/src/core/include/ecal/msg/protobuf/server.h @@ -25,8 +25,9 @@ #pragma once #include -#include #include +#include +#include // protobuf includes #ifdef _MSC_VER diff --git a/src/core/include/ecal/msg/protobuf/subscriber.h b/src/core/include/ecal/msg/protobuf/subscriber.h index 4b30683..b176805 100644 --- a/src/core/include/ecal/msg/protobuf/subscriber.h +++ b/src/core/include/ecal/msg/protobuf/subscriber.h @@ -24,8 +24,9 @@ #pragma once -#include +#include #include +#include // protobuf includes #ifdef _MSC_VER diff --git a/src/core/include/ecal/msg/string/publisher.h b/src/core/include/ecal/msg/string/publisher.h index 4465b68..8555c49 100644 --- a/src/core/include/ecal/msg/string/publisher.h +++ b/src/core/include/ecal/msg/string/publisher.h @@ -24,6 +24,7 @@ #pragma once +#include #include #include diff --git a/src/core/include/ecal/msg/string/subscriber.h b/src/core/include/ecal/msg/string/subscriber.h index 2ccb576..949acf3 100644 --- a/src/core/include/ecal/msg/string/subscriber.h +++ b/src/core/include/ecal/msg/string/subscriber.h @@ -24,6 +24,7 @@ #pragma once +#include #include #include diff --git a/src/core/include/ecal/types/monitoring.h b/src/core/include/ecal/types/monitoring.h index 6b206d6..7007560 100644 --- a/src/core/include/ecal/types/monitoring.h +++ b/src/core/include/ecal/types/monitoring.h @@ -29,6 +29,7 @@ #include #include #include +#include namespace eCAL { diff --git a/src/core/src/config/ecal_config.cpp b/src/core/src/config/ecal_config.cpp index 1ec91b1..a9343bc 100644 --- a/src/core/src/config/ecal_config.cpp +++ b/src/core/src/config/ecal_config.cpp @@ -17,8 +17,11 @@ * ========================= eCAL LICENSE ================================= */ +#include #include #include +#include +#include #include "ecal_config_reader.h" #include "ecal_config_reader_hlp.h" diff --git a/src/core/src/config/ecal_config_reader.cpp b/src/core/src/config/ecal_config_reader.cpp index d960ee4..e599098 100644 --- a/src/core/src/config/ecal_config_reader.cpp +++ b/src/core/src/config/ecal_config_reader.cpp @@ -21,8 +21,9 @@ * @brief Global config class **/ -#include +#include #include +#include #include "ecal_def.h" #include "ecal_config_reader.h" @@ -35,6 +36,8 @@ #include #include +#include +#include #ifdef ECAL_OS_LINUX #include diff --git a/src/core/src/ecal.cpp b/src/core/src/ecal.cpp index 29ab150..5309654 100644 --- a/src/core/src/ecal.cpp +++ b/src/core/src/ecal.cpp @@ -22,8 +22,11 @@ **/ #include "ecal_def.h" -#include "ecal_globals.h" #include "ecal_event.h" +#include "ecal_globals.h" +#include +#include +#include #if ECAL_CORE_COMMAND_LINE #include "util/advanced_tclap_output.h" diff --git a/src/core/src/ecal_descgate.cpp b/src/core/src/ecal_descgate.cpp index c805c54..7059444 100644 --- a/src/core/src/ecal_descgate.cpp +++ b/src/core/src/ecal_descgate.cpp @@ -25,9 +25,14 @@ #include #include "ecal_descgate.h" -#include #include +#include #include +#include +#include +#include +#include +#include namespace eCAL { diff --git a/src/core/src/ecal_descgate.h b/src/core/src/ecal_descgate.h index b2e2ee5..59c0530 100644 --- a/src/core/src/ecal_descgate.h +++ b/src/core/src/ecal_descgate.h @@ -23,22 +23,23 @@ #pragma once -#include +#include #include +#include #include "ecal_global_accessors.h" #include "ecal_def.h" #include "util/ecal_expmap.h" -#include -#include #include -#include #include +#include +#include #include +#include +#include #include - namespace eCAL { class CDescGate diff --git a/src/core/src/ecal_event.cpp b/src/core/src/ecal_event.cpp index 67391af..797b38f 100644 --- a/src/core/src/ecal_event.cpp +++ b/src/core/src/ecal_event.cpp @@ -21,11 +21,14 @@ * @brief eCAL handle helper class **/ +#include +#include #include #include "ecal_event.h" #include +#include #ifdef ECAL_OS_WINDOWS diff --git a/src/core/src/ecal_global_accessors.cpp b/src/core/src/ecal_global_accessors.cpp index 4aea1a3..bfadfdf 100644 --- a/src/core/src/ecal_global_accessors.cpp +++ b/src/core/src/ecal_global_accessors.cpp @@ -21,9 +21,11 @@ * @brief eCAL core functions **/ -#include "ecal_def.h" #include "ecal_global_accessors.h" +#include "ecal_def.h" #include "ecal_globals.h" +#include +#include namespace eCAL { diff --git a/src/core/src/ecal_globals.cpp b/src/core/src/ecal_globals.cpp index daae75b..9951880 100644 --- a/src/core/src/ecal_globals.cpp +++ b/src/core/src/ecal_globals.cpp @@ -26,7 +26,10 @@ #include "config/ecal_config_reader.h" #include +#include #include +#include +#include #if ECAL_CORE_SERVICE #include "service/ecal_service_singleton_manager.h" diff --git a/src/core/src/ecal_globals.h b/src/core/src/ecal_globals.h index 06c3a0b..53f3163 100644 --- a/src/core/src/ecal_globals.h +++ b/src/core/src/ecal_globals.h @@ -24,6 +24,8 @@ #pragma once #include "ecal_global_accessors.h" +#include +#include #if ECAL_CORE_REGISTRATION #include "registration/ecal_registration_provider.h" #include "registration/ecal_registration_receiver.h" diff --git a/src/core/src/ecal_process.cpp b/src/core/src/ecal_process.cpp index 1a90d11..2c9d559 100644 --- a/src/core/src/ecal_process.cpp +++ b/src/core/src/ecal_process.cpp @@ -21,6 +21,7 @@ * @brief eCAL process interface **/ +#include #include #include "ecal_def.h" @@ -38,15 +39,16 @@ #include #include #include -#include #include +#include #include #include #include #include -#include #include +#include #include +#include #ifdef ECAL_OS_WINDOWS #include "ecal_win_main.h" diff --git a/src/core/src/ecal_process_stub.cpp b/src/core/src/ecal_process_stub.cpp index d0a76b3..fc1383a 100644 --- a/src/core/src/ecal_process_stub.cpp +++ b/src/core/src/ecal_process_stub.cpp @@ -17,10 +17,11 @@ * ========================= eCAL LICENSE ================================= */ +#include +#include #include #include #include -#include #include #include diff --git a/src/core/src/ecal_util.cpp b/src/core/src/ecal_util.cpp index e636981..6f6a9b2 100644 --- a/src/core/src/ecal_util.cpp +++ b/src/core/src/ecal_util.cpp @@ -23,7 +23,12 @@ #include "pubsub/ecal_pubgate.h" #include +#include #include +#include +#include +#include +#include namespace eCAL { diff --git a/src/core/src/ecalc.cpp b/src/core/src/ecalc.cpp index 68cd569..ec3080a 100644 --- a/src/core/src/ecalc.cpp +++ b/src/core/src/ecalc.cpp @@ -21,10 +21,15 @@ * @brief Implementation of the eCAL dll interface **/ +#include +#include +#include #include #include #include +#include +#include static int CopyBuffer(void* target_, int target_len_, const std::string& source_s_) { diff --git a/src/core/src/io/mtx/ecal_named_mutex.cpp b/src/core/src/io/mtx/ecal_named_mutex.cpp index d8dff14..2a93e01 100644 --- a/src/core/src/io/mtx/ecal_named_mutex.cpp +++ b/src/core/src/io/mtx/ecal_named_mutex.cpp @@ -21,7 +21,10 @@ * @brief eCAL named mutex **/ +#include #include +#include +#include #include "ecal_named_mutex.h" diff --git a/src/core/src/io/mtx/linux/ecal_named_mutex_impl.h b/src/core/src/io/mtx/linux/ecal_named_mutex_impl.h index 16fba6c..aa81a56 100644 --- a/src/core/src/io/mtx/linux/ecal_named_mutex_impl.h +++ b/src/core/src/io/mtx/linux/ecal_named_mutex_impl.h @@ -24,6 +24,8 @@ #pragma once #include "io/mtx/ecal_named_mutex_base.h" +#include +#include typedef struct named_mutex named_mutex_t; diff --git a/src/core/src/io/mtx/linux/ecal_named_mutex_robust_clocklock_impl.h b/src/core/src/io/mtx/linux/ecal_named_mutex_robust_clocklock_impl.h index 81e6769..c09ca04 100644 --- a/src/core/src/io/mtx/linux/ecal_named_mutex_robust_clocklock_impl.h +++ b/src/core/src/io/mtx/linux/ecal_named_mutex_robust_clocklock_impl.h @@ -24,6 +24,8 @@ #pragma once #include "io/mtx/ecal_named_mutex_base.h" +#include +#include typedef struct named_mutex named_mutex_t; diff --git a/src/core/src/io/shm/ecal_memfile.cpp b/src/core/src/io/shm/ecal_memfile.cpp index 6c67184..8b4d944 100644 --- a/src/core/src/io/shm/ecal_memfile.cpp +++ b/src/core/src/io/shm/ecal_memfile.cpp @@ -26,10 +26,11 @@ #include "ecal_memfile_info.h" #include "ecal_memfile_db.h" +#include #include #include +#include #include -#include #include #define SIZEOF_PARTIAL_STRUCT(_STRUCT_NAME_, _FIELD_NAME_) (reinterpret_cast(&(reinterpret_cast<_STRUCT_NAME_*>(0)->_FIELD_NAME_)) + sizeof(_STRUCT_NAME_::_FIELD_NAME_)) //NOLINT diff --git a/src/core/src/io/shm/ecal_memfile.h b/src/core/src/io/shm/ecal_memfile.h index 4ac38b8..88523d1 100644 --- a/src/core/src/io/shm/ecal_memfile.h +++ b/src/core/src/io/shm/ecal_memfile.h @@ -23,9 +23,10 @@ #pragma once -#include #include +#include #include +#include #include diff --git a/src/core/src/io/shm/ecal_memfile_db.cpp b/src/core/src/io/shm/ecal_memfile_db.cpp index 36e1a94..9fadbff 100644 --- a/src/core/src/io/shm/ecal_memfile_db.cpp +++ b/src/core/src/io/shm/ecal_memfile_db.cpp @@ -26,6 +26,9 @@ #include "ecal_memfile_db.h" #include +#include +#include +#include namespace eCAL { diff --git a/src/core/src/io/shm/ecal_memfile_db.h b/src/core/src/io/shm/ecal_memfile_db.h index a60224b..e547724 100644 --- a/src/core/src/io/shm/ecal_memfile_db.h +++ b/src/core/src/io/shm/ecal_memfile_db.h @@ -23,6 +23,7 @@ #pragma once +#include #include #include #include diff --git a/src/core/src/io/shm/ecal_memfile_info.h b/src/core/src/io/shm/ecal_memfile_info.h index dc37723..bd2f8fe 100644 --- a/src/core/src/io/shm/ecal_memfile_info.h +++ b/src/core/src/io/shm/ecal_memfile_info.h @@ -23,8 +23,9 @@ #pragma once -#include +#include #include +#include #include diff --git a/src/core/src/io/shm/ecal_memfile_naming.cpp b/src/core/src/io/shm/ecal_memfile_naming.cpp index 011d5dd..b736e6d 100644 --- a/src/core/src/io/shm/ecal_memfile_naming.cpp +++ b/src/core/src/io/shm/ecal_memfile_naming.cpp @@ -20,9 +20,11 @@ #include "io/shm/ecal_memfile_naming.h" #include +#include #include #include #include +#include namespace eCAL { diff --git a/src/core/src/io/shm/ecal_memfile_os.h b/src/core/src/io/shm/ecal_memfile_os.h index c68a792..5d48177 100644 --- a/src/core/src/io/shm/ecal_memfile_os.h +++ b/src/core/src/io/shm/ecal_memfile_os.h @@ -23,6 +23,7 @@ #pragma once +#include #include #include "ecal_memfile.h" diff --git a/src/core/src/io/shm/ecal_memfile_pool.cpp b/src/core/src/io/shm/ecal_memfile_pool.cpp index 77c685a..b087c3f 100644 --- a/src/core/src/io/shm/ecal_memfile_pool.cpp +++ b/src/core/src/io/shm/ecal_memfile_pool.cpp @@ -26,7 +26,15 @@ #include "ecal_event.h" #include "ecal_memfile_pool.h" +#include #include +#include +#include +#include +#include +#include +#include +#include namespace eCAL { diff --git a/src/core/src/io/shm/ecal_memfile_pool.h b/src/core/src/io/shm/ecal_memfile_pool.h index 0c45884..dd173e7 100644 --- a/src/core/src/io/shm/ecal_memfile_pool.h +++ b/src/core/src/io/shm/ecal_memfile_pool.h @@ -23,6 +23,8 @@ #pragma once +#include +#include #include #include "ecal_event.h" @@ -35,6 +37,7 @@ #include #include #include +#include #include namespace eCAL diff --git a/src/core/src/io/shm/ecal_memfile_sync.cpp b/src/core/src/io/shm/ecal_memfile_sync.cpp index 8978110..5c01a17 100644 --- a/src/core/src/io/shm/ecal_memfile_sync.cpp +++ b/src/core/src/io/shm/ecal_memfile_sync.cpp @@ -21,6 +21,8 @@ * @brief synchronized memory file interface **/ +#include +#include #include #include "ecal_event.h" @@ -29,7 +31,10 @@ #include "ecal_memfile_sync.h" #include +#include #include +#include +#include namespace eCAL { diff --git a/src/core/src/io/shm/ecal_memfile_sync.h b/src/core/src/io/shm/ecal_memfile_sync.h index 19bda5b..472e178 100644 --- a/src/core/src/io/shm/ecal_memfile_sync.h +++ b/src/core/src/io/shm/ecal_memfile_sync.h @@ -23,6 +23,8 @@ #pragma once +#include +#include #include #include "readwrite/ecal_writer_data.h" diff --git a/src/core/src/io/shm/linux/ecal_memfile_os.cpp b/src/core/src/io/shm/linux/ecal_memfile_os.cpp index 5a80490..32d5004 100644 --- a/src/core/src/io/shm/linux/ecal_memfile_os.cpp +++ b/src/core/src/io/shm/linux/ecal_memfile_os.cpp @@ -26,12 +26,13 @@ #include #include -#include -#include -#include +#include #include +#include +#include +#include +#include #include -#include namespace eCAL { diff --git a/src/core/src/io/udp/ecal_udp_configurations.cpp b/src/core/src/io/udp/ecal_udp_configurations.cpp index 4791981..20c2416 100644 --- a/src/core/src/io/udp/ecal_udp_configurations.cpp +++ b/src/core/src/io/udp/ecal_udp_configurations.cpp @@ -23,6 +23,7 @@ #include "ecal_udp_topic2mcast.h" #include +#include namespace eCAL { diff --git a/src/core/src/io/udp/ecal_udp_sample_receiver.cpp b/src/core/src/io/udp/ecal_udp_sample_receiver.cpp index 18d773f..79495f5 100644 --- a/src/core/src/io/udp/ecal_udp_sample_receiver.cpp +++ b/src/core/src/io/udp/ecal_udp_sample_receiver.cpp @@ -24,10 +24,14 @@ #include "ecal_udp_sample_receiver.h" #include "io/udp/fragmentation/msg_type.h" +#include #include #include +#include +#include #include +#include namespace eCAL { diff --git a/src/core/src/io/udp/ecal_udp_sample_receiver.h b/src/core/src/io/udp/ecal_udp_sample_receiver.h index 5178ba6..63a0b5a 100644 --- a/src/core/src/io/udp/ecal_udp_sample_receiver.h +++ b/src/core/src/io/udp/ecal_udp_sample_receiver.h @@ -28,6 +28,8 @@ #include "util/ecal_thread.h" #include +#include +#include #include #include #include diff --git a/src/core/src/io/udp/ecal_udp_sample_sender.cpp b/src/core/src/io/udp/ecal_udp_sample_sender.cpp index c13f626..6242a27 100644 --- a/src/core/src/io/udp/ecal_udp_sample_sender.cpp +++ b/src/core/src/io/udp/ecal_udp_sample_sender.cpp @@ -24,7 +24,13 @@ #include "ecal_udp_sample_sender.h" #include "io/udp/fragmentation/snd_fragments.h" +#include +#include #include +#include +#include +#include +#include namespace { diff --git a/src/core/src/io/udp/ecal_udp_sample_sender.h b/src/core/src/io/udp/ecal_udp_sample_sender.h index aeda1a3..2dcfcab 100644 --- a/src/core/src/io/udp/ecal_udp_sample_sender.h +++ b/src/core/src/io/udp/ecal_udp_sample_sender.h @@ -25,6 +25,7 @@ #include "io/udp/sendreceive/udp_sender.h" +#include #include #include #include diff --git a/src/core/src/io/udp/ecal_udp_topic2mcast.h b/src/core/src/io/udp/ecal_udp_topic2mcast.h index 510db51..5f4cc0f 100644 --- a/src/core/src/io/udp/ecal_udp_topic2mcast.h +++ b/src/core/src/io/udp/ecal_udp_topic2mcast.h @@ -23,11 +23,13 @@ #pragma once +#include #include -#include +#include #include +#include #include - + namespace eCAL { namespace UDP diff --git a/src/core/src/io/udp/fragmentation/rcv_fragments.cpp b/src/core/src/io/udp/fragmentation/rcv_fragments.cpp index 2eaf8c6..c69b6da 100644 --- a/src/core/src/io/udp/fragmentation/rcv_fragments.cpp +++ b/src/core/src/io/udp/fragmentation/rcv_fragments.cpp @@ -25,9 +25,12 @@ #include "rcv_fragments.h" #include "msg_type.h" +#include #include #include +#include +#include namespace IO { diff --git a/src/core/src/io/udp/fragmentation/rcv_fragments.h b/src/core/src/io/udp/fragmentation/rcv_fragments.h index cf7a11b..a27f759 100644 --- a/src/core/src/io/udp/fragmentation/rcv_fragments.h +++ b/src/core/src/io/udp/fragmentation/rcv_fragments.h @@ -26,6 +26,7 @@ #include "ecal_def.h" #include +#include #include namespace IO diff --git a/src/core/src/io/udp/fragmentation/snd_fragments.cpp b/src/core/src/io/udp/fragmentation/snd_fragments.cpp index d72dd7a..170381d 100644 --- a/src/core/src/io/udp/fragmentation/snd_fragments.cpp +++ b/src/core/src/io/udp/fragmentation/snd_fragments.cpp @@ -25,9 +25,12 @@ #include "msg_type.h" #include +#include #include #include +#include #include +#include namespace { diff --git a/src/core/src/io/udp/fragmentation/snd_fragments.h b/src/core/src/io/udp/fragmentation/snd_fragments.h index b4a2793..0c7bf33 100644 --- a/src/core/src/io/udp/fragmentation/snd_fragments.h +++ b/src/core/src/io/udp/fragmentation/snd_fragments.h @@ -21,6 +21,7 @@ * @brief raw message buffer handling **/ +#include #include #include #include diff --git a/src/core/src/io/udp/sendreceive/udp_receiver.cpp b/src/core/src/io/udp/sendreceive/udp_receiver.cpp index 155c6c5..6a24d59 100644 --- a/src/core/src/io/udp/sendreceive/udp_receiver.cpp +++ b/src/core/src/io/udp/sendreceive/udp_receiver.cpp @@ -25,6 +25,9 @@ #include "io/udp/ecal_udp_configurations.h" #include "udp_receiver_asio.h" +#include +#include +#include #ifdef ECAL_CORE_NPCAP_SUPPORT #include "udp_receiver_npcap.h" #endif diff --git a/src/core/src/io/udp/sendreceive/udp_receiver.h b/src/core/src/io/udp/sendreceive/udp_receiver.h index b91749c..7102724 100644 --- a/src/core/src/io/udp/sendreceive/udp_receiver.h +++ b/src/core/src/io/udp/sendreceive/udp_receiver.h @@ -23,6 +23,7 @@ #pragma once +#include #include #ifdef ECAL_OS_WINDOWS diff --git a/src/core/src/io/udp/sendreceive/udp_receiver_asio.cpp b/src/core/src/io/udp/sendreceive/udp_receiver_asio.cpp index 454b52e..b22bf47 100644 --- a/src/core/src/io/udp/sendreceive/udp_receiver_asio.cpp +++ b/src/core/src/io/udp/sendreceive/udp_receiver_asio.cpp @@ -21,6 +21,8 @@ #include "udp_receiver_asio.h" #include "io/udp/ecal_udp_configurations.h" +#include +#include #ifdef __linux__ #include "linux/socket_os.h" diff --git a/src/core/src/io/udp/sendreceive/udp_receiver_asio.h b/src/core/src/io/udp/sendreceive/udp_receiver_asio.h index f173bfb..10bebe0 100644 --- a/src/core/src/io/udp/sendreceive/udp_receiver_asio.h +++ b/src/core/src/io/udp/sendreceive/udp_receiver_asio.h @@ -20,6 +20,7 @@ #pragma once #include "udp_receiver.h" +#include #ifdef _MSC_VER #pragma warning(push) diff --git a/src/core/src/io/udp/sendreceive/udp_sender.cpp b/src/core/src/io/udp/sendreceive/udp_sender.cpp index ce59546..e46a067 100644 --- a/src/core/src/io/udp/sendreceive/udp_sender.cpp +++ b/src/core/src/io/udp/sendreceive/udp_sender.cpp @@ -23,7 +23,9 @@ #include "udp_sender.h" +#include #include +#include #ifdef _MSC_VER #pragma warning(push) diff --git a/src/core/src/io/udp/sendreceive/udp_sender.h b/src/core/src/io/udp/sendreceive/udp_sender.h index ade2673..91f6465 100644 --- a/src/core/src/io/udp/sendreceive/udp_sender.h +++ b/src/core/src/io/udp/sendreceive/udp_sender.h @@ -23,6 +23,7 @@ #pragma once +#include #include #ifdef ECAL_OS_WINDOWS diff --git a/src/core/src/logging/ecal_log.cpp b/src/core/src/logging/ecal_log.cpp index 530e993..2c3a473 100644 --- a/src/core/src/logging/ecal_log.cpp +++ b/src/core/src/logging/ecal_log.cpp @@ -22,6 +22,7 @@ **/ #include +#include #include "ecal_log_impl.h" diff --git a/src/core/src/logging/ecal_log_impl.h b/src/core/src/logging/ecal_log_impl.h index bbed11d..694a31d 100644 --- a/src/core/src/logging/ecal_log_impl.h +++ b/src/core/src/logging/ecal_log_impl.h @@ -27,6 +27,7 @@ #include "io/udp/ecal_udp_sample_sender.h" #include "serialization/ecal_struct_logging.h" +#include #include #include @@ -36,8 +37,9 @@ #include #include -#include #include +#include +#include #include namespace eCAL diff --git a/src/core/src/pubsub/ecal_pubgate.cpp b/src/core/src/pubsub/ecal_pubgate.cpp index bed3f31..24e61a7 100644 --- a/src/core/src/pubsub/ecal_pubgate.cpp +++ b/src/core/src/pubsub/ecal_pubgate.cpp @@ -25,8 +25,13 @@ #include "ecal_sample_to_topicinfo.h" #include "ecal_globals.h" -#include #include +#include +#include +#include +#include +#include +#include namespace { diff --git a/src/core/src/pubsub/ecal_pubgate.h b/src/core/src/pubsub/ecal_pubgate.h index 7b42a79..ba7ec50 100644 --- a/src/core/src/pubsub/ecal_pubgate.h +++ b/src/core/src/pubsub/ecal_pubgate.h @@ -27,8 +27,9 @@ #include "serialization/ecal_struct_sample_registration.h" #include -#include +#include #include +#include #include #include diff --git a/src/core/src/pubsub/ecal_publisher.cpp b/src/core/src/pubsub/ecal_publisher.cpp index 09d14b9..256a580 100644 --- a/src/core/src/pubsub/ecal_publisher.cpp +++ b/src/core/src/pubsub/ecal_publisher.cpp @@ -21,14 +21,18 @@ * @brief common data publisher based on eCAL **/ +#include #include #include "ecal_globals.h" #include "readwrite/ecal_writer.h" #include "readwrite/ecal_writer_buffer_payload.h" -#include #include +#include +#include +#include +#include namespace { diff --git a/src/core/src/pubsub/ecal_subgate.cpp b/src/core/src/pubsub/ecal_subgate.cpp index 1133091..ad324b8 100644 --- a/src/core/src/pubsub/ecal_subgate.cpp +++ b/src/core/src/pubsub/ecal_subgate.cpp @@ -26,7 +26,15 @@ #include "ecal_globals.h" #include +#include +#include #include +#include +#include +#include +#include +#include +#include namespace { diff --git a/src/core/src/pubsub/ecal_subgate.h b/src/core/src/pubsub/ecal_subgate.h index 7d44063..21442f2 100644 --- a/src/core/src/pubsub/ecal_subgate.h +++ b/src/core/src/pubsub/ecal_subgate.h @@ -26,8 +26,9 @@ #include "readwrite/ecal_reader.h" #include -#include +#include #include +#include #include #include diff --git a/src/core/src/pubsub/ecal_subscriber.cpp b/src/core/src/pubsub/ecal_subscriber.cpp index b8eddb1..b5bef7f 100644 --- a/src/core/src/pubsub/ecal_subscriber.cpp +++ b/src/core/src/pubsub/ecal_subscriber.cpp @@ -21,13 +21,17 @@ * @brief common data subscriber for eCAL **/ +#include #include #include "ecal_globals.h" #include "readwrite/ecal_reader.h" -#include #include +#include +#include +#include +#include namespace { diff --git a/src/core/src/readwrite/ecal_reader.cpp b/src/core/src/readwrite/ecal_reader.cpp index e449ae4..bac9bb1 100644 --- a/src/core/src/readwrite/ecal_reader.cpp +++ b/src/core/src/readwrite/ecal_reader.cpp @@ -21,8 +21,13 @@ * @brief common eCAL data reader **/ +#include #include #include +#include +#include +#include +#include #if ECAL_CORE_REGISTRATION #include "registration/ecal_registration_provider.h" diff --git a/src/core/src/readwrite/ecal_reader.h b/src/core/src/readwrite/ecal_reader.h index 3987e30..2f7613b 100644 --- a/src/core/src/readwrite/ecal_reader.h +++ b/src/core/src/readwrite/ecal_reader.h @@ -23,6 +23,9 @@ #pragma once +#include +#include +#include #include #include #include @@ -32,6 +35,7 @@ #include "util/ecal_expmap.h" #include +#include #include #include #include diff --git a/src/core/src/readwrite/ecal_writer.cpp b/src/core/src/readwrite/ecal_writer.cpp index d37257a..a073147 100644 --- a/src/core/src/readwrite/ecal_writer.cpp +++ b/src/core/src/readwrite/ecal_writer.cpp @@ -21,9 +21,15 @@ * @brief common eCAL data writer **/ +#include +#include #include #include #include +#include +#include +#include +#include #include "ecal_def.h" #include "config/ecal_config_reader_hlp.h" diff --git a/src/core/src/readwrite/ecal_writer.h b/src/core/src/readwrite/ecal_writer.h index ecb4816..47d550f 100644 --- a/src/core/src/readwrite/ecal_writer.h +++ b/src/core/src/readwrite/ecal_writer.h @@ -23,10 +23,13 @@ #pragma once +#include +#include #include #include #include #include +#include #include "ecal_def.h" #include "util/ecal_expmap.h" diff --git a/src/core/src/readwrite/shm/ecal_reader_shm.cpp b/src/core/src/readwrite/shm/ecal_reader_shm.cpp index 84238fe..c2f4b2f 100644 --- a/src/core/src/readwrite/shm/ecal_reader_shm.cpp +++ b/src/core/src/readwrite/shm/ecal_reader_shm.cpp @@ -21,7 +21,10 @@ * @brief shared memory layer **/ +#include #include +#include +#include #include "ecal_global_accessors.h" #include "pubsub/ecal_subgate.h" diff --git a/src/core/src/readwrite/shm/ecal_reader_shm.h b/src/core/src/readwrite/shm/ecal_reader_shm.h index 36f4087..e3c5cb3 100644 --- a/src/core/src/readwrite/shm/ecal_reader_shm.h +++ b/src/core/src/readwrite/shm/ecal_reader_shm.h @@ -26,7 +26,9 @@ #include "ecal_def.h" #include "readwrite/ecal_reader_layer.h" +#include #include +#include namespace eCAL { diff --git a/src/core/src/readwrite/shm/ecal_writer_shm.cpp b/src/core/src/readwrite/shm/ecal_writer_shm.cpp index a289fde..0a07907 100644 --- a/src/core/src/readwrite/shm/ecal_writer_shm.cpp +++ b/src/core/src/readwrite/shm/ecal_writer_shm.cpp @@ -21,9 +21,11 @@ * @brief memory file data writer **/ +#include #include #include #include +#include #include "ecal_def.h" #include "ecal_writer_shm.h" diff --git a/src/core/src/readwrite/shm/ecal_writer_shm.h b/src/core/src/readwrite/shm/ecal_writer_shm.h index deb4d70..d3081a5 100644 --- a/src/core/src/readwrite/shm/ecal_writer_shm.h +++ b/src/core/src/readwrite/shm/ecal_writer_shm.h @@ -26,8 +26,10 @@ #include "readwrite/ecal_writer_base.h" #include "io/shm/ecal_memfile_sync.h" +#include #include #include +#include namespace eCAL { diff --git a/src/core/src/readwrite/udp/ecal_reader_udp_mc.cpp b/src/core/src/readwrite/udp/ecal_reader_udp_mc.cpp index 0261754..39ade80 100644 --- a/src/core/src/readwrite/udp/ecal_reader_udp_mc.cpp +++ b/src/core/src/readwrite/udp/ecal_reader_udp_mc.cpp @@ -27,6 +27,11 @@ #include "pubsub/ecal_subgate.h" #include "io/udp/ecal_udp_configurations.h" +#include +#include +#include +#include +#include namespace eCAL { diff --git a/src/core/src/readwrite/udp/ecal_reader_udp_mc.h b/src/core/src/readwrite/udp/ecal_reader_udp_mc.h index cbfb16e..5360dc5 100644 --- a/src/core/src/readwrite/udp/ecal_reader_udp_mc.h +++ b/src/core/src/readwrite/udp/ecal_reader_udp_mc.h @@ -26,6 +26,7 @@ #include "io/udp/ecal_udp_sample_receiver.h" #include "readwrite/ecal_reader_layer.h" +#include #include #include #include diff --git a/src/core/src/readwrite/udp/ecal_writer_udp_mc.cpp b/src/core/src/readwrite/udp/ecal_writer_udp_mc.cpp index 6882cfc..063ed70 100644 --- a/src/core/src/readwrite/udp/ecal_writer_udp_mc.cpp +++ b/src/core/src/readwrite/udp/ecal_writer_udp_mc.cpp @@ -21,8 +21,11 @@ * @brief udp data writer **/ -#include +#include #include +#include +#include +#include #include "ecal_writer_udp_mc.h" #include "io/udp/ecal_udp_configurations.h" diff --git a/src/core/src/readwrite/udp/ecal_writer_udp_mc.h b/src/core/src/readwrite/udp/ecal_writer_udp_mc.h index d1bc40b..9b9df24 100644 --- a/src/core/src/readwrite/udp/ecal_writer_udp_mc.h +++ b/src/core/src/readwrite/udp/ecal_writer_udp_mc.h @@ -26,6 +26,7 @@ #include "io/udp/ecal_udp_sample_sender.h" #include "readwrite/ecal_writer_base.h" +#include #include #include diff --git a/src/core/src/registration/ecal_registration_provider.cpp b/src/core/src/registration/ecal_registration_provider.cpp index c936ac3..a6b735d 100644 --- a/src/core/src/registration/ecal_registration_provider.cpp +++ b/src/core/src/registration/ecal_registration_provider.cpp @@ -26,6 +26,7 @@ * **/ +#include #include #include "ecal_def.h" @@ -36,6 +37,11 @@ #include "io/udp/ecal_udp_sample_sender.h" #include +#include +#include +#include +#include +#include namespace { diff --git a/src/core/src/registration/ecal_registration_receiver.cpp b/src/core/src/registration/ecal_registration_receiver.cpp index 1e857f1..799d572 100644 --- a/src/core/src/registration/ecal_registration_receiver.cpp +++ b/src/core/src/registration/ecal_registration_receiver.cpp @@ -32,8 +32,13 @@ #include "pubsub/ecal_pubgate.h" #include "service/ecal_clientgate.h" -#include "io/udp/ecal_udp_configurations.h" #include "ecal_sample_to_topicinfo.h" +#include "io/udp/ecal_udp_configurations.h" +#include +#include +#include +#include +#include namespace eCAL { diff --git a/src/core/src/registration/ecal_registration_receiver.h b/src/core/src/registration/ecal_registration_receiver.h index a6ababc..a3e4e2d 100644 --- a/src/core/src/registration/ecal_registration_receiver.h +++ b/src/core/src/registration/ecal_registration_receiver.h @@ -27,6 +27,7 @@ #pragma once +#include #include #include "ecal_def.h" diff --git a/src/core/src/registration/ecal_registration_receiver_shm.cpp b/src/core/src/registration/ecal_registration_receiver_shm.cpp index b1e89ff..541d220 100644 --- a/src/core/src/registration/ecal_registration_receiver_shm.cpp +++ b/src/core/src/registration/ecal_registration_receiver_shm.cpp @@ -29,6 +29,9 @@ #include "ecal_registration_receiver_shm.h" #include "serialization/ecal_serialize_sample_registration.h" +#include +#include +#include namespace eCAL { diff --git a/src/core/src/registration/ecal_registration_receiver_shm.h b/src/core/src/registration/ecal_registration_receiver_shm.h index 45a554a..b4e0388 100644 --- a/src/core/src/registration/ecal_registration_receiver_shm.h +++ b/src/core/src/registration/ecal_registration_receiver_shm.h @@ -31,6 +31,7 @@ #include "shm/ecal_memfile_broadcast_reader.h" #include "util/ecal_thread.h" +#include namespace eCAL { diff --git a/src/core/src/registration/shm/ecal_memfile_broadcast.cpp b/src/core/src/registration/shm/ecal_memfile_broadcast.cpp index f342f8e..a978278 100644 --- a/src/core/src/registration/shm/ecal_memfile_broadcast.cpp +++ b/src/core/src/registration/shm/ecal_memfile_broadcast.cpp @@ -27,8 +27,12 @@ #include "io/shm/ecal_memfile.h" #include "ecal_global_accessors.h" -#include #include +#include +#include +#include +#include +#include namespace eCAL { diff --git a/src/core/src/registration/shm/ecal_memfile_broadcast.h b/src/core/src/registration/shm/ecal_memfile_broadcast.h index 9c500ee..261cfdb 100644 --- a/src/core/src/registration/shm/ecal_memfile_broadcast.h +++ b/src/core/src/registration/shm/ecal_memfile_broadcast.h @@ -23,11 +23,12 @@ #pragma once +#include +#include +#include +#include #include #include -#include -#include -#include #include "relocatable_circular_queue.h" #include "io/shm/ecal_memfile.h" diff --git a/src/core/src/registration/shm/ecal_memfile_broadcast_reader.cpp b/src/core/src/registration/shm/ecal_memfile_broadcast_reader.cpp index cf1ed8b..15bee6b 100644 --- a/src/core/src/registration/shm/ecal_memfile_broadcast_reader.cpp +++ b/src/core/src/registration/shm/ecal_memfile_broadcast_reader.cpp @@ -22,8 +22,14 @@ **/ #include "ecal_memfile_broadcast_reader.h" -#include "io/shm/ecal_memfile.h" #include "ecal_def.h" +#include "io/shm/ecal_memfile.h" +#include +#include +#include +#include +#include +#include namespace eCAL { diff --git a/src/core/src/registration/shm/ecal_memfile_broadcast_reader.h b/src/core/src/registration/shm/ecal_memfile_broadcast_reader.h index 2e16a4c..d02a04d 100644 --- a/src/core/src/registration/shm/ecal_memfile_broadcast_reader.h +++ b/src/core/src/registration/shm/ecal_memfile_broadcast_reader.h @@ -25,10 +25,11 @@ #include "ecal_memfile_broadcast.h" +#include #include -#include -#include #include +#include +#include namespace eCAL { diff --git a/src/core/src/registration/shm/ecal_memfile_broadcast_writer.cpp b/src/core/src/registration/shm/ecal_memfile_broadcast_writer.cpp index 2e9e911..e7ff9dd 100644 --- a/src/core/src/registration/shm/ecal_memfile_broadcast_writer.cpp +++ b/src/core/src/registration/shm/ecal_memfile_broadcast_writer.cpp @@ -22,8 +22,11 @@ **/ #include "ecal_memfile_broadcast_writer.h" -#include "io/shm/ecal_memfile.h" #include "ecal_def.h" +#include "io/shm/ecal_memfile.h" +#include +#include +#include namespace eCAL { diff --git a/src/core/src/registration/shm/ecal_memfile_broadcast_writer.h b/src/core/src/registration/shm/ecal_memfile_broadcast_writer.h index afc6350..9985a5a 100644 --- a/src/core/src/registration/shm/ecal_memfile_broadcast_writer.h +++ b/src/core/src/registration/shm/ecal_memfile_broadcast_writer.h @@ -25,6 +25,7 @@ #include "ecal_memfile_broadcast.h" +#include #include #include diff --git a/src/core/src/registration/shm/relocatable_circular_queue.h b/src/core/src/registration/shm/relocatable_circular_queue.h index e90f3a6..76a04fe 100644 --- a/src/core/src/registration/shm/relocatable_circular_queue.h +++ b/src/core/src/registration/shm/relocatable_circular_queue.h @@ -23,11 +23,12 @@ #pragma once +#include +#include #include -#include -#include #include -#include +#include +#include template class RelocatableCircularQueue{ diff --git a/src/core/src/serialization/ecal_serialize_common.cpp b/src/core/src/serialization/ecal_serialize_common.cpp index aaff165..6862cce 100644 --- a/src/core/src/serialization/ecal_serialize_common.cpp +++ b/src/core/src/serialization/ecal_serialize_common.cpp @@ -22,9 +22,13 @@ * @brief eCAL common (de)serialization **/ -#include "nanopb/pb_encode.h" -#include "nanopb/pb_decode.h" #include "nanopb/ecal.pb.h" +#include "nanopb/pb_decode.h" +#include "nanopb/pb_encode.h" +#include +#include +#include +#include #include "ecal_serialize_common.h" diff --git a/src/core/src/serialization/ecal_serialize_common.h b/src/core/src/serialization/ecal_serialize_common.h index d6d977f..20b7fd3 100644 --- a/src/core/src/serialization/ecal_serialize_common.h +++ b/src/core/src/serialization/ecal_serialize_common.h @@ -31,6 +31,8 @@ #include "ecal_struct_sample_registration.h" #include "ecal_struct_service.h" +#include +#include #include #include diff --git a/src/core/src/serialization/ecal_serialize_logging.cpp b/src/core/src/serialization/ecal_serialize_logging.cpp index 3a7f05a..34b3fd8 100644 --- a/src/core/src/serialization/ecal_serialize_logging.cpp +++ b/src/core/src/serialization/ecal_serialize_logging.cpp @@ -29,7 +29,11 @@ #include "ecal_serialize_common.h" #include "ecal_serialize_logging.h" +#include #include +#include +#include +#include namespace { diff --git a/src/core/src/serialization/ecal_serialize_monitoring.cpp b/src/core/src/serialization/ecal_serialize_monitoring.cpp index 3578f26..669eaf4 100644 --- a/src/core/src/serialization/ecal_serialize_monitoring.cpp +++ b/src/core/src/serialization/ecal_serialize_monitoring.cpp @@ -29,7 +29,9 @@ #include "ecal_serialize_common.h" #include "ecal_serialize_monitoring.h" +#include #include +#include namespace { diff --git a/src/core/src/serialization/ecal_serialize_monitoring.h b/src/core/src/serialization/ecal_serialize_monitoring.h index 937238b..4f85722 100644 --- a/src/core/src/serialization/ecal_serialize_monitoring.h +++ b/src/core/src/serialization/ecal_serialize_monitoring.h @@ -24,6 +24,7 @@ #pragma once +#include #include #include diff --git a/src/core/src/serialization/ecal_serialize_sample_payload.cpp b/src/core/src/serialization/ecal_serialize_sample_payload.cpp index ad003e6..5172431 100644 --- a/src/core/src/serialization/ecal_serialize_sample_payload.cpp +++ b/src/core/src/serialization/ecal_serialize_sample_payload.cpp @@ -29,7 +29,10 @@ #include "ecal_serialize_common.h" #include "ecal_struct_sample_payload.h" +#include #include +#include +#include namespace { diff --git a/src/core/src/serialization/ecal_serialize_sample_payload.h b/src/core/src/serialization/ecal_serialize_sample_payload.h index e39a990..6ef483b 100644 --- a/src/core/src/serialization/ecal_serialize_sample_payload.h +++ b/src/core/src/serialization/ecal_serialize_sample_payload.h @@ -26,6 +26,7 @@ #include "ecal_struct_sample_payload.h" +#include #include #include diff --git a/src/core/src/serialization/ecal_serialize_sample_registration.cpp b/src/core/src/serialization/ecal_serialize_sample_registration.cpp index def7596..2ab09d2 100644 --- a/src/core/src/serialization/ecal_serialize_sample_registration.cpp +++ b/src/core/src/serialization/ecal_serialize_sample_registration.cpp @@ -29,7 +29,11 @@ #include "ecal_serialize_common.h" #include "ecal_serialize_sample_registration.h" +#include #include +#include +#include +#include namespace { diff --git a/src/core/src/serialization/ecal_serialize_sample_registration.h b/src/core/src/serialization/ecal_serialize_sample_registration.h index 86c65ae..a17ffc8 100644 --- a/src/core/src/serialization/ecal_serialize_sample_registration.h +++ b/src/core/src/serialization/ecal_serialize_sample_registration.h @@ -26,6 +26,7 @@ #include "ecal_struct_sample_registration.h" +#include #include #include diff --git a/src/core/src/serialization/ecal_serialize_service.cpp b/src/core/src/serialization/ecal_serialize_service.cpp index c73947f..dce7ab5 100644 --- a/src/core/src/serialization/ecal_serialize_service.cpp +++ b/src/core/src/serialization/ecal_serialize_service.cpp @@ -29,7 +29,10 @@ #include "ecal_serialize_common.h" #include "ecal_serialize_service.h" +#include #include +#include +#include namespace { diff --git a/src/core/src/serialization/ecal_serialize_service.h b/src/core/src/serialization/ecal_serialize_service.h index 71cc255..242199e 100644 --- a/src/core/src/serialization/ecal_serialize_service.h +++ b/src/core/src/serialization/ecal_serialize_service.h @@ -26,6 +26,7 @@ #include "ecal_struct_service.h" +#include #include #include diff --git a/src/core/src/serialization/ecal_struct_sample_payload.h b/src/core/src/serialization/ecal_struct_sample_payload.h index 2875f85..0279c8b 100644 --- a/src/core/src/serialization/ecal_struct_sample_payload.h +++ b/src/core/src/serialization/ecal_struct_sample_payload.h @@ -26,6 +26,8 @@ #include "ecal_struct_sample_common.h" +#include +#include #include #include #include diff --git a/src/core/src/serialization/ecal_struct_sample_registration.h b/src/core/src/serialization/ecal_struct_sample_registration.h index 33e8abd..22e3122 100644 --- a/src/core/src/serialization/ecal_struct_sample_registration.h +++ b/src/core/src/serialization/ecal_struct_sample_registration.h @@ -27,6 +27,7 @@ #include "ecal_struct_sample_common.h" #include "ecal_struct_service.h" +#include #include #include #include diff --git a/src/core/src/serialization/ecal_struct_service.h b/src/core/src/serialization/ecal_struct_service.h index c8cc783..0df89de 100644 --- a/src/core/src/serialization/ecal_struct_service.h +++ b/src/core/src/serialization/ecal_struct_service.h @@ -26,6 +26,7 @@ #include #include +#include namespace eCAL { diff --git a/src/core/src/service/ecal_clientgate.cpp b/src/core/src/service/ecal_clientgate.cpp index 26a3bca..fa6f2d4 100644 --- a/src/core/src/service/ecal_clientgate.cpp +++ b/src/core/src/service/ecal_clientgate.cpp @@ -24,6 +24,11 @@ #include "ecal_clientgate.h" #include "ecal_descgate.h" #include "service/ecal_service_client_impl.h" +#include +#include +#include +#include +#include namespace { diff --git a/src/core/src/service/ecal_clientgate.h b/src/core/src/service/ecal_clientgate.h index 6d2ac72..e486751 100644 --- a/src/core/src/service/ecal_clientgate.h +++ b/src/core/src/service/ecal_clientgate.h @@ -30,8 +30,10 @@ #include #include -#include #include +#include +#include +#include namespace eCAL { diff --git a/src/core/src/service/ecal_service_client.cpp b/src/core/src/service/ecal_service_client.cpp index d23282f..73b005f 100644 --- a/src/core/src/service/ecal_service_client.cpp +++ b/src/core/src/service/ecal_service_client.cpp @@ -22,6 +22,7 @@ **/ #include +#include #include "ecal_clientgate.h" #include "ecal_global_accessors.h" diff --git a/src/core/src/service/ecal_service_client_impl.cpp b/src/core/src/service/ecal_service_client_impl.cpp index a3ad1b6..cb9c949 100644 --- a/src/core/src/service/ecal_service_client_impl.cpp +++ b/src/core/src/service/ecal_service_client_impl.cpp @@ -30,8 +30,12 @@ #include "serialization/ecal_serialize_service.h" #include +#include +#include #include +#include #include +#include namespace eCAL { diff --git a/src/core/src/service/ecal_service_server.cpp b/src/core/src/service/ecal_service_server.cpp index 80c2d8b..b76e88a 100644 --- a/src/core/src/service/ecal_service_server.cpp +++ b/src/core/src/service/ecal_service_server.cpp @@ -22,6 +22,7 @@ **/ #include +#include #include "ecal_servicegate.h" #include "ecal_global_accessors.h" diff --git a/src/core/src/service/ecal_service_server_impl.cpp b/src/core/src/service/ecal_service_server_impl.cpp index 1711004..f63dce8 100644 --- a/src/core/src/service/ecal_service_server_impl.cpp +++ b/src/core/src/service/ecal_service_server_impl.cpp @@ -33,7 +33,10 @@ #include #include +#include +#include #include +#include #include namespace diff --git a/src/core/src/service/ecal_service_server_impl.h b/src/core/src/service/ecal_service_server_impl.h index c013ef6..5b35fcb 100644 --- a/src/core/src/service/ecal_service_server_impl.h +++ b/src/core/src/service/ecal_service_server_impl.h @@ -28,9 +28,11 @@ #include #include +#include #include #include +#include #include "serialization/ecal_struct_service.h" diff --git a/src/core/src/service/ecal_service_singleton_manager.cpp b/src/core/src/service/ecal_service_singleton_manager.cpp index 4cce08d..7ad8908 100644 --- a/src/core/src/service/ecal_service_singleton_manager.cpp +++ b/src/core/src/service/ecal_service_singleton_manager.cpp @@ -19,7 +19,12 @@ #include "ecal_service_singleton_manager.h" +#include #include +#include +#include +#include +#include namespace eCAL { diff --git a/src/core/src/service/ecal_service_singleton_manager.h b/src/core/src/service/ecal_service_singleton_manager.h index 6625da6..f8f7ce8 100644 --- a/src/core/src/service/ecal_service_singleton_manager.h +++ b/src/core/src/service/ecal_service_singleton_manager.h @@ -19,10 +19,15 @@ #pragma once -#include +#include +#include #include +#include #include +#include +#include +#include namespace eCAL { diff --git a/src/core/src/service/ecal_servicegate.cpp b/src/core/src/service/ecal_servicegate.cpp index ba6e960..76d0aa7 100644 --- a/src/core/src/service/ecal_servicegate.cpp +++ b/src/core/src/service/ecal_servicegate.cpp @@ -23,6 +23,9 @@ #include "ecal_servicegate.h" #include "service/ecal_service_server_impl.h" +#include +#include +#include namespace eCAL { diff --git a/src/core/src/time/ecal_time.cpp b/src/core/src/time/ecal_time.cpp index e67d34d..c8aa271 100644 --- a/src/core/src/time/ecal_time.cpp +++ b/src/core/src/time/ecal_time.cpp @@ -24,6 +24,7 @@ #include #include +#include #include #if ECAL_CORE_TIMEGATE diff --git a/src/core/src/time/ecal_timegate.cpp b/src/core/src/time/ecal_timegate.cpp index 681b30c..9594734 100644 --- a/src/core/src/time/ecal_timegate.cpp +++ b/src/core/src/time/ecal_timegate.cpp @@ -21,6 +21,7 @@ * @brief eCAL time gateway class **/ +#include #include #include @@ -31,6 +32,7 @@ #include "util/getenvvar.h" #include +#include #define etime_initialize_name "etime_initialize" #define etime_finalize_name "etime_finalize" diff --git a/src/core/src/time/ecal_timegate.h b/src/core/src/time/ecal_timegate.h index 8a11e96..ccd9938 100644 --- a/src/core/src/time/ecal_timegate.h +++ b/src/core/src/time/ecal_timegate.h @@ -28,6 +28,7 @@ #include "ecal_global_accessors.h" #include +#include #ifdef ECAL_OS_WINDOWS diff --git a/src/core/src/time/ecal_timer.cpp b/src/core/src/time/ecal_timer.cpp index bde258a..cd2d607 100644 --- a/src/core/src/time/ecal_timer.cpp +++ b/src/core/src/time/ecal_timer.cpp @@ -24,9 +24,10 @@ #include #include +#include #include +#include #include -#include namespace eCAL { diff --git a/src/core/src/util/advanced_tclap_output.cpp b/src/core/src/util/advanced_tclap_output.cpp index 58f7d6a..e936c40 100644 --- a/src/core/src/util/advanced_tclap_output.cpp +++ b/src/core/src/util/advanced_tclap_output.cpp @@ -19,7 +19,13 @@ #include "advanced_tclap_output.h" +#include +#include +#include #include +#include +#include +#include namespace CustomTclap { diff --git a/src/core/src/util/ecal_expmap.h b/src/core/src/util/ecal_expmap.h index ba3959e..20b1dda 100644 --- a/src/core/src/util/ecal_expmap.h +++ b/src/core/src/util/ecal_expmap.h @@ -23,13 +23,14 @@ #pragma once +#include #include +#include #include #include #include #include #include -#include namespace eCAL { diff --git a/src/service/ecal_service/include/ecal/service/client_manager.h b/src/service/ecal_service/include/ecal/service/client_manager.h index 9681501..39170c3 100644 --- a/src/service/ecal_service/include/ecal/service/client_manager.h +++ b/src/service/ecal_service/include/ecal/service/client_manager.h @@ -19,10 +19,14 @@ #pragma once -#include +#include +#include #include +#include #include +#include +#include namespace eCAL { diff --git a/src/service/ecal_service/include/ecal/service/client_session.h b/src/service/ecal_service/include/ecal/service/client_session.h index 826a215..c7edeef 100644 --- a/src/service/ecal_service/include/ecal/service/client_session.h +++ b/src/service/ecal_service/include/ecal/service/client_session.h @@ -19,7 +19,10 @@ #pragma once +#include +#include #include +#include #ifdef _MSC_VER #pragma warning(push) diff --git a/src/service/ecal_service/include/ecal/service/server.h b/src/service/ecal_service/include/ecal/service/server.h index cdb23b1..8b60d9b 100644 --- a/src/service/ecal_service/include/ecal/service/server.h +++ b/src/service/ecal_service/include/ecal/service/server.h @@ -19,6 +19,8 @@ #pragma once +#include +#include #include #include diff --git a/src/service/ecal_service/include/ecal/service/server_manager.h b/src/service/ecal_service/include/ecal/service/server_manager.h index fc6bfa4..fa93457 100644 --- a/src/service/ecal_service/include/ecal/service/server_manager.h +++ b/src/service/ecal_service/include/ecal/service/server_manager.h @@ -19,10 +19,13 @@ #pragma once -#include +#include +#include #include +#include #include +#include namespace eCAL { diff --git a/src/service/ecal_service/src/client_manager.cpp b/src/service/ecal_service/src/client_manager.cpp index 9573f5d..3843fb0 100644 --- a/src/service/ecal_service/src/client_manager.cpp +++ b/src/service/ecal_service/src/client_manager.cpp @@ -17,7 +17,13 @@ * ========================= eCAL LICENSE ================================= */ +#include +#include #include +#include +#include +#include +#include namespace eCAL { diff --git a/src/service/ecal_service/src/client_session.cpp b/src/service/ecal_service/src/client_session.cpp index 06ae276..c3a032f 100644 --- a/src/service/ecal_service/src/client_session.cpp +++ b/src/service/ecal_service/src/client_session.cpp @@ -17,7 +17,11 @@ * ========================= eCAL LICENSE ================================= */ +#include #include +#include +#include +#include #include "client_session_impl_v1.h" #include "client_session_impl_v0.h" diff --git a/src/service/ecal_service/src/client_session_impl_base.h b/src/service/ecal_service/src/client_session_impl_base.h index 4a3ce5e..df87e1e 100644 --- a/src/service/ecal_service/src/client_session_impl_base.h +++ b/src/service/ecal_service/src/client_session_impl_base.h @@ -19,6 +19,10 @@ #pragma once +#include +#include +#include +#include #ifdef _MSC_VER #pragma warning(push) #pragma warning(disable: 4834) diff --git a/src/service/ecal_service/src/client_session_impl_v0.cpp b/src/service/ecal_service/src/client_session_impl_v0.cpp index 60240a2..474f7b4 100644 --- a/src/service/ecal_service/src/client_session_impl_v0.cpp +++ b/src/service/ecal_service/src/client_session_impl_v0.cpp @@ -23,7 +23,13 @@ #include "log_helpers.h" #include "log_defs.h" +#include +#include #include +#include +#include +#include +#include namespace eCAL { diff --git a/src/service/ecal_service/src/client_session_impl_v0.h b/src/service/ecal_service/src/client_session_impl_v0.h index c792e83..96017f1 100644 --- a/src/service/ecal_service/src/client_session_impl_v0.h +++ b/src/service/ecal_service/src/client_session_impl_v0.h @@ -20,10 +20,13 @@ #pragma once #include "client_session_impl_base.h" +#include #include #include +#include #include +#include namespace eCAL { diff --git a/src/service/ecal_service/src/client_session_impl_v1.cpp b/src/service/ecal_service/src/client_session_impl_v1.cpp index b7b6ab5..ccd493b 100644 --- a/src/service/ecal_service/src/client_session_impl_v1.cpp +++ b/src/service/ecal_service/src/client_session_impl_v1.cpp @@ -23,7 +23,14 @@ #include "log_helpers.h" #include "log_defs.h" +#include +#include #include +#include +#include +#include +#include +#include namespace eCAL { diff --git a/src/service/ecal_service/src/client_session_impl_v1.h b/src/service/ecal_service/src/client_session_impl_v1.h index 3f9de5b..ebd1a92 100644 --- a/src/service/ecal_service/src/client_session_impl_v1.h +++ b/src/service/ecal_service/src/client_session_impl_v1.h @@ -20,10 +20,14 @@ #pragma once #include "client_session_impl_base.h" +#include +#include #include #include +#include #include +#include namespace eCAL { diff --git a/src/service/ecal_service/src/log_helpers.h b/src/service/ecal_service/src/log_helpers.h index e4409ab..9dda632 100644 --- a/src/service/ecal_service/src/log_helpers.h +++ b/src/service/ecal_service/src/log_helpers.h @@ -20,6 +20,7 @@ #pragma once #include +#include namespace eCAL { diff --git a/src/service/ecal_service/src/protocol_v0.cpp b/src/service/ecal_service/src/protocol_v0.cpp index 05650db..54d231b 100644 --- a/src/service/ecal_service/src/protocol_v0.cpp +++ b/src/service/ecal_service/src/protocol_v0.cpp @@ -20,6 +20,11 @@ #include "protocol_v0.h" #include "protocol_layout.h" +#include +#include +#include +#include +#include namespace eCAL { diff --git a/src/service/ecal_service/src/protocol_v0.h b/src/service/ecal_service/src/protocol_v0.h index e9a7c84..d5fb1ae 100644 --- a/src/service/ecal_service/src/protocol_v0.h +++ b/src/service/ecal_service/src/protocol_v0.h @@ -19,11 +19,10 @@ #pragma once -#include -#include -#include #include +#include #include +#include #include diff --git a/src/service/ecal_service/src/protocol_v1.cpp b/src/service/ecal_service/src/protocol_v1.cpp index fc00787..3ce1395 100644 --- a/src/service/ecal_service/src/protocol_v1.cpp +++ b/src/service/ecal_service/src/protocol_v1.cpp @@ -20,6 +20,12 @@ #include "protocol_v1.h" #include "protocol_layout.h" +#include +#include +#include +#include +#include +#include namespace eCAL { diff --git a/src/service/ecal_service/src/server.cpp b/src/service/ecal_service/src/server.cpp index 6972a2f..c5c4002 100644 --- a/src/service/ecal_service/src/server.cpp +++ b/src/service/ecal_service/src/server.cpp @@ -17,9 +17,11 @@ * ========================= eCAL LICENSE ================================= */ +#include #include #include +#include #include "server_impl.h" diff --git a/src/service/ecal_service/src/server_impl.cpp b/src/service/ecal_service/src/server_impl.cpp index 027316b..28da90c 100644 --- a/src/service/ecal_service/src/server_impl.cpp +++ b/src/service/ecal_service/src/server_impl.cpp @@ -20,6 +20,9 @@ #include "server_impl.h" #include +#include +#include +#include #include "server_session_impl_v1.h" #include "server_session_impl_v0.h" diff --git a/src/service/ecal_service/src/server_impl.h b/src/service/ecal_service/src/server_impl.h index ba22554..9b33edd 100644 --- a/src/service/ecal_service/src/server_impl.h +++ b/src/service/ecal_service/src/server_impl.h @@ -19,11 +19,13 @@ #pragma once +#include +#include #include -#include #include -#include #include +#include +#include #ifdef _MSC_VER #pragma warning(push) diff --git a/src/service/ecal_service/src/server_manager.cpp b/src/service/ecal_service/src/server_manager.cpp index ade0f1e..0b46241 100644 --- a/src/service/ecal_service/src/server_manager.cpp +++ b/src/service/ecal_service/src/server_manager.cpp @@ -17,7 +17,12 @@ * ========================= eCAL LICENSE ================================= */ +#include +#include #include +#include +#include +#include namespace eCAL { diff --git a/src/service/ecal_service/src/server_session_impl_base.h b/src/service/ecal_service/src/server_session_impl_base.h index 358e40a..1d84acf 100644 --- a/src/service/ecal_service/src/server_session_impl_base.h +++ b/src/service/ecal_service/src/server_session_impl_base.h @@ -22,7 +22,7 @@ #include #include -#include +#include #include #ifdef _MSC_VER diff --git a/src/service/ecal_service/src/server_session_impl_v0.cpp b/src/service/ecal_service/src/server_session_impl_v0.cpp index 1d971b4..bb98483 100644 --- a/src/service/ecal_service/src/server_session_impl_v0.cpp +++ b/src/service/ecal_service/src/server_session_impl_v0.cpp @@ -23,6 +23,12 @@ #include "log_defs.h" #include "protocol_layout.h" +#include +#include +#include +#include +#include +#include /////////////////////////////////////////////// // Create, Constructor, Destructor diff --git a/src/service/ecal_service/src/server_session_impl_v0.h b/src/service/ecal_service/src/server_session_impl_v0.h index 0c39e6b..cffeda4 100644 --- a/src/service/ecal_service/src/server_session_impl_v0.h +++ b/src/service/ecal_service/src/server_session_impl_v0.h @@ -20,10 +20,14 @@ #pragma once #include "server_session_impl_base.h" +#include +#include #include #include #include +#include +#include namespace eCAL { diff --git a/src/service/ecal_service/src/server_session_impl_v1.cpp b/src/service/ecal_service/src/server_session_impl_v1.cpp index 981b7d0..3633a24 100644 --- a/src/service/ecal_service/src/server_session_impl_v1.cpp +++ b/src/service/ecal_service/src/server_session_impl_v1.cpp @@ -21,8 +21,14 @@ #include "protocol_v1.h" -#include "log_helpers.h" #include "log_defs.h" +#include "log_helpers.h" +#include +#include +#include +#include +#include +#include /////////////////////////////////////////////// // Create, Constructor, Destructor diff --git a/src/service/ecal_service/src/server_session_impl_v1.h b/src/service/ecal_service/src/server_session_impl_v1.h index 87164ba..d61e2ec 100644 --- a/src/service/ecal_service/src/server_session_impl_v1.h +++ b/src/service/ecal_service/src/server_session_impl_v1.h @@ -20,10 +20,14 @@ #pragma once #include "server_session_impl_base.h" +#include +#include #include #include #include +#include +#include namespace eCAL { diff --git a/src/service/test/src/ecal_tcp_service_test.cpp b/src/service/test/src/ecal_tcp_service_test.cpp index 6b44026..e4bf480 100644 --- a/src/service/test/src/ecal_tcp_service_test.cpp +++ b/src/service/test/src/ecal_tcp_service_test.cpp @@ -21,10 +21,11 @@ #include -#include #include -#include #include +#include +#include +#include #include // Should not be needed, when I use the server manager / client manager #include // Should not be needed, when I use the server manager / client manager diff --git a/src/time/linuxptp/src/config/config.h b/src/time/linuxptp/src/config/config.h index 096686b..da7befa 100644 --- a/src/time/linuxptp/src/config/config.h +++ b/src/time/linuxptp/src/config/config.h @@ -21,10 +21,11 @@ #include +#include #include -#include +#include #include -#include +#include namespace LinuxPtpConfig { diff --git a/src/time/linuxptp/src/ecal_time_linuxptp.cpp b/src/time/linuxptp/src/ecal_time_linuxptp.cpp index 0d36e56..eede635 100644 --- a/src/time/linuxptp/src/ecal_time_linuxptp.cpp +++ b/src/time/linuxptp/src/ecal_time_linuxptp.cpp @@ -19,14 +19,16 @@ #include "ecal_time_linuxptp.h" +#include #include -#include -#include -#include +#include #include -#include +#include #include -#include +#include +#include +#include +#include Linuxptp::Linuxptp(): is_initialized(false), diff --git a/src/time/linuxptp/src/ecal_time_linuxptp.h b/src/time/linuxptp/src/ecal_time_linuxptp.h index d70c24a..2e35df4 100644 --- a/src/time/linuxptp/src/ecal_time_linuxptp.h +++ b/src/time/linuxptp/src/ecal_time_linuxptp.h @@ -19,9 +19,10 @@ #pragma once -#include +#include #include #include +#include #define CLOCKFD 3 #define FD_TO_CLOCKID(fd) ((~(clockid_t) (fd) << 3) | CLOCKFD) diff --git a/src/time/linuxptp/src/ecaltime.cpp b/src/time/linuxptp/src/ecaltime.cpp index cc249b8..928db33 100644 --- a/src/time/linuxptp/src/ecaltime.cpp +++ b/src/time/linuxptp/src/ecaltime.cpp @@ -17,8 +17,10 @@ * ========================= eCAL LICENSE ================================= */ -#include #include +#include +#include +#include #include #include "ecal_time_linuxptp.h" diff --git a/src/utils/include/ecal_utils/filesystem.h b/src/utils/include/ecal_utils/filesystem.h index 42aebc8..e1e77ec 100644 --- a/src/utils/include/ecal_utils/filesystem.h +++ b/src/utils/include/ecal_utils/filesystem.h @@ -19,9 +19,10 @@ #pragma once +#include +#include #include #include -#include #include diff --git a/src/utils/include/ecal_utils/string.h b/src/utils/include/ecal_utils/string.h index 401e284..916c380 100644 --- a/src/utils/include/ecal_utils/string.h +++ b/src/utils/include/ecal_utils/string.h @@ -19,6 +19,7 @@ #pragma once +#include #include #include diff --git a/src/utils/src/filesystem.cpp b/src/utils/src/filesystem.cpp index 2c845df..06f571b 100644 --- a/src/utils/src/filesystem.cpp +++ b/src/utils/src/filesystem.cpp @@ -17,7 +17,14 @@ * ========================= eCAL LICENSE ================================= */ +#include "ecal_utils/string.h" +#include +#include +#include #include +#include +#include +#include #ifdef _WIN32 #define WIN32_LEAN_AND_MEAN