From 007f934b45437ae29a7f2250acb298eefd625227 Mon Sep 17 00:00:00 2001 From: Will Sobel Date: Thu, 18 Sep 2025 17:45:21 +0200 Subject: [PATCH 01/20] initial changes for C++ 20 support --- CMakeLists.txt | 9 +++++---- conan/mruby/conanfile.py | 2 +- conan/profiles/xcode | 2 +- conanfile.py | 2 +- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 29b337cb..8e44023a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,13 +22,14 @@ set(CMAKE_INSTALL_DATADIR "${CMAKE_INSTALL_DATADIR}/mtconnect") message(INFO " Shared build: ${SHARED_AGENT_LIB}") -project(cppagent LANGUAGES C CXX) - # We will define these properties by default for each CMake target to be created. -set(CMAKE_CXX_STANDARD 17) +set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF) -set(CXX_COMPILE_FEATURES cxx_std_17) +set(CXX_COMPILE_FEATURES cxx_std_20) +set(CMAKE_OSX_DEPLOYMENT_TARGET 13.3) + +project(cppagent LANGUAGES C CXX) set(WITH_RUBY ON CACHE STRING "With Ruby Support") diff --git a/conan/mruby/conanfile.py b/conan/mruby/conanfile.py index f1c85b45..32cb2762 100644 --- a/conan/mruby/conanfile.py +++ b/conan/mruby/conanfile.py @@ -155,7 +155,7 @@ def search_header_path(name) if is_msvc(self): if self.settings.build_type == 'Debug': f.write(" conf.compilers.each { |c| c.flags << '/Od' }\n") - f.write(" conf.compilers.each { |c| c.flags << '/std:c++17' }\n") + f.write(" conf.compilers.each { |c| c.flags << '/std:c++20' }\n") f.write(" conf.compilers.each { |c| c.flags << '/%s' }\n" % msvc_runtime_flag(self)) else: if self.settings.build_type == 'Debug': diff --git a/conan/profiles/xcode b/conan/profiles/xcode index 3121ffdd..bea2b337 100644 --- a/conan/profiles/xcode +++ b/conan/profiles/xcode @@ -1,7 +1,7 @@ include(default) [settings] -compiler.cppstd=17 +compiler.cppstd=20 [platform_tool_requires] cmake/3.26.4 diff --git a/conanfile.py b/conanfile.py index 60702ba6..902bc4f0 100644 --- a/conanfile.py +++ b/conanfile.py @@ -130,7 +130,7 @@ def requirements(self): if self.options.with_ruby: self.requires("mruby/3.2.0", headers=True, libs=True, transitive_headers=True, transitive_libs=True) - self.requires("gtest/1.10.0", headers=True, libs=True, transitive_headers=True, transitive_libs=True, test=True) + self.requires("gtest/1.17.0", headers=True, libs=True, transitive_headers=True, transitive_libs=True, test=True) def configure(self): if self.options.shared: From 13a045abf94ebd4804ad315af285c3d2e1f55ade Mon Sep 17 00:00:00 2001 From: Will Sobel Date: Fri, 19 Sep 2025 15:05:56 +0200 Subject: [PATCH 02/20] Fixed test issues where operator == rules changed in version 20 --- conan/profiles/clang | 1 + conan/profiles/docker | 1 + conan/profiles/gcc | 1 + conan/profiles/macos | 2 +- conan/profiles/vs32 | 2 +- conan/profiles/vs32debug | 2 +- conan/profiles/vs32shared | 2 +- conan/profiles/vs64 | 2 +- conan/profiles/vs64debug | 2 +- conan/profiles/vs64shared | 2 +- conan/profiles/vsxp | 2 +- docker/alpine/Dockerfile | 4 ++-- docker/ubuntu/Dockerfile | 9 ++++---- src/mtconnect/agent.cpp | 4 ++-- src/mtconnect/buffer/circular_buffer.hpp | 4 ++-- src/mtconnect/device_model/component.hpp | 7 +++++++ src/mtconnect/entity/entity.hpp | 26 ++++++++++++++++-------- 17 files changed, 46 insertions(+), 27 deletions(-) diff --git a/conan/profiles/clang b/conan/profiles/clang index d80d9b6c..7a37344e 100644 --- a/conan/profiles/clang +++ b/conan/profiles/clang @@ -2,6 +2,7 @@ include(default) [settings] compiler.libcxx=libstdc++11 +compiler.cppstd=20 [env] CC=/usr/bin/clang diff --git a/conan/profiles/docker b/conan/profiles/docker index 2759a86d..9a48de72 100644 --- a/conan/profiles/docker +++ b/conan/profiles/docker @@ -2,6 +2,7 @@ include(default) [settings] compiler.libcxx=libstdc++11 +compiler.cppstd=20 [options] without_ipv6=True diff --git a/conan/profiles/gcc b/conan/profiles/gcc index 698cc39b..cac1ad8f 100644 --- a/conan/profiles/gcc +++ b/conan/profiles/gcc @@ -2,6 +2,7 @@ include(default) [settings] compiler.libcxx=libstdc++11 +compiler.cppstd=20 [system_tools] cmake/>3.23.0 \ No newline at end of file diff --git a/conan/profiles/macos b/conan/profiles/macos index 822d173c..b7c3df9a 100644 --- a/conan/profiles/macos +++ b/conan/profiles/macos @@ -2,7 +2,7 @@ include(default) [settings] compiler=apple-clang -compiler.cppstd=gnu17 +compiler.cppstd=20 [system_tools] cmake/>3.26.0 diff --git a/conan/profiles/vs32 b/conan/profiles/vs32 index fb406b01..423cc952 100644 --- a/conan/profiles/vs32 +++ b/conan/profiles/vs32 @@ -2,7 +2,7 @@ include(default) [settings] compiler=msvc -compiler.cppstd=17 +compiler.cppstd=20 arch=x86 compiler.runtime=static compiler.runtime_type=Release diff --git a/conan/profiles/vs32debug b/conan/profiles/vs32debug index 54344e40..06f2fb2c 100644 --- a/conan/profiles/vs32debug +++ b/conan/profiles/vs32debug @@ -2,7 +2,7 @@ include(default) [settings] compiler=msvc -compiler.cppstd=17 +compiler.cppstd=20 arch=x86 compiler.runtime=static compiler.runtime_type=Debug diff --git a/conan/profiles/vs32shared b/conan/profiles/vs32shared index d30b8f54..ca9b3fa6 100644 --- a/conan/profiles/vs32shared +++ b/conan/profiles/vs32shared @@ -2,7 +2,7 @@ include(default) [settings] compiler=msvc -compiler.cppstd=17 +compiler.cppstd=20 arch=x86 compiler.runtime=dynamic compiler.runtime_type=Release diff --git a/conan/profiles/vs64 b/conan/profiles/vs64 index 729464e4..3e639b8c 100644 --- a/conan/profiles/vs64 +++ b/conan/profiles/vs64 @@ -2,7 +2,7 @@ include(default) [settings] compiler=msvc -compiler.cppstd=17 +compiler.cppstd=20 arch=x86_64 compiler.runtime=static compiler.runtime_type=Release diff --git a/conan/profiles/vs64debug b/conan/profiles/vs64debug index 226a6a3f..9445c691 100644 --- a/conan/profiles/vs64debug +++ b/conan/profiles/vs64debug @@ -2,7 +2,7 @@ include(default) [settings] compiler=msvc -compiler.cppstd=17 +compiler.cppstd=20 arch=x86_64 compiler.runtime=static compiler.runtime_type=Debug diff --git a/conan/profiles/vs64shared b/conan/profiles/vs64shared index ebea4cd9..13548f25 100644 --- a/conan/profiles/vs64shared +++ b/conan/profiles/vs64shared @@ -2,7 +2,7 @@ include(default) [settings] compiler=msvc -compiler.cppstd=17 +compiler.cppstd=20 arch=x86_64 compiler.runtime=dynamic compiler.runtime_type=Release diff --git a/conan/profiles/vsxp b/conan/profiles/vsxp index 10d64e4a..1acbe97d 100644 --- a/conan/profiles/vsxp +++ b/conan/profiles/vsxp @@ -3,7 +3,7 @@ include(default) [settings] compiler=msvc arch=x86 -compiler.cppstd=17 +compiler.cppstd=20 compiler.runtime=static compiler.runtime_type=Release build_type=Release diff --git a/docker/alpine/Dockerfile b/docker/alpine/Dockerfile index 270e90ae..ec7599cf 100644 --- a/docker/alpine/Dockerfile +++ b/docker/alpine/Dockerfile @@ -74,7 +74,7 @@ WORKDIR /root/agent COPY . cppagent ARG WITH_TESTS=false -ARG WITH_TESTS_ARG=argument +ARG WITH_TESTS_ARG= # Build and optionally test. Unpack the dist to reduce overhead in the following release step. RUN if [ -z "$WITH_TESTS" ] || [ "$WITH_TESTS" = "false" ]; then \ @@ -94,7 +94,7 @@ RUN if [ -z "$WITH_TESTS" ] || [ "$WITH_TESTS" = "false" ]; then \ -o cpack_name=dist \ -o cpack_generator=TGZ \ -pr "$CONAN_PROFILE" \ - "${WITH_TESTS_ARG}" \ + ${WITH_TESTS_ARG} \ && tar xf dist.tar.gz \ && rm dist.tar.gz diff --git a/docker/ubuntu/Dockerfile b/docker/ubuntu/Dockerfile index 7372a546..a01755a1 100644 --- a/docker/ubuntu/Dockerfile +++ b/docker/ubuntu/Dockerfile @@ -46,13 +46,12 @@ ARG CONAN_CPU_COUNT=2 ARG WITH_RUBY='True' # set some variables -ENV PATH="$HOME/venv3.9/bin:$PATH" ENV CONAN_PROFILE='/root/agent/cppagent/conan/profiles/docker' # update os and add dependencies # note: Dockerfiles run as root by default, so don't need sudo -RUN apt-get update \ - && apt-get install -y \ +RUN apt clean && apt update \ + && apt install -y \ autoconf \ automake \ build-essential \ @@ -72,7 +71,7 @@ WORKDIR /root/agent COPY . cppagent ARG WITH_TESTS=false -ARG WITH_TESTS_ARG=argument +ARG WITH_TESTS_ARG= # Build and optionally test RUN if [ -z "$WITH_TESTS" ] || [ "$WITH_TESTS" = "false" ]; then \ @@ -91,7 +90,7 @@ RUN if [ -z "$WITH_TESTS" ] || [ "$WITH_TESTS" = "false" ]; then \ -o cpack_name=dist \ -o cpack_generator=TGZ \ -pr "$CONAN_PROFILE" \ - "${WITH_TESTS_ARG}" \ + ${WITH_TESTS_ARG} \ && tar xf dist.tar.gz \ && rm dist.tar.gz diff --git a/src/mtconnect/agent.cpp b/src/mtconnect/agent.cpp index bac1512c..86ea5d26 100644 --- a/src/mtconnect/agent.cpp +++ b/src/mtconnect/agent.cpp @@ -477,7 +477,7 @@ namespace mtconnect { return; } - auto callback = [=](config::AsyncContext &context) { + auto callback = [=,this](config::AsyncContext &context) { try { bool changed = false; @@ -604,7 +604,7 @@ namespace mtconnect { createUniqueIds(device); LOG(info) << "Checking if device " << *uuid << " has changed"; - if (*device != *oldDev) + if (device->different(*oldDev)) { LOG(info) << "Device " << *uuid << " changed, updating model"; diff --git a/src/mtconnect/buffer/circular_buffer.hpp b/src/mtconnect/buffer/circular_buffer.hpp index eb3b3f4d..327aed18 100644 --- a/src/mtconnect/buffer/circular_buffer.hpp +++ b/src/mtconnect/buffer/circular_buffer.hpp @@ -326,8 +326,8 @@ namespace mtconnect::buffer { mutable std::recursive_mutex m_sequenceLock; // Sequence number - volatile SequenceNumber_t m_sequence; - volatile SequenceNumber_t m_firstSequence; + SequenceNumber_t m_sequence; + SequenceNumber_t m_firstSequence; // The sliding/circular buffer to hold all of the events/sample data unsigned int m_slidingBufferSize; diff --git a/src/mtconnect/device_model/component.hpp b/src/mtconnect/device_model/component.hpp index 911b7a5a..d895a404 100644 --- a/src/mtconnect/device_model/component.hpp +++ b/src/mtconnect/device_model/component.hpp @@ -219,7 +219,14 @@ namespace mtconnect { /// @return the data item list auto getDataItems() const { return getList("DataItems"); } + /// @brief compares the ids of the component for sorting + /// @param comp other component to compare against + /// @return `true` if this id is less than the comp id bool operator<(const Component &comp) const { return m_id < comp.getId(); } + + /// @brief compares the ids for equality + /// @param comp other component to compare against + /// @return `true` if this id is equal than the comp id bool operator==(const Component &comp) const { return m_id == comp.getId(); } /// @brief connected references by looking them up in the device diff --git a/src/mtconnect/entity/entity.hpp b/src/mtconnect/entity/entity.hpp index aa6ac8a1..02765267 100644 --- a/src/mtconnect/entity/entity.hpp +++ b/src/mtconnect/entity/entity.hpp @@ -368,16 +368,26 @@ namespace mtconnect { else return empty; } - + + /// @brief checks if two entity models are different–does a deep analysis + /// @param other the other entity to check + /// @return `true` if the entities are different + bool different(const Entity &other) const; + + /// @brief cover method for entity comparison + /// @param other the other entity to check + /// @return `true` if the entities are different + bool different(const std::shared_ptr other) const { return different(*other); } + /// @brief compare two entities for equality /// @param other the other entity /// @return `true` if they have equal name and properties - bool operator==(const Entity &other) const; + bool operator==(const Entity &other) const { return !different(other); } /// @brief compare two entities for inequality /// @param other the other entity /// @return `true` if they have unequal name and properties - bool operator!=(const Entity &other) const { return !(*this == other); } + bool operator!=(const Entity &other) const { return different(other); } /// @brief update this entity to be the same as other /// @param other the other entity @@ -517,23 +527,23 @@ namespace mtconnect { inline bool operator!=(const Value &v1, const Value &v2) { return !(v1 == v2); } - inline bool Entity::operator==(const Entity &other) const + inline bool Entity::different(const Entity &other) const { if (m_name != other.m_name) - return false; + return true; if (m_properties.size() != other.m_properties.size()) - return false; + return true; for (auto it1 = m_properties.cbegin(), it2 = other.m_properties.cbegin(); it1 != m_properties.cend(); it1++, it2++) { if (it1->first != it2->first || it1->second != it2->second) { - return false; + return true; } } - return true; + return false; } /// @brief variant visitor to merge two entities From 2234ee7e6f695409b321564f4d0ca8fe6ad69913 Mon Sep 17 00:00:00 2001 From: Will Sobel Date: Sat, 20 Sep 2025 21:18:45 +0200 Subject: [PATCH 03/20] Windows changes for C++ 20 --- src/mtconnect/configuration/service.cpp | 10 +++++----- src/mtconnect/pipeline/timestamp_extractor.hpp | 2 +- src/mtconnect/utilities.hpp | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/mtconnect/configuration/service.cpp b/src/mtconnect/configuration/service.cpp index a3ef8c0d..ebce29fb 100644 --- a/src/mtconnect/configuration/service.cpp +++ b/src/mtconnect/configuration/service.cpp @@ -220,7 +220,7 @@ namespace mtconnect { g_service = this; m_isService = true; - SERVICE_TABLE_ENTRY DispatchTable[] = {{"", (LPSERVICE_MAIN_FUNCTION)SvcMain}, + SERVICE_TABLE_ENTRY DispatchTable[] = {{LPSTR(""), (LPSERVICE_MAIN_FUNCTION)SvcMain}, {nullptr, nullptr}}; if (StartServiceCtrlDispatcher(DispatchTable) == 0) @@ -229,7 +229,7 @@ namespace mtconnect { } else { - SvcReportEvent("StartServiceCtrlDispatcher"); + SvcReportEvent(LPSTR("StartServiceCtrlDispatcher")); } } catch (std::exception &e) @@ -516,7 +516,7 @@ namespace mtconnect { if (!g_svcStatusHandle) { - SvcReportEvent("RegisterServiceCtrlHandler"); + SvcReportEvent(LPSTR("RegisterServiceCtrlHandler")); return; } @@ -554,7 +554,7 @@ namespace mtconnect { auto res = RegOpenKeyExA(HKEY_LOCAL_MACHINE, key, 0ul, KEY_READ, &agent); if (res != ERROR_SUCCESS) { - SvcReportEvent("RegOpenKey: Could not open MTConnect Agent Key"); + SvcReportEvent(LPSTR("RegOpenKey: Could not open MTConnect Agent Key")); ReportSvcStatus(SERVICE_STOPPED, 1ul, 0ul); return; } @@ -566,7 +566,7 @@ namespace mtconnect { agent = nullptr; if (res != ERROR_SUCCESS) { - SvcReportEvent("RegOpenKey: Could not open ConfigurationFile"); + SvcReportEvent(LPSTR("RegOpenKey: Could not open ConfigurationFile")); ReportSvcStatus(SERVICE_STOPPED, 1ul, 0ul); return; } diff --git a/src/mtconnect/pipeline/timestamp_extractor.hpp b/src/mtconnect/pipeline/timestamp_extractor.hpp index 2cddc792..6cb16307 100644 --- a/src/mtconnect/pipeline/timestamp_extractor.hpp +++ b/src/mtconnect/pipeline/timestamp_extractor.hpp @@ -104,7 +104,7 @@ namespace mtconnect::pipeline { if (has_t) { istringstream in(timestamp.data()); - in >> std::setw(6) >> parse("%FT%T", result); + in >> std::setw(6) >> std::chrono::parse("%FT%T", result); if (!in.good()) { result = now(); diff --git a/src/mtconnect/utilities.hpp b/src/mtconnect/utilities.hpp index da603aa7..93b49f2f 100644 --- a/src/mtconnect/utilities.hpp +++ b/src/mtconnect/utilities.hpp @@ -764,7 +764,7 @@ namespace mtconnect { Timestamp ts; std::istringstream in(timestamp); - in >> std::setw(6) >> parse("%FT%T", ts); + in >> std::setw(6) >> std::chrono::parse("%FT%T", ts); if (!in.good()) { ts = std::chrono::system_clock::now(); From ebe752b35ab80a02dce26fd9e6609e4873558ce9 Mon Sep 17 00:00:00 2001 From: Will Sobel Date: Sun, 21 Sep 2025 00:34:59 +0200 Subject: [PATCH 04/20] cleaned up tz handling --- .../pipeline/timestamp_extractor.hpp | 2 +- src/mtconnect/utilities.hpp | 19 +++++++------------ 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/src/mtconnect/pipeline/timestamp_extractor.hpp b/src/mtconnect/pipeline/timestamp_extractor.hpp index 6cb16307..4226971d 100644 --- a/src/mtconnect/pipeline/timestamp_extractor.hpp +++ b/src/mtconnect/pipeline/timestamp_extractor.hpp @@ -104,7 +104,7 @@ namespace mtconnect::pipeline { if (has_t) { istringstream in(timestamp.data()); - in >> std::setw(6) >> std::chrono::parse("%FT%T", result); + in >> std::setw(6) >> date::parse("%FT%T", result); if (!in.good()) { result = now(); diff --git a/src/mtconnect/utilities.hpp b/src/mtconnect/utilities.hpp index 93b49f2f..07b46e6d 100644 --- a/src/mtconnect/utilities.hpp +++ b/src/mtconnect/utilities.hpp @@ -31,6 +31,7 @@ #include #include +#include #include #include #include @@ -228,12 +229,11 @@ namespace mtconnect { case GMT_UV_SEC: return date::format(ISO_8601_FMT, date::floor(timePoint)); case LOCAL: - auto time = system_clock::to_time_t(timePoint); - struct tm timeinfo = {0}; - mt_localtime(&time, &timeinfo); - char timestamp[64] = {0}; - strftime(timestamp, 50u, "%Y-%m-%dT%H:%M:%S%z", &timeinfo); - return timestamp; + { + auto zone = date::current_zone(); + auto zt = date::zoned_time(zone, timePoint); + return date::format("%Y-%m-%dT%H:%M:%S%z", zt); + } } return ""; @@ -757,14 +757,9 @@ namespace mtconnect { /// @return converted `Timestamp` inline Timestamp parseTimestamp(const std::string ×tamp) { - using namespace date; - using namespace std::chrono; - using namespace std::chrono_literals; - using namespace date::literals; - Timestamp ts; std::istringstream in(timestamp); - in >> std::setw(6) >> std::chrono::parse("%FT%T", ts); + in >> std::setw(6) >> date::parse("%FT%T", ts); if (!in.good()) { ts = std::chrono::system_clock::now(); From 562d1c2c50c112f819c9743bd18689b8da3a0ffe Mon Sep 17 00:00:00 2001 From: Will Sobel Date: Sun, 21 Sep 2025 22:08:10 +0200 Subject: [PATCH 05/20] formatted --- src/mtconnect/agent.cpp | 2 +- src/mtconnect/entity/entity.hpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mtconnect/agent.cpp b/src/mtconnect/agent.cpp index 86ea5d26..2149853d 100644 --- a/src/mtconnect/agent.cpp +++ b/src/mtconnect/agent.cpp @@ -477,7 +477,7 @@ namespace mtconnect { return; } - auto callback = [=,this](config::AsyncContext &context) { + auto callback = [=, this](config::AsyncContext &context) { try { bool changed = false; diff --git a/src/mtconnect/entity/entity.hpp b/src/mtconnect/entity/entity.hpp index 02765267..e687f12c 100644 --- a/src/mtconnect/entity/entity.hpp +++ b/src/mtconnect/entity/entity.hpp @@ -368,17 +368,17 @@ namespace mtconnect { else return empty; } - + /// @brief checks if two entity models are different–does a deep analysis /// @param other the other entity to check /// @return `true` if the entities are different bool different(const Entity &other) const; - + /// @brief cover method for entity comparison /// @param other the other entity to check /// @return `true` if the entities are different bool different(const std::shared_ptr other) const { return different(*other); } - + /// @brief compare two entities for equality /// @param other the other entity /// @return `true` if they have equal name and properties From e1bd649bf3ed0fdb254b430eb4d1afd2c6f77f4a Mon Sep 17 00:00:00 2001 From: Will Sobel Date: Sun, 21 Sep 2025 22:38:34 +0200 Subject: [PATCH 06/20] Changed globals test to utilities test --- .../pipeline/timestamp_extractor.hpp | 1 - src/mtconnect/ruby/embedded.cpp | 1 - src/mtconnect/ruby/ruby_transform.hpp | 1 - .../source/adapter/shdr/shdr_adapter.cpp | 1 - test_package/CMakeLists.txt | 2 +- test_package/change_observer_test.cpp | 1 - test_package/mtconnect_xml_transform_test.cpp | 1 - test_package/shdr_tokenizer_test.cpp | 1 - test_package/timestamp_extractor_test.cpp | 1 - .../{globals_test.cpp => utilities_test.cpp} | 24 +++++++++---------- 10 files changed, 13 insertions(+), 21 deletions(-) rename test_package/{globals_test.cpp => utilities_test.cpp} (92%) diff --git a/src/mtconnect/pipeline/timestamp_extractor.hpp b/src/mtconnect/pipeline/timestamp_extractor.hpp index 4226971d..0ce980aa 100644 --- a/src/mtconnect/pipeline/timestamp_extractor.hpp +++ b/src/mtconnect/pipeline/timestamp_extractor.hpp @@ -87,7 +87,6 @@ namespace mtconnect::pipeline { using namespace date; using namespace chrono; using namespace chrono_literals; - using namespace date::literals; using namespace date; // Extract duration diff --git a/src/mtconnect/ruby/embedded.cpp b/src/mtconnect/ruby/embedded.cpp index 4942b688..29b45b2c 100644 --- a/src/mtconnect/ruby/embedded.cpp +++ b/src/mtconnect/ruby/embedded.cpp @@ -62,7 +62,6 @@ using namespace std; namespace mtconnect::ruby { using namespace mtconnect::pipeline; using namespace std::literals; - using namespace date::literals; using namespace observation; RClass *RubyObservation::m_eventClass; diff --git a/src/mtconnect/ruby/ruby_transform.hpp b/src/mtconnect/ruby/ruby_transform.hpp index 94693b29..f1e9800e 100644 --- a/src/mtconnect/ruby/ruby_transform.hpp +++ b/src/mtconnect/ruby/ruby_transform.hpp @@ -28,7 +28,6 @@ namespace mtconnect::ruby { using namespace mtconnect::pipeline; using namespace std::literals; - using namespace date::literals; using namespace entity; using namespace observation; diff --git a/src/mtconnect/source/adapter/shdr/shdr_adapter.cpp b/src/mtconnect/source/adapter/shdr/shdr_adapter.cpp index 366b4e9b..695dc247 100644 --- a/src/mtconnect/source/adapter/shdr/shdr_adapter.cpp +++ b/src/mtconnect/source/adapter/shdr/shdr_adapter.cpp @@ -34,7 +34,6 @@ using namespace std; using namespace std::literals; -using namespace date::literals; namespace mtconnect::source::adapter::shdr { // Adapter public methods diff --git a/test_package/CMakeLists.txt b/test_package/CMakeLists.txt index 05f82d63..2cd035cc 100644 --- a/test_package/CMakeLists.txt +++ b/test_package/CMakeLists.txt @@ -285,7 +285,7 @@ add_agent_test(correct_timestamp TRUE pipeline) add_agent_test(agent TRUE core) add_agent_test(agent_asset TRUE core) -add_agent_test(globals FALSE core) +add_agent_test(utilities FALSE core) add_agent_test(config_parser FALSE configuration) add_agent_test(config FALSE configuration) diff --git a/test_package/change_observer_test.cpp b/test_package/change_observer_test.cpp index b7501a6c..d809fec6 100644 --- a/test_package/change_observer_test.cpp +++ b/test_package/change_observer_test.cpp @@ -31,7 +31,6 @@ using namespace std::chrono_literals; using namespace std; using namespace std::literals; -using namespace date::literals; using WorkGuard = boost::asio::executor_work_guard; diff --git a/test_package/mtconnect_xml_transform_test.cpp b/test_package/mtconnect_xml_transform_test.cpp index 21e3b010..2c32d004 100644 --- a/test_package/mtconnect_xml_transform_test.cpp +++ b/test_package/mtconnect_xml_transform_test.cpp @@ -31,7 +31,6 @@ using namespace mtconnect::pipeline; using namespace mtconnect::observation; using namespace mtconnect::asset; using namespace std; -using namespace date::literals; using namespace std::literals; // main diff --git a/test_package/shdr_tokenizer_test.cpp b/test_package/shdr_tokenizer_test.cpp index 76b754d4..ecbea97e 100644 --- a/test_package/shdr_tokenizer_test.cpp +++ b/test_package/shdr_tokenizer_test.cpp @@ -29,7 +29,6 @@ using namespace mtconnect; using namespace mtconnect::pipeline; using namespace mtconnect::observation; using namespace std; -using namespace date::literals; using namespace std::literals; // main diff --git a/test_package/timestamp_extractor_test.cpp b/test_package/timestamp_extractor_test.cpp index dd355f17..9c9e2a17 100644 --- a/test_package/timestamp_extractor_test.cpp +++ b/test_package/timestamp_extractor_test.cpp @@ -30,7 +30,6 @@ using namespace mtconnect::entity; using namespace std; using namespace std::literals; using namespace date; -using namespace date::literals; // main int main(int argc, char *argv[]) diff --git a/test_package/globals_test.cpp b/test_package/utilities_test.cpp similarity index 92% rename from test_package/globals_test.cpp rename to test_package/utilities_test.cpp index 48cdee99..de43e88f 100644 --- a/test_package/globals_test.cpp +++ b/test_package/utilities_test.cpp @@ -34,7 +34,7 @@ int main(int argc, char *argv[]) return RUN_ALL_TESTS(); } -TEST(GlobalsTest, IntToString) +TEST(UtilitiesTest, IntToString) { ASSERT_EQ((string) "1234", to_string(1234)); ASSERT_EQ((string) "0", to_string(0)); @@ -42,7 +42,7 @@ TEST(GlobalsTest, IntToString) ASSERT_EQ((string) "1", to_string(1)); } -TEST(GlobalsTest, FloatToString) +TEST(UtilitiesTest, FloatToString) { ASSERT_EQ((string) "1.234", format(1.234)); ASSERT_EQ((string) "0", format(0.0)); @@ -50,7 +50,7 @@ TEST(GlobalsTest, FloatToString) ASSERT_EQ((string) "1", format(1.0)); } -TEST(GlobalsTest, ToUpperCase) +TEST(UtilitiesTest, ToUpperCase) { string lower = "abcDef"; ASSERT_EQ((string) "ABCDEF", toUpperCase(lower)); @@ -62,7 +62,7 @@ TEST(GlobalsTest, ToUpperCase) ASSERT_EQ((string) "QWERTY.ASDF|", toUpperCase(lower)); } -TEST(GlobalsTest, IsNonNegativeInteger) +TEST(UtilitiesTest, IsNonNegativeInteger) { ASSERT_TRUE(isNonNegativeInteger("12345")); ASSERT_TRUE(isNonNegativeInteger("123456789012345678901234567890")); @@ -72,7 +72,7 @@ TEST(GlobalsTest, IsNonNegativeInteger) ASSERT_TRUE(!isNonNegativeInteger("123.45")); } -TEST(GlobalsTest, Time) +TEST(UtilitiesTest, Time) { auto time1 = getCurrentTime(GMT); auto time2 = getCurrentTime(GMT); @@ -99,7 +99,7 @@ TEST(GlobalsTest, Time) ASSERT_TRUE(time7 < time9); } -TEST(GlobalsTest, IllegalCharacters) +TEST(UtilitiesTest, IllegalCharacters) { string before1("Don't Change Me"), after1("Don't Change Me"); replaceIllegalCharacters(before1); @@ -114,7 +114,7 @@ TEST(GlobalsTest, IllegalCharacters) ASSERT_EQ(before3, after3); } -TEST(GlobalsTest, GetCurrentTime) +TEST(UtilitiesTest, GetCurrentTime) { auto gmt = getCurrentTime(GMT); auto time = parseTimeMicro(gmt); @@ -140,7 +140,7 @@ TEST(GlobalsTest, GetCurrentTime) ASSERT_EQ(8, n); } -TEST(GlobalsTest, GetCurrentTime2) +TEST(UtilitiesTest, GetCurrentTime2) { // Build a known system time point auto knownTimePoint = std::chrono::system_clock::from_time_t(0); // 1 Jan 1970 00:00:00 @@ -173,14 +173,14 @@ TEST(GlobalsTest, GetCurrentTime2) ASSERT_EQ(string("Thu, 01 Jan 1970 00:00:10 GMT"), humRead); } -TEST(GlobalsTest, ParseTimeMicro) +TEST(UtilitiesTest, ParseTimeMicro) { // This time is 123456 microseconds after the epoch auto v = parseTimeMicro("1970-01-01T00:00:00.123456Z"); ASSERT_EQ(uint64_t {123456}, v); } -TEST(GlobalsTest, AddNamespace) +TEST(UtilitiesTest, AddNamespace) { auto result = addNamespace("//Device//Foo", "m"); ASSERT_EQ(string("//m:Device//m:Foo"), result); @@ -201,7 +201,7 @@ TEST(GlobalsTest, AddNamespace) ASSERT_EQ(string("//m:Device/m:DataItems/"), result); } -TEST(GlobalsTest, ParseTimeMilli) +TEST(UtilitiesTest, ParseTimeMilli) { string v = "2012-11-20T12:33:22.123456"; @@ -213,4 +213,4 @@ TEST(GlobalsTest, ParseTimeMilli) ASSERT_TRUE(1353414802123000LL == time); } -TEST(GlobalsTest, Int64ToString) { ASSERT_EQ((string) "8805345009", to_string(8805345009ULL)); } +TEST(UtilitiesTest, Int64ToString) { ASSERT_EQ((string) "8805345009", to_string(8805345009ULL)); } From fe86af04961dd537476572886c1e875673a5e392 Mon Sep 17 00:00:00 2001 From: Will Sobel Date: Sun, 21 Sep 2025 22:56:16 +0200 Subject: [PATCH 07/20] Changed copyright from 2009 to 2025 --- agent/cppagent.cpp | 2 +- src/mtconnect/agent.cpp | 2 +- src/mtconnect/agent.hpp | 2 +- src/mtconnect/asset/asset.cpp | 2 +- src/mtconnect/asset/asset.hpp | 2 +- src/mtconnect/asset/asset_buffer.hpp | 2 +- src/mtconnect/asset/asset_storage.hpp | 2 +- src/mtconnect/asset/component_configuration_parameters.cpp | 2 +- src/mtconnect/asset/component_configuration_parameters.hpp | 2 +- src/mtconnect/asset/cutting_tool.cpp | 2 +- src/mtconnect/asset/cutting_tool.hpp | 2 +- src/mtconnect/asset/file_asset.cpp | 2 +- src/mtconnect/asset/file_asset.hpp | 2 +- src/mtconnect/asset/fixture.cpp | 2 +- src/mtconnect/asset/fixture.hpp | 2 +- src/mtconnect/asset/pallet.cpp | 2 +- src/mtconnect/asset/pallet.hpp | 2 +- src/mtconnect/asset/physical_asset.cpp | 2 +- src/mtconnect/asset/physical_asset.hpp | 2 +- src/mtconnect/asset/qif_document.cpp | 2 +- src/mtconnect/asset/qif_document.hpp | 2 +- src/mtconnect/asset/raw_material.cpp | 2 +- src/mtconnect/asset/raw_material.hpp | 2 +- src/mtconnect/buffer/checkpoint.cpp | 2 +- src/mtconnect/buffer/checkpoint.hpp | 2 +- src/mtconnect/buffer/circular_buffer.hpp | 2 +- src/mtconnect/config.hpp | 2 +- src/mtconnect/configuration/agent_config.cpp | 2 +- src/mtconnect/configuration/agent_config.hpp | 2 +- src/mtconnect/configuration/async_context.hpp | 2 +- src/mtconnect/configuration/config_options.hpp | 2 +- src/mtconnect/configuration/hook_manager.hpp | 2 +- src/mtconnect/configuration/parser.cpp | 2 +- src/mtconnect/configuration/parser.hpp | 2 +- src/mtconnect/configuration/service.cpp | 2 +- src/mtconnect/configuration/service.hpp | 2 +- src/mtconnect/device_model/agent_device.cpp | 2 +- src/mtconnect/device_model/agent_device.hpp | 2 +- src/mtconnect/device_model/component.cpp | 2 +- src/mtconnect/device_model/component.hpp | 2 +- src/mtconnect/device_model/composition.cpp | 2 +- src/mtconnect/device_model/composition.hpp | 2 +- src/mtconnect/device_model/configuration/configuration.cpp | 2 +- src/mtconnect/device_model/configuration/configuration.hpp | 2 +- src/mtconnect/device_model/configuration/coordinate_systems.cpp | 2 +- src/mtconnect/device_model/configuration/coordinate_systems.hpp | 2 +- src/mtconnect/device_model/configuration/image_file.cpp | 2 +- src/mtconnect/device_model/configuration/image_file.hpp | 2 +- src/mtconnect/device_model/configuration/motion.cpp | 2 +- src/mtconnect/device_model/configuration/motion.hpp | 2 +- src/mtconnect/device_model/configuration/relationships.cpp | 2 +- src/mtconnect/device_model/configuration/relationships.hpp | 2 +- .../device_model/configuration/sensor_configuration.cpp | 2 +- .../device_model/configuration/sensor_configuration.hpp | 2 +- src/mtconnect/device_model/configuration/solid_model.cpp | 2 +- src/mtconnect/device_model/configuration/solid_model.hpp | 2 +- src/mtconnect/device_model/configuration/specifications.cpp | 2 +- src/mtconnect/device_model/configuration/specifications.hpp | 2 +- src/mtconnect/device_model/data_item/constraints.hpp | 2 +- src/mtconnect/device_model/data_item/data_item.cpp | 2 +- src/mtconnect/device_model/data_item/data_item.hpp | 2 +- src/mtconnect/device_model/data_item/definition.hpp | 2 +- src/mtconnect/device_model/data_item/filter.hpp | 2 +- src/mtconnect/device_model/data_item/relationships.hpp | 2 +- src/mtconnect/device_model/data_item/source.hpp | 2 +- src/mtconnect/device_model/data_item/unit_conversion.cpp | 2 +- src/mtconnect/device_model/data_item/unit_conversion.hpp | 2 +- src/mtconnect/device_model/description.cpp | 2 +- src/mtconnect/device_model/description.hpp | 2 +- src/mtconnect/device_model/device.cpp | 2 +- src/mtconnect/device_model/device.hpp | 2 +- src/mtconnect/device_model/reference.cpp | 2 +- src/mtconnect/device_model/reference.hpp | 2 +- src/mtconnect/entity/data_set.cpp | 2 +- src/mtconnect/entity/data_set.hpp | 2 +- src/mtconnect/entity/entity.cpp | 2 +- src/mtconnect/entity/entity.hpp | 2 +- src/mtconnect/entity/factory.cpp | 2 +- src/mtconnect/entity/factory.hpp | 2 +- src/mtconnect/entity/json_parser.cpp | 2 +- src/mtconnect/entity/json_parser.hpp | 2 +- src/mtconnect/entity/json_printer.hpp | 2 +- src/mtconnect/entity/qname.hpp | 2 +- src/mtconnect/entity/requirement.cpp | 2 +- src/mtconnect/entity/requirement.hpp | 2 +- src/mtconnect/entity/xml_parser.cpp | 2 +- src/mtconnect/entity/xml_parser.hpp | 2 +- src/mtconnect/entity/xml_printer.cpp | 2 +- src/mtconnect/entity/xml_printer.hpp | 2 +- src/mtconnect/logging.hpp | 2 +- src/mtconnect/mqtt/mqtt_authorization.hpp | 2 +- src/mtconnect/mqtt/mqtt_client.hpp | 2 +- src/mtconnect/mqtt/mqtt_client_impl.hpp | 2 +- src/mtconnect/mqtt/mqtt_server.hpp | 2 +- src/mtconnect/mqtt/mqtt_server_impl.hpp | 2 +- src/mtconnect/observation/change_observer.cpp | 2 +- src/mtconnect/observation/change_observer.hpp | 2 +- src/mtconnect/observation/observation.cpp | 2 +- src/mtconnect/observation/observation.hpp | 2 +- src/mtconnect/parser/xml_parser.cpp | 2 +- src/mtconnect/parser/xml_parser.hpp | 2 +- src/mtconnect/pipeline/convert_sample.hpp | 2 +- src/mtconnect/pipeline/correct_timestamp.hpp | 2 +- src/mtconnect/pipeline/deliver.cpp | 2 +- src/mtconnect/pipeline/deliver.hpp | 2 +- src/mtconnect/pipeline/delta_filter.hpp | 2 +- src/mtconnect/pipeline/duplicate_filter.hpp | 2 +- src/mtconnect/pipeline/guard.hpp | 2 +- src/mtconnect/pipeline/json_mapper.cpp | 2 +- src/mtconnect/pipeline/json_mapper.hpp | 2 +- src/mtconnect/pipeline/message_mapper.hpp | 2 +- src/mtconnect/pipeline/mtconnect_xml_transform.hpp | 2 +- src/mtconnect/pipeline/period_filter.hpp | 2 +- src/mtconnect/pipeline/pipeline.hpp | 2 +- src/mtconnect/pipeline/pipeline_context.hpp | 2 +- src/mtconnect/pipeline/pipeline_contract.hpp | 2 +- src/mtconnect/pipeline/response_document.cpp | 2 +- src/mtconnect/pipeline/response_document.hpp | 2 +- src/mtconnect/pipeline/shdr_token_mapper.cpp | 2 +- src/mtconnect/pipeline/shdr_token_mapper.hpp | 2 +- src/mtconnect/pipeline/shdr_tokenizer.hpp | 2 +- src/mtconnect/pipeline/timestamp_extractor.hpp | 2 +- src/mtconnect/pipeline/topic_mapper.hpp | 2 +- src/mtconnect/pipeline/transform.hpp | 2 +- src/mtconnect/pipeline/upcase_value.hpp | 2 +- src/mtconnect/pipeline/validator.hpp | 2 +- src/mtconnect/printer/json_printer.cpp | 2 +- src/mtconnect/printer/json_printer.hpp | 2 +- src/mtconnect/printer/json_printer_helper.hpp | 2 +- src/mtconnect/printer/printer.hpp | 2 +- src/mtconnect/printer/xml_helper.hpp | 2 +- src/mtconnect/printer/xml_printer.cpp | 2 +- src/mtconnect/printer/xml_printer.hpp | 2 +- src/mtconnect/printer/xml_printer_helper.hpp | 2 +- src/mtconnect/ruby/embedded.cpp | 2 +- src/mtconnect/ruby/embedded.hpp | 2 +- src/mtconnect/ruby/ruby_agent.hpp | 2 +- src/mtconnect/ruby/ruby_entity.hpp | 2 +- src/mtconnect/ruby/ruby_observation.hpp | 2 +- src/mtconnect/ruby/ruby_pipeline.hpp | 2 +- src/mtconnect/ruby/ruby_smart_ptr.hpp | 2 +- src/mtconnect/ruby/ruby_transform.hpp | 2 +- src/mtconnect/ruby/ruby_type.hpp | 2 +- src/mtconnect/ruby/ruby_vm.hpp | 2 +- src/mtconnect/sink/rest_sink/cached_file.hpp | 2 +- src/mtconnect/sink/rest_sink/error.cpp | 2 +- src/mtconnect/sink/rest_sink/error.hpp | 2 +- src/mtconnect/sink/rest_sink/file_cache.cpp | 2 +- src/mtconnect/sink/rest_sink/file_cache.hpp | 2 +- src/mtconnect/sink/rest_sink/parameter.hpp | 2 +- src/mtconnect/sink/rest_sink/request.hpp | 2 +- src/mtconnect/sink/rest_sink/response.hpp | 2 +- src/mtconnect/sink/rest_sink/rest_service.cpp | 2 +- src/mtconnect/sink/rest_sink/rest_service.hpp | 2 +- src/mtconnect/sink/rest_sink/routing.hpp | 2 +- src/mtconnect/sink/rest_sink/server.cpp | 2 +- src/mtconnect/sink/rest_sink/server.hpp | 2 +- src/mtconnect/sink/rest_sink/session.hpp | 2 +- src/mtconnect/sink/rest_sink/session_impl.cpp | 2 +- src/mtconnect/sink/rest_sink/session_impl.hpp | 2 +- src/mtconnect/sink/rest_sink/tls_dector.hpp | 2 +- src/mtconnect/sink/sink.cpp | 2 +- src/mtconnect/sink/sink.hpp | 2 +- src/mtconnect/source/adapter/adapter.hpp | 2 +- src/mtconnect/source/adapter/adapter_pipeline.cpp | 2 +- src/mtconnect/source/adapter/adapter_pipeline.hpp | 2 +- src/mtconnect/source/adapter/agent_adapter/agent_adapter.cpp | 2 +- src/mtconnect/source/adapter/agent_adapter/agent_adapter.hpp | 2 +- src/mtconnect/source/adapter/agent_adapter/http_session.hpp | 2 +- src/mtconnect/source/adapter/agent_adapter/https_session.hpp | 2 +- src/mtconnect/source/adapter/agent_adapter/session.hpp | 2 +- src/mtconnect/source/adapter/agent_adapter/session_impl.hpp | 2 +- src/mtconnect/source/adapter/mqtt/mqtt_adapter.cpp | 2 +- src/mtconnect/source/adapter/mqtt/mqtt_adapter.hpp | 2 +- src/mtconnect/source/adapter/shdr/connector.cpp | 2 +- src/mtconnect/source/adapter/shdr/connector.hpp | 2 +- src/mtconnect/source/adapter/shdr/shdr_adapter.cpp | 2 +- src/mtconnect/source/adapter/shdr/shdr_adapter.hpp | 2 +- src/mtconnect/source/adapter/shdr/shdr_pipeline.cpp | 2 +- src/mtconnect/source/adapter/shdr/shdr_pipeline.hpp | 2 +- src/mtconnect/source/error_code.hpp | 2 +- src/mtconnect/source/loopback_source.cpp | 2 +- src/mtconnect/source/loopback_source.hpp | 2 +- src/mtconnect/source/source.cpp | 2 +- src/mtconnect/source/source.hpp | 2 +- src/mtconnect/utilities.cpp | 2 +- src/mtconnect/utilities.hpp | 2 +- src/mtconnect/validation/observations.cpp | 2 +- src/mtconnect/validation/observations.hpp | 2 +- src/mtconnect/version.cpp | 2 +- test_package/adapter_test.cpp | 2 +- test_package/agent_adapter_test.cpp | 2 +- test_package/agent_asset_test.cpp | 2 +- test_package/agent_device_test.cpp | 2 +- test_package/agent_test.cpp | 2 +- test_package/agent_test_helper.cpp | 2 +- test_package/agent_test_helper.hpp | 2 +- test_package/asset_buffer_test.cpp | 2 +- test_package/asset_hash_test.cpp | 2 +- test_package/asset_test.cpp | 2 +- test_package/change_observer_test.cpp | 2 +- test_package/checkpoint_test.cpp | 2 +- test_package/circular_buffer_test.cpp | 2 +- test_package/component_parameters_test.cpp | 2 +- test_package/component_test.cpp | 2 +- test_package/composition_test.cpp | 2 +- test_package/config_parser_test.cpp | 2 +- test_package/config_test.cpp | 2 +- test_package/connector_test.cpp | 2 +- test_package/coordinate_system_test.cpp | 2 +- test_package/correct_timestamp_test.cpp | 2 +- test_package/cutting_tool_test.cpp | 2 +- test_package/data_item_mapping_test.cpp | 2 +- test_package/data_item_test.cpp | 2 +- test_package/data_set_test.cpp | 2 +- test_package/device_test.cpp | 2 +- test_package/duplicate_filter_test.cpp | 2 +- test_package/embedded_ruby_test.cpp | 2 +- test_package/entity_parser_test.cpp | 2 +- test_package/entity_printer_test.cpp | 2 +- test_package/entity_test.cpp | 2 +- test_package/file_asset_test.cpp | 2 +- test_package/file_cache_test.cpp | 2 +- test_package/fixture_test.cpp | 2 +- test_package/http_server_test.cpp | 2 +- test_package/image_file_test.cpp | 2 +- test_package/json_helper.hpp | 2 +- test_package/json_mapping_test.cpp | 2 +- test_package/json_parser_test.cpp | 2 +- test_package/json_printer_asset_test.cpp | 2 +- test_package/json_printer_error_test.cpp | 2 +- test_package/json_printer_probe_test.cpp | 2 +- test_package/json_printer_stream_test.cpp | 2 +- test_package/json_printer_test.cpp | 2 +- test_package/kinematics_test.cpp | 2 +- test_package/mqtt_adapter_test.cpp | 2 +- test_package/mqtt_isolated_test.cpp | 2 +- test_package/mqtt_sink_test.cpp | 2 +- test_package/mtconnect_xml_transform_test.cpp | 2 +- test_package/observation_test.cpp | 2 +- test_package/observation_validation_test.cpp | 2 +- test_package/pallet_test.cpp | 2 +- test_package/period_filter_test.cpp | 2 +- test_package/physical_asset_test.cpp | 2 +- test_package/pipeline_deliver_test.cpp | 2 +- test_package/pipeline_edit_test.cpp | 2 +- test_package/qif_document_test.cpp | 2 +- test_package/qname_test.cpp | 2 +- test_package/raw_material_test.cpp | 2 +- test_package/references_test.cpp | 2 +- test_package/relationship_test.cpp | 2 +- test_package/response_document_test.cpp | 2 +- test_package/routing_test.cpp | 2 +- test_package/sensor_configuration_test.cpp | 2 +- test_package/shdr_tokenizer_test.cpp | 2 +- test_package/solid_model_test.cpp | 2 +- test_package/specification_test.cpp | 2 +- test_package/table_test.cpp | 2 +- test_package/test_utilities.hpp | 2 +- test_package/testadapter_service.cpp | 2 +- test_package/testadapter_service.hpp | 2 +- test_package/testsink_service.cpp | 2 +- test_package/testsink_service.hpp | 2 +- test_package/timestamp_extractor_test.cpp | 2 +- test_package/tls_http_server_test.cpp | 2 +- test_package/topic_mapping_test.cpp | 2 +- test_package/unit_conversion_test.cpp | 2 +- test_package/url_parser_test.cpp | 2 +- test_package/utilities_test.cpp | 2 +- test_package/websockets_test.cpp | 2 +- test_package/xml_parser_test.cpp | 2 +- test_package/xml_printer_test.cpp | 2 +- 272 files changed, 272 insertions(+), 272 deletions(-) diff --git a/agent/cppagent.cpp b/agent/cppagent.cpp index 3557e01a..12f72820 100644 --- a/agent/cppagent.cpp +++ b/agent/cppagent.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/agent.cpp b/src/mtconnect/agent.cpp index 2149853d..8efbb565 100644 --- a/src/mtconnect/agent.cpp +++ b/src/mtconnect/agent.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/agent.hpp b/src/mtconnect/agent.hpp index cd11c975..79fc144f 100644 --- a/src/mtconnect/agent.hpp +++ b/src/mtconnect/agent.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/asset/asset.cpp b/src/mtconnect/asset/asset.cpp index ac51d0cd..92422d01 100644 --- a/src/mtconnect/asset/asset.cpp +++ b/src/mtconnect/asset/asset.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/asset/asset.hpp b/src/mtconnect/asset/asset.hpp index 6d9fdc09..715b31ce 100644 --- a/src/mtconnect/asset/asset.hpp +++ b/src/mtconnect/asset/asset.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/asset/asset_buffer.hpp b/src/mtconnect/asset/asset_buffer.hpp index 66278074..77d8d09c 100644 --- a/src/mtconnect/asset/asset_buffer.hpp +++ b/src/mtconnect/asset/asset_buffer.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/asset/asset_storage.hpp b/src/mtconnect/asset/asset_storage.hpp index ff90e49a..5b13c2ed 100644 --- a/src/mtconnect/asset/asset_storage.hpp +++ b/src/mtconnect/asset/asset_storage.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/asset/component_configuration_parameters.cpp b/src/mtconnect/asset/component_configuration_parameters.cpp index d341b6d8..687a56c7 100644 --- a/src/mtconnect/asset/component_configuration_parameters.cpp +++ b/src/mtconnect/asset/component_configuration_parameters.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/asset/component_configuration_parameters.hpp b/src/mtconnect/asset/component_configuration_parameters.hpp index fc40d344..7fe5d85b 100644 --- a/src/mtconnect/asset/component_configuration_parameters.hpp +++ b/src/mtconnect/asset/component_configuration_parameters.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/asset/cutting_tool.cpp b/src/mtconnect/asset/cutting_tool.cpp index 245f0b2a..3c09a973 100644 --- a/src/mtconnect/asset/cutting_tool.cpp +++ b/src/mtconnect/asset/cutting_tool.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/asset/cutting_tool.hpp b/src/mtconnect/asset/cutting_tool.hpp index 969a0127..af98b1e9 100644 --- a/src/mtconnect/asset/cutting_tool.hpp +++ b/src/mtconnect/asset/cutting_tool.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/asset/file_asset.cpp b/src/mtconnect/asset/file_asset.cpp index b001c86c..9e3a3057 100644 --- a/src/mtconnect/asset/file_asset.cpp +++ b/src/mtconnect/asset/file_asset.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/asset/file_asset.hpp b/src/mtconnect/asset/file_asset.hpp index 9c5ea979..df01b7bc 100644 --- a/src/mtconnect/asset/file_asset.hpp +++ b/src/mtconnect/asset/file_asset.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/asset/fixture.cpp b/src/mtconnect/asset/fixture.cpp index 16bf509a..2225f9f4 100644 --- a/src/mtconnect/asset/fixture.cpp +++ b/src/mtconnect/asset/fixture.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/asset/fixture.hpp b/src/mtconnect/asset/fixture.hpp index 5823f943..f89b6257 100644 --- a/src/mtconnect/asset/fixture.hpp +++ b/src/mtconnect/asset/fixture.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/asset/pallet.cpp b/src/mtconnect/asset/pallet.cpp index 1f302362..dfb84916 100644 --- a/src/mtconnect/asset/pallet.cpp +++ b/src/mtconnect/asset/pallet.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/asset/pallet.hpp b/src/mtconnect/asset/pallet.hpp index 77894aaf..bf0a2690 100644 --- a/src/mtconnect/asset/pallet.hpp +++ b/src/mtconnect/asset/pallet.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/asset/physical_asset.cpp b/src/mtconnect/asset/physical_asset.cpp index c5e413d0..aa609d01 100644 --- a/src/mtconnect/asset/physical_asset.cpp +++ b/src/mtconnect/asset/physical_asset.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/asset/physical_asset.hpp b/src/mtconnect/asset/physical_asset.hpp index 216bc73c..05b7ae4e 100644 --- a/src/mtconnect/asset/physical_asset.hpp +++ b/src/mtconnect/asset/physical_asset.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/asset/qif_document.cpp b/src/mtconnect/asset/qif_document.cpp index 6c762cd1..e227247b 100644 --- a/src/mtconnect/asset/qif_document.cpp +++ b/src/mtconnect/asset/qif_document.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/asset/qif_document.hpp b/src/mtconnect/asset/qif_document.hpp index 45bc7f2f..a37b4de0 100644 --- a/src/mtconnect/asset/qif_document.hpp +++ b/src/mtconnect/asset/qif_document.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/asset/raw_material.cpp b/src/mtconnect/asset/raw_material.cpp index 0ca15b37..58a92f99 100644 --- a/src/mtconnect/asset/raw_material.cpp +++ b/src/mtconnect/asset/raw_material.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/asset/raw_material.hpp b/src/mtconnect/asset/raw_material.hpp index 76af8d85..8f61ca95 100644 --- a/src/mtconnect/asset/raw_material.hpp +++ b/src/mtconnect/asset/raw_material.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/buffer/checkpoint.cpp b/src/mtconnect/buffer/checkpoint.cpp index fd5ec303..9e39341d 100644 --- a/src/mtconnect/buffer/checkpoint.cpp +++ b/src/mtconnect/buffer/checkpoint.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/buffer/checkpoint.hpp b/src/mtconnect/buffer/checkpoint.hpp index b830c223..48c98ed4 100644 --- a/src/mtconnect/buffer/checkpoint.hpp +++ b/src/mtconnect/buffer/checkpoint.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/buffer/circular_buffer.hpp b/src/mtconnect/buffer/circular_buffer.hpp index 327aed18..3ac0d475 100644 --- a/src/mtconnect/buffer/circular_buffer.hpp +++ b/src/mtconnect/buffer/circular_buffer.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/config.hpp b/src/mtconnect/config.hpp index a522fe12..a4868684 100644 --- a/src/mtconnect/config.hpp +++ b/src/mtconnect/config.hpp @@ -1,7 +1,7 @@ #pragma once // -// Copyright Copyright 2009-2024, AMT � The Association For Manufacturing Technology (�AMT�) +// Copyright Copyright 2009-2025, AMT � The Association For Manufacturing Technology (�AMT�) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/configuration/agent_config.cpp b/src/mtconnect/configuration/agent_config.cpp index 45cd0b24..2c7a19d9 100644 --- a/src/mtconnect/configuration/agent_config.cpp +++ b/src/mtconnect/configuration/agent_config.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/configuration/agent_config.hpp b/src/mtconnect/configuration/agent_config.hpp index eb0b5141..72191af2 100644 --- a/src/mtconnect/configuration/agent_config.hpp +++ b/src/mtconnect/configuration/agent_config.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/configuration/async_context.hpp b/src/mtconnect/configuration/async_context.hpp index 910c07ee..aa92c3e5 100644 --- a/src/mtconnect/configuration/async_context.hpp +++ b/src/mtconnect/configuration/async_context.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/configuration/config_options.hpp b/src/mtconnect/configuration/config_options.hpp index b0ca2e95..b192c70d 100644 --- a/src/mtconnect/configuration/config_options.hpp +++ b/src/mtconnect/configuration/config_options.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/configuration/hook_manager.hpp b/src/mtconnect/configuration/hook_manager.hpp index d831146c..4988e827 100644 --- a/src/mtconnect/configuration/hook_manager.hpp +++ b/src/mtconnect/configuration/hook_manager.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/configuration/parser.cpp b/src/mtconnect/configuration/parser.cpp index 2baeb8e1..c365e956 100644 --- a/src/mtconnect/configuration/parser.cpp +++ b/src/mtconnect/configuration/parser.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/configuration/parser.hpp b/src/mtconnect/configuration/parser.hpp index 13d9bb0d..7c7a11c8 100644 --- a/src/mtconnect/configuration/parser.hpp +++ b/src/mtconnect/configuration/parser.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/configuration/service.cpp b/src/mtconnect/configuration/service.cpp index ebce29fb..a9818591 100644 --- a/src/mtconnect/configuration/service.cpp +++ b/src/mtconnect/configuration/service.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/configuration/service.hpp b/src/mtconnect/configuration/service.hpp index fca63e1e..7795965b 100644 --- a/src/mtconnect/configuration/service.hpp +++ b/src/mtconnect/configuration/service.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/agent_device.cpp b/src/mtconnect/device_model/agent_device.cpp index 7c6c3fb0..287e4065 100644 --- a/src/mtconnect/device_model/agent_device.cpp +++ b/src/mtconnect/device_model/agent_device.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/agent_device.hpp b/src/mtconnect/device_model/agent_device.hpp index 4b693b5e..52aa94ed 100644 --- a/src/mtconnect/device_model/agent_device.hpp +++ b/src/mtconnect/device_model/agent_device.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/component.cpp b/src/mtconnect/device_model/component.cpp index 779bccc1..ee8bcc03 100644 --- a/src/mtconnect/device_model/component.cpp +++ b/src/mtconnect/device_model/component.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/component.hpp b/src/mtconnect/device_model/component.hpp index d895a404..6288cb75 100644 --- a/src/mtconnect/device_model/component.hpp +++ b/src/mtconnect/device_model/component.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/composition.cpp b/src/mtconnect/device_model/composition.cpp index 40f57cd2..d0bd73e6 100644 --- a/src/mtconnect/device_model/composition.cpp +++ b/src/mtconnect/device_model/composition.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT The Association For Manufacturing Technology (AMT) +// Copyright Copyright 2009-2025, AMT The Association For Manufacturing Technology (AMT) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/composition.hpp b/src/mtconnect/device_model/composition.hpp index 97bdad4c..fc9f3795 100644 --- a/src/mtconnect/device_model/composition.hpp +++ b/src/mtconnect/device_model/composition.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/configuration/configuration.cpp b/src/mtconnect/device_model/configuration/configuration.cpp index 44cbcaa7..2af947df 100644 --- a/src/mtconnect/device_model/configuration/configuration.cpp +++ b/src/mtconnect/device_model/configuration/configuration.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/configuration/configuration.hpp b/src/mtconnect/device_model/configuration/configuration.hpp index dc01d1f3..453eebb2 100644 --- a/src/mtconnect/device_model/configuration/configuration.hpp +++ b/src/mtconnect/device_model/configuration/configuration.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/configuration/coordinate_systems.cpp b/src/mtconnect/device_model/configuration/coordinate_systems.cpp index a36b2789..0785dca9 100644 --- a/src/mtconnect/device_model/configuration/coordinate_systems.cpp +++ b/src/mtconnect/device_model/configuration/coordinate_systems.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/configuration/coordinate_systems.hpp b/src/mtconnect/device_model/configuration/coordinate_systems.hpp index 8fdc819f..117cc06e 100644 --- a/src/mtconnect/device_model/configuration/coordinate_systems.hpp +++ b/src/mtconnect/device_model/configuration/coordinate_systems.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/configuration/image_file.cpp b/src/mtconnect/device_model/configuration/image_file.cpp index 84be05aa..ae9f0d86 100644 --- a/src/mtconnect/device_model/configuration/image_file.cpp +++ b/src/mtconnect/device_model/configuration/image_file.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT The Association For Manufacturing Technology (AMT) +// Copyright Copyright 2009-2025, AMT The Association For Manufacturing Technology (AMT) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/configuration/image_file.hpp b/src/mtconnect/device_model/configuration/image_file.hpp index 6aac7f61..46e67540 100644 --- a/src/mtconnect/device_model/configuration/image_file.hpp +++ b/src/mtconnect/device_model/configuration/image_file.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/configuration/motion.cpp b/src/mtconnect/device_model/configuration/motion.cpp index 1d7d06c3..59ba8ab5 100644 --- a/src/mtconnect/device_model/configuration/motion.cpp +++ b/src/mtconnect/device_model/configuration/motion.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT The Association For Manufacturing Technology (AMT) +// Copyright Copyright 2009-2025, AMT The Association For Manufacturing Technology (AMT) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/configuration/motion.hpp b/src/mtconnect/device_model/configuration/motion.hpp index 1594e309..f5fa9c76 100644 --- a/src/mtconnect/device_model/configuration/motion.hpp +++ b/src/mtconnect/device_model/configuration/motion.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/configuration/relationships.cpp b/src/mtconnect/device_model/configuration/relationships.cpp index a2ed6d78..0ad5a6a1 100644 --- a/src/mtconnect/device_model/configuration/relationships.cpp +++ b/src/mtconnect/device_model/configuration/relationships.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT The Association For Manufacturing Technology (AMT) +// Copyright Copyright 2009-2025, AMT The Association For Manufacturing Technology (AMT) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/configuration/relationships.hpp b/src/mtconnect/device_model/configuration/relationships.hpp index c2a6fb46..7bb42041 100644 --- a/src/mtconnect/device_model/configuration/relationships.hpp +++ b/src/mtconnect/device_model/configuration/relationships.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/configuration/sensor_configuration.cpp b/src/mtconnect/device_model/configuration/sensor_configuration.cpp index 2bb26ecd..95b50760 100644 --- a/src/mtconnect/device_model/configuration/sensor_configuration.cpp +++ b/src/mtconnect/device_model/configuration/sensor_configuration.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT The Association For Manufacturing Technology (AMT) +// Copyright Copyright 2009-2025, AMT The Association For Manufacturing Technology (AMT) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/configuration/sensor_configuration.hpp b/src/mtconnect/device_model/configuration/sensor_configuration.hpp index 8eeb25b6..295c946a 100644 --- a/src/mtconnect/device_model/configuration/sensor_configuration.hpp +++ b/src/mtconnect/device_model/configuration/sensor_configuration.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/configuration/solid_model.cpp b/src/mtconnect/device_model/configuration/solid_model.cpp index 6c96236b..75a969a8 100644 --- a/src/mtconnect/device_model/configuration/solid_model.cpp +++ b/src/mtconnect/device_model/configuration/solid_model.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT The Association For Manufacturing Technology (AMT) +// Copyright Copyright 2009-2025, AMT The Association For Manufacturing Technology (AMT) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/configuration/solid_model.hpp b/src/mtconnect/device_model/configuration/solid_model.hpp index fa406d9a..9ffdbfb6 100644 --- a/src/mtconnect/device_model/configuration/solid_model.hpp +++ b/src/mtconnect/device_model/configuration/solid_model.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/configuration/specifications.cpp b/src/mtconnect/device_model/configuration/specifications.cpp index a4d55bc0..daa49b8b 100644 --- a/src/mtconnect/device_model/configuration/specifications.cpp +++ b/src/mtconnect/device_model/configuration/specifications.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/configuration/specifications.hpp b/src/mtconnect/device_model/configuration/specifications.hpp index 226af76a..2b65e521 100644 --- a/src/mtconnect/device_model/configuration/specifications.hpp +++ b/src/mtconnect/device_model/configuration/specifications.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/data_item/constraints.hpp b/src/mtconnect/device_model/data_item/constraints.hpp index 21c36295..da1870f5 100644 --- a/src/mtconnect/device_model/data_item/constraints.hpp +++ b/src/mtconnect/device_model/data_item/constraints.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/data_item/data_item.cpp b/src/mtconnect/device_model/data_item/data_item.cpp index c3007387..a6828900 100644 --- a/src/mtconnect/device_model/data_item/data_item.cpp +++ b/src/mtconnect/device_model/data_item/data_item.cpp @@ -1,6 +1,6 @@ // // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/data_item/data_item.hpp b/src/mtconnect/device_model/data_item/data_item.hpp index 65f76980..2c41a238 100644 --- a/src/mtconnect/device_model/data_item/data_item.hpp +++ b/src/mtconnect/device_model/data_item/data_item.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/data_item/definition.hpp b/src/mtconnect/device_model/data_item/definition.hpp index f1ba7245..97715e5a 100644 --- a/src/mtconnect/device_model/data_item/definition.hpp +++ b/src/mtconnect/device_model/data_item/definition.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/data_item/filter.hpp b/src/mtconnect/device_model/data_item/filter.hpp index 779f6d3c..1337eb1d 100644 --- a/src/mtconnect/device_model/data_item/filter.hpp +++ b/src/mtconnect/device_model/data_item/filter.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/data_item/relationships.hpp b/src/mtconnect/device_model/data_item/relationships.hpp index 10c34c8c..78861aa8 100644 --- a/src/mtconnect/device_model/data_item/relationships.hpp +++ b/src/mtconnect/device_model/data_item/relationships.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/data_item/source.hpp b/src/mtconnect/device_model/data_item/source.hpp index e0895282..3b18306a 100644 --- a/src/mtconnect/device_model/data_item/source.hpp +++ b/src/mtconnect/device_model/data_item/source.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/data_item/unit_conversion.cpp b/src/mtconnect/device_model/data_item/unit_conversion.cpp index 78fc8a43..1d052dcf 100644 --- a/src/mtconnect/device_model/data_item/unit_conversion.cpp +++ b/src/mtconnect/device_model/data_item/unit_conversion.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/data_item/unit_conversion.hpp b/src/mtconnect/device_model/data_item/unit_conversion.hpp index 068a43aa..3ec8e43e 100644 --- a/src/mtconnect/device_model/data_item/unit_conversion.hpp +++ b/src/mtconnect/device_model/data_item/unit_conversion.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/description.cpp b/src/mtconnect/device_model/description.cpp index 9a7c1cb4..57c1dc13 100644 --- a/src/mtconnect/device_model/description.cpp +++ b/src/mtconnect/device_model/description.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/description.hpp b/src/mtconnect/device_model/description.hpp index 8789eba6..c64216dd 100644 --- a/src/mtconnect/device_model/description.hpp +++ b/src/mtconnect/device_model/description.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/device.cpp b/src/mtconnect/device_model/device.cpp index bb58cb0a..fea72bc3 100644 --- a/src/mtconnect/device_model/device.cpp +++ b/src/mtconnect/device_model/device.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/device.hpp b/src/mtconnect/device_model/device.hpp index 650fe3ec..7042f069 100644 --- a/src/mtconnect/device_model/device.hpp +++ b/src/mtconnect/device_model/device.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/reference.cpp b/src/mtconnect/device_model/reference.cpp index bc48b32f..1d951e80 100644 --- a/src/mtconnect/device_model/reference.cpp +++ b/src/mtconnect/device_model/reference.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT The Association For Manufacturing Technology (AMT) +// Copyright Copyright 2009-2025, AMT The Association For Manufacturing Technology (AMT) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/device_model/reference.hpp b/src/mtconnect/device_model/reference.hpp index ba9595a5..f3a41dc6 100644 --- a/src/mtconnect/device_model/reference.hpp +++ b/src/mtconnect/device_model/reference.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT � The Association For Manufacturing Technology (�AMT�) +// Copyright Copyright 2009-2025, AMT � The Association For Manufacturing Technology (�AMT�) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/entity/data_set.cpp b/src/mtconnect/entity/data_set.cpp index 4358e762..9548f64a 100644 --- a/src/mtconnect/entity/data_set.cpp +++ b/src/mtconnect/entity/data_set.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/entity/data_set.hpp b/src/mtconnect/entity/data_set.hpp index d528f402..e6dfc66c 100644 --- a/src/mtconnect/entity/data_set.hpp +++ b/src/mtconnect/entity/data_set.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/entity/entity.cpp b/src/mtconnect/entity/entity.cpp index 9a55ca18..0b8da9a4 100644 --- a/src/mtconnect/entity/entity.cpp +++ b/src/mtconnect/entity/entity.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/entity/entity.hpp b/src/mtconnect/entity/entity.hpp index e687f12c..b83bf635 100644 --- a/src/mtconnect/entity/entity.hpp +++ b/src/mtconnect/entity/entity.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/entity/factory.cpp b/src/mtconnect/entity/factory.cpp index e763accd..eb93aebd 100644 --- a/src/mtconnect/entity/factory.cpp +++ b/src/mtconnect/entity/factory.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/entity/factory.hpp b/src/mtconnect/entity/factory.hpp index 6da238d4..2f947472 100644 --- a/src/mtconnect/entity/factory.hpp +++ b/src/mtconnect/entity/factory.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/entity/json_parser.cpp b/src/mtconnect/entity/json_parser.cpp index 3976d2fb..63892411 100644 --- a/src/mtconnect/entity/json_parser.cpp +++ b/src/mtconnect/entity/json_parser.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT The Association For Manufacturing Technology (AMT) +// Copyright Copyright 2009-2025, AMT The Association For Manufacturing Technology (AMT) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/entity/json_parser.hpp b/src/mtconnect/entity/json_parser.hpp index 2fa29a0b..0e8b117d 100644 --- a/src/mtconnect/entity/json_parser.hpp +++ b/src/mtconnect/entity/json_parser.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT � The Association For Manufacturing Technology (�AMT�) +// Copyright Copyright 2009-2025, AMT � The Association For Manufacturing Technology (�AMT�) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/entity/json_printer.hpp b/src/mtconnect/entity/json_printer.hpp index 47e64f64..12cea9ca 100644 --- a/src/mtconnect/entity/json_printer.hpp +++ b/src/mtconnect/entity/json_printer.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/entity/qname.hpp b/src/mtconnect/entity/qname.hpp index c2c5b9ed..e97e6795 100644 --- a/src/mtconnect/entity/qname.hpp +++ b/src/mtconnect/entity/qname.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/entity/requirement.cpp b/src/mtconnect/entity/requirement.cpp index 8198a71b..51c2848d 100644 --- a/src/mtconnect/entity/requirement.cpp +++ b/src/mtconnect/entity/requirement.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/entity/requirement.hpp b/src/mtconnect/entity/requirement.hpp index 1ed29f0b..ebacbf82 100644 --- a/src/mtconnect/entity/requirement.hpp +++ b/src/mtconnect/entity/requirement.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/entity/xml_parser.cpp b/src/mtconnect/entity/xml_parser.cpp index 39527087..c509e899 100644 --- a/src/mtconnect/entity/xml_parser.cpp +++ b/src/mtconnect/entity/xml_parser.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/entity/xml_parser.hpp b/src/mtconnect/entity/xml_parser.hpp index d771dc86..30e76b03 100644 --- a/src/mtconnect/entity/xml_parser.hpp +++ b/src/mtconnect/entity/xml_parser.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/entity/xml_printer.cpp b/src/mtconnect/entity/xml_printer.cpp index f12ae1cd..ce5a4122 100644 --- a/src/mtconnect/entity/xml_printer.cpp +++ b/src/mtconnect/entity/xml_printer.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/entity/xml_printer.hpp b/src/mtconnect/entity/xml_printer.hpp index 23a8aa5d..cb378b82 100644 --- a/src/mtconnect/entity/xml_printer.hpp +++ b/src/mtconnect/entity/xml_printer.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/logging.hpp b/src/mtconnect/logging.hpp index 7f7ac371..80735efa 100644 --- a/src/mtconnect/logging.hpp +++ b/src/mtconnect/logging.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/mqtt/mqtt_authorization.hpp b/src/mtconnect/mqtt/mqtt_authorization.hpp index 73c79ace..dabb69c0 100644 --- a/src/mtconnect/mqtt/mqtt_authorization.hpp +++ b/src/mtconnect/mqtt/mqtt_authorization.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/mqtt/mqtt_client.hpp b/src/mtconnect/mqtt/mqtt_client.hpp index 0924f926..bf5050b9 100644 --- a/src/mtconnect/mqtt/mqtt_client.hpp +++ b/src/mtconnect/mqtt/mqtt_client.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/mqtt/mqtt_client_impl.hpp b/src/mtconnect/mqtt/mqtt_client_impl.hpp index 850387b8..9fb8db36 100644 --- a/src/mtconnect/mqtt/mqtt_client_impl.hpp +++ b/src/mtconnect/mqtt/mqtt_client_impl.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/mqtt/mqtt_server.hpp b/src/mtconnect/mqtt/mqtt_server.hpp index 8d38700a..0a8f1fce 100644 --- a/src/mtconnect/mqtt/mqtt_server.hpp +++ b/src/mtconnect/mqtt/mqtt_server.hpp @@ -1,5 +1,5 @@ -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/mtconnect/mqtt/mqtt_server_impl.hpp b/src/mtconnect/mqtt/mqtt_server_impl.hpp index 4c3b0571..ce8a9f62 100644 --- a/src/mtconnect/mqtt/mqtt_server_impl.hpp +++ b/src/mtconnect/mqtt/mqtt_server_impl.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/observation/change_observer.cpp b/src/mtconnect/observation/change_observer.cpp index f489b287..522ec970 100644 --- a/src/mtconnect/observation/change_observer.cpp +++ b/src/mtconnect/observation/change_observer.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/observation/change_observer.hpp b/src/mtconnect/observation/change_observer.hpp index 5b0dc1ad..deb6fc95 100644 --- a/src/mtconnect/observation/change_observer.hpp +++ b/src/mtconnect/observation/change_observer.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/observation/observation.cpp b/src/mtconnect/observation/observation.cpp index f2a3609c..58f276b1 100644 --- a/src/mtconnect/observation/observation.cpp +++ b/src/mtconnect/observation/observation.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/observation/observation.hpp b/src/mtconnect/observation/observation.hpp index bc2e4853..9aa52a07 100644 --- a/src/mtconnect/observation/observation.hpp +++ b/src/mtconnect/observation/observation.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/parser/xml_parser.cpp b/src/mtconnect/parser/xml_parser.cpp index 6485ecfe..fe41b4aa 100644 --- a/src/mtconnect/parser/xml_parser.cpp +++ b/src/mtconnect/parser/xml_parser.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/parser/xml_parser.hpp b/src/mtconnect/parser/xml_parser.hpp index e5747c98..ce5af078 100644 --- a/src/mtconnect/parser/xml_parser.hpp +++ b/src/mtconnect/parser/xml_parser.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/pipeline/convert_sample.hpp b/src/mtconnect/pipeline/convert_sample.hpp index 90dc9e90..a7b775aa 100644 --- a/src/mtconnect/pipeline/convert_sample.hpp +++ b/src/mtconnect/pipeline/convert_sample.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/pipeline/correct_timestamp.hpp b/src/mtconnect/pipeline/correct_timestamp.hpp index faddde4c..8d33c2a0 100644 --- a/src/mtconnect/pipeline/correct_timestamp.hpp +++ b/src/mtconnect/pipeline/correct_timestamp.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/pipeline/deliver.cpp b/src/mtconnect/pipeline/deliver.cpp index a97af1b2..8b6a96d3 100644 --- a/src/mtconnect/pipeline/deliver.cpp +++ b/src/mtconnect/pipeline/deliver.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/pipeline/deliver.hpp b/src/mtconnect/pipeline/deliver.hpp index f48b4508..acd583bb 100644 --- a/src/mtconnect/pipeline/deliver.hpp +++ b/src/mtconnect/pipeline/deliver.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/pipeline/delta_filter.hpp b/src/mtconnect/pipeline/delta_filter.hpp index 313f92e4..f6e955f8 100644 --- a/src/mtconnect/pipeline/delta_filter.hpp +++ b/src/mtconnect/pipeline/delta_filter.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/pipeline/duplicate_filter.hpp b/src/mtconnect/pipeline/duplicate_filter.hpp index 0493baa3..981fe9c1 100644 --- a/src/mtconnect/pipeline/duplicate_filter.hpp +++ b/src/mtconnect/pipeline/duplicate_filter.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/pipeline/guard.hpp b/src/mtconnect/pipeline/guard.hpp index 98cb89dc..1ed5a127 100644 --- a/src/mtconnect/pipeline/guard.hpp +++ b/src/mtconnect/pipeline/guard.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/pipeline/json_mapper.cpp b/src/mtconnect/pipeline/json_mapper.cpp index 6f4a072c..127adcbe 100644 --- a/src/mtconnect/pipeline/json_mapper.cpp +++ b/src/mtconnect/pipeline/json_mapper.cpp @@ -1,4 +1,4 @@ -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/pipeline/json_mapper.hpp b/src/mtconnect/pipeline/json_mapper.hpp index 34835ecf..7c90301c 100644 --- a/src/mtconnect/pipeline/json_mapper.hpp +++ b/src/mtconnect/pipeline/json_mapper.hpp @@ -1,4 +1,4 @@ -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/pipeline/message_mapper.hpp b/src/mtconnect/pipeline/message_mapper.hpp index 49edb6f5..b9b3fa85 100644 --- a/src/mtconnect/pipeline/message_mapper.hpp +++ b/src/mtconnect/pipeline/message_mapper.hpp @@ -1,4 +1,4 @@ -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/pipeline/mtconnect_xml_transform.hpp b/src/mtconnect/pipeline/mtconnect_xml_transform.hpp index 26991333..84a19156 100644 --- a/src/mtconnect/pipeline/mtconnect_xml_transform.hpp +++ b/src/mtconnect/pipeline/mtconnect_xml_transform.hpp @@ -1,4 +1,4 @@ -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/pipeline/period_filter.hpp b/src/mtconnect/pipeline/period_filter.hpp index 9073e855..5746eaf9 100644 --- a/src/mtconnect/pipeline/period_filter.hpp +++ b/src/mtconnect/pipeline/period_filter.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/pipeline/pipeline.hpp b/src/mtconnect/pipeline/pipeline.hpp index c16b9e33..388d803b 100644 --- a/src/mtconnect/pipeline/pipeline.hpp +++ b/src/mtconnect/pipeline/pipeline.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/pipeline/pipeline_context.hpp b/src/mtconnect/pipeline/pipeline_context.hpp index 42e55b55..17894961 100644 --- a/src/mtconnect/pipeline/pipeline_context.hpp +++ b/src/mtconnect/pipeline/pipeline_context.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/pipeline/pipeline_contract.hpp b/src/mtconnect/pipeline/pipeline_contract.hpp index 0e38733f..ab9306ec 100644 --- a/src/mtconnect/pipeline/pipeline_contract.hpp +++ b/src/mtconnect/pipeline/pipeline_contract.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/pipeline/response_document.cpp b/src/mtconnect/pipeline/response_document.cpp index bbfe56b7..d538488c 100644 --- a/src/mtconnect/pipeline/response_document.cpp +++ b/src/mtconnect/pipeline/response_document.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/pipeline/response_document.hpp b/src/mtconnect/pipeline/response_document.hpp index f6101652..2642012e 100644 --- a/src/mtconnect/pipeline/response_document.hpp +++ b/src/mtconnect/pipeline/response_document.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/pipeline/shdr_token_mapper.cpp b/src/mtconnect/pipeline/shdr_token_mapper.cpp index 7db74b6c..efef18c9 100644 --- a/src/mtconnect/pipeline/shdr_token_mapper.cpp +++ b/src/mtconnect/pipeline/shdr_token_mapper.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/pipeline/shdr_token_mapper.hpp b/src/mtconnect/pipeline/shdr_token_mapper.hpp index f12c192d..f80eb433 100644 --- a/src/mtconnect/pipeline/shdr_token_mapper.hpp +++ b/src/mtconnect/pipeline/shdr_token_mapper.hpp @@ -1,4 +1,4 @@ -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/pipeline/shdr_tokenizer.hpp b/src/mtconnect/pipeline/shdr_tokenizer.hpp index a9c3d31f..d53353ca 100644 --- a/src/mtconnect/pipeline/shdr_tokenizer.hpp +++ b/src/mtconnect/pipeline/shdr_tokenizer.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/pipeline/timestamp_extractor.hpp b/src/mtconnect/pipeline/timestamp_extractor.hpp index 0ce980aa..651c7735 100644 --- a/src/mtconnect/pipeline/timestamp_extractor.hpp +++ b/src/mtconnect/pipeline/timestamp_extractor.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/pipeline/topic_mapper.hpp b/src/mtconnect/pipeline/topic_mapper.hpp index 7aa52887..e6604157 100644 --- a/src/mtconnect/pipeline/topic_mapper.hpp +++ b/src/mtconnect/pipeline/topic_mapper.hpp @@ -1,4 +1,4 @@ -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/pipeline/transform.hpp b/src/mtconnect/pipeline/transform.hpp index 6fbf9d3a..691e6ff2 100644 --- a/src/mtconnect/pipeline/transform.hpp +++ b/src/mtconnect/pipeline/transform.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/pipeline/upcase_value.hpp b/src/mtconnect/pipeline/upcase_value.hpp index fae0d1a4..9ea8d255 100644 --- a/src/mtconnect/pipeline/upcase_value.hpp +++ b/src/mtconnect/pipeline/upcase_value.hpp @@ -1,4 +1,4 @@ -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/pipeline/validator.hpp b/src/mtconnect/pipeline/validator.hpp index ff3abf09..21f69241 100644 --- a/src/mtconnect/pipeline/validator.hpp +++ b/src/mtconnect/pipeline/validator.hpp @@ -1,4 +1,4 @@ -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/printer/json_printer.cpp b/src/mtconnect/printer/json_printer.cpp index 4dc7266c..c7e699a4 100644 --- a/src/mtconnect/printer/json_printer.cpp +++ b/src/mtconnect/printer/json_printer.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/printer/json_printer.hpp b/src/mtconnect/printer/json_printer.hpp index c4c1cd90..c5615b71 100644 --- a/src/mtconnect/printer/json_printer.hpp +++ b/src/mtconnect/printer/json_printer.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/printer/json_printer_helper.hpp b/src/mtconnect/printer/json_printer_helper.hpp index 61b843e3..a95c5e05 100644 --- a/src/mtconnect/printer/json_printer_helper.hpp +++ b/src/mtconnect/printer/json_printer_helper.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/printer/printer.hpp b/src/mtconnect/printer/printer.hpp index 914b8e70..36a3394b 100644 --- a/src/mtconnect/printer/printer.hpp +++ b/src/mtconnect/printer/printer.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/printer/xml_helper.hpp b/src/mtconnect/printer/xml_helper.hpp index e1758ae5..9cbfbada 100644 --- a/src/mtconnect/printer/xml_helper.hpp +++ b/src/mtconnect/printer/xml_helper.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/printer/xml_printer.cpp b/src/mtconnect/printer/xml_printer.cpp index e5762981..2697cd68 100644 --- a/src/mtconnect/printer/xml_printer.cpp +++ b/src/mtconnect/printer/xml_printer.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/printer/xml_printer.hpp b/src/mtconnect/printer/xml_printer.hpp index 71dc5287..ba7c1648 100644 --- a/src/mtconnect/printer/xml_printer.hpp +++ b/src/mtconnect/printer/xml_printer.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/printer/xml_printer_helper.hpp b/src/mtconnect/printer/xml_printer_helper.hpp index 3ac60e91..fb5d4b22 100644 --- a/src/mtconnect/printer/xml_printer_helper.hpp +++ b/src/mtconnect/printer/xml_printer_helper.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/ruby/embedded.cpp b/src/mtconnect/ruby/embedded.cpp index 29b45b2c..f461d086 100644 --- a/src/mtconnect/ruby/embedded.cpp +++ b/src/mtconnect/ruby/embedded.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/ruby/embedded.hpp b/src/mtconnect/ruby/embedded.hpp index 38a5a110..ffd2cc43 100644 --- a/src/mtconnect/ruby/embedded.hpp +++ b/src/mtconnect/ruby/embedded.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/ruby/ruby_agent.hpp b/src/mtconnect/ruby/ruby_agent.hpp index 954fff2d..45b3b050 100644 --- a/src/mtconnect/ruby/ruby_agent.hpp +++ b/src/mtconnect/ruby/ruby_agent.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/ruby/ruby_entity.hpp b/src/mtconnect/ruby/ruby_entity.hpp index 3ad5fde0..3d85fe37 100644 --- a/src/mtconnect/ruby/ruby_entity.hpp +++ b/src/mtconnect/ruby/ruby_entity.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/ruby/ruby_observation.hpp b/src/mtconnect/ruby/ruby_observation.hpp index df0dec96..8f5ed672 100644 --- a/src/mtconnect/ruby/ruby_observation.hpp +++ b/src/mtconnect/ruby/ruby_observation.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/ruby/ruby_pipeline.hpp b/src/mtconnect/ruby/ruby_pipeline.hpp index 0e1bf531..c924d0d2 100644 --- a/src/mtconnect/ruby/ruby_pipeline.hpp +++ b/src/mtconnect/ruby/ruby_pipeline.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/ruby/ruby_smart_ptr.hpp b/src/mtconnect/ruby/ruby_smart_ptr.hpp index a8c23106..d8a044e5 100644 --- a/src/mtconnect/ruby/ruby_smart_ptr.hpp +++ b/src/mtconnect/ruby/ruby_smart_ptr.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/ruby/ruby_transform.hpp b/src/mtconnect/ruby/ruby_transform.hpp index f1e9800e..ad23ed08 100644 --- a/src/mtconnect/ruby/ruby_transform.hpp +++ b/src/mtconnect/ruby/ruby_transform.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/ruby/ruby_type.hpp b/src/mtconnect/ruby/ruby_type.hpp index 087b0e8f..3a81c70e 100644 --- a/src/mtconnect/ruby/ruby_type.hpp +++ b/src/mtconnect/ruby/ruby_type.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/ruby/ruby_vm.hpp b/src/mtconnect/ruby/ruby_vm.hpp index faba18f2..88dbb1a5 100644 --- a/src/mtconnect/ruby/ruby_vm.hpp +++ b/src/mtconnect/ruby/ruby_vm.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/sink/rest_sink/cached_file.hpp b/src/mtconnect/sink/rest_sink/cached_file.hpp index 40efea4f..95243f50 100644 --- a/src/mtconnect/sink/rest_sink/cached_file.hpp +++ b/src/mtconnect/sink/rest_sink/cached_file.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/sink/rest_sink/error.cpp b/src/mtconnect/sink/rest_sink/error.cpp index 2183594a..b3ee21ca 100644 --- a/src/mtconnect/sink/rest_sink/error.cpp +++ b/src/mtconnect/sink/rest_sink/error.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/sink/rest_sink/error.hpp b/src/mtconnect/sink/rest_sink/error.hpp index 0a0edace..72592b88 100644 --- a/src/mtconnect/sink/rest_sink/error.hpp +++ b/src/mtconnect/sink/rest_sink/error.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/sink/rest_sink/file_cache.cpp b/src/mtconnect/sink/rest_sink/file_cache.cpp index 07d31e18..4c1ae8f5 100644 --- a/src/mtconnect/sink/rest_sink/file_cache.cpp +++ b/src/mtconnect/sink/rest_sink/file_cache.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/sink/rest_sink/file_cache.hpp b/src/mtconnect/sink/rest_sink/file_cache.hpp index f5125ccd..d0802f32 100644 --- a/src/mtconnect/sink/rest_sink/file_cache.hpp +++ b/src/mtconnect/sink/rest_sink/file_cache.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/sink/rest_sink/parameter.hpp b/src/mtconnect/sink/rest_sink/parameter.hpp index 2c3c479e..541e4dcd 100644 --- a/src/mtconnect/sink/rest_sink/parameter.hpp +++ b/src/mtconnect/sink/rest_sink/parameter.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/sink/rest_sink/request.hpp b/src/mtconnect/sink/rest_sink/request.hpp index 9cf912b6..b96207fa 100644 --- a/src/mtconnect/sink/rest_sink/request.hpp +++ b/src/mtconnect/sink/rest_sink/request.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/sink/rest_sink/response.hpp b/src/mtconnect/sink/rest_sink/response.hpp index 2e662f8d..a380c609 100644 --- a/src/mtconnect/sink/rest_sink/response.hpp +++ b/src/mtconnect/sink/rest_sink/response.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/sink/rest_sink/rest_service.cpp b/src/mtconnect/sink/rest_sink/rest_service.cpp index c57a9b0f..73f331dc 100644 --- a/src/mtconnect/sink/rest_sink/rest_service.cpp +++ b/src/mtconnect/sink/rest_sink/rest_service.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/sink/rest_sink/rest_service.hpp b/src/mtconnect/sink/rest_sink/rest_service.hpp index 3d5e7943..17437f2f 100644 --- a/src/mtconnect/sink/rest_sink/rest_service.hpp +++ b/src/mtconnect/sink/rest_sink/rest_service.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/sink/rest_sink/routing.hpp b/src/mtconnect/sink/rest_sink/routing.hpp index ea4f37ab..16813c01 100644 --- a/src/mtconnect/sink/rest_sink/routing.hpp +++ b/src/mtconnect/sink/rest_sink/routing.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/sink/rest_sink/server.cpp b/src/mtconnect/sink/rest_sink/server.cpp index dd34add9..55071581 100644 --- a/src/mtconnect/sink/rest_sink/server.cpp +++ b/src/mtconnect/sink/rest_sink/server.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/sink/rest_sink/server.hpp b/src/mtconnect/sink/rest_sink/server.hpp index f025fa2b..924adedd 100644 --- a/src/mtconnect/sink/rest_sink/server.hpp +++ b/src/mtconnect/sink/rest_sink/server.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/sink/rest_sink/session.hpp b/src/mtconnect/sink/rest_sink/session.hpp index 821d7ff8..653661c8 100644 --- a/src/mtconnect/sink/rest_sink/session.hpp +++ b/src/mtconnect/sink/rest_sink/session.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/sink/rest_sink/session_impl.cpp b/src/mtconnect/sink/rest_sink/session_impl.cpp index cdd04d2e..e90a4c2c 100644 --- a/src/mtconnect/sink/rest_sink/session_impl.cpp +++ b/src/mtconnect/sink/rest_sink/session_impl.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/sink/rest_sink/session_impl.hpp b/src/mtconnect/sink/rest_sink/session_impl.hpp index b890a603..13eb59ea 100644 --- a/src/mtconnect/sink/rest_sink/session_impl.hpp +++ b/src/mtconnect/sink/rest_sink/session_impl.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/sink/rest_sink/tls_dector.hpp b/src/mtconnect/sink/rest_sink/tls_dector.hpp index cf806589..41c260e5 100644 --- a/src/mtconnect/sink/rest_sink/tls_dector.hpp +++ b/src/mtconnect/sink/rest_sink/tls_dector.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/sink/sink.cpp b/src/mtconnect/sink/sink.cpp index 1a65d10f..ff972441 100644 --- a/src/mtconnect/sink/sink.cpp +++ b/src/mtconnect/sink/sink.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/sink/sink.hpp b/src/mtconnect/sink/sink.hpp index 41656493..8fed400e 100644 --- a/src/mtconnect/sink/sink.hpp +++ b/src/mtconnect/sink/sink.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/source/adapter/adapter.hpp b/src/mtconnect/source/adapter/adapter.hpp index 7052d6d8..33c52a15 100644 --- a/src/mtconnect/source/adapter/adapter.hpp +++ b/src/mtconnect/source/adapter/adapter.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/source/adapter/adapter_pipeline.cpp b/src/mtconnect/source/adapter/adapter_pipeline.cpp index 0c0a8ada..261ce5db 100644 --- a/src/mtconnect/source/adapter/adapter_pipeline.cpp +++ b/src/mtconnect/source/adapter/adapter_pipeline.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/source/adapter/adapter_pipeline.hpp b/src/mtconnect/source/adapter/adapter_pipeline.hpp index a42a4911..fe5e448f 100644 --- a/src/mtconnect/source/adapter/adapter_pipeline.hpp +++ b/src/mtconnect/source/adapter/adapter_pipeline.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/source/adapter/agent_adapter/agent_adapter.cpp b/src/mtconnect/source/adapter/agent_adapter/agent_adapter.cpp index afc34b15..d358bd0a 100644 --- a/src/mtconnect/source/adapter/agent_adapter/agent_adapter.cpp +++ b/src/mtconnect/source/adapter/agent_adapter/agent_adapter.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/source/adapter/agent_adapter/agent_adapter.hpp b/src/mtconnect/source/adapter/agent_adapter/agent_adapter.hpp index aed804f6..44e17c79 100644 --- a/src/mtconnect/source/adapter/agent_adapter/agent_adapter.hpp +++ b/src/mtconnect/source/adapter/agent_adapter/agent_adapter.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/source/adapter/agent_adapter/http_session.hpp b/src/mtconnect/source/adapter/agent_adapter/http_session.hpp index 9f887b8d..08f25669 100644 --- a/src/mtconnect/source/adapter/agent_adapter/http_session.hpp +++ b/src/mtconnect/source/adapter/agent_adapter/http_session.hpp @@ -1,6 +1,6 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/source/adapter/agent_adapter/https_session.hpp b/src/mtconnect/source/adapter/agent_adapter/https_session.hpp index a0032301..698821ba 100644 --- a/src/mtconnect/source/adapter/agent_adapter/https_session.hpp +++ b/src/mtconnect/source/adapter/agent_adapter/https_session.hpp @@ -1,6 +1,6 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/source/adapter/agent_adapter/session.hpp b/src/mtconnect/source/adapter/agent_adapter/session.hpp index 7a321ad6..6cd87de9 100644 --- a/src/mtconnect/source/adapter/agent_adapter/session.hpp +++ b/src/mtconnect/source/adapter/agent_adapter/session.hpp @@ -1,6 +1,6 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/source/adapter/agent_adapter/session_impl.hpp b/src/mtconnect/source/adapter/agent_adapter/session_impl.hpp index 41745fb7..1557d46d 100644 --- a/src/mtconnect/source/adapter/agent_adapter/session_impl.hpp +++ b/src/mtconnect/source/adapter/agent_adapter/session_impl.hpp @@ -1,6 +1,6 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/source/adapter/mqtt/mqtt_adapter.cpp b/src/mtconnect/source/adapter/mqtt/mqtt_adapter.cpp index 583c979c..bbb83703 100644 --- a/src/mtconnect/source/adapter/mqtt/mqtt_adapter.cpp +++ b/src/mtconnect/source/adapter/mqtt/mqtt_adapter.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/source/adapter/mqtt/mqtt_adapter.hpp b/src/mtconnect/source/adapter/mqtt/mqtt_adapter.hpp index b0c932e6..e7521170 100644 --- a/src/mtconnect/source/adapter/mqtt/mqtt_adapter.hpp +++ b/src/mtconnect/source/adapter/mqtt/mqtt_adapter.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/source/adapter/shdr/connector.cpp b/src/mtconnect/source/adapter/shdr/connector.cpp index fb7f5979..ee813178 100644 --- a/src/mtconnect/source/adapter/shdr/connector.cpp +++ b/src/mtconnect/source/adapter/shdr/connector.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/source/adapter/shdr/connector.hpp b/src/mtconnect/source/adapter/shdr/connector.hpp index d8cd727a..c5d0fbb5 100644 --- a/src/mtconnect/source/adapter/shdr/connector.hpp +++ b/src/mtconnect/source/adapter/shdr/connector.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/source/adapter/shdr/shdr_adapter.cpp b/src/mtconnect/source/adapter/shdr/shdr_adapter.cpp index 695dc247..d8a71b90 100644 --- a/src/mtconnect/source/adapter/shdr/shdr_adapter.cpp +++ b/src/mtconnect/source/adapter/shdr/shdr_adapter.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/source/adapter/shdr/shdr_adapter.hpp b/src/mtconnect/source/adapter/shdr/shdr_adapter.hpp index 4b40f514..15c25eba 100644 --- a/src/mtconnect/source/adapter/shdr/shdr_adapter.hpp +++ b/src/mtconnect/source/adapter/shdr/shdr_adapter.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/source/adapter/shdr/shdr_pipeline.cpp b/src/mtconnect/source/adapter/shdr/shdr_pipeline.cpp index 45116061..2b7ab05f 100644 --- a/src/mtconnect/source/adapter/shdr/shdr_pipeline.cpp +++ b/src/mtconnect/source/adapter/shdr/shdr_pipeline.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/source/adapter/shdr/shdr_pipeline.hpp b/src/mtconnect/source/adapter/shdr/shdr_pipeline.hpp index f975ee4f..0c65502d 100644 --- a/src/mtconnect/source/adapter/shdr/shdr_pipeline.hpp +++ b/src/mtconnect/source/adapter/shdr/shdr_pipeline.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/source/error_code.hpp b/src/mtconnect/source/error_code.hpp index af3164bb..f6287664 100644 --- a/src/mtconnect/source/error_code.hpp +++ b/src/mtconnect/source/error_code.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/source/loopback_source.cpp b/src/mtconnect/source/loopback_source.cpp index 65e629ef..e0acc004 100644 --- a/src/mtconnect/source/loopback_source.cpp +++ b/src/mtconnect/source/loopback_source.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/source/loopback_source.hpp b/src/mtconnect/source/loopback_source.hpp index e12ee228..f0b80488 100644 --- a/src/mtconnect/source/loopback_source.hpp +++ b/src/mtconnect/source/loopback_source.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/source/source.cpp b/src/mtconnect/source/source.cpp index eb1f8c59..b2705a8c 100644 --- a/src/mtconnect/source/source.cpp +++ b/src/mtconnect/source/source.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/source/source.hpp b/src/mtconnect/source/source.hpp index 4debdafb..90394af8 100644 --- a/src/mtconnect/source/source.hpp +++ b/src/mtconnect/source/source.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/utilities.cpp b/src/mtconnect/utilities.cpp index e9d48a60..e583e1f9 100644 --- a/src/mtconnect/utilities.cpp +++ b/src/mtconnect/utilities.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/utilities.hpp b/src/mtconnect/utilities.hpp index 07b46e6d..ab36aa24 100644 --- a/src/mtconnect/utilities.hpp +++ b/src/mtconnect/utilities.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/validation/observations.cpp b/src/mtconnect/validation/observations.cpp index 4f2825a5..1c4e44ea 100644 --- a/src/mtconnect/validation/observations.cpp +++ b/src/mtconnect/validation/observations.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/validation/observations.hpp b/src/mtconnect/validation/observations.hpp index 324f9ddd..6f7b13ca 100644 --- a/src/mtconnect/validation/observations.hpp +++ b/src/mtconnect/validation/observations.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/mtconnect/version.cpp b/src/mtconnect/version.cpp index 8a082fb3..23f72e6a 100644 --- a/src/mtconnect/version.cpp +++ b/src/mtconnect/version.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/adapter_test.cpp b/test_package/adapter_test.cpp index 58712ec9..beb1cee7 100644 --- a/test_package/adapter_test.cpp +++ b/test_package/adapter_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/agent_adapter_test.cpp b/test_package/agent_adapter_test.cpp index b086e69a..21394cba 100644 --- a/test_package/agent_adapter_test.cpp +++ b/test_package/agent_adapter_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/agent_asset_test.cpp b/test_package/agent_asset_test.cpp index e28b50ac..bb934e01 100644 --- a/test_package/agent_asset_test.cpp +++ b/test_package/agent_asset_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/agent_device_test.cpp b/test_package/agent_device_test.cpp index 7ff334c6..6eb74c5f 100644 --- a/test_package/agent_device_test.cpp +++ b/test_package/agent_device_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/agent_test.cpp b/test_package/agent_test.cpp index 4bf95ad9..2a889c87 100644 --- a/test_package/agent_test.cpp +++ b/test_package/agent_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/agent_test_helper.cpp b/test_package/agent_test_helper.cpp index c1dd2ccb..b2a466a4 100644 --- a/test_package/agent_test_helper.cpp +++ b/test_package/agent_test_helper.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/agent_test_helper.hpp b/test_package/agent_test_helper.hpp index 16c7a5cf..45ff79c0 100644 --- a/test_package/agent_test_helper.hpp +++ b/test_package/agent_test_helper.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/asset_buffer_test.cpp b/test_package/asset_buffer_test.cpp index 92efefea..558c041a 100644 --- a/test_package/asset_buffer_test.cpp +++ b/test_package/asset_buffer_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/asset_hash_test.cpp b/test_package/asset_hash_test.cpp index ae17a166..4705947a 100644 --- a/test_package/asset_hash_test.cpp +++ b/test_package/asset_hash_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/asset_test.cpp b/test_package/asset_test.cpp index f5fd9282..6794d667 100644 --- a/test_package/asset_test.cpp +++ b/test_package/asset_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/change_observer_test.cpp b/test_package/change_observer_test.cpp index d809fec6..26d91807 100644 --- a/test_package/change_observer_test.cpp +++ b/test_package/change_observer_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/checkpoint_test.cpp b/test_package/checkpoint_test.cpp index f874ae5c..8e09c0a6 100644 --- a/test_package/checkpoint_test.cpp +++ b/test_package/checkpoint_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/circular_buffer_test.cpp b/test_package/circular_buffer_test.cpp index 4e935c94..776708be 100644 --- a/test_package/circular_buffer_test.cpp +++ b/test_package/circular_buffer_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/component_parameters_test.cpp b/test_package/component_parameters_test.cpp index 076175db..625fa3df 100644 --- a/test_package/component_parameters_test.cpp +++ b/test_package/component_parameters_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/component_test.cpp b/test_package/component_test.cpp index b4b8c1a8..a48b9bd7 100644 --- a/test_package/component_test.cpp +++ b/test_package/component_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/composition_test.cpp b/test_package/composition_test.cpp index 4501ac3f..baa2d34c 100644 --- a/test_package/composition_test.cpp +++ b/test_package/composition_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/config_parser_test.cpp b/test_package/config_parser_test.cpp index fab7e9ad..569d1930 100644 --- a/test_package/config_parser_test.cpp +++ b/test_package/config_parser_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/config_test.cpp b/test_package/config_test.cpp index 29913b22..3934a787 100644 --- a/test_package/config_test.cpp +++ b/test_package/config_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/connector_test.cpp b/test_package/connector_test.cpp index e40c351d..016b8cbd 100644 --- a/test_package/connector_test.cpp +++ b/test_package/connector_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/coordinate_system_test.cpp b/test_package/coordinate_system_test.cpp index 4a4f5653..3b362d05 100644 --- a/test_package/coordinate_system_test.cpp +++ b/test_package/coordinate_system_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/correct_timestamp_test.cpp b/test_package/correct_timestamp_test.cpp index 685b2c05..48d0ba70 100644 --- a/test_package/correct_timestamp_test.cpp +++ b/test_package/correct_timestamp_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/cutting_tool_test.cpp b/test_package/cutting_tool_test.cpp index 4647cc03..17989ba9 100644 --- a/test_package/cutting_tool_test.cpp +++ b/test_package/cutting_tool_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/data_item_mapping_test.cpp b/test_package/data_item_mapping_test.cpp index 167cdcbd..380677dc 100644 --- a/test_package/data_item_mapping_test.cpp +++ b/test_package/data_item_mapping_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/data_item_test.cpp b/test_package/data_item_test.cpp index 0b738502..7932e387 100644 --- a/test_package/data_item_test.cpp +++ b/test_package/data_item_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/data_set_test.cpp b/test_package/data_set_test.cpp index 24566788..6302ea3b 100644 --- a/test_package/data_set_test.cpp +++ b/test_package/data_set_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/device_test.cpp b/test_package/device_test.cpp index 6bb14a65..faa671fc 100644 --- a/test_package/device_test.cpp +++ b/test_package/device_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/duplicate_filter_test.cpp b/test_package/duplicate_filter_test.cpp index 3d891457..cc9e0d8f 100644 --- a/test_package/duplicate_filter_test.cpp +++ b/test_package/duplicate_filter_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/embedded_ruby_test.cpp b/test_package/embedded_ruby_test.cpp index b83e4e24..326aa7bc 100644 --- a/test_package/embedded_ruby_test.cpp +++ b/test_package/embedded_ruby_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/entity_parser_test.cpp b/test_package/entity_parser_test.cpp index a5aa43e1..61213d29 100644 --- a/test_package/entity_parser_test.cpp +++ b/test_package/entity_parser_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/entity_printer_test.cpp b/test_package/entity_printer_test.cpp index 2999fe1e..43a7fe29 100644 --- a/test_package/entity_printer_test.cpp +++ b/test_package/entity_printer_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/entity_test.cpp b/test_package/entity_test.cpp index 88396d8d..2cf03192 100644 --- a/test_package/entity_test.cpp +++ b/test_package/entity_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/file_asset_test.cpp b/test_package/file_asset_test.cpp index 9b5a753e..2c117239 100644 --- a/test_package/file_asset_test.cpp +++ b/test_package/file_asset_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/file_cache_test.cpp b/test_package/file_cache_test.cpp index 5e916fd2..43966866 100644 --- a/test_package/file_cache_test.cpp +++ b/test_package/file_cache_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/fixture_test.cpp b/test_package/fixture_test.cpp index 36cc02e8..48f711f3 100644 --- a/test_package/fixture_test.cpp +++ b/test_package/fixture_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/http_server_test.cpp b/test_package/http_server_test.cpp index fa2607c5..8535aec3 100644 --- a/test_package/http_server_test.cpp +++ b/test_package/http_server_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/image_file_test.cpp b/test_package/image_file_test.cpp index 9a1ebfe6..33987837 100644 --- a/test_package/image_file_test.cpp +++ b/test_package/image_file_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/json_helper.hpp b/test_package/json_helper.hpp index 5ec63614..71d74fb0 100644 --- a/test_package/json_helper.hpp +++ b/test_package/json_helper.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/json_mapping_test.cpp b/test_package/json_mapping_test.cpp index b4d06be4..7b9e8f31 100644 --- a/test_package/json_mapping_test.cpp +++ b/test_package/json_mapping_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/json_parser_test.cpp b/test_package/json_parser_test.cpp index 5db25737..8bbd86d5 100644 --- a/test_package/json_parser_test.cpp +++ b/test_package/json_parser_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/json_printer_asset_test.cpp b/test_package/json_printer_asset_test.cpp index d2e61b8f..fa65800b 100644 --- a/test_package/json_printer_asset_test.cpp +++ b/test_package/json_printer_asset_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/json_printer_error_test.cpp b/test_package/json_printer_error_test.cpp index 0fb0166f..fa307ee5 100644 --- a/test_package/json_printer_error_test.cpp +++ b/test_package/json_printer_error_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/json_printer_probe_test.cpp b/test_package/json_printer_probe_test.cpp index 1760aea9..97833621 100644 --- a/test_package/json_printer_probe_test.cpp +++ b/test_package/json_printer_probe_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/json_printer_stream_test.cpp b/test_package/json_printer_stream_test.cpp index 40e85c5b..8ae04ad3 100644 --- a/test_package/json_printer_stream_test.cpp +++ b/test_package/json_printer_stream_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/json_printer_test.cpp b/test_package/json_printer_test.cpp index 1fbb276f..157c9274 100644 --- a/test_package/json_printer_test.cpp +++ b/test_package/json_printer_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/kinematics_test.cpp b/test_package/kinematics_test.cpp index 1c9c462c..15fe9aa1 100644 --- a/test_package/kinematics_test.cpp +++ b/test_package/kinematics_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/mqtt_adapter_test.cpp b/test_package/mqtt_adapter_test.cpp index da4efedd..080d09e9 100644 --- a/test_package/mqtt_adapter_test.cpp +++ b/test_package/mqtt_adapter_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/mqtt_isolated_test.cpp b/test_package/mqtt_isolated_test.cpp index 9789436c..aecdf3b5 100644 --- a/test_package/mqtt_isolated_test.cpp +++ b/test_package/mqtt_isolated_test.cpp @@ -1,5 +1,5 @@ -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/mqtt_sink_test.cpp b/test_package/mqtt_sink_test.cpp index 0da15708..d544b579 100644 --- a/test_package/mqtt_sink_test.cpp +++ b/test_package/mqtt_sink_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/mtconnect_xml_transform_test.cpp b/test_package/mtconnect_xml_transform_test.cpp index 2c32d004..53730c8d 100644 --- a/test_package/mtconnect_xml_transform_test.cpp +++ b/test_package/mtconnect_xml_transform_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/observation_test.cpp b/test_package/observation_test.cpp index 3040dfe3..15194982 100644 --- a/test_package/observation_test.cpp +++ b/test_package/observation_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/observation_validation_test.cpp b/test_package/observation_validation_test.cpp index bd45fbab..df0be79f 100644 --- a/test_package/observation_validation_test.cpp +++ b/test_package/observation_validation_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/pallet_test.cpp b/test_package/pallet_test.cpp index a8eb5f5c..40b382bd 100644 --- a/test_package/pallet_test.cpp +++ b/test_package/pallet_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/period_filter_test.cpp b/test_package/period_filter_test.cpp index 49ee0833..f1d39ecc 100644 --- a/test_package/period_filter_test.cpp +++ b/test_package/period_filter_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/physical_asset_test.cpp b/test_package/physical_asset_test.cpp index f451f03a..3a66fd58 100644 --- a/test_package/physical_asset_test.cpp +++ b/test_package/physical_asset_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/pipeline_deliver_test.cpp b/test_package/pipeline_deliver_test.cpp index 3e632ee3..1584b049 100644 --- a/test_package/pipeline_deliver_test.cpp +++ b/test_package/pipeline_deliver_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/pipeline_edit_test.cpp b/test_package/pipeline_edit_test.cpp index c5b68d90..5268fec6 100644 --- a/test_package/pipeline_edit_test.cpp +++ b/test_package/pipeline_edit_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/qif_document_test.cpp b/test_package/qif_document_test.cpp index 68097689..42d552c3 100644 --- a/test_package/qif_document_test.cpp +++ b/test_package/qif_document_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/qname_test.cpp b/test_package/qname_test.cpp index 05ac55b3..0cc873b4 100644 --- a/test_package/qname_test.cpp +++ b/test_package/qname_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/raw_material_test.cpp b/test_package/raw_material_test.cpp index e7edecf6..fab3a2fe 100644 --- a/test_package/raw_material_test.cpp +++ b/test_package/raw_material_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/references_test.cpp b/test_package/references_test.cpp index 7d18c114..2b79f546 100644 --- a/test_package/references_test.cpp +++ b/test_package/references_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/relationship_test.cpp b/test_package/relationship_test.cpp index b9ebf7f0..94174d5b 100644 --- a/test_package/relationship_test.cpp +++ b/test_package/relationship_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/response_document_test.cpp b/test_package/response_document_test.cpp index f02f3f0d..55c6c793 100644 --- a/test_package/response_document_test.cpp +++ b/test_package/response_document_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/routing_test.cpp b/test_package/routing_test.cpp index 57c06fef..3235cea3 100644 --- a/test_package/routing_test.cpp +++ b/test_package/routing_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/sensor_configuration_test.cpp b/test_package/sensor_configuration_test.cpp index eaf783b6..4ea1ddd7 100644 --- a/test_package/sensor_configuration_test.cpp +++ b/test_package/sensor_configuration_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/shdr_tokenizer_test.cpp b/test_package/shdr_tokenizer_test.cpp index ecbea97e..570015fe 100644 --- a/test_package/shdr_tokenizer_test.cpp +++ b/test_package/shdr_tokenizer_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/solid_model_test.cpp b/test_package/solid_model_test.cpp index 7cd6696a..4e81d23d 100644 --- a/test_package/solid_model_test.cpp +++ b/test_package/solid_model_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/specification_test.cpp b/test_package/specification_test.cpp index 3e3529fd..fe7ab06d 100644 --- a/test_package/specification_test.cpp +++ b/test_package/specification_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/table_test.cpp b/test_package/table_test.cpp index f424a12e..d27b14ed 100644 --- a/test_package/table_test.cpp +++ b/test_package/table_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/test_utilities.hpp b/test_package/test_utilities.hpp index c40b39f4..21ba8f89 100644 --- a/test_package/test_utilities.hpp +++ b/test_package/test_utilities.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/testadapter_service.cpp b/test_package/testadapter_service.cpp index 23ae60b8..a78130bb 100644 --- a/test_package/testadapter_service.cpp +++ b/test_package/testadapter_service.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/testadapter_service.hpp b/test_package/testadapter_service.hpp index d0828588..558cdf30 100644 --- a/test_package/testadapter_service.hpp +++ b/test_package/testadapter_service.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/testsink_service.cpp b/test_package/testsink_service.cpp index 245c9f59..cd6a421e 100644 --- a/test_package/testsink_service.cpp +++ b/test_package/testsink_service.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/testsink_service.hpp b/test_package/testsink_service.hpp index 9b79806e..6cfa3555 100644 --- a/test_package/testsink_service.hpp +++ b/test_package/testsink_service.hpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/timestamp_extractor_test.cpp b/test_package/timestamp_extractor_test.cpp index 9c9e2a17..99a314d6 100644 --- a/test_package/timestamp_extractor_test.cpp +++ b/test_package/timestamp_extractor_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/tls_http_server_test.cpp b/test_package/tls_http_server_test.cpp index 830d85f0..aa2f560b 100644 --- a/test_package/tls_http_server_test.cpp +++ b/test_package/tls_http_server_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/topic_mapping_test.cpp b/test_package/topic_mapping_test.cpp index a83824e5..19b928af 100644 --- a/test_package/topic_mapping_test.cpp +++ b/test_package/topic_mapping_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/unit_conversion_test.cpp b/test_package/unit_conversion_test.cpp index 7a09bbc3..72438ecf 100644 --- a/test_package/unit_conversion_test.cpp +++ b/test_package/unit_conversion_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/url_parser_test.cpp b/test_package/url_parser_test.cpp index bf7199a9..a9d646a9 100644 --- a/test_package/url_parser_test.cpp +++ b/test_package/url_parser_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/utilities_test.cpp b/test_package/utilities_test.cpp index de43e88f..d26188e8 100644 --- a/test_package/utilities_test.cpp +++ b/test_package/utilities_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/websockets_test.cpp b/test_package/websockets_test.cpp index d225449b..856c2f14 100644 --- a/test_package/websockets_test.cpp +++ b/test_package/websockets_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/xml_parser_test.cpp b/test_package/xml_parser_test.cpp index f2c532b9..88e61545 100644 --- a/test_package/xml_parser_test.cpp +++ b/test_package/xml_parser_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test_package/xml_printer_test.cpp b/test_package/xml_printer_test.cpp index 8cc4ea6b..287344fb 100644 --- a/test_package/xml_printer_test.cpp +++ b/test_package/xml_printer_test.cpp @@ -1,5 +1,5 @@ // -// Copyright Copyright 2009-2024, AMT – The Association For Manufacturing Technology (“AMT”) +// Copyright Copyright 2009-2025, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); From fb3297a4603b660ba6b44104eb3c7aba6e9cd7d3 Mon Sep 17 00:00:00 2001 From: Will Sobel Date: Mon, 22 Sep 2025 14:58:44 +0200 Subject: [PATCH 08/20] Made a few utility functions constexpr --- src/mtconnect/utilities.hpp | 6 +++--- test_package/utilities_test.cpp | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/mtconnect/utilities.hpp b/src/mtconnect/utilities.hpp index ab36aa24..d12b4cd0 100644 --- a/src/mtconnect/utilities.hpp +++ b/src/mtconnect/utilities.hpp @@ -164,7 +164,7 @@ namespace mtconnect { /// @brief Convert text to upper case /// @param[in,out] text text /// @return upper-case of text as string - inline std::string toUpperCase(std::string &text) + constexpr std::string &toUpperCase(std::string &text) { std::transform(text.begin(), text.end(), text.begin(), [](unsigned char c) { return std::toupper(c); }); @@ -175,7 +175,7 @@ namespace mtconnect { /// @brief Simple check if a number as a string is negative /// @param s the numbeer /// @return `true` if positive - inline bool isNonNegativeInteger(const std::string &s) + constexpr bool isNonNegativeInteger(const std::string &s) { for (const char c : s) { @@ -189,7 +189,7 @@ namespace mtconnect { /// @brief Checks if a string is a valid integer /// @param s the string /// @return `true` if is `[+-]\d+` - inline bool isInteger(const std::string &s) + constexpr bool isInteger(const std::string &s) { auto iter = s.cbegin(); if (*iter == '-' || *iter == '+') diff --git a/test_package/utilities_test.cpp b/test_package/utilities_test.cpp index d26188e8..4f43b903 100644 --- a/test_package/utilities_test.cpp +++ b/test_package/utilities_test.cpp @@ -34,7 +34,7 @@ int main(int argc, char *argv[]) return RUN_ALL_TESTS(); } -TEST(UtilitiesTest, IntToString) +TEST(UtilitiesTest, should_be_able_to_convert_from_integer_to_string) { ASSERT_EQ((string) "1234", to_string(1234)); ASSERT_EQ((string) "0", to_string(0)); @@ -42,7 +42,7 @@ TEST(UtilitiesTest, IntToString) ASSERT_EQ((string) "1", to_string(1)); } -TEST(UtilitiesTest, FloatToString) +TEST(UtilitiesTest, should_be_able_to_convert_from_float_to_string) { ASSERT_EQ((string) "1.234", format(1.234)); ASSERT_EQ((string) "0", format(0.0)); @@ -50,7 +50,7 @@ TEST(UtilitiesTest, FloatToString) ASSERT_EQ((string) "1", format(1.0)); } -TEST(UtilitiesTest, ToUpperCase) +TEST(UtilitiesTest, should_uppercase_string) { string lower = "abcDef"; ASSERT_EQ((string) "ABCDEF", toUpperCase(lower)); From 4e46fe3c6f107fce47ae7a3a4c185a0ad9290958 Mon Sep 17 00:00:00 2001 From: Will Sobel Date: Tue, 23 Sep 2025 20:28:38 +0200 Subject: [PATCH 09/20] Fixed issues related to changes in spawn and sha1 processing --- conan/mqtt_cpp/conanfile.py | 4 +- conanfile.py | 2 +- src/mtconnect/configuration/agent_config.cpp | 5 +- src/mtconnect/entity/entity.hpp | 2 +- src/mtconnect/pipeline/deliver.cpp | 2 +- src/mtconnect/pipeline/pipeline.hpp | 3 +- src/mtconnect/sink/rest_sink/rest_service.cpp | 17 +++---- .../adapter/agent_adapter/agent_adapter.cpp | 11 +---- .../source/adapter/mqtt/mqtt_adapter.cpp | 11 +---- .../source/adapter/shdr/connector.cpp | 20 ++++---- .../source/adapter/shdr/connector.hpp | 2 +- .../source/adapter/shdr/shdr_adapter.cpp | 9 +--- src/mtconnect/source/source.cpp | 21 +++++++++ src/mtconnect/source/source.hpp | 5 ++ src/mtconnect/utilities.cpp | 13 ++---- src/mtconnect/utilities.hpp | 2 +- test_package/config_test.cpp | 46 +++++++++---------- test_package/file_cache_test.cpp | 2 +- test_package/http_server_test.cpp | 13 ++++-- test_package/mqtt_isolated_test.cpp | 2 +- test_package/period_filter_test.cpp | 12 ++--- test_package/tls_http_server_test.cpp | 9 ++-- test_package/websockets_test.cpp | 25 ++++++---- 23 files changed, 123 insertions(+), 115 deletions(-) diff --git a/conan/mqtt_cpp/conanfile.py b/conan/mqtt_cpp/conanfile.py index 35450edf..f5051e99 100644 --- a/conan/mqtt_cpp/conanfile.py +++ b/conan/mqtt_cpp/conanfile.py @@ -4,13 +4,13 @@ class MqttcppConan(ConanFile): name = "mqtt_cpp" - version = "13.2.1" + version = "13.2.2" license = "Boost Software License, Version 1.0" author = "Takatoshi Kondo redboltz@gmail.com" url = "https://github.com/redboltz/mqtt_cpp" description = "MQTT client/server for C++14 based on Boost.Asio" topics = ("mqtt") - requires = ["boost/1.85.0"] + requires = ["boost/1.88.0"] no_copy_source = True exports_sources = "include/*" diff --git a/conanfile.py b/conanfile.py index 902bc4f0..85314cc5 100644 --- a/conanfile.py +++ b/conanfile.py @@ -118,7 +118,7 @@ def build_requirements(self): self.tool_requires_version("doxygen", [1, 14, 0]) def requirements(self): - self.requires("boost/1.85.0", headers=True, libs=True, transitive_headers=True, transitive_libs=True) + self.requires("boost/1.88.0", headers=True, libs=True, transitive_headers=True, transitive_libs=True) self.requires("libxml2/2.10.3", headers=True, libs=True, visible=True, transitive_headers=True, transitive_libs=True) self.requires("date/3.0.4", headers=True, libs=True, transitive_headers=True, transitive_libs=True) self.requires("nlohmann_json/3.9.1", headers=True, libs=False, transitive_headers=True, transitive_libs=False) diff --git a/src/mtconnect/configuration/agent_config.cpp b/src/mtconnect/configuration/agent_config.cpp index 2c7a19d9..48ee6f8b 100644 --- a/src/mtconnect/configuration/agent_config.cpp +++ b/src/mtconnect/configuration/agent_config.cpp @@ -366,7 +366,7 @@ namespace mtconnect::configuration { using std::placeholders::_1; - m_monitorTimer.expires_from_now(100ms); + m_monitorTimer.expires_after(100ms); m_monitorTimer.async_wait(boost::bind(&AgentConfiguration::monitorFiles, this, _1)); } else @@ -388,7 +388,7 @@ namespace mtconnect::configuration { using std::placeholders::_1; - m_monitorTimer.expires_from_now(m_monitorInterval); + m_monitorTimer.expires_after(m_monitorInterval); m_monitorTimer.async_wait(boost::bind(&AgentConfiguration::monitorFiles, this, _1)); } @@ -1252,3 +1252,4 @@ namespace mtconnect::configuration { return false; } } // namespace mtconnect::configuration + diff --git a/src/mtconnect/entity/entity.hpp b/src/mtconnect/entity/entity.hpp index b83bf635..c7087259 100644 --- a/src/mtconnect/entity/entity.hpp +++ b/src/mtconnect/entity/entity.hpp @@ -408,7 +408,7 @@ namespace mtconnect { boost::uuids::detail::sha1 sha1; hash(sha1); - unsigned int digest[5]; + unsigned char digest[20]; sha1.get_digest(digest); char encoded[32]; diff --git a/src/mtconnect/pipeline/deliver.cpp b/src/mtconnect/pipeline/deliver.cpp index 8b6a96d3..c9d0e664 100644 --- a/src/mtconnect/pipeline/deliver.cpp +++ b/src/mtconnect/pipeline/deliver.cpp @@ -115,7 +115,7 @@ namespace mtconnect { } using std::placeholders::_1; - m_timer.expires_from_now(10s); + m_timer.expires_after(10s); m_timer.async_wait( boost::asio::bind_executor(m_strand, boost::bind(&ComputeMetrics::compute, ptr(), _1))); } diff --git a/src/mtconnect/pipeline/pipeline.hpp b/src/mtconnect/pipeline/pipeline.hpp index 388d803b..8fa7b859 100644 --- a/src/mtconnect/pipeline/pipeline.hpp +++ b/src/mtconnect/pipeline/pipeline.hpp @@ -18,6 +18,7 @@ #pragma once #include +#include #include "mtconnect/config.hpp" #include "pipeline_context.hpp" @@ -95,7 +96,7 @@ namespace mtconnect { { std::promise p; auto f = p.get_future(); - m_strand.dispatch([this, &p]() { + boost::asio::dispatch(m_strand, [this, &p]() { clearTransforms(); p.set_value(); }); diff --git a/src/mtconnect/sink/rest_sink/rest_service.cpp b/src/mtconnect/sink/rest_sink/rest_service.cpp index 73f331dc..46775087 100644 --- a/src/mtconnect/sink/rest_sink/rest_service.cpp +++ b/src/mtconnect/sink/rest_sink/rest_service.cpp @@ -366,28 +366,24 @@ namespace mtconnect { if (!host.empty()) { // Check if it is a simple numeric address - using br = ip::resolver_base; boost::system::error_code ec; auto addr = ip::make_address(host, ec); if (ec) { ip::tcp::resolver resolver(m_context); - ip::tcp::resolver::query query(host, "0", br::v4_mapped); - - auto it = resolver.resolve(query, ec); + auto results = resolver.resolve(host, "0", ip::resolver_base::flags::v4_mapped, ec); if (ec) { cout << "Failed to resolve " << host << ": " << ec.message() << endl; } else { - ip::tcp::resolver::iterator end; - for (; it != end; it++) + for (const auto &res : results) { - const auto &addr = it->endpoint().address(); - if (!addr.is_multicast() && !addr.is_unspecified()) + const auto &a = res.endpoint().address(); + if (!a.is_multicast() && !a.is_unspecified()) { - m_server->allowPutFrom(addr.to_string()); + m_server->allowPutFrom(a.to_string()); } } } @@ -1229,7 +1225,7 @@ namespace mtconnect { boost::asio::bind_executor( m_strand, [this, asyncResponse]() { - asyncResponse->m_timer.expires_from_now(asyncResponse->getInterval()); + asyncResponse->m_timer.expires_after(asyncResponse->getInterval()); asyncResponse->m_timer.async_wait(boost::asio::bind_executor( m_strand, boost::bind(&RestService::streamNextCurrent, this, asyncResponse, _1))); @@ -1620,3 +1616,4 @@ namespace mtconnect { } // namespace sink::rest_sink } // namespace mtconnect + diff --git a/src/mtconnect/source/adapter/agent_adapter/agent_adapter.cpp b/src/mtconnect/source/adapter/agent_adapter/agent_adapter.cpp index d358bd0a..b99bff08 100644 --- a/src/mtconnect/source/adapter/agent_adapter/agent_adapter.cpp +++ b/src/mtconnect/source/adapter/agent_adapter/agent_adapter.cpp @@ -134,15 +134,8 @@ namespace mtconnect::source::adapter::agent_adapter { } m_name = m_url.getUrlText(m_sourceDevice); - boost::uuids::detail::sha1 sha1; - sha1.process_bytes(m_name.c_str(), m_name.length()); - boost::uuids::detail::sha1::digest_type digest; - sha1.get_digest(digest); - - stringstream identity; - identity << std::hex << digest[0] << digest[1] << digest[2]; - m_identity = string("_") + (identity.str()).substr(0, 10); - + m_identity = CreateIdentityHash(m_name); + m_options.insert_or_assign(configuration::AdapterIdentity, m_identity); m_feedbackId = "XmlTransformFeedback:" + m_identity; diff --git a/src/mtconnect/source/adapter/mqtt/mqtt_adapter.cpp b/src/mtconnect/source/adapter/mqtt/mqtt_adapter.cpp index bbb83703..fbbaf873 100644 --- a/src/mtconnect/source/adapter/mqtt/mqtt_adapter.cpp +++ b/src/mtconnect/source/adapter/mqtt/mqtt_adapter.cpp @@ -166,16 +166,7 @@ namespace mtconnect { identity << s; } - boost::uuids::detail::sha1 sha1; - sha1.process_bytes(identity.str().c_str(), identity.str().length()); - boost::uuids::detail::sha1::digest_type digest; - sha1.get_digest(digest); - - identity.str(""); - identity << std::hex << digest[0] << digest[1] << digest[2]; - m_identity = string("_") + (identity.str()).substr(0, 10); - - m_options[configuration::AdapterIdentity] = m_identity; + m_options[configuration::AdapterIdentity] = CreateIdentityHash(identity.str()); } m_pipeline.build(m_options); diff --git a/src/mtconnect/source/adapter/shdr/connector.cpp b/src/mtconnect/source/adapter/shdr/connector.cpp index ee813178..8345eab3 100644 --- a/src/mtconnect/source/adapter/shdr/connector.cpp +++ b/src/mtconnect/source/adapter/shdr/connector.cpp @@ -103,7 +103,7 @@ namespace mtconnect::source::adapter::shdr { LOG(error) << "Will retry resolution of " << m_server << " in " << m_reconnectInterval.count() << " milliseconds"; - m_timer.expires_from_now(m_reconnectInterval); + m_timer.expires_after(m_reconnectInterval); m_timer.async_wait([this](boost::system::error_code ec) { if (ec != boost::asio::error::operation_aborted) { @@ -131,11 +131,7 @@ namespace mtconnect::source::adapter::shdr { // Using a smart pointer to ensure connection is deleted if exception thrown LOG(debug) << "Connecting to data source: " << m_server << " on port: " << m_port; - asio::async_connect( - m_socket, m_results.begin(), m_results.end(), - [this](const boost::system::error_code &ec, ip::tcp::resolver::iterator it) { - asio::dispatch(m_strand, boost::bind(&Connector::connected, this, ec, it)); - }); + asio::async_connect(m_socket, m_results, boost::bind(&Connector::connected, this, _1, _2)); return true; } @@ -144,7 +140,7 @@ namespace mtconnect::source::adapter::shdr { { NAMED_SCOPE("Connector::asyncTryConnect"); - m_timer.expires_from_now(m_reconnectInterval); + m_timer.expires_after(m_reconnectInterval); m_timer.async_wait([this](boost::system::error_code ec) { if (ec != boost::asio::error::operation_aborted) { @@ -176,7 +172,7 @@ namespace mtconnect::source::adapter::shdr { asyncTryConnect(); } - void Connector::connected(const boost::system::error_code &ec, ip::tcp::resolver::iterator it) + void Connector::connected(const boost::system::error_code &ec, const ip::tcp::endpoint &endpoint) { NAMED_SCOPE("Connector::connected"); @@ -229,7 +225,7 @@ namespace mtconnect::source::adapter::shdr { while (parseSocketBuffer()) ; - m_timer.expires_from_now(m_receiveTimeLimit); + m_timer.expires_after(m_receiveTimeLimit); m_timer.async_wait([this](boost::system::error_code ec) { if (ec != boost::asio::error::operation_aborted) { @@ -267,7 +263,7 @@ namespace mtconnect::source::adapter::shdr { { NAMED_SCOPE("Connector::setReceiveTimeout"); - m_receiveTimeout.expires_from_now(m_receiveTimeLimit); + m_receiveTimeout.expires_after(m_receiveTimeLimit); m_receiveTimeout.async_wait([this](sys::error_code ec) { if (!ec) { @@ -385,7 +381,7 @@ namespace mtconnect::source::adapter::shdr { { LOG(debug) << "Sending heartbeat"; sendCommand("PING"); - m_heartbeatTimer.expires_from_now(m_heartbeatFrequency); + m_heartbeatTimer.expires_after(m_heartbeatFrequency); m_heartbeatTimer.async_wait([this](boost::system::error_code ec) { asio::dispatch(m_strand, boost::bind(&Connector::heartbeat, this, ec)); }); @@ -420,7 +416,7 @@ namespace mtconnect::source::adapter::shdr { m_receiveTimeLimit = 2 * m_heartbeatFrequency; setReceiveTimeout(); - m_heartbeatTimer.expires_from_now(m_heartbeatFrequency); + m_heartbeatTimer.expires_after(m_heartbeatFrequency); m_heartbeatTimer.async_wait([this](boost::system::error_code ec) { asio::dispatch(m_strand, boost::bind(&Connector::heartbeat, this, ec)); }); diff --git a/src/mtconnect/source/adapter/shdr/connector.hpp b/src/mtconnect/source/adapter/shdr/connector.hpp index c5d0fbb5..ad0e9ed1 100644 --- a/src/mtconnect/source/adapter/shdr/connector.hpp +++ b/src/mtconnect/source/adapter/shdr/connector.hpp @@ -105,7 +105,7 @@ namespace mtconnect::source::adapter::shdr { void resolved(const boost::system::error_code &error, boost::asio::ip::tcp::resolver::results_type results); void connected(const boost::system::error_code &error, - boost::asio::ip::tcp::resolver::iterator it); + const boost::asio::ip::tcp::endpoint& endpoint); void writer(boost::system::error_code ec, std::size_t length); void reader(boost::system::error_code ec, std::size_t length); bool parseSocketBuffer(); diff --git a/src/mtconnect/source/adapter/shdr/shdr_adapter.cpp b/src/mtconnect/source/adapter/shdr/shdr_adapter.cpp index d8a71b90..0a614b6d 100644 --- a/src/mtconnect/source/adapter/shdr/shdr_adapter.cpp +++ b/src/mtconnect/source/adapter/shdr/shdr_adapter.cpp @@ -89,14 +89,7 @@ namespace mtconnect::source::adapter::shdr { { if (IsOptionSet(m_options, configuration::SuppressIPAddress)) { - boost::uuids::detail::sha1 sha1; - sha1.process_bytes(identity.str().c_str(), identity.str().length()); - boost::uuids::detail::sha1::digest_type digest; - sha1.get_digest(digest); - - identity.str(""); - identity << std::hex << digest[0] << digest[1] << digest[2]; - m_identity = string("_") + (identity.str()).substr(0, 10); + m_identity = CreateIdentityHash(identity.str()); } else { diff --git a/src/mtconnect/source/source.cpp b/src/mtconnect/source/source.cpp index b2705a8c..d67880b9 100644 --- a/src/mtconnect/source/source.cpp +++ b/src/mtconnect/source/source.cpp @@ -15,8 +15,12 @@ // limitations under the License. // +#include + #include "mtconnect/source/source.hpp" +#include + #include "mtconnect/logging.hpp" namespace mtconnect::source { @@ -38,4 +42,21 @@ namespace mtconnect::source { return nullptr; } + std::string CreateIdentityHash(const std::string &input) + { + using namespace std; + + boost::uuids::detail::sha1 sha1; + sha1.process_bytes(input.c_str(), input.length()); + boost::uuids::detail::sha1::digest_type digest; + sha1.get_digest(digest); + + ostringstream identity; + identity << '_' << std::hex; + for (int i = 0; i < 5; i++) + identity << (uint16_t) digest[i]; + + return identity.str(); + } + } // namespace mtconnect::source diff --git a/src/mtconnect/source/source.hpp b/src/mtconnect/source/source.hpp index 90394af8..8ff888bb 100644 --- a/src/mtconnect/source/source.hpp +++ b/src/mtconnect/source/source.hpp @@ -95,6 +95,11 @@ namespace mtconnect { std::string m_name; boost::asio::io_context::strand m_strand; }; + + /// @brief create a unique identity hash for an XML id starting with an `_` and 10 hex digits + /// @param text the text to create the hashed id + /// @returns a string with the hashed result + AGENT_LIB_API std::string CreateIdentityHash(const std::string &input); /// @brief A factory for creating the source class AGENT_LIB_API SourceFactory diff --git a/src/mtconnect/utilities.cpp b/src/mtconnect/utilities.cpp index e583e1f9..d6fb420c 100644 --- a/src/mtconnect/utilities.cpp +++ b/src/mtconnect/utilities.cpp @@ -150,13 +150,13 @@ namespace mtconnect { { using namespace boost; using namespace asio; - using res = ip::udp::resolver; + using res = ip::tcp::resolver; string address; boost::system::error_code ec; res resolver(context); - auto iter = resolver.resolve(ip::host_name(), "5000", res::flags::address_configured, ec); + auto results = resolver.resolve(ip::host_name(), "5000", res::flags::address_configured, ec); if (ec) { LOG(warning) << "Cannot find IP address: " << ec.message(); @@ -164,11 +164,9 @@ namespace mtconnect { } else { - res::iterator end; - while (iter != end) + for (auto &res : results) { - const auto &ep = iter->endpoint(); - const auto &ad = ep.address(); + const auto &ad = res.endpoint().address(); if (!ad.is_unspecified() && !ad.is_loopback() && (!onlyV4 || !ad.is_v6())) { auto ads {ad.to_string()}; @@ -178,7 +176,6 @@ namespace mtconnect { address = ads; } } - iter++; } } @@ -210,7 +207,7 @@ namespace mtconnect { /// @return a boost ipv6 address static boost::asio::ip::address_v6 from_v6_string(std::vector str) { - return boost::asio::ip::address_v6::from_string(str.data()); + return boost::asio::ip::make_address_v6(str.data()); } BOOST_PHOENIX_ADAPT_FUNCTION(boost::asio::ip::address_v4, v4_from_4number, from_four_number, 4) diff --git a/src/mtconnect/utilities.hpp b/src/mtconnect/utilities.hpp index d12b4cd0..bd7efff0 100644 --- a/src/mtconnect/utilities.hpp +++ b/src/mtconnect/utilities.hpp @@ -827,7 +827,7 @@ namespace mtconnect { }; sha1.process_bytes(id.data(), id.length()); - unsigned int digest[5]; + unsigned char digest[20]; sha1.get_digest(digest); string s(32, ' '); diff --git a/test_package/config_test.cpp b/test_package/config_test.cpp index 3934a787..fde6e2f1 100644 --- a/test_package/config_test.cpp +++ b/test_package/config_test.cpp @@ -1006,7 +1006,7 @@ Port = 0 ASSERT_EQ("SPINDLE_SPEED", dataItem->getType()); boost::asio::steady_timer timer1(context.get()); - timer1.expires_from_now(1s); + timer1.expires_after(1s); timer1.async_wait([this, &devices, agent](boost::system::error_code ec) { if (ec) { @@ -1025,7 +1025,7 @@ Port = 0 }); boost::asio::steady_timer timer2(context.get()); - timer2.expires_from_now(6s); + timer2.expires_after(6s); timer2.async_wait([this, agent, &chg](boost::system::error_code ec) { if (!ec) { @@ -1085,7 +1085,7 @@ Port = 0 ASSERT_EQ("SPINDLE_SPEED", dataItem->getType()); boost::asio::steady_timer timer1(context.get()); - timer1.expires_from_now(1s); + timer1.expires_after(1s); timer1.async_wait([this, &devices](boost::system::error_code ec) { if (ec) { @@ -1098,7 +1098,7 @@ Port = 0 }); boost::asio::steady_timer timer2(context.get()); - timer2.expires_from_now(6s); + timer2.expires_after(6s); timer2.async_wait([this, &chg](boost::system::error_code ec) { if (!ec) { @@ -1151,7 +1151,7 @@ Port = 0 auto instance = rest->instanceId(); boost::asio::steady_timer timer1(context.get()); - timer1.expires_from_now(1s); + timer1.expires_after(1s); timer1.async_wait([this, &config](boost::system::error_code ec) { if (ec) { @@ -1167,7 +1167,7 @@ Port = 0 this_thread::sleep_for(5s); boost::asio::steady_timer timer1(context.get()); - timer1.expires_from_now(1s); + timer1.expires_after(1s); timer1.async_wait([this, agent, instance](boost::system::error_code ec) { if (!ec) { @@ -1228,7 +1228,7 @@ Port = 0 DataItemPtr di; boost::asio::steady_timer timer1(context.get()); - timer1.expires_from_now(1s); + timer1.expires_after(1s); timer1.async_wait([this, &devices](boost::system::error_code ec) { if (ec) { @@ -1242,7 +1242,7 @@ Port = 0 }); boost::asio::steady_timer timer2(context.get()); - timer2.expires_from_now(6s); + timer2.expires_after(6s); timer2.async_wait([this](boost::system::error_code ec) { if (!ec) { @@ -1345,7 +1345,7 @@ Port = 0 ASSERT_EQ("1.2", *printer->getSchemaVersion()); boost::asio::steady_timer timer1(context.get()); - timer1.expires_from_now(1s); + timer1.expires_after(1s); timer1.async_wait([this, &devices, agent](boost::system::error_code ec) { if (ec) { @@ -1368,7 +1368,7 @@ Port = 0 this_thread::sleep_for(5s); boost::asio::steady_timer timer1(context.get()); - timer1.expires_from_now(1s); + timer1.expires_after(1s); timer1.async_wait([this, agent, instance](boost::system::error_code ec) { if (!ec) { @@ -1501,13 +1501,13 @@ Adapters { )"); adapter->processData("--multiline--AAAAA"); - timer2.expires_from_now(500ms); + timer2.expires_after(500ms); timer2.async_wait(validate); } }; boost::asio::steady_timer timer1(asyncContext.get()); - timer1.expires_from_now(100ms); + timer1.expires_after(100ms); timer1.async_wait(send); m_config->start(); @@ -1634,13 +1634,13 @@ Port = 0 )"); adapter->processData("--multiline--AAAAA"); - timer2.expires_from_now(500ms); + timer2.expires_after(500ms); timer2.async_wait(validate); } }; boost::asio::steady_timer timer1(asyncContext.get()); - timer1.expires_from_now(100ms); + timer1.expires_after(100ms); timer1.async_wait(send); m_config->start(); @@ -1807,13 +1807,13 @@ Port = 0 )"); adapter->processData("--multiline--AAAAA"); - timer2.expires_from_now(500ms); + timer2.expires_after(500ms); timer2.async_wait(validate); } }; boost::asio::steady_timer timer1(asyncContext.get()); - timer1.expires_from_now(100ms); + timer1.expires_after(100ms); timer1.async_wait(send); m_config->start(); @@ -1913,13 +1913,13 @@ Adapters { )"); adapter->processData("--multiline--AAAAA"); - timer2.expires_from_now(500ms); + timer2.expires_after(500ms); timer2.async_wait(validate); } }; boost::asio::steady_timer timer1(asyncContext.get()); - timer1.expires_from_now(100ms); + timer1.expires_after(100ms); timer1.async_wait(send); m_config->start(); @@ -2003,7 +2003,7 @@ Port = 0 ASSERT_EQ("001", pipeline->getDevice()); } - shutdownTimer.expires_from_now(3s); + shutdownTimer.expires_after(3s); shutdownTimer.async_wait(shudown); }; @@ -2039,13 +2039,13 @@ Port = 0 )"); adapter->processData("--multiline--AAAAA"); - timer2.expires_from_now(500ms); + timer2.expires_after(500ms); timer2.async_wait(validate); } }; boost::asio::steady_timer timer1(asyncContext.get()); - timer1.expires_from_now(100ms); + timer1.expires_after(100ms); timer1.async_wait(send); m_config->start(); @@ -2116,13 +2116,13 @@ Adapters { adapter->processData("* device: none"); adapter->processData("* uuid: 12345"); - timer2.expires_from_now(500ms); + timer2.expires_after(500ms); timer2.async_wait(validate); } }; boost::asio::steady_timer timer1(asyncContext.get()); - timer1.expires_from_now(100ms); + timer1.expires_after(100ms); timer1.async_wait(send); m_config->start(); diff --git a/test_package/file_cache_test.cpp b/test_package/file_cache_test.cpp index 43966866..a750463f 100644 --- a/test_package/file_cache_test.cpp +++ b/test_package/file_cache_test.cpp @@ -180,7 +180,7 @@ TEST_F(FileCacheTest, file_cache_should_compress_file_async) }); bool ran {false}; - context.post([&ran] { ran = true; }); + boost::asio::post(context, [&ran] { ran = true; }); context.run(); // EXPECT_TRUE(ran); diff --git a/test_package/http_server_test.cpp b/test_package/http_server_test.cpp index 8535aec3..ff73298c 100644 --- a/test_package/http_server_test.cpp +++ b/test_package/http_server_test.cpp @@ -42,6 +42,7 @@ using namespace mtconnect::sink::rest_sink; namespace asio = boost::asio; namespace beast = boost::beast; namespace http = boost::beast::http; +namespace ip = asio::ip; using tcp = boost::asio::ip::tcp; // main @@ -70,7 +71,7 @@ class Client beast::error_code ec; // These objects perform our I/O - tcp::endpoint server(asio::ip::address_v4::from_string("127.0.0.1"), port); + tcp::endpoint server(ip::make_address("127.0.0.1"), port); // Set the timeout. m_stream.expires_after(std::chrono::seconds(30)); @@ -231,7 +232,8 @@ class Client void spawnReadChunk() { - asio::spawn(m_context, std::bind(&Client::readChunk, this, std::placeholders::_1)); + asio::spawn(m_context, std::bind(&Client::readChunk, this, std::placeholders::_1), + boost::asio::detached); } void spawnRequest(boost::beast::http::verb verb, std::string const& target, @@ -242,7 +244,8 @@ class Client m_done = false; m_count = 0; asio::spawn(m_context, std::bind(&Client::request, this, verb, target, body, close, contentType, - std::placeholders::_1)); + std::placeholders::_1), + boost::asio::detached); while (!m_done && m_context.run_for(20ms) > 0) ; @@ -307,7 +310,9 @@ class HttpServerTest : public testing::Test m_client->m_connected = false; asio::spawn(m_context, std::bind(&Client::connect, m_client.get(), - static_cast(m_server->getPort()), std::placeholders::_1)); + static_cast(m_server->getPort()), std::placeholders::_1), + boost::asio::detached); + while (!m_client->m_connected) m_context.run_one(); diff --git a/test_package/mqtt_isolated_test.cpp b/test_package/mqtt_isolated_test.cpp index aecdf3b5..fb802105 100644 --- a/test_package/mqtt_isolated_test.cpp +++ b/test_package/mqtt_isolated_test.cpp @@ -115,7 +115,7 @@ class MqttIsolatedUnitTest : public testing::Test bool waitFor(const chrono::duration &time, function pred) { boost::asio::steady_timer timer(m_agentTestHelper->m_ioContext); - timer.expires_from_now(time); + timer.expires_after(time); bool timeout = false; timer.async_wait([&timeout](boost::system::error_code ec) { if (!ec) diff --git a/test_package/period_filter_test.cpp b/test_package/period_filter_test.cpp index f1d39ecc..4e2c01f2 100644 --- a/test_package/period_filter_test.cpp +++ b/test_package/period_filter_test.cpp @@ -607,7 +607,7 @@ TEST_F(PeriodFilterTest, streaming_observations_spaced_temporally) } m_ioContext.run_for(400ms); - m_ioContext.reset(); + m_ioContext.restart(); { auto os = observe({"a", "2"}, now + 400ms); @@ -617,7 +617,7 @@ TEST_F(PeriodFilterTest, streaming_observations_spaced_temporally) } m_ioContext.run_for(200ms); - m_ioContext.reset(); + m_ioContext.restart(); { auto os = observe({"a", "3"}, now + 600ms); @@ -627,7 +627,7 @@ TEST_F(PeriodFilterTest, streaming_observations_spaced_temporally) } m_ioContext.run_for(600ms); - m_ioContext.reset(); + m_ioContext.restart(); { auto os = observe({"a", "4"}, now + 1200ms); @@ -638,7 +638,7 @@ TEST_F(PeriodFilterTest, streaming_observations_spaced_temporally) } m_ioContext.run_for(700ms); - m_ioContext.reset(); + m_ioContext.restart(); { auto os = observe({"a", "5"}, now + 1900ms); @@ -648,7 +648,7 @@ TEST_F(PeriodFilterTest, streaming_observations_spaced_temporally) } m_ioContext.run_for(1200ms); - m_ioContext.reset(); + m_ioContext.restart(); { auto os = observe({"a", "6"}, now + 3100ms); @@ -660,7 +660,7 @@ TEST_F(PeriodFilterTest, streaming_observations_spaced_temporally) } m_ioContext.run_for(1400ms); - m_ioContext.reset(); + m_ioContext.restart(); { auto os = observe({"a", "7"}, now + 4500ms); diff --git a/test_package/tls_http_server_test.cpp b/test_package/tls_http_server_test.cpp index aa2f560b..4ae94516 100644 --- a/test_package/tls_http_server_test.cpp +++ b/test_package/tls_http_server_test.cpp @@ -75,7 +75,7 @@ class Client SSL_set_tlsext_host_name(m_stream.native_handle(), "localhost"); // These objects perform our I/O - tcp::endpoint server(asio::ip::address_v4::from_string("127.0.0.1"), port); + tcp::endpoint server(asio::ip::make_address("127.0.0.1"), port); // Set the timeout. beast::get_lowest_layer(m_stream).expires_after(std::chrono::seconds(30)); @@ -252,7 +252,7 @@ class Client m_done = false; m_count = 0; asio::spawn(m_context, std::bind(&Client::request, this, verb, target, body, close, contentType, - std::placeholders::_1)); + std::placeholders::_1), boost::asio::detached); while (!m_done && !m_failed && m_context.run_for(20ms) > 0) ; @@ -271,7 +271,7 @@ class Client m_done = true; }; - asio::spawn(m_context, std::bind(closeStream, std::placeholders::_1)); + asio::spawn(m_context, std::bind(closeStream, std::placeholders::_1), boost::asio::detached); while (!m_done && m_context.run_for(100ms) > 0) ; } @@ -362,7 +362,8 @@ class TlsRestServiceTest : public testing::Test m_client->m_clientCert = clientCert; asio::spawn(m_context, std::bind(&Client::connect, m_client.get(), - static_cast(m_server->getPort()), std::placeholders::_1)); + static_cast(m_server->getPort()), std::placeholders::_1), + boost::asio::detached); while (!m_client->m_connected && !m_client->m_failed) m_context.run_one(); diff --git a/test_package/websockets_test.cpp b/test_package/websockets_test.cpp index 856c2f14..a710c73d 100644 --- a/test_package/websockets_test.cpp +++ b/test_package/websockets_test.cpp @@ -73,7 +73,7 @@ class Client beast::error_code ec; // These objects perform our I/O - tcp::endpoint server(asio::ip::address_v4::from_string("127.0.0.1"), port); + tcp::endpoint server(asio::ip::make_address("127.0.0.1"), port); // Make the connection on the IP address we get from a lookup beast::get_lowest_layer(m_stream).async_connect(server, yield[ec]); @@ -126,7 +126,7 @@ class Client bool waitFor(const chrono::duration& time, function pred) { boost::asio::steady_timer timer(m_context); - timer.expires_from_now(time); + timer.expires_after(time); bool timeout = false; timer.async_wait([&timeout](boost::system::error_code ec) { if (!ec) @@ -197,7 +197,8 @@ class WebsocketsTest : public testing::Test m_client->m_connected = false; asio::spawn(m_context, std::bind(&Client::connect, m_client.get(), - static_cast(m_server->getPort()), std::placeholders::_1)); + static_cast(m_server->getPort()), std::placeholders::_1), + boost::asio::detached); m_client->waitFor(1s, [this]() { return m_client->m_connected; }); } @@ -241,7 +242,8 @@ TEST_F(WebsocketsTest, should_make_simple_request) startClient(); asio::spawn(m_context, std::bind(&Client::request, m_client.get(), - "{\"id\":\"1\",\"request\":\"probe\"}"s, std::placeholders::_1)); + "{\"id\":\"1\",\"request\":\"probe\"}"s, std::placeholders::_1), + boost::asio::detached); m_client->waitFor(2s, [this]() { return m_client->m_done; }); @@ -269,7 +271,8 @@ TEST_F(WebsocketsTest, should_return_error_when_there_is_no_id) startClient(); asio::spawn(m_context, std::bind(&Client::request, m_client.get(), "{\"request\":\"probe\"}"s, - std::placeholders::_1)); + std::placeholders::_1), + boost::asio::detached); m_client->waitFor(2s, [this]() { return m_client->m_done; }); @@ -297,7 +300,8 @@ TEST_F(WebsocketsTest, should_return_error_when_there_is_no_request) startClient(); asio::spawn(m_context, - std::bind(&Client::request, m_client.get(), "{\"id\": 3}"s, std::placeholders::_1)); + std::bind(&Client::request, m_client.get(), "{\"id\": 3}"s, std::placeholders::_1), + boost::asio::detached); m_client->waitFor(2s, [this]() { return m_client->m_done; }); @@ -358,7 +362,8 @@ TEST_F(WebsocketsTest, should_return_error_when_bad_json_is_sent) startClient(); asio::spawn(m_context, - std::bind(&Client::request, m_client.get(), "!}}"s, std::placeholders::_1)); + std::bind(&Client::request, m_client.get(), "!}}"s, std::placeholders::_1), + boost::asio::detached); m_client->waitFor(2s, [this]() { return m_client->m_done; }); @@ -392,7 +397,8 @@ TEST_F(WebsocketsTest, should_return_multiple_errors_when_parameters_are_invalid m_context, std::bind(&Client::request, m_client.get(), R"DOC({"id": 3, "request": "sample", "interval": 99999999999,"to": -1 })DOC", - std::placeholders::_1)); + std::placeholders::_1), + boost::asio::detached); m_client->waitFor(2s, [this]() { return m_client->m_done; }); @@ -424,7 +430,8 @@ TEST_F(WebsocketsTest, should_return_error_for_an_invalid_command) asio::spawn(m_context, std::bind(&Client::request, m_client.get(), "{\"id\":\"1\",\"request\":\"sample\"}"s, - std::placeholders::_1)); + std::placeholders::_1), + boost::asio::detached); m_client->waitFor(2s, [this]() { return m_client->m_done; }); From 4913a740cb02f15f6c5985849b97537e73fe457c Mon Sep 17 00:00:00 2001 From: Will Sobel Date: Wed, 24 Sep 2025 18:38:19 +0200 Subject: [PATCH 10/20] Fixed mqtt adapter ids --- src/mtconnect/source/adapter/mqtt/mqtt_adapter.cpp | 3 ++- src/mtconnect/utilities.hpp | 13 +++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/mtconnect/source/adapter/mqtt/mqtt_adapter.cpp b/src/mtconnect/source/adapter/mqtt/mqtt_adapter.cpp index fbbaf873..82533ae8 100644 --- a/src/mtconnect/source/adapter/mqtt/mqtt_adapter.cpp +++ b/src/mtconnect/source/adapter/mqtt/mqtt_adapter.cpp @@ -166,7 +166,8 @@ namespace mtconnect { identity << s; } - m_options[configuration::AdapterIdentity] = CreateIdentityHash(identity.str()); + m_identity = CreateIdentityHash(identity.str()); + m_options[configuration::AdapterIdentity] = m_identity; } m_pipeline.build(m_options); diff --git a/src/mtconnect/utilities.hpp b/src/mtconnect/utilities.hpp index bd7efff0..6f468b3d 100644 --- a/src/mtconnect/utilities.hpp +++ b/src/mtconnect/utilities.hpp @@ -814,11 +814,12 @@ namespace mtconnect { /// @param[in] sha the sha1 namespace to use as context /// @param[in] id the id to use transform /// @returns Returns the first 16 characters of the base 64 encoded sha1 - inline std::string makeUniqueId(const ::boost::uuids::detail::sha1 &sha, const std::string &id) + inline std::string makeUniqueId(const ::boost::uuids::detail::sha1 &contextSha, const std::string &id) { using namespace std; + using namespace boost::uuids::detail; - ::boost::uuids::detail::sha1 sha1(sha); + sha1 sha(contextSha); constexpr string_view startc("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_"); constexpr auto isIDStartChar = [](unsigned char c) -> bool { return isalpha(c) || c == '_'; }; @@ -826,9 +827,9 @@ namespace mtconnect { return isIDStartChar(c) || isdigit(c) || c == '.' || c == '-'; }; - sha1.process_bytes(id.data(), id.length()); - unsigned char digest[20]; - sha1.get_digest(digest); + sha.process_bytes(id.data(), id.length()); + sha1::digest_type digest; + sha.get_digest(digest); string s(32, ' '); auto len = boost::beast::detail::base64::encode(s.data(), digest, sizeof(digest)); @@ -845,7 +846,7 @@ namespace mtconnect { s[0] = startc[c % startc.size()]; } - s.erase(16); + s.erase(16); //DFYX7ls4d4to2Lhb return s; } From 47046e1f22dd22cc27e0b5b9664d05303b2d7605 Mon Sep 17 00:00:00 2001 From: Will Sobel Date: Thu, 25 Sep 2025 09:26:26 +0200 Subject: [PATCH 11/20] Porting to C++ 20 now complete, all tests pass on OS X --- conanfile.py | 2 +- src/mtconnect/utilities.hpp | 6 ++++-- test_package/entity_printer_test.cpp | 16 +++++++-------- test_package/json_printer_test.cpp | 28 +++++++++++++-------------- test_package/tls_http_server_test.cpp | 15 +++++++------- test_package/websockets_test.cpp | 3 ++- 6 files changed, 37 insertions(+), 33 deletions(-) diff --git a/conanfile.py b/conanfile.py index 85314cc5..6f6d7a0d 100644 --- a/conanfile.py +++ b/conanfile.py @@ -124,7 +124,7 @@ def requirements(self): self.requires("nlohmann_json/3.9.1", headers=True, libs=False, transitive_headers=True, transitive_libs=False) self.requires("openssl/3.0.8", headers=True, libs=True, transitive_headers=True, transitive_libs=True) self.requires("rapidjson/cci.20220822", headers=True, libs=False, transitive_headers=True, transitive_libs=False) - self.requires("mqtt_cpp/13.2.1", headers=True, libs=False, transitive_headers=True, transitive_libs=False) + self.requires("mqtt_cpp/13.2.2", headers=True, libs=False, transitive_headers=True, transitive_libs=False) self.requires("bzip2/1.0.8", headers=True, libs=True, transitive_headers=True, transitive_libs=True) if self.options.with_ruby: diff --git a/src/mtconnect/utilities.hpp b/src/mtconnect/utilities.hpp index 6f468b3d..ef21c00e 100644 --- a/src/mtconnect/utilities.hpp +++ b/src/mtconnect/utilities.hpp @@ -831,8 +831,10 @@ namespace mtconnect { sha1::digest_type digest; sha.get_digest(digest); + auto data = (unsigned int *) digest; + string s(32, ' '); - auto len = boost::beast::detail::base64::encode(s.data(), digest, sizeof(digest)); + auto len = boost::beast::detail::base64::encode(s.data(), data, sizeof(digest)); s.erase(len - 1); s.erase(std::remove_if(++(s.begin()), s.end(), not_fn(isIDChar)), s.end()); @@ -846,7 +848,7 @@ namespace mtconnect { s[0] = startc[c % startc.size()]; } - s.erase(16); //DFYX7ls4d4to2Lhb + s.erase(16); return s; } diff --git a/test_package/entity_printer_test.cpp b/test_package/entity_printer_test.cpp index 43a7fe29..b3fa98ac 100644 --- a/test_package/entity_printer_test.cpp +++ b/test_package/entity_printer_test.cpp @@ -331,12 +331,12 @@ TEST_F(EntityPrinterTest, should_honor_include_hidden_parameter) entity::XmlPrinter printer(false); printer.print(*m_writer, entity, {}); - ASSERT_EQ(R"( + ASSERT_EQ(R"( - + - - + + @@ -348,12 +348,12 @@ TEST_F(EntityPrinterTest, should_honor_include_hidden_parameter) entity::XmlPrinter printer2(true); printer2.print(*m_writer, entity, {}); - ASSERT_EQ(R"( + ASSERT_EQ(R"( - + - - + + diff --git a/test_package/json_printer_test.cpp b/test_package/json_printer_test.cpp index 157c9274..0405d6ea 100644 --- a/test_package/json_printer_test.cpp +++ b/test_package/json_printer_test.cpp @@ -392,12 +392,12 @@ TEST_F(JsonPrinterTest, should_honor_include_hidden_parameter) "Components": [ { "Electric": { - "id": "Pm2JhGKEeAYzVA8c" + "id": "hIltPgZ4hGIcD1Qz" } }, { "Heating": { - "id": "culKrBObwYWb6x0g" + "id": "rErpcoXBmxMgHeub" } } ], @@ -405,7 +405,7 @@ TEST_F(JsonPrinterTest, should_honor_include_hidden_parameter) "value": "Hey Will", "model": "abc" }, - "id": "_cNZEyq5kGkgppmh" + "id": "ZA2H50HmqkxmmoKk" } } ], @@ -413,7 +413,7 @@ TEST_F(JsonPrinterTest, should_honor_include_hidden_parameter) { "DataItem": { "category": "EVENT", - "id": "FFZeJQRwQvAdUJX4", + "id": "JV5WFPBCcAT4lVAd", "name": "avail", "type": "AVAILABILITY" } @@ -421,19 +421,19 @@ TEST_F(JsonPrinterTest, should_honor_include_hidden_parameter) { "DataItem": { "category": "EVENT", - "id": "T0qItk3igtyip1XX", + "id": "tohKT9C4k1nYryEA", "type": "ASSET_CHANGED" } }, { "DataItem": { "category": "EVENT", - "id": "LWOt9yZtpFPWjL7v", + "id": "F1jLVOkbSb7Mv7WI", "type": "ASSET_REMOVED" } } ], - "id": "DFYX7ls4d4to2Lhb", + "id": "AdWDIt3OFtbuNhoe", "name": "foo", "uuid": "xxx" } @@ -467,13 +467,13 @@ TEST_F(JsonPrinterTest, should_honor_include_hidden_parameter) "Components": [ { "Electric": { - "id": "Pm2JhGKEeAYzVA8c", + "id": "hIltPgZ4hGIcD1Qz", "originalId": "e1" } }, { "Heating": { - "id": "culKrBObwYWb6x0g", + "id": "rErpcoXBmxMgHeub", "originalId": "h1" } } @@ -482,7 +482,7 @@ TEST_F(JsonPrinterTest, should_honor_include_hidden_parameter) "value": "Hey Will", "model": "abc" }, - "id": "_cNZEyq5kGkgppmh", + "id": "ZA2H50HmqkxmmoKk", "originalId": "s1" } } @@ -491,7 +491,7 @@ TEST_F(JsonPrinterTest, should_honor_include_hidden_parameter) { "DataItem": { "category": "EVENT", - "id": "FFZeJQRwQvAdUJX4", + "id": "JV5WFPBCcAT4lVAd", "name": "avail", "originalId": "avail", "type": "AVAILABILITY" @@ -500,7 +500,7 @@ TEST_F(JsonPrinterTest, should_honor_include_hidden_parameter) { "DataItem": { "category": "EVENT", - "id": "T0qItk3igtyip1XX", + "id": "tohKT9C4k1nYryEA", "originalId": "d1_asset_chg", "type": "ASSET_CHANGED" } @@ -508,13 +508,13 @@ TEST_F(JsonPrinterTest, should_honor_include_hidden_parameter) { "DataItem": { "category": "EVENT", - "id": "LWOt9yZtpFPWjL7v", + "id": "F1jLVOkbSb7Mv7WI", "originalId": "d1_asset_rem", "type": "ASSET_REMOVED" } } ], - "id": "DFYX7ls4d4to2Lhb", + "id": "AdWDIt3OFtbuNhoe", "name": "foo", "originalId": "d1", "uuid": "xxx" diff --git a/test_package/tls_http_server_test.cpp b/test_package/tls_http_server_test.cpp index 4ae94516..13a04771 100644 --- a/test_package/tls_http_server_test.cpp +++ b/test_package/tls_http_server_test.cpp @@ -241,7 +241,8 @@ class Client void spawnReadChunk() { - asio::spawn(m_context, std::bind(&Client::readChunk, this, std::placeholders::_1)); + asio::spawn(m_context, std::bind(&Client::readChunk, this, std::placeholders::_1), + asio::detached); } void spawnRequest(boost::beast::http::verb verb, std::string const& target, @@ -309,7 +310,7 @@ const string ClientKeyFile {TEST_RESOURCE_DIR "/client.key"}; const string ClientDhFile {TEST_RESOURCE_DIR "/dh2048.pem"}; const string ClientCAFile(TEST_RESOURCE_DIR "/clientca.crt"); -class TlsRestServiceTest : public testing::Test +class TlsHttpServerTest : public testing::Test { protected: void SetUp() override @@ -385,7 +386,7 @@ class TlsRestServiceTest : public testing::Test unique_ptr m_client; }; -TEST_F(TlsRestServiceTest, create_server_and_load_certificates) +TEST_F(TlsHttpServerTest, create_server_and_load_certificates) { weak_ptr savedSession; @@ -423,7 +424,7 @@ TEST_F(TlsRestServiceTest, create_server_and_load_certificates) ASSERT_TRUE(savedSession.expired()); } -TEST_F(TlsRestServiceTest, streaming_response) +TEST_F(TlsHttpServerTest, streaming_response) { struct context { @@ -506,7 +507,7 @@ TEST_F(TlsRestServiceTest, streaming_response) ; } -TEST_F(TlsRestServiceTest, check_failed_client_certificate) +TEST_F(TlsHttpServerTest, check_failed_client_certificate) { using namespace mtconnect::configuration; ConfigOptions options {{TlsCertificateChain, CertFile}, @@ -534,7 +535,7 @@ TEST_F(TlsRestServiceTest, check_failed_client_certificate) const string ClientCA(TEST_RESOURCE_DIR "/clientca.crt"); -TEST_F(TlsRestServiceTest, check_valid_client_certificate) +TEST_F(TlsHttpServerTest, check_valid_client_certificate) { using namespace mtconnect::configuration; ConfigOptions options {{TlsCertificateChain, CertFile}, @@ -565,7 +566,7 @@ TEST_F(TlsRestServiceTest, check_valid_client_certificate) EXPECT_EQ(200, m_client->m_status); } -TEST_F(TlsRestServiceTest, check_valid_client_certificate_without_server_ca) +TEST_F(TlsHttpServerTest, check_valid_client_certificate_without_server_ca) { using namespace mtconnect::configuration; ConfigOptions options {{TlsCertificateChain, CertFile}, diff --git a/test_package/websockets_test.cpp b/test_package/websockets_test.cpp index a710c73d..07044401 100644 --- a/test_package/websockets_test.cpp +++ b/test_package/websockets_test.cpp @@ -332,7 +332,8 @@ TEST_F(WebsocketsTest, should_return_error_when_a_parameter_is_invalid) asio::spawn(m_context, std::bind(&Client::request, m_client.get(), "{\"id\": 3, \"request\": \"sample\", \"interval\": 99999999999}"s, - std::placeholders::_1)); + std::placeholders::_1), + asio::detached); m_client->waitFor(2s, [this]() { return m_client->m_done; }); From 2f7cf10fb79d9fbf1aa72ebe1c49ee2656d30abc Mon Sep 17 00:00:00 2001 From: Will Sobel Date: Thu, 25 Sep 2025 10:15:44 +0200 Subject: [PATCH 12/20] Added forward --- src/mtconnect/entity/data_set.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mtconnect/entity/data_set.hpp b/src/mtconnect/entity/data_set.hpp index e6dfc66c..671768b1 100644 --- a/src/mtconnect/entity/data_set.hpp +++ b/src/mtconnect/entity/data_set.hpp @@ -83,7 +83,7 @@ namespace mtconnect::entity { /// @param value the a data set variant /// @param removed `true` if the key has been removed Entry(const std::string &key, T value, bool removed = false) - : m_key(key), m_value(std::move(value)), m_removed(removed) + : m_key(key), m_value(std::forward(value)), m_removed(removed) {} /// @brief Create a data set entry with just a key (used for search) /// @param key From 28a225cbeedf4c8b9c8dff459db1e76acc52dc28 Mon Sep 17 00:00:00 2001 From: Will Sobel Date: Thu, 25 Sep 2025 16:50:52 +0200 Subject: [PATCH 13/20] Fixed get local time on windows. --- src/mtconnect/pipeline/shdr_tokenizer.hpp | 2 +- src/mtconnect/utilities.hpp | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/mtconnect/pipeline/shdr_tokenizer.hpp b/src/mtconnect/pipeline/shdr_tokenizer.hpp index d53353ca..e8709dcb 100644 --- a/src/mtconnect/pipeline/shdr_tokenizer.hpp +++ b/src/mtconnect/pipeline/shdr_tokenizer.hpp @@ -34,7 +34,7 @@ namespace mtconnect::pipeline { using entity::Entity::Entity; Tokens(const Tokens &) = default; Tokens() = default; - Tokens(const Tokens &ts, TokenList list) : Entity(ts), m_tokens(list) {} + Tokens(const Tokens &ts, const TokenList &list) : Entity(ts), m_tokens(list) {} TokenList m_tokens; }; diff --git a/src/mtconnect/utilities.hpp b/src/mtconnect/utilities.hpp index ef21c00e..70bddd58 100644 --- a/src/mtconnect/utilities.hpp +++ b/src/mtconnect/utilities.hpp @@ -219,7 +219,12 @@ namespace mtconnect { using namespace std; using namespace std::chrono; constexpr char ISO_8601_FMT[] = "%Y-%m-%dT%H:%M:%SZ"; - +#ifdef _WINDOWS + namespace tzchrono = std::chrono; +#else + namespace tzchrono = date; +#endif + switch (format) { case HUM_READ: @@ -230,7 +235,7 @@ namespace mtconnect { return date::format(ISO_8601_FMT, date::floor(timePoint)); case LOCAL: { - auto zone = date::current_zone(); + auto zone = tzchrono::current_zone(); auto zt = date::zoned_time(zone, timePoint); return date::format("%Y-%m-%dT%H:%M:%S%z", zt); } From 6608baef7282254d18dcf3a8d73c27475298c409 Mon Sep 17 00:00:00 2001 From: Will Sobel Date: Sun, 28 Sep 2025 22:13:24 +0200 Subject: [PATCH 14/20] Version 2.6.0.3 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8e44023a..d1220305 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ set(AGENT_VERSION_MAJOR 2) set(AGENT_VERSION_MINOR 6) set(AGENT_VERSION_PATCH 0) -set(AGENT_VERSION_BUILD 2) +set(AGENT_VERSION_BUILD 3) set(AGENT_VERSION_RC "") # This minimum version is to support Visual Studio 2019 and C++ feature checking and FetchContent From 53a9ad93adf12ed9b310ca3c9447359654ba72dd Mon Sep 17 00:00:00 2001 From: Will Sobel Date: Wed, 1 Oct 2025 17:08:56 +0200 Subject: [PATCH 15/20] upgrading to windows latest --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b743fe8e..f1e5b5e9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,8 +28,8 @@ on: jobs: build_windows: - runs-on: windows-2022 - name: "Windows 2022 Arch: ${{ matrix.arch }}, Shared: ${{ matrix.shared }}" + runs-on: windows-latest + name: "Windows latest Arch: ${{ matrix.arch }}, Shared: ${{ matrix.shared }}" strategy: matrix: arch: ["x86", "amd64"] From 6f2adaddf8248864a4ae04840880c596688590ff Mon Sep 17 00:00:00 2001 From: Will Sobel Date: Wed, 1 Oct 2025 17:21:34 +0200 Subject: [PATCH 16/20] removed x86 build to see if that was an issue --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f1e5b5e9..a1354cee 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,7 +32,7 @@ jobs: name: "Windows latest Arch: ${{ matrix.arch }}, Shared: ${{ matrix.shared }}" strategy: matrix: - arch: ["x86", "amd64"] + arch: ["amd64"] # ["x86", "amd64"] shared: ["True", "False"] include: - arch: "x86" From ec7b3caac2610557d7fe0c58aee88861eb4ca823 Mon Sep 17 00:00:00 2001 From: Will Sobel Date: Wed, 1 Oct 2025 17:23:12 +0200 Subject: [PATCH 17/20] removed x86 build to see if that was an issue --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a1354cee..79bddec1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,8 +35,8 @@ jobs: arch: ["amd64"] # ["x86", "amd64"] shared: ["True", "False"] include: - - arch: "x86" - profile: "vs32" + #- arch: "x86" + # profile: "vs32" - arch: "amd64" profile: "vs64" - shared: "True" From 226985e7d8f24448b02787c092623dd84677f4b6 Mon Sep 17 00:00:00 2001 From: Will Sobel Date: Wed, 1 Oct 2025 19:57:20 +0200 Subject: [PATCH 18/20] Added additional -d+2 for windows build for boost b2 options --- .github/workflows/build.yml | 6 +++--- conanfile.py | 10 ++-------- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 79bddec1..f1e5b5e9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,11 +32,11 @@ jobs: name: "Windows latest Arch: ${{ matrix.arch }}, Shared: ${{ matrix.shared }}" strategy: matrix: - arch: ["amd64"] # ["x86", "amd64"] + arch: ["x86", "amd64"] shared: ["True", "False"] include: - #- arch: "x86" - # profile: "vs32" + - arch: "x86" + profile: "vs32" - arch: "amd64" profile: "vs64" - shared: "True" diff --git a/conanfile.py b/conanfile.py index 6f6d7a0d..6e213a67 100644 --- a/conanfile.py +++ b/conanfile.py @@ -84,10 +84,6 @@ def layout(self): self.folders.build_folder_vars = ["options.shared", "settings.arch"] cmake_layout(self) - def layout(self): - self.folders.build_folder_vars = ["options.shared", "settings.arch"] - cmake_layout(self) - def config_options(self): if is_msvc(self): self.options.rm_safe("fPIC") @@ -105,6 +101,7 @@ def tool_requires_version(self, package, version): self.output.info(f"Version of {package} is {ver}") else: self.output.info(f"Command: '{command}' returned {res}") + if ver < version: ver_text = '.'.join([str(x) for x in version]) self.output.info(f"Old version of {package}, requesting tool {package}/{ver_text}") @@ -141,10 +138,7 @@ def configure(self): self.package_type = "shared-library" if is_msvc(self): - self.options["boost/*"].extra_b2_flags = ("define=BOOST_USE_WINAPI_VERSION=" + str(self.options.winver)) - - if is_msvc(self): - self.options["boost/*"].extra_b2_flags = ("define=BOOST_USE_WINAPI_VERSION=" + str(self.options.winver)) + self.options["boost/*"].extra_b2_flags = ("define=BOOST_USE_WINAPI_VERSION=" + str(self.options.winver) + " -d+2") # Make sure shared builds use shared boost if is_msvc(self) and self.options.shared: From dfc03586a24a7f9d9e4d34a4e74364e0d41c171a Mon Sep 17 00:00:00 2001 From: Will Sobel Date: Fri, 3 Oct 2025 11:37:13 +0200 Subject: [PATCH 19/20] Set windows build target to 0x0A00 (Windows 10) --- conan/profiles/vs32 | 2 -- conan/profiles/vs32debug | 3 --- conan/profiles/vs32shared | 4 ---- conan/profiles/vsxp | 15 --------------- conanfile.py | 12 ++++++------ 5 files changed, 6 insertions(+), 30 deletions(-) delete mode 100644 conan/profiles/vsxp diff --git a/conan/profiles/vs32 b/conan/profiles/vs32 index 423cc952..3a5f8709 100644 --- a/conan/profiles/vs32 +++ b/conan/profiles/vs32 @@ -8,5 +8,3 @@ compiler.runtime=static compiler.runtime_type=Release build_type=Release -[options] -winver=0x0600 diff --git a/conan/profiles/vs32debug b/conan/profiles/vs32debug index 06f2fb2c..c88c703e 100644 --- a/conan/profiles/vs32debug +++ b/conan/profiles/vs32debug @@ -7,6 +7,3 @@ arch=x86 compiler.runtime=static compiler.runtime_type=Debug build_type=Debug - -[options] -winver=0x0600 diff --git a/conan/profiles/vs32shared b/conan/profiles/vs32shared index ca9b3fa6..a06bc079 100644 --- a/conan/profiles/vs32shared +++ b/conan/profiles/vs32shared @@ -8,7 +8,3 @@ compiler.runtime=dynamic compiler.runtime_type=Release build_type=Release - -[options] -shared=True -winver=0x0600 diff --git a/conan/profiles/vsxp b/conan/profiles/vsxp deleted file mode 100644 index 1acbe97d..00000000 --- a/conan/profiles/vsxp +++ /dev/null @@ -1,15 +0,0 @@ -include(default) - -[settings] -compiler=msvc -arch=x86 -compiler.cppstd=20 -compiler.runtime=static -compiler.runtime_type=Release -build_type=Release -compiler.toolset=v141_xp - -[options] -winver=0x0501 -with_ruby=False -date:header_only=True diff --git a/conanfile.py b/conanfile.py index 6e213a67..4d7d044e 100644 --- a/conanfile.py +++ b/conanfile.py @@ -35,7 +35,7 @@ class MTConnectAgentConan(ConanFile): "with_ruby": True, "development": False, "shared": False, - "winver": "0x0602", + "winver": "0x0A00", "with_docs": False, "cpack": False, "agent_prefix": None, @@ -116,11 +116,11 @@ def build_requirements(self): def requirements(self): self.requires("boost/1.88.0", headers=True, libs=True, transitive_headers=True, transitive_libs=True) - self.requires("libxml2/2.10.3", headers=True, libs=True, visible=True, transitive_headers=True, transitive_libs=True) + self.requires("libxml2/2.14.5", headers=True, libs=True, visible=True, transitive_headers=True, transitive_libs=True) self.requires("date/3.0.4", headers=True, libs=True, transitive_headers=True, transitive_libs=True) - self.requires("nlohmann_json/3.9.1", headers=True, libs=False, transitive_headers=True, transitive_libs=False) - self.requires("openssl/3.0.8", headers=True, libs=True, transitive_headers=True, transitive_libs=True) - self.requires("rapidjson/cci.20220822", headers=True, libs=False, transitive_headers=True, transitive_libs=False) + self.requires("nlohmann_json/3.12.0", headers=True, libs=False, transitive_headers=True, transitive_libs=False) + self.requires("openssl/3.5.4", headers=True, libs=True, transitive_headers=True, transitive_libs=True) + self.requires("rapidjson/1.1.0", headers=True, libs=False, transitive_headers=True, transitive_libs=False) self.requires("mqtt_cpp/13.2.2", headers=True, libs=False, transitive_headers=True, transitive_libs=False) self.requires("bzip2/1.0.8", headers=True, libs=True, transitive_headers=True, transitive_libs=True) @@ -138,7 +138,7 @@ def configure(self): self.package_type = "shared-library" if is_msvc(self): - self.options["boost/*"].extra_b2_flags = ("define=BOOST_USE_WINAPI_VERSION=" + str(self.options.winver) + " -d+2") + self.options["boost/*"].extra_b2_flags = ("define=BOOST_USE_WINAPI_VERSION=" + str(self.options.winver)) # Make sure shared builds use shared boost if is_msvc(self) and self.options.shared: From d9812e9e5f7c8f0a564191a6f4b3d022982eb58c Mon Sep 17 00:00:00 2001 From: Will Sobel Date: Fri, 3 Oct 2025 18:48:15 +0200 Subject: [PATCH 20/20] Upgraded to the latest version of libraries --- conanfile.py | 2 +- src/mtconnect/entity/json_printer.hpp | 4 ++-- src/mtconnect/entity/xml_parser.cpp | 2 +- src/mtconnect/entity/xml_printer.cpp | 1 + src/mtconnect/parser/xml_parser.cpp | 2 +- src/mtconnect/printer/xml_printer.cpp | 1 + test_package/json_printer_probe_test.cpp | 16 ++++++++-------- 7 files changed, 15 insertions(+), 13 deletions(-) diff --git a/conanfile.py b/conanfile.py index 4d7d044e..94213e50 100644 --- a/conanfile.py +++ b/conanfile.py @@ -120,7 +120,7 @@ def requirements(self): self.requires("date/3.0.4", headers=True, libs=True, transitive_headers=True, transitive_libs=True) self.requires("nlohmann_json/3.12.0", headers=True, libs=False, transitive_headers=True, transitive_libs=False) self.requires("openssl/3.5.4", headers=True, libs=True, transitive_headers=True, transitive_libs=True) - self.requires("rapidjson/1.1.0", headers=True, libs=False, transitive_headers=True, transitive_libs=False) + self.requires("rapidjson/cci.20230929", headers=True, libs=False, transitive_headers=True, transitive_libs=False) self.requires("mqtt_cpp/13.2.2", headers=True, libs=False, transitive_headers=True, transitive_libs=False) self.requires("bzip2/1.0.8", headers=True, libs=True, transitive_headers=True, transitive_libs=True) diff --git a/src/mtconnect/entity/json_printer.hpp b/src/mtconnect/entity/json_printer.hpp index 12cea9ca..5154ed33 100644 --- a/src/mtconnect/entity/json_printer.hpp +++ b/src/mtconnect/entity/json_printer.hpp @@ -306,7 +306,7 @@ namespace mtconnect::entity { printer.printEntity(entity); }); - return std::string(output.GetString(), output.GetLength()); + return std::string(output.GetString(), output.GetSize()); } /// @brief wrapper around the JsonPrinter print method that creates the correct printer @@ -325,7 +325,7 @@ namespace mtconnect::entity { printer.print(entity); }); - return std::string(output.GetString(), output.GetLength()); + return std::string(output.GetString(), output.GetSize()); } protected: diff --git a/src/mtconnect/entity/xml_parser.cpp b/src/mtconnect/entity/xml_parser.cpp index c509e899..0a88a626 100644 --- a/src/mtconnect/entity/xml_parser.cpp +++ b/src/mtconnect/entity/xml_parser.cpp @@ -32,7 +32,7 @@ using namespace std; namespace mtconnect::entity { using namespace mtconnect::printer; - extern "C" void XMLCDECL entityXMLErrorFunc(void *ctx ATTRIBUTE_UNUSED, const char *msg, ...) + extern "C" void XMLCDECL entityXMLErrorFunc([[maybe_unused]] void *ctx, const char *msg, ...) { va_list args; diff --git a/src/mtconnect/entity/xml_printer.cpp b/src/mtconnect/entity/xml_printer.cpp index ce5a4122..3cfb0ccb 100644 --- a/src/mtconnect/entity/xml_printer.cpp +++ b/src/mtconnect/entity/xml_printer.cpp @@ -20,6 +20,7 @@ #include #include +#include #include "mtconnect/logging.hpp" #include "mtconnect/printer/xml_printer_helper.hpp" diff --git a/src/mtconnect/parser/xml_parser.cpp b/src/mtconnect/parser/xml_parser.cpp index fe41b4aa..9f5363e7 100644 --- a/src/mtconnect/parser/xml_parser.cpp +++ b/src/mtconnect/parser/xml_parser.cpp @@ -62,7 +62,7 @@ namespace mtconnect::parser { using namespace device_model; using namespace printer; - extern "C" void XMLCDECL agentXMLErrorFunc(void *ctx ATTRIBUTE_UNUSED, const char *msg, ...) + extern "C" void XMLCDECL agentXMLErrorFunc([[maybe_unused]] void *ctx, const char *msg, ...) { va_list args; diff --git a/src/mtconnect/printer/xml_printer.cpp b/src/mtconnect/printer/xml_printer.cpp index 2697cd68..3ea09f27 100644 --- a/src/mtconnect/printer/xml_printer.cpp +++ b/src/mtconnect/printer/xml_printer.cpp @@ -25,6 +25,7 @@ #include #include +#include #include "mtconnect/asset/asset.hpp" #include "mtconnect/asset/cutting_tool.hpp" diff --git a/test_package/json_printer_probe_test.cpp b/test_package/json_printer_probe_test.cpp index 97833621..1c2a1cb6 100644 --- a/test_package/json_printer_probe_test.cpp +++ b/test_package/json_printer_probe_test.cpp @@ -355,14 +355,14 @@ TEST_F(JsonPrinterProbeTest, PrintDataItemRelationships) auto dir1 = load.at("/Relationships/0"_json_pointer); ASSERT_TRUE(dir1.is_object()); - ASSERT_EQ(string("archie"), dir1.at("/DataItemRelationship/name"_json_pointer)); - ASSERT_EQ(string("LIMIT"), dir1.at("/DataItemRelationship/type"_json_pointer)); - ASSERT_EQ(string("xlcpl"), dir1.at("/DataItemRelationship/idRef"_json_pointer)); + ASSERT_EQ(string("archie"), dir1.at("/DataItemRelationship/name"_json_pointer).get()); + ASSERT_EQ(string("LIMIT"), dir1.at("/DataItemRelationship/type"_json_pointer).get()); + ASSERT_EQ(string("xlcpl"), dir1.at("/DataItemRelationship/idRef"_json_pointer).get()); auto dir2 = load.at("/Relationships/1"_json_pointer); ASSERT_TRUE(dir2.is_object()); - ASSERT_EQ(string("LIMIT"), dir2.at("/SpecificationRelationship/type"_json_pointer)); - ASSERT_EQ(string("spec1"), dir2.at("/SpecificationRelationship/idRef"_json_pointer)); + ASSERT_EQ(string("LIMIT"), dir2.at("/SpecificationRelationship/type"_json_pointer).get()); + ASSERT_EQ(string("spec1"), dir2.at("/SpecificationRelationship/idRef"_json_pointer).get()); auto limits = linear.at("/DataItems/5/DataItem"_json_pointer); ASSERT_TRUE(load.is_object()); @@ -370,9 +370,9 @@ TEST_F(JsonPrinterProbeTest, PrintDataItemRelationships) auto dir3 = limits.at("/Relationships/0"_json_pointer); ASSERT_TRUE(dir3.is_object()); - ASSERT_EQ(string("bob"), dir3.at("/DataItemRelationship/name"_json_pointer)); - ASSERT_EQ(string("OBSERVATION"), dir3.at("/DataItemRelationship/type"_json_pointer)); - ASSERT_EQ(string("xlc"), dir3.at("/DataItemRelationship/idRef"_json_pointer)); + ASSERT_EQ(string("bob"), dir3.at("/DataItemRelationship/name"_json_pointer).get()); + ASSERT_EQ(string("OBSERVATION"), dir3.at("/DataItemRelationship/type"_json_pointer).get()); + ASSERT_EQ(string("xlc"), dir3.at("/DataItemRelationship/idRef"_json_pointer).get()); } TEST_F(JsonPrinterProbeTest, version_2_with_multiple_devices)