diff --git a/.github/workflows/actions_build.yml b/.github/workflows/actions_build.yml index 550aa9d04..557682618 100644 --- a/.github/workflows/actions_build.yml +++ b/.github/workflows/actions_build.yml @@ -7,8 +7,9 @@ env: COMMSDSL_BRANCH: master jobs: - build_gcc_ubuntu_18_04: - runs-on: ubuntu-18.04 + + build_gcc_old_ubuntu_20_04: + runs-on: ubuntu-20.04 strategy: fail-fast: false matrix: @@ -19,6 +20,11 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Add repositories + run: | + sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu/ bionic main'; \ + sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu/ bionic universe' + - name: Prepare Install run: sudo apt-get update --fix-missing @@ -28,7 +34,6 @@ jobs: - name: Create Build Environment run: cmake -E make_directory ${{runner.workspace}}/build - - name: Prepare externals shell: bash run: $GITHUB_WORKSPACE/script/prepare_externals.sh @@ -60,7 +65,7 @@ jobs: shell: bash run: cmake --build . --config ${{matrix.type}} --target install env: - VERBOSE: 1 + VERBOSE: 1 build_gcc_ubuntu_20_04: runs-on: ubuntu-20.04 diff --git a/CMakeLists.txt b/CMakeLists.txt index 50b0ee71c..eebc8dde3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,9 +6,7 @@ option (UNIX_USE_CCACHE "Treat warnings as error" ON) option (FORCE_EXTRA_BOOST_LIBS "Force linking to extra boost libraries" OFF) option (USE_SANITIZERS "Compile with sanitizers." OFF) -if (NOT CMAKE_CXX_STANDARD) - set (CMAKE_CXX_STANDARD 11) -endif () +set(CMAKE_CXX_STANDARD 11 CACHE STRING "The C++ standard to use") include(GNUInstallDirs) diff --git a/README.md b/README.md index 77cfa26a8..6c28e0241 100644 --- a/README.md +++ b/README.md @@ -181,6 +181,7 @@ $> nmake install - [tutorial21](../../tree/master/tutorials/tutorial21) - Cast between different field types. - [tutorial22](../../tree/master/tutorials/tutorial22) - Complex length fields. - [tutorial23](../../tree/master/tutorials/tutorial23) - Reusing definitions from other schemas. +- [tutorial24](../../tree/master/tutorials/tutorial24) - Extra validity verification of message payload. # How-Tos diff --git a/howtos/howto1/include/howto1/Interface.h b/howtos/howto1/include/howto1/Interface.h index c40875fa0..d0b8fdce8 100644 --- a/howtos/howto1/include/howto1/Interface.h +++ b/howtos/howto1/include/howto1/Interface.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Interface" interface class. diff --git a/howtos/howto1/include/howto1/InterfaceCommon.h b/howtos/howto1/include/howto1/InterfaceCommon.h index 767753830..77f8ccf35 100644 --- a/howtos/howto1/include/howto1/InterfaceCommon.h +++ b/howtos/howto1/include/howto1/InterfaceCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto1/include/howto1/MsgId.h b/howtos/howto1/include/howto1/MsgId.h index 19f333736..2fc045adc 100644 --- a/howtos/howto1/include/howto1/MsgId.h +++ b/howtos/howto1/include/howto1/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of message ids enumeration. @@ -13,12 +13,12 @@ namespace howto1 /// @brief Message ids enumeration. enum MsgId : std::uint8_t { - MsgId_M1 = 1, ///< message id of Message 1 message. , - MsgId_M2 = 2, ///< message id of Message 2 message. , + MsgId_M1 = 1, ///< message id of Message 1 message. + MsgId_M2 = 2, ///< message id of Message 2 message. - // --- Extra values generated for convenience ---, - MsgId_FirstValue = 1, ///< First defined value., - MsgId_LastValue = 2, ///< Last defined value., + // --- Extra values generated for convenience --- + MsgId_FirstValue = 1, ///< First defined value. + MsgId_LastValue = 2, ///< Last defined value. MsgId_ValuesLimit = 3, ///< Upper limit for defined values. }; diff --git a/howtos/howto1/include/howto1/Version.h b/howtos/howto1/include/howto1/Version.h index 48a2cfbc9..a83cb1264 100644 --- a/howtos/howto1/include/howto1/Version.h +++ b/howtos/howto1/include/howto1/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains protocol version definition. @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion() } // namespace howto1 // Generated compile time check for minimal supported version of the COMMS library -static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(), +static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(), "The version of COMMS library is too old"); diff --git a/howtos/howto1/include/howto1/dispatch/DispatchClientInputMessage.h b/howtos/howto1/include/howto1/dispatch/DispatchClientInputMessage.h index 1a2f6e3a2..1d7dce35a 100644 --- a/howtos/howto1/include/howto1/dispatch/DispatchClientInputMessage.h +++ b/howtos/howto1/include/howto1/dispatch/DispatchClientInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/howtos/howto1/include/howto1/dispatch/DispatchMessage.h b/howtos/howto1/include/howto1/dispatch/DispatchMessage.h index 1ff4fb887..ecaa14dda 100644 --- a/howtos/howto1/include/howto1/dispatch/DispatchMessage.h +++ b/howtos/howto1/include/howto1/dispatch/DispatchMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for all input messages. diff --git a/howtos/howto1/include/howto1/dispatch/DispatchServerInputMessage.h b/howtos/howto1/include/howto1/dispatch/DispatchServerInputMessage.h index d616c48c4..7f32cd43e 100644 --- a/howtos/howto1/include/howto1/dispatch/DispatchServerInputMessage.h +++ b/howtos/howto1/include/howto1/dispatch/DispatchServerInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/howtos/howto1/include/howto1/field/FieldBase.h b/howtos/howto1/include/howto1/field/FieldBase.h index 3e3136266..3dbc3f831 100644 --- a/howtos/howto1/include/howto1/field/FieldBase.h +++ b/howtos/howto1/include/howto1/field/FieldBase.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of base class of all the fields. diff --git a/howtos/howto1/include/howto1/field/InterfaceFlags.h b/howtos/howto1/include/howto1/field/InterfaceFlags.h index 0c2f28b97..412dcc2e3 100644 --- a/howtos/howto1/include/howto1/field/InterfaceFlags.h +++ b/howtos/howto1/include/howto1/field/InterfaceFlags.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "InterfaceFlags" field. diff --git a/howtos/howto1/include/howto1/field/InterfaceFlagsCommon.h b/howtos/howto1/include/howto1/field/InterfaceFlagsCommon.h index b7e3db8b7..9712d172a 100644 --- a/howtos/howto1/include/howto1/field/InterfaceFlagsCommon.h +++ b/howtos/howto1/include/howto1/field/InterfaceFlagsCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto1/include/howto1/field/MsgId.h b/howtos/howto1/include/howto1/field/MsgId.h index df626f07d..4bc86aaf1 100644 --- a/howtos/howto1/include/howto1/field/MsgId.h +++ b/howtos/howto1/include/howto1/field/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "MsgId" field. diff --git a/howtos/howto1/include/howto1/field/MsgIdCommon.h b/howtos/howto1/include/howto1/field/MsgIdCommon.h index 420480143..cb423dca7 100644 --- a/howtos/howto1/include/howto1/field/MsgIdCommon.h +++ b/howtos/howto1/include/howto1/field/MsgIdCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto1/include/howto1/frame/Frame.h b/howtos/howto1/include/howto1/frame/Frame.h index 08e7a8272..9e447c716 100644 --- a/howtos/howto1/include/howto1/frame/Frame.h +++ b/howtos/howto1/include/howto1/frame/Frame.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Frame" frame class. diff --git a/howtos/howto1/include/howto1/frame/FrameCommon.h b/howtos/howto1/include/howto1/frame/FrameCommon.h index 1d93613db..0a113d503 100644 --- a/howtos/howto1/include/howto1/frame/FrameCommon.h +++ b/howtos/howto1/include/howto1/frame/FrameCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto1/include/howto1/input/AllMessages.h b/howtos/howto1/include/howto1/input/AllMessages.h index 4d9b25246..b7d854d0e 100644 --- a/howtos/howto1/include/howto1/input/AllMessages.h +++ b/howtos/howto1/include/howto1/input/AllMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the AllMessages messages bundle. diff --git a/howtos/howto1/include/howto1/input/ClientInputMessages.h b/howtos/howto1/include/howto1/input/ClientInputMessages.h index 2e87f62b9..4939e394d 100644 --- a/howtos/howto1/include/howto1/input/ClientInputMessages.h +++ b/howtos/howto1/include/howto1/input/ClientInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ClientInputMessages messages bundle. diff --git a/howtos/howto1/include/howto1/input/ServerInputMessages.h b/howtos/howto1/include/howto1/input/ServerInputMessages.h index 41e0f6cc5..61b7ab2fa 100644 --- a/howtos/howto1/include/howto1/input/ServerInputMessages.h +++ b/howtos/howto1/include/howto1/input/ServerInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ServerInputMessages messages bundle. diff --git a/howtos/howto1/include/howto1/message/Msg1.h b/howtos/howto1/include/howto1/message/Msg1.h index 02a57f4d2..dcc011663 100644 --- a/howtos/howto1/include/howto1/message/Msg1.h +++ b/howtos/howto1/include/howto1/message/Msg1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1" message and its fields. diff --git a/howtos/howto1/include/howto1/message/Msg1Common.h b/howtos/howto1/include/howto1/message/Msg1Common.h index beb84f1a0..02b9f36a8 100644 --- a/howtos/howto1/include/howto1/message/Msg1Common.h +++ b/howtos/howto1/include/howto1/message/Msg1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto1/include/howto1/message/Msg2.h b/howtos/howto1/include/howto1/message/Msg2.h index b463f5db6..863edc56a 100644 --- a/howtos/howto1/include/howto1/message/Msg2.h +++ b/howtos/howto1/include/howto1/message/Msg2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 2" message and its fields. diff --git a/howtos/howto1/include/howto1/message/Msg2Common.h b/howtos/howto1/include/howto1/message/Msg2Common.h index 7a6753101..e8d224c63 100644 --- a/howtos/howto1/include/howto1/message/Msg2Common.h +++ b/howtos/howto1/include/howto1/message/Msg2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto1/include/howto1/options/BareMetalDefaultOptions.h b/howtos/howto1/include/howto1/options/BareMetalDefaultOptions.h index a5009b0d8..202dc9940 100644 --- a/howtos/howto1/include/howto1/options/BareMetalDefaultOptions.h +++ b/howtos/howto1/include/howto1/options/BareMetalDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol bare metal default options. diff --git a/howtos/howto1/include/howto1/options/ClientDefaultOptions.h b/howtos/howto1/include/howto1/options/ClientDefaultOptions.h index 19fa0055d..838b1d551 100644 --- a/howtos/howto1/include/howto1/options/ClientDefaultOptions.h +++ b/howtos/howto1/include/howto1/options/ClientDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol client default options. diff --git a/howtos/howto1/include/howto1/options/DataViewDefaultOptions.h b/howtos/howto1/include/howto1/options/DataViewDefaultOptions.h index a36203cbd..bf8e1a524 100644 --- a/howtos/howto1/include/howto1/options/DataViewDefaultOptions.h +++ b/howtos/howto1/include/howto1/options/DataViewDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol data view default options. diff --git a/howtos/howto1/include/howto1/options/DefaultOptions.h b/howtos/howto1/include/howto1/options/DefaultOptions.h index 532379c4d..82b7f25e4 100644 --- a/howtos/howto1/include/howto1/options/DefaultOptions.h +++ b/howtos/howto1/include/howto1/options/DefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol default options. diff --git a/howtos/howto1/include/howto1/options/ServerDefaultOptions.h b/howtos/howto1/include/howto1/options/ServerDefaultOptions.h index f12a5f9c9..eb68789a1 100644 --- a/howtos/howto1/include/howto1/options/ServerDefaultOptions.h +++ b/howtos/howto1/include/howto1/options/ServerDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol server default options. diff --git a/howtos/howto10/include/howto10/Interface.h b/howtos/howto10/include/howto10/Interface.h index fe2c53db3..fa4f3faed 100644 --- a/howtos/howto10/include/howto10/Interface.h +++ b/howtos/howto10/include/howto10/Interface.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Interface" interface class. diff --git a/howtos/howto10/include/howto10/InterfaceCommon.h b/howtos/howto10/include/howto10/InterfaceCommon.h index a87396c5a..2dc3e4e65 100644 --- a/howtos/howto10/include/howto10/InterfaceCommon.h +++ b/howtos/howto10/include/howto10/InterfaceCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto10/include/howto10/MsgId.h b/howtos/howto10/include/howto10/MsgId.h index 4a187fc40..aadff9688 100644 --- a/howtos/howto10/include/howto10/MsgId.h +++ b/howtos/howto10/include/howto10/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of message ids enumeration. @@ -13,13 +13,13 @@ namespace howto10 /// @brief Message ids enumeration. enum MsgId : std::uint8_t { - MsgId_M1 = 1, ///< message id of Message 1 message. , - MsgId_M2 = 2, ///< message id of Message 2 message. , - MsgId_M3 = 3, ///< message id of Message 3 message. , + MsgId_M1 = 1, ///< message id of Message 1 message. + MsgId_M2 = 2, ///< message id of Message 2 message. + MsgId_M3 = 3, ///< message id of Message 3 message. - // --- Extra values generated for convenience ---, - MsgId_FirstValue = 1, ///< First defined value., - MsgId_LastValue = 3, ///< Last defined value., + // --- Extra values generated for convenience --- + MsgId_FirstValue = 1, ///< First defined value. + MsgId_LastValue = 3, ///< Last defined value. MsgId_ValuesLimit = 4, ///< Upper limit for defined values. }; diff --git a/howtos/howto10/include/howto10/Version.h b/howtos/howto10/include/howto10/Version.h index ef7f4f2f4..f82aa231c 100644 --- a/howtos/howto10/include/howto10/Version.h +++ b/howtos/howto10/include/howto10/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains protocol version definition. @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion() } // namespace howto10 // Generated compile time check for minimal supported version of the COMMS library -static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(), +static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(), "The version of COMMS library is too old"); diff --git a/howtos/howto10/include/howto10/dispatch/DispatchClientInputMessage.h b/howtos/howto10/include/howto10/dispatch/DispatchClientInputMessage.h index 06962e997..07936c3e5 100644 --- a/howtos/howto10/include/howto10/dispatch/DispatchClientInputMessage.h +++ b/howtos/howto10/include/howto10/dispatch/DispatchClientInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/howtos/howto10/include/howto10/dispatch/DispatchMessage.h b/howtos/howto10/include/howto10/dispatch/DispatchMessage.h index 398aee113..a59eb107a 100644 --- a/howtos/howto10/include/howto10/dispatch/DispatchMessage.h +++ b/howtos/howto10/include/howto10/dispatch/DispatchMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for all input messages. diff --git a/howtos/howto10/include/howto10/dispatch/DispatchServerInputMessage.h b/howtos/howto10/include/howto10/dispatch/DispatchServerInputMessage.h index 93ac606c2..32686a1cb 100644 --- a/howtos/howto10/include/howto10/dispatch/DispatchServerInputMessage.h +++ b/howtos/howto10/include/howto10/dispatch/DispatchServerInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/howtos/howto10/include/howto10/field/FieldBase.h b/howtos/howto10/include/howto10/field/FieldBase.h index 82f364120..d9e70e720 100644 --- a/howtos/howto10/include/howto10/field/FieldBase.h +++ b/howtos/howto10/include/howto10/field/FieldBase.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of base class of all the fields. diff --git a/howtos/howto10/include/howto10/field/Flags.h b/howtos/howto10/include/howto10/field/Flags.h index d14048cd0..f2389b70f 100644 --- a/howtos/howto10/include/howto10/field/Flags.h +++ b/howtos/howto10/include/howto10/field/Flags.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Flags" field. diff --git a/howtos/howto10/include/howto10/field/FlagsCommon.h b/howtos/howto10/include/howto10/field/FlagsCommon.h index 06b896ea2..ba611ae67 100644 --- a/howtos/howto10/include/howto10/field/FlagsCommon.h +++ b/howtos/howto10/include/howto10/field/FlagsCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto10/include/howto10/field/MsgId.h b/howtos/howto10/include/howto10/field/MsgId.h index 7d341f1a0..33e5752d2 100644 --- a/howtos/howto10/include/howto10/field/MsgId.h +++ b/howtos/howto10/include/howto10/field/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "MsgId" field. diff --git a/howtos/howto10/include/howto10/field/MsgIdCommon.h b/howtos/howto10/include/howto10/field/MsgIdCommon.h index 8c0022acb..a342529f5 100644 --- a/howtos/howto10/include/howto10/field/MsgIdCommon.h +++ b/howtos/howto10/include/howto10/field/MsgIdCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto10/include/howto10/frame/Frame.h b/howtos/howto10/include/howto10/frame/Frame.h index 09c9840f9..261a5bb81 100644 --- a/howtos/howto10/include/howto10/frame/Frame.h +++ b/howtos/howto10/include/howto10/frame/Frame.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Frame" frame class. diff --git a/howtos/howto10/include/howto10/frame/FrameCommon.h b/howtos/howto10/include/howto10/frame/FrameCommon.h index a9e6ca73e..52be00c87 100644 --- a/howtos/howto10/include/howto10/frame/FrameCommon.h +++ b/howtos/howto10/include/howto10/frame/FrameCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto10/include/howto10/input/AllMessages.h b/howtos/howto10/include/howto10/input/AllMessages.h index 9fd10df7d..2466b55b4 100644 --- a/howtos/howto10/include/howto10/input/AllMessages.h +++ b/howtos/howto10/include/howto10/input/AllMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the AllMessages messages bundle. diff --git a/howtos/howto10/include/howto10/input/ClientInputMessages.h b/howtos/howto10/include/howto10/input/ClientInputMessages.h index 18be6e593..868d73255 100644 --- a/howtos/howto10/include/howto10/input/ClientInputMessages.h +++ b/howtos/howto10/include/howto10/input/ClientInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ClientInputMessages messages bundle. diff --git a/howtos/howto10/include/howto10/input/ServerInputMessages.h b/howtos/howto10/include/howto10/input/ServerInputMessages.h index 5c0855b44..f313de534 100644 --- a/howtos/howto10/include/howto10/input/ServerInputMessages.h +++ b/howtos/howto10/include/howto10/input/ServerInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ServerInputMessages messages bundle. diff --git a/howtos/howto10/include/howto10/message/Msg1.h b/howtos/howto10/include/howto10/message/Msg1.h index 256f0ad88..5ff788275 100644 --- a/howtos/howto10/include/howto10/message/Msg1.h +++ b/howtos/howto10/include/howto10/message/Msg1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1" message and its fields. diff --git a/howtos/howto10/include/howto10/message/Msg1Common.h b/howtos/howto10/include/howto10/message/Msg1Common.h index e28480508..ea3b47cc9 100644 --- a/howtos/howto10/include/howto10/message/Msg1Common.h +++ b/howtos/howto10/include/howto10/message/Msg1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto10/include/howto10/message/Msg2.h b/howtos/howto10/include/howto10/message/Msg2.h index 714bcd4c3..fdffb64ac 100644 --- a/howtos/howto10/include/howto10/message/Msg2.h +++ b/howtos/howto10/include/howto10/message/Msg2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 2" message and its fields. diff --git a/howtos/howto10/include/howto10/message/Msg2Common.h b/howtos/howto10/include/howto10/message/Msg2Common.h index 4a77fb9ee..110a5ce6a 100644 --- a/howtos/howto10/include/howto10/message/Msg2Common.h +++ b/howtos/howto10/include/howto10/message/Msg2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto10/include/howto10/message/Msg3.h b/howtos/howto10/include/howto10/message/Msg3.h index 722c7b9f3..20d7035b6 100644 --- a/howtos/howto10/include/howto10/message/Msg3.h +++ b/howtos/howto10/include/howto10/message/Msg3.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 3" message and its fields. diff --git a/howtos/howto10/include/howto10/message/Msg3Common.h b/howtos/howto10/include/howto10/message/Msg3Common.h index f38a7c813..e45e142d7 100644 --- a/howtos/howto10/include/howto10/message/Msg3Common.h +++ b/howtos/howto10/include/howto10/message/Msg3Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto10/include/howto10/options/BareMetalDefaultOptions.h b/howtos/howto10/include/howto10/options/BareMetalDefaultOptions.h index fac3af572..9317cca9d 100644 --- a/howtos/howto10/include/howto10/options/BareMetalDefaultOptions.h +++ b/howtos/howto10/include/howto10/options/BareMetalDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol bare metal default options. diff --git a/howtos/howto10/include/howto10/options/ClientDefaultOptions.h b/howtos/howto10/include/howto10/options/ClientDefaultOptions.h index b6ed51e03..b7b3cfc09 100644 --- a/howtos/howto10/include/howto10/options/ClientDefaultOptions.h +++ b/howtos/howto10/include/howto10/options/ClientDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol client default options. diff --git a/howtos/howto10/include/howto10/options/DataViewDefaultOptions.h b/howtos/howto10/include/howto10/options/DataViewDefaultOptions.h index 67d608d58..6c0f2ecb9 100644 --- a/howtos/howto10/include/howto10/options/DataViewDefaultOptions.h +++ b/howtos/howto10/include/howto10/options/DataViewDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol data view default options. diff --git a/howtos/howto10/include/howto10/options/DefaultOptions.h b/howtos/howto10/include/howto10/options/DefaultOptions.h index 0b0d82ed4..77dec9447 100644 --- a/howtos/howto10/include/howto10/options/DefaultOptions.h +++ b/howtos/howto10/include/howto10/options/DefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol default options. diff --git a/howtos/howto10/include/howto10/options/ServerDefaultOptions.h b/howtos/howto10/include/howto10/options/ServerDefaultOptions.h index 57fa8e7af..1db11eeb6 100644 --- a/howtos/howto10/include/howto10/options/ServerDefaultOptions.h +++ b/howtos/howto10/include/howto10/options/ServerDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol server default options. diff --git a/howtos/howto2/include/howto2/Message.h b/howtos/howto2/include/howto2/Message.h index 1093da895..5dbd4774f 100644 --- a/howtos/howto2/include/howto2/Message.h +++ b/howtos/howto2/include/howto2/Message.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message" interface class. diff --git a/howtos/howto2/include/howto2/MsgId.h b/howtos/howto2/include/howto2/MsgId.h index ffef2cdbb..41c56723a 100644 --- a/howtos/howto2/include/howto2/MsgId.h +++ b/howtos/howto2/include/howto2/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of message ids enumeration. @@ -13,14 +13,14 @@ namespace howto2 /// @brief Message ids enumeration. enum MsgId : std::uint8_t { - MsgId_M1 = 1, ///< message id of Message 1 message. , - MsgId_M2 = 2, ///< message id of Message 2 message. , - MsgId_M3 = 3, ///< message id of Message 3 message. , - MsgId_M4 = 4, ///< message id of Message 4 message. , + MsgId_M1 = 1, ///< message id of Message 1 message. + MsgId_M2 = 2, ///< message id of Message 2 message. + MsgId_M3 = 3, ///< message id of Message 3 message. + MsgId_M4 = 4, ///< message id of Message 4 message. - // --- Extra values generated for convenience ---, - MsgId_FirstValue = 1, ///< First defined value., - MsgId_LastValue = 4, ///< Last defined value., + // --- Extra values generated for convenience --- + MsgId_FirstValue = 1, ///< First defined value. + MsgId_LastValue = 4, ///< Last defined value. MsgId_ValuesLimit = 5, ///< Upper limit for defined values. }; diff --git a/howtos/howto2/include/howto2/Version.h b/howtos/howto2/include/howto2/Version.h index cd519c205..45664277d 100644 --- a/howtos/howto2/include/howto2/Version.h +++ b/howtos/howto2/include/howto2/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains protocol version definition. @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion() } // namespace howto2 // Generated compile time check for minimal supported version of the COMMS library -static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(), +static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(), "The version of COMMS library is too old"); diff --git a/howtos/howto2/include/howto2/dispatch/DispatchClientInputMessage.h b/howtos/howto2/include/howto2/dispatch/DispatchClientInputMessage.h index 6e8d5c1a1..f0fa0c7d3 100644 --- a/howtos/howto2/include/howto2/dispatch/DispatchClientInputMessage.h +++ b/howtos/howto2/include/howto2/dispatch/DispatchClientInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/howtos/howto2/include/howto2/dispatch/DispatchMessage.h b/howtos/howto2/include/howto2/dispatch/DispatchMessage.h index 7f6dc879c..5abdaf239 100644 --- a/howtos/howto2/include/howto2/dispatch/DispatchMessage.h +++ b/howtos/howto2/include/howto2/dispatch/DispatchMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for all input messages. diff --git a/howtos/howto2/include/howto2/dispatch/DispatchServerInputMessage.h b/howtos/howto2/include/howto2/dispatch/DispatchServerInputMessage.h index b72dda921..486280573 100644 --- a/howtos/howto2/include/howto2/dispatch/DispatchServerInputMessage.h +++ b/howtos/howto2/include/howto2/dispatch/DispatchServerInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/howtos/howto2/include/howto2/field/FieldBase.h b/howtos/howto2/include/howto2/field/FieldBase.h index 4724b77aa..595d60732 100644 --- a/howtos/howto2/include/howto2/field/FieldBase.h +++ b/howtos/howto2/include/howto2/field/FieldBase.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of base class of all the fields. diff --git a/howtos/howto2/include/howto2/field/MsgId.h b/howtos/howto2/include/howto2/field/MsgId.h index 9f6342d3c..720293d3d 100644 --- a/howtos/howto2/include/howto2/field/MsgId.h +++ b/howtos/howto2/include/howto2/field/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "MsgId" field. diff --git a/howtos/howto2/include/howto2/field/MsgIdCommon.h b/howtos/howto2/include/howto2/field/MsgIdCommon.h index 0db6ba938..3c88873d9 100644 --- a/howtos/howto2/include/howto2/field/MsgIdCommon.h +++ b/howtos/howto2/include/howto2/field/MsgIdCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto2/include/howto2/frame/Frame.h b/howtos/howto2/include/howto2/frame/Frame.h index 3bbdb6d9b..ea0dcf989 100644 --- a/howtos/howto2/include/howto2/frame/Frame.h +++ b/howtos/howto2/include/howto2/frame/Frame.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Frame" frame class. diff --git a/howtos/howto2/include/howto2/frame/FrameCommon.h b/howtos/howto2/include/howto2/frame/FrameCommon.h index 6530d63ee..8c1d371ae 100644 --- a/howtos/howto2/include/howto2/frame/FrameCommon.h +++ b/howtos/howto2/include/howto2/frame/FrameCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto2/include/howto2/input/AllMessages.h b/howtos/howto2/include/howto2/input/AllMessages.h index 40708ed0b..22b3376e7 100644 --- a/howtos/howto2/include/howto2/input/AllMessages.h +++ b/howtos/howto2/include/howto2/input/AllMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the AllMessages messages bundle. diff --git a/howtos/howto2/include/howto2/input/ClientInputMessages.h b/howtos/howto2/include/howto2/input/ClientInputMessages.h index 43f8611de..f17e8641c 100644 --- a/howtos/howto2/include/howto2/input/ClientInputMessages.h +++ b/howtos/howto2/include/howto2/input/ClientInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ClientInputMessages messages bundle. diff --git a/howtos/howto2/include/howto2/input/ServerInputMessages.h b/howtos/howto2/include/howto2/input/ServerInputMessages.h index 16da6d9b9..749e46205 100644 --- a/howtos/howto2/include/howto2/input/ServerInputMessages.h +++ b/howtos/howto2/include/howto2/input/ServerInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ServerInputMessages messages bundle. diff --git a/howtos/howto2/include/howto2/message/Msg1.h b/howtos/howto2/include/howto2/message/Msg1.h index c80647894..126e15186 100644 --- a/howtos/howto2/include/howto2/message/Msg1.h +++ b/howtos/howto2/include/howto2/message/Msg1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1" message and its fields. diff --git a/howtos/howto2/include/howto2/message/Msg1Common.h b/howtos/howto2/include/howto2/message/Msg1Common.h index c1a80dc2f..e5bf18d60 100644 --- a/howtos/howto2/include/howto2/message/Msg1Common.h +++ b/howtos/howto2/include/howto2/message/Msg1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto2/include/howto2/message/Msg2.h b/howtos/howto2/include/howto2/message/Msg2.h index f1239985a..2663aef7b 100644 --- a/howtos/howto2/include/howto2/message/Msg2.h +++ b/howtos/howto2/include/howto2/message/Msg2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 2" message and its fields. diff --git a/howtos/howto2/include/howto2/message/Msg2Common.h b/howtos/howto2/include/howto2/message/Msg2Common.h index 09d6c9b46..57ea167a2 100644 --- a/howtos/howto2/include/howto2/message/Msg2Common.h +++ b/howtos/howto2/include/howto2/message/Msg2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto2/include/howto2/message/Msg3.h b/howtos/howto2/include/howto2/message/Msg3.h index 20865bd20..880802093 100644 --- a/howtos/howto2/include/howto2/message/Msg3.h +++ b/howtos/howto2/include/howto2/message/Msg3.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 3" message and its fields. diff --git a/howtos/howto2/include/howto2/message/Msg3Common.h b/howtos/howto2/include/howto2/message/Msg3Common.h index 3ffcf22ab..458d98c57 100644 --- a/howtos/howto2/include/howto2/message/Msg3Common.h +++ b/howtos/howto2/include/howto2/message/Msg3Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto2/include/howto2/message/Msg4.h b/howtos/howto2/include/howto2/message/Msg4.h index b67ee068b..3990e3630 100644 --- a/howtos/howto2/include/howto2/message/Msg4.h +++ b/howtos/howto2/include/howto2/message/Msg4.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 4" message and its fields. diff --git a/howtos/howto2/include/howto2/message/Msg4Common.h b/howtos/howto2/include/howto2/message/Msg4Common.h index 584983806..e7604109b 100644 --- a/howtos/howto2/include/howto2/message/Msg4Common.h +++ b/howtos/howto2/include/howto2/message/Msg4Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto2/include/howto2/options/BareMetalDefaultOptions.h b/howtos/howto2/include/howto2/options/BareMetalDefaultOptions.h index 96295fe2d..eb235296c 100644 --- a/howtos/howto2/include/howto2/options/BareMetalDefaultOptions.h +++ b/howtos/howto2/include/howto2/options/BareMetalDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol bare metal default options. diff --git a/howtos/howto2/include/howto2/options/ClientDefaultOptions.h b/howtos/howto2/include/howto2/options/ClientDefaultOptions.h index 5d94a568b..91cfdf9e1 100644 --- a/howtos/howto2/include/howto2/options/ClientDefaultOptions.h +++ b/howtos/howto2/include/howto2/options/ClientDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol client default options. diff --git a/howtos/howto2/include/howto2/options/DataViewDefaultOptions.h b/howtos/howto2/include/howto2/options/DataViewDefaultOptions.h index 8c6d6051f..3a56e3a53 100644 --- a/howtos/howto2/include/howto2/options/DataViewDefaultOptions.h +++ b/howtos/howto2/include/howto2/options/DataViewDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol data view default options. diff --git a/howtos/howto2/include/howto2/options/DefaultOptions.h b/howtos/howto2/include/howto2/options/DefaultOptions.h index c311a76d5..08b26ea84 100644 --- a/howtos/howto2/include/howto2/options/DefaultOptions.h +++ b/howtos/howto2/include/howto2/options/DefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol default options. diff --git a/howtos/howto2/include/howto2/options/ServerDefaultOptions.h b/howtos/howto2/include/howto2/options/ServerDefaultOptions.h index d543bbc5c..d6ad30b5c 100644 --- a/howtos/howto2/include/howto2/options/ServerDefaultOptions.h +++ b/howtos/howto2/include/howto2/options/ServerDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol server default options. diff --git a/howtos/howto3/include/howto3/Message.h b/howtos/howto3/include/howto3/Message.h index 9ff98201c..bd7136f36 100644 --- a/howtos/howto3/include/howto3/Message.h +++ b/howtos/howto3/include/howto3/Message.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message" interface class. diff --git a/howtos/howto3/include/howto3/MsgId.h b/howtos/howto3/include/howto3/MsgId.h index 4731ad5de..1518ebb1e 100644 --- a/howtos/howto3/include/howto3/MsgId.h +++ b/howtos/howto3/include/howto3/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of message ids enumeration. @@ -13,14 +13,14 @@ namespace howto3 /// @brief Message ids enumeration. enum MsgId : std::uint8_t { - MsgId_M1 = 1, ///< message id of Message 1 message. , - MsgId_M2 = 2, ///< message id of Message 2 message. , - MsgId_M3 = 3, ///< message id of Message 3 message. , - MsgId_M4 = 4, ///< message id of Message 4 message. , + MsgId_M1 = 1, ///< message id of Message 1 message. + MsgId_M2 = 2, ///< message id of Message 2 message. + MsgId_M3 = 3, ///< message id of Message 3 message. + MsgId_M4 = 4, ///< message id of Message 4 message. - // --- Extra values generated for convenience ---, - MsgId_FirstValue = 1, ///< First defined value., - MsgId_LastValue = 4, ///< Last defined value., + // --- Extra values generated for convenience --- + MsgId_FirstValue = 1, ///< First defined value. + MsgId_LastValue = 4, ///< Last defined value. MsgId_ValuesLimit = 5, ///< Upper limit for defined values. }; diff --git a/howtos/howto3/include/howto3/Version.h b/howtos/howto3/include/howto3/Version.h index a8edad36b..69a3aacd5 100644 --- a/howtos/howto3/include/howto3/Version.h +++ b/howtos/howto3/include/howto3/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains protocol version definition. @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion() } // namespace howto3 // Generated compile time check for minimal supported version of the COMMS library -static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(), +static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(), "The version of COMMS library is too old"); diff --git a/howtos/howto3/include/howto3/dispatch/DispatchClientInputMessage.h b/howtos/howto3/include/howto3/dispatch/DispatchClientInputMessage.h index 4f7657aa8..ff8df4e65 100644 --- a/howtos/howto3/include/howto3/dispatch/DispatchClientInputMessage.h +++ b/howtos/howto3/include/howto3/dispatch/DispatchClientInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/howtos/howto3/include/howto3/dispatch/DispatchMessage.h b/howtos/howto3/include/howto3/dispatch/DispatchMessage.h index 3d0649bce..e15cf49f2 100644 --- a/howtos/howto3/include/howto3/dispatch/DispatchMessage.h +++ b/howtos/howto3/include/howto3/dispatch/DispatchMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for all input messages. diff --git a/howtos/howto3/include/howto3/dispatch/DispatchServerInputMessage.h b/howtos/howto3/include/howto3/dispatch/DispatchServerInputMessage.h index 479274c21..6abe5c1ab 100644 --- a/howtos/howto3/include/howto3/dispatch/DispatchServerInputMessage.h +++ b/howtos/howto3/include/howto3/dispatch/DispatchServerInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/howtos/howto3/include/howto3/field/FieldBase.h b/howtos/howto3/include/howto3/field/FieldBase.h index 5968b9183..cf7073fb3 100644 --- a/howtos/howto3/include/howto3/field/FieldBase.h +++ b/howtos/howto3/include/howto3/field/FieldBase.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of base class of all the fields. diff --git a/howtos/howto3/include/howto3/field/MsgId.h b/howtos/howto3/include/howto3/field/MsgId.h index 5c0b97dae..1af60eb06 100644 --- a/howtos/howto3/include/howto3/field/MsgId.h +++ b/howtos/howto3/include/howto3/field/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "MsgId" field. diff --git a/howtos/howto3/include/howto3/field/MsgIdCommon.h b/howtos/howto3/include/howto3/field/MsgIdCommon.h index 652f8e63c..9a7879a31 100644 --- a/howtos/howto3/include/howto3/field/MsgIdCommon.h +++ b/howtos/howto3/include/howto3/field/MsgIdCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto3/include/howto3/frame/Frame.h b/howtos/howto3/include/howto3/frame/Frame.h index 7f2a3c441..b35b47a7d 100644 --- a/howtos/howto3/include/howto3/frame/Frame.h +++ b/howtos/howto3/include/howto3/frame/Frame.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Frame" frame class. diff --git a/howtos/howto3/include/howto3/input/AllMessages.h b/howtos/howto3/include/howto3/input/AllMessages.h index 3e26a6f94..f1aee9085 100644 --- a/howtos/howto3/include/howto3/input/AllMessages.h +++ b/howtos/howto3/include/howto3/input/AllMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the AllMessages messages bundle. diff --git a/howtos/howto3/include/howto3/input/ClientInputMessages.h b/howtos/howto3/include/howto3/input/ClientInputMessages.h index 5fc8e9c36..12d68c9f5 100644 --- a/howtos/howto3/include/howto3/input/ClientInputMessages.h +++ b/howtos/howto3/include/howto3/input/ClientInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ClientInputMessages messages bundle. diff --git a/howtos/howto3/include/howto3/input/ServerInputMessages.h b/howtos/howto3/include/howto3/input/ServerInputMessages.h index 4b3cc8f16..99a3e5dae 100644 --- a/howtos/howto3/include/howto3/input/ServerInputMessages.h +++ b/howtos/howto3/include/howto3/input/ServerInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ServerInputMessages messages bundle. diff --git a/howtos/howto3/include/howto3/message/Msg1.h b/howtos/howto3/include/howto3/message/Msg1.h index 5460d9eb7..631aef2eb 100644 --- a/howtos/howto3/include/howto3/message/Msg1.h +++ b/howtos/howto3/include/howto3/message/Msg1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1" message and its fields. diff --git a/howtos/howto3/include/howto3/message/Msg1Common.h b/howtos/howto3/include/howto3/message/Msg1Common.h index aa3e16143..37cdc38c6 100644 --- a/howtos/howto3/include/howto3/message/Msg1Common.h +++ b/howtos/howto3/include/howto3/message/Msg1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto3/include/howto3/message/Msg2.h b/howtos/howto3/include/howto3/message/Msg2.h index 6f165686c..d30444490 100644 --- a/howtos/howto3/include/howto3/message/Msg2.h +++ b/howtos/howto3/include/howto3/message/Msg2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 2" message and its fields. diff --git a/howtos/howto3/include/howto3/message/Msg2Common.h b/howtos/howto3/include/howto3/message/Msg2Common.h index 4757ed808..4da89939b 100644 --- a/howtos/howto3/include/howto3/message/Msg2Common.h +++ b/howtos/howto3/include/howto3/message/Msg2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto3/include/howto3/message/Msg3.h b/howtos/howto3/include/howto3/message/Msg3.h index 1ed3089d5..3efbad787 100644 --- a/howtos/howto3/include/howto3/message/Msg3.h +++ b/howtos/howto3/include/howto3/message/Msg3.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 3" message and its fields. diff --git a/howtos/howto3/include/howto3/message/Msg3Common.h b/howtos/howto3/include/howto3/message/Msg3Common.h index 1f70dd3c6..f25f1d016 100644 --- a/howtos/howto3/include/howto3/message/Msg3Common.h +++ b/howtos/howto3/include/howto3/message/Msg3Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto3/include/howto3/options/BareMetalDefaultOptions.h b/howtos/howto3/include/howto3/options/BareMetalDefaultOptions.h index 11983ee77..2213c01e9 100644 --- a/howtos/howto3/include/howto3/options/BareMetalDefaultOptions.h +++ b/howtos/howto3/include/howto3/options/BareMetalDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol bare metal default options. diff --git a/howtos/howto3/include/howto3/options/ClientDefaultOptions.h b/howtos/howto3/include/howto3/options/ClientDefaultOptions.h index 94a1d69a4..d0f3ef714 100644 --- a/howtos/howto3/include/howto3/options/ClientDefaultOptions.h +++ b/howtos/howto3/include/howto3/options/ClientDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol client default options. diff --git a/howtos/howto3/include/howto3/options/DataViewDefaultOptions.h b/howtos/howto3/include/howto3/options/DataViewDefaultOptions.h index 7bd6d4d67..1ac49bdb2 100644 --- a/howtos/howto3/include/howto3/options/DataViewDefaultOptions.h +++ b/howtos/howto3/include/howto3/options/DataViewDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol data view default options. diff --git a/howtos/howto3/include/howto3/options/DefaultOptions.h b/howtos/howto3/include/howto3/options/DefaultOptions.h index 0801b5e2d..c0682a2d1 100644 --- a/howtos/howto3/include/howto3/options/DefaultOptions.h +++ b/howtos/howto3/include/howto3/options/DefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol default options. diff --git a/howtos/howto3/include/howto3/options/ServerDefaultOptions.h b/howtos/howto3/include/howto3/options/ServerDefaultOptions.h index 0b13d15e9..3c77b308f 100644 --- a/howtos/howto3/include/howto3/options/ServerDefaultOptions.h +++ b/howtos/howto3/include/howto3/options/ServerDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol server default options. diff --git a/howtos/howto4/include/howto4/Message.h b/howtos/howto4/include/howto4/Message.h index e94d7f9a4..b91b6db18 100644 --- a/howtos/howto4/include/howto4/Message.h +++ b/howtos/howto4/include/howto4/Message.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message" interface class. diff --git a/howtos/howto4/include/howto4/MsgId.h b/howtos/howto4/include/howto4/MsgId.h index 9654cbd14..38927ae88 100644 --- a/howtos/howto4/include/howto4/MsgId.h +++ b/howtos/howto4/include/howto4/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of message ids enumeration. @@ -13,11 +13,11 @@ namespace howto4 /// @brief Message ids enumeration. enum MsgId : std::uint8_t { - MsgId_M0 = 0, ///< message id of Message message. , + MsgId_M0 = 0, ///< message id of Message message. - // --- Extra values generated for convenience ---, - MsgId_FirstValue = 0, ///< First defined value., - MsgId_LastValue = 0, ///< Last defined value., + // --- Extra values generated for convenience --- + MsgId_FirstValue = 0, ///< First defined value. + MsgId_LastValue = 0, ///< Last defined value. MsgId_ValuesLimit = 1, ///< Upper limit for defined values. }; diff --git a/howtos/howto4/include/howto4/Version.h b/howtos/howto4/include/howto4/Version.h index e0b81f474..aa4c9d5a5 100644 --- a/howtos/howto4/include/howto4/Version.h +++ b/howtos/howto4/include/howto4/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains protocol version definition. @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion() } // namespace howto4 // Generated compile time check for minimal supported version of the COMMS library -static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(), +static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(), "The version of COMMS library is too old"); diff --git a/howtos/howto4/include/howto4/dispatch/DispatchClientInputMessage.h b/howtos/howto4/include/howto4/dispatch/DispatchClientInputMessage.h index bbed4f2a3..79720147c 100644 --- a/howtos/howto4/include/howto4/dispatch/DispatchClientInputMessage.h +++ b/howtos/howto4/include/howto4/dispatch/DispatchClientInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/howtos/howto4/include/howto4/dispatch/DispatchMessage.h b/howtos/howto4/include/howto4/dispatch/DispatchMessage.h index 7eb95ff2c..6e68ddd07 100644 --- a/howtos/howto4/include/howto4/dispatch/DispatchMessage.h +++ b/howtos/howto4/include/howto4/dispatch/DispatchMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for all input messages. diff --git a/howtos/howto4/include/howto4/dispatch/DispatchServerInputMessage.h b/howtos/howto4/include/howto4/dispatch/DispatchServerInputMessage.h index 76359e4ca..dd74b1295 100644 --- a/howtos/howto4/include/howto4/dispatch/DispatchServerInputMessage.h +++ b/howtos/howto4/include/howto4/dispatch/DispatchServerInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/howtos/howto4/include/howto4/field/FieldBase.h b/howtos/howto4/include/howto4/field/FieldBase.h index cadce6585..fa8c98872 100644 --- a/howtos/howto4/include/howto4/field/FieldBase.h +++ b/howtos/howto4/include/howto4/field/FieldBase.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of base class of all the fields. diff --git a/howtos/howto4/include/howto4/field/TlvProp.h b/howtos/howto4/include/howto4/field/TlvProp.h index c08efeedc..d8742b8fe 100644 --- a/howtos/howto4/include/howto4/field/TlvProp.h +++ b/howtos/howto4/include/howto4/field/TlvProp.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "TlvProp" field. diff --git a/howtos/howto4/include/howto4/field/TlvPropCommon.h b/howtos/howto4/include/howto4/field/TlvPropCommon.h index 465d2542a..0e4ee151e 100644 --- a/howtos/howto4/include/howto4/field/TlvPropCommon.h +++ b/howtos/howto4/include/howto4/field/TlvPropCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto4/include/howto4/frame/Frame.h b/howtos/howto4/include/howto4/frame/Frame.h index 3a026df4b..edb6541dd 100644 --- a/howtos/howto4/include/howto4/frame/Frame.h +++ b/howtos/howto4/include/howto4/frame/Frame.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Frame" frame class. diff --git a/howtos/howto4/include/howto4/frame/FrameCommon.h b/howtos/howto4/include/howto4/frame/FrameCommon.h index 1dc3e43d0..7b7b93c0a 100644 --- a/howtos/howto4/include/howto4/frame/FrameCommon.h +++ b/howtos/howto4/include/howto4/frame/FrameCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto4/include/howto4/input/AllMessages.h b/howtos/howto4/include/howto4/input/AllMessages.h index 136b7e5a6..95bb587d6 100644 --- a/howtos/howto4/include/howto4/input/AllMessages.h +++ b/howtos/howto4/include/howto4/input/AllMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the AllMessages messages bundle. diff --git a/howtos/howto4/include/howto4/input/ClientInputMessages.h b/howtos/howto4/include/howto4/input/ClientInputMessages.h index 2d51a6b9e..aa31d01b9 100644 --- a/howtos/howto4/include/howto4/input/ClientInputMessages.h +++ b/howtos/howto4/include/howto4/input/ClientInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ClientInputMessages messages bundle. diff --git a/howtos/howto4/include/howto4/input/ServerInputMessages.h b/howtos/howto4/include/howto4/input/ServerInputMessages.h index e3ee50b73..92a7f5ce4 100644 --- a/howtos/howto4/include/howto4/input/ServerInputMessages.h +++ b/howtos/howto4/include/howto4/input/ServerInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ServerInputMessages messages bundle. diff --git a/howtos/howto4/include/howto4/message/Msg.h b/howtos/howto4/include/howto4/message/Msg.h index cbe1fc75a..a8096ce6a 100644 --- a/howtos/howto4/include/howto4/message/Msg.h +++ b/howtos/howto4/include/howto4/message/Msg.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message" message and its fields. diff --git a/howtos/howto4/include/howto4/message/MsgCommon.h b/howtos/howto4/include/howto4/message/MsgCommon.h index 14118f496..1ab529a15 100644 --- a/howtos/howto4/include/howto4/message/MsgCommon.h +++ b/howtos/howto4/include/howto4/message/MsgCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto4/include/howto4/options/BareMetalDefaultOptions.h b/howtos/howto4/include/howto4/options/BareMetalDefaultOptions.h index 142f829ee..6052028e6 100644 --- a/howtos/howto4/include/howto4/options/BareMetalDefaultOptions.h +++ b/howtos/howto4/include/howto4/options/BareMetalDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol bare metal default options. diff --git a/howtos/howto4/include/howto4/options/ClientDefaultOptions.h b/howtos/howto4/include/howto4/options/ClientDefaultOptions.h index 805cbbde7..6a1d4966b 100644 --- a/howtos/howto4/include/howto4/options/ClientDefaultOptions.h +++ b/howtos/howto4/include/howto4/options/ClientDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol client default options. diff --git a/howtos/howto4/include/howto4/options/DataViewDefaultOptions.h b/howtos/howto4/include/howto4/options/DataViewDefaultOptions.h index c8cf3a94d..29fad2321 100644 --- a/howtos/howto4/include/howto4/options/DataViewDefaultOptions.h +++ b/howtos/howto4/include/howto4/options/DataViewDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol data view default options. diff --git a/howtos/howto4/include/howto4/options/DefaultOptions.h b/howtos/howto4/include/howto4/options/DefaultOptions.h index d1a674bd0..26e02a9de 100644 --- a/howtos/howto4/include/howto4/options/DefaultOptions.h +++ b/howtos/howto4/include/howto4/options/DefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol default options. diff --git a/howtos/howto4/include/howto4/options/ServerDefaultOptions.h b/howtos/howto4/include/howto4/options/ServerDefaultOptions.h index ac9838f2b..e3136a25c 100644 --- a/howtos/howto4/include/howto4/options/ServerDefaultOptions.h +++ b/howtos/howto4/include/howto4/options/ServerDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol server default options. diff --git a/howtos/howto5/include/howto5/Interface.h b/howtos/howto5/include/howto5/Interface.h index 988c114d4..0839b1248 100644 --- a/howtos/howto5/include/howto5/Interface.h +++ b/howtos/howto5/include/howto5/Interface.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Interface" interface class. diff --git a/howtos/howto5/include/howto5/InterfaceCommon.h b/howtos/howto5/include/howto5/InterfaceCommon.h index 41bb4ba46..c75b31178 100644 --- a/howtos/howto5/include/howto5/InterfaceCommon.h +++ b/howtos/howto5/include/howto5/InterfaceCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto5/include/howto5/MsgId.h b/howtos/howto5/include/howto5/MsgId.h index de67ec27c..607c9300c 100644 --- a/howtos/howto5/include/howto5/MsgId.h +++ b/howtos/howto5/include/howto5/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of message ids enumeration. @@ -13,12 +13,12 @@ namespace howto5 /// @brief Message ids enumeration. enum MsgId : std::uint8_t { - MsgId_M1 = 1, ///< message id of Message 1 message. , - MsgId_M2 = 2, ///< message id of Message 2 message. , + MsgId_M1 = 1, ///< message id of Message 1 message. + MsgId_M2 = 2, ///< message id of Message 2 message. - // --- Extra values generated for convenience ---, - MsgId_FirstValue = 1, ///< First defined value., - MsgId_LastValue = 2, ///< Last defined value., + // --- Extra values generated for convenience --- + MsgId_FirstValue = 1, ///< First defined value. + MsgId_LastValue = 2, ///< Last defined value. MsgId_ValuesLimit = 3, ///< Upper limit for defined values. }; diff --git a/howtos/howto5/include/howto5/Version.h b/howtos/howto5/include/howto5/Version.h index 9214a0b6b..dfaf24a74 100644 --- a/howtos/howto5/include/howto5/Version.h +++ b/howtos/howto5/include/howto5/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains protocol version definition. @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion() } // namespace howto5 // Generated compile time check for minimal supported version of the COMMS library -static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(), +static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(), "The version of COMMS library is too old"); diff --git a/howtos/howto5/include/howto5/dispatch/DispatchClientInputMessage.h b/howtos/howto5/include/howto5/dispatch/DispatchClientInputMessage.h index ef5b35913..747031e19 100644 --- a/howtos/howto5/include/howto5/dispatch/DispatchClientInputMessage.h +++ b/howtos/howto5/include/howto5/dispatch/DispatchClientInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/howtos/howto5/include/howto5/dispatch/DispatchMessage.h b/howtos/howto5/include/howto5/dispatch/DispatchMessage.h index 79b802d51..f8947f308 100644 --- a/howtos/howto5/include/howto5/dispatch/DispatchMessage.h +++ b/howtos/howto5/include/howto5/dispatch/DispatchMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for all input messages. diff --git a/howtos/howto5/include/howto5/dispatch/DispatchServerInputMessage.h b/howtos/howto5/include/howto5/dispatch/DispatchServerInputMessage.h index d61239090..3911ce880 100644 --- a/howtos/howto5/include/howto5/dispatch/DispatchServerInputMessage.h +++ b/howtos/howto5/include/howto5/dispatch/DispatchServerInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/howtos/howto5/include/howto5/field/FieldBase.h b/howtos/howto5/include/howto5/field/FieldBase.h index 448d28ba9..bba27b35b 100644 --- a/howtos/howto5/include/howto5/field/FieldBase.h +++ b/howtos/howto5/include/howto5/field/FieldBase.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of base class of all the fields. diff --git a/howtos/howto5/include/howto5/field/InterfaceFlags.h b/howtos/howto5/include/howto5/field/InterfaceFlags.h index 5f2fa2fcd..95cb14056 100644 --- a/howtos/howto5/include/howto5/field/InterfaceFlags.h +++ b/howtos/howto5/include/howto5/field/InterfaceFlags.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "InterfaceFlags" field. diff --git a/howtos/howto5/include/howto5/field/InterfaceFlagsCommon.h b/howtos/howto5/include/howto5/field/InterfaceFlagsCommon.h index 0ec1484fe..e6f504672 100644 --- a/howtos/howto5/include/howto5/field/InterfaceFlagsCommon.h +++ b/howtos/howto5/include/howto5/field/InterfaceFlagsCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto5/include/howto5/field/MsgId.h b/howtos/howto5/include/howto5/field/MsgId.h index 723d0e7c4..62d5124a2 100644 --- a/howtos/howto5/include/howto5/field/MsgId.h +++ b/howtos/howto5/include/howto5/field/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "MsgId" field. diff --git a/howtos/howto5/include/howto5/field/MsgIdCommon.h b/howtos/howto5/include/howto5/field/MsgIdCommon.h index 5dc79f292..c4733fe1d 100644 --- a/howtos/howto5/include/howto5/field/MsgIdCommon.h +++ b/howtos/howto5/include/howto5/field/MsgIdCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto5/include/howto5/field/Version.h b/howtos/howto5/include/howto5/field/Version.h index 7da0887ef..76817bc9f 100644 --- a/howtos/howto5/include/howto5/field/Version.h +++ b/howtos/howto5/include/howto5/field/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Version" field. diff --git a/howtos/howto5/include/howto5/field/VersionCommon.h b/howtos/howto5/include/howto5/field/VersionCommon.h index 3c3ddcbe9..d80db7386 100644 --- a/howtos/howto5/include/howto5/field/VersionCommon.h +++ b/howtos/howto5/include/howto5/field/VersionCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto5/include/howto5/field/VersionWithFlags.h b/howtos/howto5/include/howto5/field/VersionWithFlags.h index ab226ab5b..abc1023f7 100644 --- a/howtos/howto5/include/howto5/field/VersionWithFlags.h +++ b/howtos/howto5/include/howto5/field/VersionWithFlags.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "VersionWithFlags" field. diff --git a/howtos/howto5/include/howto5/field/VersionWithFlagsCommon.h b/howtos/howto5/include/howto5/field/VersionWithFlagsCommon.h index 1ca50d3b2..7175cfb3c 100644 --- a/howtos/howto5/include/howto5/field/VersionWithFlagsCommon.h +++ b/howtos/howto5/include/howto5/field/VersionWithFlagsCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto5/include/howto5/frame/Frame.h b/howtos/howto5/include/howto5/frame/Frame.h index 39b45a866..56c9ab9c6 100644 --- a/howtos/howto5/include/howto5/frame/Frame.h +++ b/howtos/howto5/include/howto5/frame/Frame.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Frame" frame class. diff --git a/howtos/howto5/include/howto5/frame/FrameCommon.h b/howtos/howto5/include/howto5/frame/FrameCommon.h index c69c7d205..6cdc5f39c 100644 --- a/howtos/howto5/include/howto5/frame/FrameCommon.h +++ b/howtos/howto5/include/howto5/frame/FrameCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto5/include/howto5/input/AllMessages.h b/howtos/howto5/include/howto5/input/AllMessages.h index 3684daecf..f84f5f6a8 100644 --- a/howtos/howto5/include/howto5/input/AllMessages.h +++ b/howtos/howto5/include/howto5/input/AllMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the AllMessages messages bundle. diff --git a/howtos/howto5/include/howto5/input/ClientInputMessages.h b/howtos/howto5/include/howto5/input/ClientInputMessages.h index 4276675ce..88c98ec72 100644 --- a/howtos/howto5/include/howto5/input/ClientInputMessages.h +++ b/howtos/howto5/include/howto5/input/ClientInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ClientInputMessages messages bundle. diff --git a/howtos/howto5/include/howto5/input/ServerInputMessages.h b/howtos/howto5/include/howto5/input/ServerInputMessages.h index a9d729c98..34978434e 100644 --- a/howtos/howto5/include/howto5/input/ServerInputMessages.h +++ b/howtos/howto5/include/howto5/input/ServerInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ServerInputMessages messages bundle. diff --git a/howtos/howto5/include/howto5/message/Msg1.h b/howtos/howto5/include/howto5/message/Msg1.h index d96802f04..f0124850d 100644 --- a/howtos/howto5/include/howto5/message/Msg1.h +++ b/howtos/howto5/include/howto5/message/Msg1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1" message and its fields. diff --git a/howtos/howto5/include/howto5/message/Msg1Common.h b/howtos/howto5/include/howto5/message/Msg1Common.h index 8d309b827..f7abea7f5 100644 --- a/howtos/howto5/include/howto5/message/Msg1Common.h +++ b/howtos/howto5/include/howto5/message/Msg1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto5/include/howto5/message/Msg2.h b/howtos/howto5/include/howto5/message/Msg2.h index 32ce51896..7cbfaef94 100644 --- a/howtos/howto5/include/howto5/message/Msg2.h +++ b/howtos/howto5/include/howto5/message/Msg2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 2" message and its fields. diff --git a/howtos/howto5/include/howto5/message/Msg2Common.h b/howtos/howto5/include/howto5/message/Msg2Common.h index 8fd223d44..086ba5d66 100644 --- a/howtos/howto5/include/howto5/message/Msg2Common.h +++ b/howtos/howto5/include/howto5/message/Msg2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto5/include/howto5/options/BareMetalDefaultOptions.h b/howtos/howto5/include/howto5/options/BareMetalDefaultOptions.h index 839f30753..562f23185 100644 --- a/howtos/howto5/include/howto5/options/BareMetalDefaultOptions.h +++ b/howtos/howto5/include/howto5/options/BareMetalDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol bare metal default options. diff --git a/howtos/howto5/include/howto5/options/ClientDefaultOptions.h b/howtos/howto5/include/howto5/options/ClientDefaultOptions.h index f2e40a273..388891be2 100644 --- a/howtos/howto5/include/howto5/options/ClientDefaultOptions.h +++ b/howtos/howto5/include/howto5/options/ClientDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol client default options. diff --git a/howtos/howto5/include/howto5/options/DataViewDefaultOptions.h b/howtos/howto5/include/howto5/options/DataViewDefaultOptions.h index 3b6adde0e..b3dd2f2ae 100644 --- a/howtos/howto5/include/howto5/options/DataViewDefaultOptions.h +++ b/howtos/howto5/include/howto5/options/DataViewDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol data view default options. diff --git a/howtos/howto5/include/howto5/options/DefaultOptions.h b/howtos/howto5/include/howto5/options/DefaultOptions.h index 5bd102602..4b7494464 100644 --- a/howtos/howto5/include/howto5/options/DefaultOptions.h +++ b/howtos/howto5/include/howto5/options/DefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol default options. diff --git a/howtos/howto5/include/howto5/options/ServerDefaultOptions.h b/howtos/howto5/include/howto5/options/ServerDefaultOptions.h index 092530ae7..cc77324c8 100644 --- a/howtos/howto5/include/howto5/options/ServerDefaultOptions.h +++ b/howtos/howto5/include/howto5/options/ServerDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol server default options. diff --git a/howtos/howto6/include/howto6/Interface.h b/howtos/howto6/include/howto6/Interface.h index 4ca075991..053cee514 100644 --- a/howtos/howto6/include/howto6/Interface.h +++ b/howtos/howto6/include/howto6/Interface.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Interface" interface class. diff --git a/howtos/howto6/include/howto6/InterfaceCommon.h b/howtos/howto6/include/howto6/InterfaceCommon.h index 6695702a0..e8e14ca3e 100644 --- a/howtos/howto6/include/howto6/InterfaceCommon.h +++ b/howtos/howto6/include/howto6/InterfaceCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto6/include/howto6/MsgId.h b/howtos/howto6/include/howto6/MsgId.h index f7ffa745c..dad5f3050 100644 --- a/howtos/howto6/include/howto6/MsgId.h +++ b/howtos/howto6/include/howto6/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of message ids enumeration. @@ -13,13 +13,13 @@ namespace howto6 /// @brief Message ids enumeration. enum MsgId : std::uint8_t { - MsgId_M1 = 1, ///< message id of Message 1 message. , - MsgId_M2 = 2, ///< message id of Message 2 message. , - MsgId_M3 = 3, ///< message id of Message 3 message. , + MsgId_M1 = 1, ///< message id of Message 1 message. + MsgId_M2 = 2, ///< message id of Message 2 message. + MsgId_M3 = 3, ///< message id of Message 3 message. - // --- Extra values generated for convenience ---, - MsgId_FirstValue = 1, ///< First defined value., - MsgId_LastValue = 3, ///< Last defined value., + // --- Extra values generated for convenience --- + MsgId_FirstValue = 1, ///< First defined value. + MsgId_LastValue = 3, ///< Last defined value. MsgId_ValuesLimit = 4, ///< Upper limit for defined values. }; diff --git a/howtos/howto6/include/howto6/Version.h b/howtos/howto6/include/howto6/Version.h index 308e7ed93..f61393dc6 100644 --- a/howtos/howto6/include/howto6/Version.h +++ b/howtos/howto6/include/howto6/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains protocol version definition. @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion() } // namespace howto6 // Generated compile time check for minimal supported version of the COMMS library -static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(), +static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(), "The version of COMMS library is too old"); diff --git a/howtos/howto6/include/howto6/dispatch/DispatchClientInputMessage.h b/howtos/howto6/include/howto6/dispatch/DispatchClientInputMessage.h index 23d67e23c..8c1b76b8e 100644 --- a/howtos/howto6/include/howto6/dispatch/DispatchClientInputMessage.h +++ b/howtos/howto6/include/howto6/dispatch/DispatchClientInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/howtos/howto6/include/howto6/dispatch/DispatchMessage.h b/howtos/howto6/include/howto6/dispatch/DispatchMessage.h index f1bb49cb4..3a9fb8477 100644 --- a/howtos/howto6/include/howto6/dispatch/DispatchMessage.h +++ b/howtos/howto6/include/howto6/dispatch/DispatchMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for all input messages. diff --git a/howtos/howto6/include/howto6/dispatch/DispatchServerInputMessage.h b/howtos/howto6/include/howto6/dispatch/DispatchServerInputMessage.h index 1ec1e1555..95cbf4501 100644 --- a/howtos/howto6/include/howto6/dispatch/DispatchServerInputMessage.h +++ b/howtos/howto6/include/howto6/dispatch/DispatchServerInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/howtos/howto6/include/howto6/field/ChecksumType.h b/howtos/howto6/include/howto6/field/ChecksumType.h index 3864327ef..b1608e541 100644 --- a/howtos/howto6/include/howto6/field/ChecksumType.h +++ b/howtos/howto6/include/howto6/field/ChecksumType.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "ChecksumType" field. diff --git a/howtos/howto6/include/howto6/field/ChecksumTypeCommon.h b/howtos/howto6/include/howto6/field/ChecksumTypeCommon.h index 5f8c76233..8310da710 100644 --- a/howtos/howto6/include/howto6/field/ChecksumTypeCommon.h +++ b/howtos/howto6/include/howto6/field/ChecksumTypeCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto6/include/howto6/field/FieldBase.h b/howtos/howto6/include/howto6/field/FieldBase.h index 9053276ea..906dc819f 100644 --- a/howtos/howto6/include/howto6/field/FieldBase.h +++ b/howtos/howto6/include/howto6/field/FieldBase.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of base class of all the fields. diff --git a/howtos/howto6/include/howto6/field/MsgId.h b/howtos/howto6/include/howto6/field/MsgId.h index 3db9a88af..d435d5e25 100644 --- a/howtos/howto6/include/howto6/field/MsgId.h +++ b/howtos/howto6/include/howto6/field/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "MsgId" field. diff --git a/howtos/howto6/include/howto6/field/MsgIdCommon.h b/howtos/howto6/include/howto6/field/MsgIdCommon.h index cb2f1bffb..b70a63004 100644 --- a/howtos/howto6/include/howto6/field/MsgIdCommon.h +++ b/howtos/howto6/include/howto6/field/MsgIdCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto6/include/howto6/frame/Frame.h b/howtos/howto6/include/howto6/frame/Frame.h index 961c4225f..d2baf5898 100644 --- a/howtos/howto6/include/howto6/frame/Frame.h +++ b/howtos/howto6/include/howto6/frame/Frame.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Frame" frame class. diff --git a/howtos/howto6/include/howto6/frame/FrameCommon.h b/howtos/howto6/include/howto6/frame/FrameCommon.h index a63aab485..3ad0c773f 100644 --- a/howtos/howto6/include/howto6/frame/FrameCommon.h +++ b/howtos/howto6/include/howto6/frame/FrameCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto6/include/howto6/input/AllMessages.h b/howtos/howto6/include/howto6/input/AllMessages.h index e9a1ed249..edb3eb239 100644 --- a/howtos/howto6/include/howto6/input/AllMessages.h +++ b/howtos/howto6/include/howto6/input/AllMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the AllMessages messages bundle. diff --git a/howtos/howto6/include/howto6/input/ClientInputMessages.h b/howtos/howto6/include/howto6/input/ClientInputMessages.h index dfd472c58..571a18aba 100644 --- a/howtos/howto6/include/howto6/input/ClientInputMessages.h +++ b/howtos/howto6/include/howto6/input/ClientInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ClientInputMessages messages bundle. diff --git a/howtos/howto6/include/howto6/input/ServerInputMessages.h b/howtos/howto6/include/howto6/input/ServerInputMessages.h index 0fce657a7..7d199c6e0 100644 --- a/howtos/howto6/include/howto6/input/ServerInputMessages.h +++ b/howtos/howto6/include/howto6/input/ServerInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ServerInputMessages messages bundle. diff --git a/howtos/howto6/include/howto6/message/Msg1.h b/howtos/howto6/include/howto6/message/Msg1.h index ce07aa950..95f314c3c 100644 --- a/howtos/howto6/include/howto6/message/Msg1.h +++ b/howtos/howto6/include/howto6/message/Msg1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1" message and its fields. diff --git a/howtos/howto6/include/howto6/message/Msg1Common.h b/howtos/howto6/include/howto6/message/Msg1Common.h index 9469fa2ed..cdb18d07f 100644 --- a/howtos/howto6/include/howto6/message/Msg1Common.h +++ b/howtos/howto6/include/howto6/message/Msg1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto6/include/howto6/message/Msg2.h b/howtos/howto6/include/howto6/message/Msg2.h index 450abf8fd..e980bd311 100644 --- a/howtos/howto6/include/howto6/message/Msg2.h +++ b/howtos/howto6/include/howto6/message/Msg2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 2" message and its fields. diff --git a/howtos/howto6/include/howto6/message/Msg2Common.h b/howtos/howto6/include/howto6/message/Msg2Common.h index 138f3fa5c..d51f0bce2 100644 --- a/howtos/howto6/include/howto6/message/Msg2Common.h +++ b/howtos/howto6/include/howto6/message/Msg2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto6/include/howto6/message/Msg3.h b/howtos/howto6/include/howto6/message/Msg3.h index bef31a4c7..2c4985edf 100644 --- a/howtos/howto6/include/howto6/message/Msg3.h +++ b/howtos/howto6/include/howto6/message/Msg3.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 3" message and its fields. diff --git a/howtos/howto6/include/howto6/message/Msg3Common.h b/howtos/howto6/include/howto6/message/Msg3Common.h index 4170f0d7b..da113941f 100644 --- a/howtos/howto6/include/howto6/message/Msg3Common.h +++ b/howtos/howto6/include/howto6/message/Msg3Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto6/include/howto6/options/BareMetalDefaultOptions.h b/howtos/howto6/include/howto6/options/BareMetalDefaultOptions.h index a93d5ace2..877296f2f 100644 --- a/howtos/howto6/include/howto6/options/BareMetalDefaultOptions.h +++ b/howtos/howto6/include/howto6/options/BareMetalDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol bare metal default options. diff --git a/howtos/howto6/include/howto6/options/ClientDefaultOptions.h b/howtos/howto6/include/howto6/options/ClientDefaultOptions.h index 9514f12af..cc1ae01a9 100644 --- a/howtos/howto6/include/howto6/options/ClientDefaultOptions.h +++ b/howtos/howto6/include/howto6/options/ClientDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol client default options. diff --git a/howtos/howto6/include/howto6/options/DataViewDefaultOptions.h b/howtos/howto6/include/howto6/options/DataViewDefaultOptions.h index 6c4da550e..955cbb786 100644 --- a/howtos/howto6/include/howto6/options/DataViewDefaultOptions.h +++ b/howtos/howto6/include/howto6/options/DataViewDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol data view default options. diff --git a/howtos/howto6/include/howto6/options/DefaultOptions.h b/howtos/howto6/include/howto6/options/DefaultOptions.h index bb431b834..c942ee980 100644 --- a/howtos/howto6/include/howto6/options/DefaultOptions.h +++ b/howtos/howto6/include/howto6/options/DefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol default options. diff --git a/howtos/howto6/include/howto6/options/ServerDefaultOptions.h b/howtos/howto6/include/howto6/options/ServerDefaultOptions.h index 2f7b49250..8cb0991a4 100644 --- a/howtos/howto6/include/howto6/options/ServerDefaultOptions.h +++ b/howtos/howto6/include/howto6/options/ServerDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol server default options. diff --git a/howtos/howto7/include/howto7/Message.h b/howtos/howto7/include/howto7/Message.h index 599c9ab59..319ba2df9 100644 --- a/howtos/howto7/include/howto7/Message.h +++ b/howtos/howto7/include/howto7/Message.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message" interface class. diff --git a/howtos/howto7/include/howto7/MsgId.h b/howtos/howto7/include/howto7/MsgId.h index e2c274f4a..10f15fe0b 100644 --- a/howtos/howto7/include/howto7/MsgId.h +++ b/howtos/howto7/include/howto7/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of message ids enumeration. @@ -13,13 +13,13 @@ namespace howto7 /// @brief Message ids enumeration. enum MsgId : std::uint8_t { - MsgId_M1 = 1, ///< message id of Message 1 message. , - MsgId_M2 = 2, ///< message id of Message 2 message. , - MsgId_M3 = 3, ///< message id of Message 3 message. , + MsgId_M1 = 1, ///< message id of Message 1 message. + MsgId_M2 = 2, ///< message id of Message 2 message. + MsgId_M3 = 3, ///< message id of Message 3 message. - // --- Extra values generated for convenience ---, - MsgId_FirstValue = 1, ///< First defined value., - MsgId_LastValue = 3, ///< Last defined value., + // --- Extra values generated for convenience --- + MsgId_FirstValue = 1, ///< First defined value. + MsgId_LastValue = 3, ///< Last defined value. MsgId_ValuesLimit = 4, ///< Upper limit for defined values. }; diff --git a/howtos/howto7/include/howto7/Version.h b/howtos/howto7/include/howto7/Version.h index 9a132e186..4d62d185b 100644 --- a/howtos/howto7/include/howto7/Version.h +++ b/howtos/howto7/include/howto7/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains protocol version definition. @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion() } // namespace howto7 // Generated compile time check for minimal supported version of the COMMS library -static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(), +static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(), "The version of COMMS library is too old"); diff --git a/howtos/howto7/include/howto7/dispatch/DispatchClientInputMessage.h b/howtos/howto7/include/howto7/dispatch/DispatchClientInputMessage.h index a87cca143..53a477bbd 100644 --- a/howtos/howto7/include/howto7/dispatch/DispatchClientInputMessage.h +++ b/howtos/howto7/include/howto7/dispatch/DispatchClientInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/howtos/howto7/include/howto7/dispatch/DispatchMessage.h b/howtos/howto7/include/howto7/dispatch/DispatchMessage.h index 48b850472..14518b4b2 100644 --- a/howtos/howto7/include/howto7/dispatch/DispatchMessage.h +++ b/howtos/howto7/include/howto7/dispatch/DispatchMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for all input messages. diff --git a/howtos/howto7/include/howto7/dispatch/DispatchServerInputMessage.h b/howtos/howto7/include/howto7/dispatch/DispatchServerInputMessage.h index 1b144fdca..54e934592 100644 --- a/howtos/howto7/include/howto7/dispatch/DispatchServerInputMessage.h +++ b/howtos/howto7/include/howto7/dispatch/DispatchServerInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/howtos/howto7/include/howto7/field/FieldBase.h b/howtos/howto7/include/howto7/field/FieldBase.h index d4bee8600..a99114d1d 100644 --- a/howtos/howto7/include/howto7/field/FieldBase.h +++ b/howtos/howto7/include/howto7/field/FieldBase.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of base class of all the fields. diff --git a/howtos/howto7/include/howto7/field/MsgId.h b/howtos/howto7/include/howto7/field/MsgId.h index 510759c7d..d1f504a12 100644 --- a/howtos/howto7/include/howto7/field/MsgId.h +++ b/howtos/howto7/include/howto7/field/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "MsgId" field. diff --git a/howtos/howto7/include/howto7/field/MsgIdCommon.h b/howtos/howto7/include/howto7/field/MsgIdCommon.h index 90211bd7b..d58ba52e9 100644 --- a/howtos/howto7/include/howto7/field/MsgIdCommon.h +++ b/howtos/howto7/include/howto7/field/MsgIdCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto7/include/howto7/frame/Frame.h b/howtos/howto7/include/howto7/frame/Frame.h index d816be5d7..db3f073e3 100644 --- a/howtos/howto7/include/howto7/frame/Frame.h +++ b/howtos/howto7/include/howto7/frame/Frame.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Frame" frame class. diff --git a/howtos/howto7/include/howto7/frame/FrameCommon.h b/howtos/howto7/include/howto7/frame/FrameCommon.h index 9ef00f0d5..76ba0f6de 100644 --- a/howtos/howto7/include/howto7/frame/FrameCommon.h +++ b/howtos/howto7/include/howto7/frame/FrameCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto7/include/howto7/input/AllMessages.h b/howtos/howto7/include/howto7/input/AllMessages.h index 93dc2e71e..7088c95c5 100644 --- a/howtos/howto7/include/howto7/input/AllMessages.h +++ b/howtos/howto7/include/howto7/input/AllMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the AllMessages messages bundle. diff --git a/howtos/howto7/include/howto7/input/ClientInputMessages.h b/howtos/howto7/include/howto7/input/ClientInputMessages.h index 12b834a7c..628c5f209 100644 --- a/howtos/howto7/include/howto7/input/ClientInputMessages.h +++ b/howtos/howto7/include/howto7/input/ClientInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ClientInputMessages messages bundle. diff --git a/howtos/howto7/include/howto7/input/ServerInputMessages.h b/howtos/howto7/include/howto7/input/ServerInputMessages.h index 378e5c1b9..b39cf4bf9 100644 --- a/howtos/howto7/include/howto7/input/ServerInputMessages.h +++ b/howtos/howto7/include/howto7/input/ServerInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ServerInputMessages messages bundle. diff --git a/howtos/howto7/include/howto7/message/Msg1.h b/howtos/howto7/include/howto7/message/Msg1.h index 848347405..8d856f297 100644 --- a/howtos/howto7/include/howto7/message/Msg1.h +++ b/howtos/howto7/include/howto7/message/Msg1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1" message and its fields. diff --git a/howtos/howto7/include/howto7/message/Msg1Common.h b/howtos/howto7/include/howto7/message/Msg1Common.h index ab734314f..f5593b98e 100644 --- a/howtos/howto7/include/howto7/message/Msg1Common.h +++ b/howtos/howto7/include/howto7/message/Msg1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto7/include/howto7/message/Msg2.h b/howtos/howto7/include/howto7/message/Msg2.h index 157504083..669f78350 100644 --- a/howtos/howto7/include/howto7/message/Msg2.h +++ b/howtos/howto7/include/howto7/message/Msg2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 2" message and its fields. diff --git a/howtos/howto7/include/howto7/message/Msg2Common.h b/howtos/howto7/include/howto7/message/Msg2Common.h index 6acf6b44d..81ef09fdf 100644 --- a/howtos/howto7/include/howto7/message/Msg2Common.h +++ b/howtos/howto7/include/howto7/message/Msg2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto7/include/howto7/message/Msg3.h b/howtos/howto7/include/howto7/message/Msg3.h index b0125dd1b..53c0b1cfe 100644 --- a/howtos/howto7/include/howto7/message/Msg3.h +++ b/howtos/howto7/include/howto7/message/Msg3.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 3" message and its fields. diff --git a/howtos/howto7/include/howto7/message/Msg3Common.h b/howtos/howto7/include/howto7/message/Msg3Common.h index c7daa3563..c3219c9e8 100644 --- a/howtos/howto7/include/howto7/message/Msg3Common.h +++ b/howtos/howto7/include/howto7/message/Msg3Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto7/include/howto7/options/BareMetalDefaultOptions.h b/howtos/howto7/include/howto7/options/BareMetalDefaultOptions.h index da595a49a..75eca1ddc 100644 --- a/howtos/howto7/include/howto7/options/BareMetalDefaultOptions.h +++ b/howtos/howto7/include/howto7/options/BareMetalDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol bare metal default options. diff --git a/howtos/howto7/include/howto7/options/ClientDefaultOptions.h b/howtos/howto7/include/howto7/options/ClientDefaultOptions.h index ef157df13..63353f58c 100644 --- a/howtos/howto7/include/howto7/options/ClientDefaultOptions.h +++ b/howtos/howto7/include/howto7/options/ClientDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol client default options. diff --git a/howtos/howto7/include/howto7/options/DataViewDefaultOptions.h b/howtos/howto7/include/howto7/options/DataViewDefaultOptions.h index d01f15606..99266edad 100644 --- a/howtos/howto7/include/howto7/options/DataViewDefaultOptions.h +++ b/howtos/howto7/include/howto7/options/DataViewDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol data view default options. diff --git a/howtos/howto7/include/howto7/options/DefaultOptions.h b/howtos/howto7/include/howto7/options/DefaultOptions.h index 025d50f03..4eb16f75a 100644 --- a/howtos/howto7/include/howto7/options/DefaultOptions.h +++ b/howtos/howto7/include/howto7/options/DefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol default options. diff --git a/howtos/howto7/include/howto7/options/ServerDefaultOptions.h b/howtos/howto7/include/howto7/options/ServerDefaultOptions.h index 5926939ae..03c827b49 100644 --- a/howtos/howto7/include/howto7/options/ServerDefaultOptions.h +++ b/howtos/howto7/include/howto7/options/ServerDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol server default options. diff --git a/howtos/howto8/include/howto8/Interface.h b/howtos/howto8/include/howto8/Interface.h index 16e5f8a96..31cec6c47 100644 --- a/howtos/howto8/include/howto8/Interface.h +++ b/howtos/howto8/include/howto8/Interface.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Interface" interface class. diff --git a/howtos/howto8/include/howto8/InterfaceCommon.h b/howtos/howto8/include/howto8/InterfaceCommon.h index eae97604f..93f0b14e9 100644 --- a/howtos/howto8/include/howto8/InterfaceCommon.h +++ b/howtos/howto8/include/howto8/InterfaceCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto8/include/howto8/MsgId.h b/howtos/howto8/include/howto8/MsgId.h index 46ba39b65..34f5b9534 100644 --- a/howtos/howto8/include/howto8/MsgId.h +++ b/howtos/howto8/include/howto8/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of message ids enumeration. @@ -13,12 +13,12 @@ namespace howto8 /// @brief Message ids enumeration. enum MsgId : std::uint8_t { - MsgId_M1 = 1, ///< message id of Message 1 message. , - MsgId_M2 = 2, ///< message id of Message 2 message. , + MsgId_M1 = 1, ///< message id of Message 1 message. + MsgId_M2 = 2, ///< message id of Message 2 message. - // --- Extra values generated for convenience ---, - MsgId_FirstValue = 1, ///< First defined value., - MsgId_LastValue = 2, ///< Last defined value., + // --- Extra values generated for convenience --- + MsgId_FirstValue = 1, ///< First defined value. + MsgId_LastValue = 2, ///< Last defined value. MsgId_ValuesLimit = 3, ///< Upper limit for defined values. }; diff --git a/howtos/howto8/include/howto8/Version.h b/howtos/howto8/include/howto8/Version.h index d54f57459..337fa7f9f 100644 --- a/howtos/howto8/include/howto8/Version.h +++ b/howtos/howto8/include/howto8/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains protocol version definition. @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion() } // namespace howto8 // Generated compile time check for minimal supported version of the COMMS library -static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(), +static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(), "The version of COMMS library is too old"); diff --git a/howtos/howto8/include/howto8/dispatch/DispatchClientInputMessage.h b/howtos/howto8/include/howto8/dispatch/DispatchClientInputMessage.h index b77218b5d..7f348584c 100644 --- a/howtos/howto8/include/howto8/dispatch/DispatchClientInputMessage.h +++ b/howtos/howto8/include/howto8/dispatch/DispatchClientInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/howtos/howto8/include/howto8/dispatch/DispatchMessage.h b/howtos/howto8/include/howto8/dispatch/DispatchMessage.h index 2673f3cd6..df43e99ec 100644 --- a/howtos/howto8/include/howto8/dispatch/DispatchMessage.h +++ b/howtos/howto8/include/howto8/dispatch/DispatchMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for all input messages. diff --git a/howtos/howto8/include/howto8/dispatch/DispatchServerInputMessage.h b/howtos/howto8/include/howto8/dispatch/DispatchServerInputMessage.h index eb1b73a0c..d60f1fc0b 100644 --- a/howtos/howto8/include/howto8/dispatch/DispatchServerInputMessage.h +++ b/howtos/howto8/include/howto8/dispatch/DispatchServerInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/howtos/howto8/include/howto8/field/FieldBase.h b/howtos/howto8/include/howto8/field/FieldBase.h index 2941e5617..7afb51399 100644 --- a/howtos/howto8/include/howto8/field/FieldBase.h +++ b/howtos/howto8/include/howto8/field/FieldBase.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of base class of all the fields. diff --git a/howtos/howto8/include/howto8/field/Flags.h b/howtos/howto8/include/howto8/field/Flags.h index 10ab65a4e..6c8d57603 100644 --- a/howtos/howto8/include/howto8/field/Flags.h +++ b/howtos/howto8/include/howto8/field/Flags.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Flags" field. diff --git a/howtos/howto8/include/howto8/field/FlagsCommon.h b/howtos/howto8/include/howto8/field/FlagsCommon.h index b04790b9a..72da72df1 100644 --- a/howtos/howto8/include/howto8/field/FlagsCommon.h +++ b/howtos/howto8/include/howto8/field/FlagsCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto8/include/howto8/field/MsgId.h b/howtos/howto8/include/howto8/field/MsgId.h index 1a96ecd6f..dd82ebaf1 100644 --- a/howtos/howto8/include/howto8/field/MsgId.h +++ b/howtos/howto8/include/howto8/field/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "MsgId" field. diff --git a/howtos/howto8/include/howto8/field/MsgIdCommon.h b/howtos/howto8/include/howto8/field/MsgIdCommon.h index ef0489de4..43886d030 100644 --- a/howtos/howto8/include/howto8/field/MsgIdCommon.h +++ b/howtos/howto8/include/howto8/field/MsgIdCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto8/include/howto8/frame/Frame.h b/howtos/howto8/include/howto8/frame/Frame.h index 47a51337d..a69328474 100644 --- a/howtos/howto8/include/howto8/frame/Frame.h +++ b/howtos/howto8/include/howto8/frame/Frame.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Frame" frame class. diff --git a/howtos/howto8/include/howto8/frame/FrameCommon.h b/howtos/howto8/include/howto8/frame/FrameCommon.h index bc2fb9e72..e4218ed29 100644 --- a/howtos/howto8/include/howto8/frame/FrameCommon.h +++ b/howtos/howto8/include/howto8/frame/FrameCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto8/include/howto8/input/AllMessages.h b/howtos/howto8/include/howto8/input/AllMessages.h index 90a89da23..53e97f5da 100644 --- a/howtos/howto8/include/howto8/input/AllMessages.h +++ b/howtos/howto8/include/howto8/input/AllMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the AllMessages messages bundle. diff --git a/howtos/howto8/include/howto8/input/ClientInputMessages.h b/howtos/howto8/include/howto8/input/ClientInputMessages.h index 74303c6df..24bd88dd3 100644 --- a/howtos/howto8/include/howto8/input/ClientInputMessages.h +++ b/howtos/howto8/include/howto8/input/ClientInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ClientInputMessages messages bundle. diff --git a/howtos/howto8/include/howto8/input/ServerInputMessages.h b/howtos/howto8/include/howto8/input/ServerInputMessages.h index f7bd22695..04019d629 100644 --- a/howtos/howto8/include/howto8/input/ServerInputMessages.h +++ b/howtos/howto8/include/howto8/input/ServerInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ServerInputMessages messages bundle. diff --git a/howtos/howto8/include/howto8/message/Msg1.h b/howtos/howto8/include/howto8/message/Msg1.h index db960ef63..f8ba75da7 100644 --- a/howtos/howto8/include/howto8/message/Msg1.h +++ b/howtos/howto8/include/howto8/message/Msg1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1" message and its fields. diff --git a/howtos/howto8/include/howto8/message/Msg1Common.h b/howtos/howto8/include/howto8/message/Msg1Common.h index 90acd71e9..e769c1994 100644 --- a/howtos/howto8/include/howto8/message/Msg1Common.h +++ b/howtos/howto8/include/howto8/message/Msg1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto8/include/howto8/message/Msg2.h b/howtos/howto8/include/howto8/message/Msg2.h index df0309557..de7442c8a 100644 --- a/howtos/howto8/include/howto8/message/Msg2.h +++ b/howtos/howto8/include/howto8/message/Msg2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 2" message and its fields. diff --git a/howtos/howto8/include/howto8/message/Msg2Common.h b/howtos/howto8/include/howto8/message/Msg2Common.h index 6ff9666eb..cb6daf31c 100644 --- a/howtos/howto8/include/howto8/message/Msg2Common.h +++ b/howtos/howto8/include/howto8/message/Msg2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto8/include/howto8/options/BareMetalDefaultOptions.h b/howtos/howto8/include/howto8/options/BareMetalDefaultOptions.h index 1c9da3d3a..948c67bf1 100644 --- a/howtos/howto8/include/howto8/options/BareMetalDefaultOptions.h +++ b/howtos/howto8/include/howto8/options/BareMetalDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol bare metal default options. diff --git a/howtos/howto8/include/howto8/options/ClientDefaultOptions.h b/howtos/howto8/include/howto8/options/ClientDefaultOptions.h index ad5d177df..995f85f02 100644 --- a/howtos/howto8/include/howto8/options/ClientDefaultOptions.h +++ b/howtos/howto8/include/howto8/options/ClientDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol client default options. diff --git a/howtos/howto8/include/howto8/options/DataViewDefaultOptions.h b/howtos/howto8/include/howto8/options/DataViewDefaultOptions.h index 36e2d8bc3..577066649 100644 --- a/howtos/howto8/include/howto8/options/DataViewDefaultOptions.h +++ b/howtos/howto8/include/howto8/options/DataViewDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol data view default options. diff --git a/howtos/howto8/include/howto8/options/DefaultOptions.h b/howtos/howto8/include/howto8/options/DefaultOptions.h index f9c57b219..048ae453b 100644 --- a/howtos/howto8/include/howto8/options/DefaultOptions.h +++ b/howtos/howto8/include/howto8/options/DefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol default options. diff --git a/howtos/howto8/include/howto8/options/ServerDefaultOptions.h b/howtos/howto8/include/howto8/options/ServerDefaultOptions.h index 74a2dfbe7..8aa80de90 100644 --- a/howtos/howto8/include/howto8/options/ServerDefaultOptions.h +++ b/howtos/howto8/include/howto8/options/ServerDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol server default options. diff --git a/howtos/howto9/include/howto9/Message.h b/howtos/howto9/include/howto9/Message.h index 95bfda5ad..6db69c4ee 100644 --- a/howtos/howto9/include/howto9/Message.h +++ b/howtos/howto9/include/howto9/Message.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message" interface class. diff --git a/howtos/howto9/include/howto9/MsgId.h b/howtos/howto9/include/howto9/MsgId.h index 65b0cfb00..4019b54b1 100644 --- a/howtos/howto9/include/howto9/MsgId.h +++ b/howtos/howto9/include/howto9/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of message ids enumeration. @@ -13,13 +13,13 @@ namespace howto9 /// @brief Message ids enumeration. enum MsgId : std::uint8_t { - MsgId_M1 = 1, ///< message id of Message 1 message. , - MsgId_M2 = 2, ///< message id of Message 2 message. , - MsgId_M3 = 3, ///< message id of Message 3 message. , + MsgId_M1 = 1, ///< message id of Message 1 message. + MsgId_M2 = 2, ///< message id of Message 2 message. + MsgId_M3 = 3, ///< message id of Message 3 message. - // --- Extra values generated for convenience ---, - MsgId_FirstValue = 1, ///< First defined value., - MsgId_LastValue = 3, ///< Last defined value., + // --- Extra values generated for convenience --- + MsgId_FirstValue = 1, ///< First defined value. + MsgId_LastValue = 3, ///< Last defined value. MsgId_ValuesLimit = 4, ///< Upper limit for defined values. }; diff --git a/howtos/howto9/include/howto9/Version.h b/howtos/howto9/include/howto9/Version.h index 923f8dd71..0ba8c955f 100644 --- a/howtos/howto9/include/howto9/Version.h +++ b/howtos/howto9/include/howto9/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains protocol version definition. @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion() } // namespace howto9 // Generated compile time check for minimal supported version of the COMMS library -static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(), +static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(), "The version of COMMS library is too old"); diff --git a/howtos/howto9/include/howto9/dispatch/DispatchClientInputMessage.h b/howtos/howto9/include/howto9/dispatch/DispatchClientInputMessage.h index 85a068551..2dfdbc0ac 100644 --- a/howtos/howto9/include/howto9/dispatch/DispatchClientInputMessage.h +++ b/howtos/howto9/include/howto9/dispatch/DispatchClientInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/howtos/howto9/include/howto9/dispatch/DispatchMessage.h b/howtos/howto9/include/howto9/dispatch/DispatchMessage.h index 81828ced9..6489c5485 100644 --- a/howtos/howto9/include/howto9/dispatch/DispatchMessage.h +++ b/howtos/howto9/include/howto9/dispatch/DispatchMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for all input messages. diff --git a/howtos/howto9/include/howto9/dispatch/DispatchServerInputMessage.h b/howtos/howto9/include/howto9/dispatch/DispatchServerInputMessage.h index d61950847..d91c851fe 100644 --- a/howtos/howto9/include/howto9/dispatch/DispatchServerInputMessage.h +++ b/howtos/howto9/include/howto9/dispatch/DispatchServerInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/howtos/howto9/include/howto9/field/FieldBase.h b/howtos/howto9/include/howto9/field/FieldBase.h index 506a06881..15c295009 100644 --- a/howtos/howto9/include/howto9/field/FieldBase.h +++ b/howtos/howto9/include/howto9/field/FieldBase.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of base class of all the fields. diff --git a/howtos/howto9/include/howto9/field/MsgId.h b/howtos/howto9/include/howto9/field/MsgId.h index 63f5f03cc..c2437938a 100644 --- a/howtos/howto9/include/howto9/field/MsgId.h +++ b/howtos/howto9/include/howto9/field/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "MsgId" field. diff --git a/howtos/howto9/include/howto9/field/MsgIdCommon.h b/howtos/howto9/include/howto9/field/MsgIdCommon.h index b0f3ae6c9..dd4f89faa 100644 --- a/howtos/howto9/include/howto9/field/MsgIdCommon.h +++ b/howtos/howto9/include/howto9/field/MsgIdCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto9/include/howto9/field/SizeField.h b/howtos/howto9/include/howto9/field/SizeField.h index 913c24789..7ef8d256b 100644 --- a/howtos/howto9/include/howto9/field/SizeField.h +++ b/howtos/howto9/include/howto9/field/SizeField.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "SizeField" field. diff --git a/howtos/howto9/include/howto9/field/SizeFieldCommon.h b/howtos/howto9/include/howto9/field/SizeFieldCommon.h index f2c992d0c..06344571a 100644 --- a/howtos/howto9/include/howto9/field/SizeFieldCommon.h +++ b/howtos/howto9/include/howto9/field/SizeFieldCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto9/include/howto9/field/SyncField.h b/howtos/howto9/include/howto9/field/SyncField.h index d8e921c28..d46fe2893 100644 --- a/howtos/howto9/include/howto9/field/SyncField.h +++ b/howtos/howto9/include/howto9/field/SyncField.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "SyncField" field. diff --git a/howtos/howto9/include/howto9/field/SyncFieldCommon.h b/howtos/howto9/include/howto9/field/SyncFieldCommon.h index b664b1b19..f9f2ae6e6 100644 --- a/howtos/howto9/include/howto9/field/SyncFieldCommon.h +++ b/howtos/howto9/include/howto9/field/SyncFieldCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto9/include/howto9/frame/Frame.h b/howtos/howto9/include/howto9/frame/Frame.h index 16cdf2ad4..71e7a3b2f 100644 --- a/howtos/howto9/include/howto9/frame/Frame.h +++ b/howtos/howto9/include/howto9/frame/Frame.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Frame" frame class. diff --git a/howtos/howto9/include/howto9/frame/FrameCommon.h b/howtos/howto9/include/howto9/frame/FrameCommon.h index b3cbc7e8e..454046731 100644 --- a/howtos/howto9/include/howto9/frame/FrameCommon.h +++ b/howtos/howto9/include/howto9/frame/FrameCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto9/include/howto9/input/AllMessages.h b/howtos/howto9/include/howto9/input/AllMessages.h index df0c2775a..e99bea6cc 100644 --- a/howtos/howto9/include/howto9/input/AllMessages.h +++ b/howtos/howto9/include/howto9/input/AllMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the AllMessages messages bundle. diff --git a/howtos/howto9/include/howto9/input/ClientInputMessages.h b/howtos/howto9/include/howto9/input/ClientInputMessages.h index 19b0ea413..ba5e072a3 100644 --- a/howtos/howto9/include/howto9/input/ClientInputMessages.h +++ b/howtos/howto9/include/howto9/input/ClientInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ClientInputMessages messages bundle. diff --git a/howtos/howto9/include/howto9/input/ServerInputMessages.h b/howtos/howto9/include/howto9/input/ServerInputMessages.h index b3a5b5609..93507f312 100644 --- a/howtos/howto9/include/howto9/input/ServerInputMessages.h +++ b/howtos/howto9/include/howto9/input/ServerInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ServerInputMessages messages bundle. diff --git a/howtos/howto9/include/howto9/message/Msg1.h b/howtos/howto9/include/howto9/message/Msg1.h index 7e3940b14..285c7e844 100644 --- a/howtos/howto9/include/howto9/message/Msg1.h +++ b/howtos/howto9/include/howto9/message/Msg1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1" message and its fields. diff --git a/howtos/howto9/include/howto9/message/Msg1Common.h b/howtos/howto9/include/howto9/message/Msg1Common.h index 368fbfef5..c15ea272a 100644 --- a/howtos/howto9/include/howto9/message/Msg1Common.h +++ b/howtos/howto9/include/howto9/message/Msg1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto9/include/howto9/message/Msg2.h b/howtos/howto9/include/howto9/message/Msg2.h index 0d785246c..96bcaae91 100644 --- a/howtos/howto9/include/howto9/message/Msg2.h +++ b/howtos/howto9/include/howto9/message/Msg2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 2" message and its fields. diff --git a/howtos/howto9/include/howto9/message/Msg2Common.h b/howtos/howto9/include/howto9/message/Msg2Common.h index 7dc049f36..6e6e4d6f4 100644 --- a/howtos/howto9/include/howto9/message/Msg2Common.h +++ b/howtos/howto9/include/howto9/message/Msg2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto9/include/howto9/message/Msg3.h b/howtos/howto9/include/howto9/message/Msg3.h index 78c561619..32c02d56b 100644 --- a/howtos/howto9/include/howto9/message/Msg3.h +++ b/howtos/howto9/include/howto9/message/Msg3.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 3" message and its fields. diff --git a/howtos/howto9/include/howto9/message/Msg3Common.h b/howtos/howto9/include/howto9/message/Msg3Common.h index 204a7100c..fb077f1e7 100644 --- a/howtos/howto9/include/howto9/message/Msg3Common.h +++ b/howtos/howto9/include/howto9/message/Msg3Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/howtos/howto9/include/howto9/options/BareMetalDefaultOptions.h b/howtos/howto9/include/howto9/options/BareMetalDefaultOptions.h index b5106cb2b..17e979948 100644 --- a/howtos/howto9/include/howto9/options/BareMetalDefaultOptions.h +++ b/howtos/howto9/include/howto9/options/BareMetalDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol bare metal default options. diff --git a/howtos/howto9/include/howto9/options/ClientDefaultOptions.h b/howtos/howto9/include/howto9/options/ClientDefaultOptions.h index 9ed303464..37c69faae 100644 --- a/howtos/howto9/include/howto9/options/ClientDefaultOptions.h +++ b/howtos/howto9/include/howto9/options/ClientDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol client default options. diff --git a/howtos/howto9/include/howto9/options/DataViewDefaultOptions.h b/howtos/howto9/include/howto9/options/DataViewDefaultOptions.h index 964644fe4..626041971 100644 --- a/howtos/howto9/include/howto9/options/DataViewDefaultOptions.h +++ b/howtos/howto9/include/howto9/options/DataViewDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol data view default options. diff --git a/howtos/howto9/include/howto9/options/DefaultOptions.h b/howtos/howto9/include/howto9/options/DefaultOptions.h index 55b300350..f940a4bd8 100644 --- a/howtos/howto9/include/howto9/options/DefaultOptions.h +++ b/howtos/howto9/include/howto9/options/DefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol default options. diff --git a/howtos/howto9/include/howto9/options/ServerDefaultOptions.h b/howtos/howto9/include/howto9/options/ServerDefaultOptions.h index 642a072d1..2e6520b3d 100644 --- a/howtos/howto9/include/howto9/options/ServerDefaultOptions.h +++ b/howtos/howto9/include/howto9/options/ServerDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol server default options. diff --git a/script/prepare_externals.bat b/script/prepare_externals.bat index dda0e1cfe..bb262d0ff 100755 --- a/script/prepare_externals.bat +++ b/script/prepare_externals.bat @@ -26,10 +26,6 @@ if [%COMMSDSL_REPO%] == [] set COMMSDSL_REPO="https://github.com/commschamp/comm if [%COMMSDSL_TAG%] == [] set COMMSDSL_TAG="master" -if [%CC_TOOLS_QT_REPO%] == [] set CC_TOOLS_QT_REPO="https://github.com/commschamp/cc_tools_qt.git" - -if [%CC_TOOLS_QT_TAG%] == [] set CC_TOOLS_QT_TAG="master" - if [%COMMON_BUILD_TYPE%] == [] set COMMON_BUILD_TYPE=Debug set COMMS_SRC_DIR=%EXTERNALS_DIR%/comms diff --git a/script/prepare_externals.sh b/script/prepare_externals.sh index 861f3de72..956c547c2 100755 --- a/script/prepare_externals.sh +++ b/script/prepare_externals.sh @@ -68,13 +68,6 @@ if [ -n "${COMMON_INSTALL_DIR}" ]; then COMMSDSL_INSTALL_DIR=${COMMON_INSTALL_DIR} fi -CC_TOOLS_QT_SRC_DIR=${EXTERNALS_DIR}/cc_tools_qt -CC_TOOLS_QT_BUILD_DIR=${BUILD_DIR}/externals/cc_tools_qt/build -CC_TOOLS_QT_INSTALL_DIR=${CC_TOOLS_QT_BUILD_DIR}/install -if [ -n "${COMMON_INSTALL_DIR}" ]; then - CC_TOOLS_QT_INSTALL_DIR=${COMMON_INSTALL_DIR} -fi - procs=$(nproc) if [ -n "${procs}" ]; then procs_param="-- -j${procs}" diff --git a/tutorials/CMakeLists.txt b/tutorials/CMakeLists.txt index a46ce7727..2cd14c25c 100644 --- a/tutorials/CMakeLists.txt +++ b/tutorials/CMakeLists.txt @@ -33,3 +33,4 @@ add_subdirectory (tutorial20) add_subdirectory (tutorial21) add_subdirectory (tutorial22) add_subdirectory (tutorial23) +add_subdirectory (tutorial24) diff --git a/tutorials/tutorial1/include/tutorial1/Message.h b/tutorials/tutorial1/include/tutorial1/Message.h index 1ecb62c5a..b2be7678d 100644 --- a/tutorials/tutorial1/include/tutorial1/Message.h +++ b/tutorials/tutorial1/include/tutorial1/Message.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message" interface class. diff --git a/tutorials/tutorial1/include/tutorial1/MsgId.h b/tutorials/tutorial1/include/tutorial1/MsgId.h index eb062cf49..fc4818c49 100644 --- a/tutorials/tutorial1/include/tutorial1/MsgId.h +++ b/tutorials/tutorial1/include/tutorial1/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of message ids enumeration. @@ -13,12 +13,12 @@ namespace tutorial1 /// @brief Message ids enumeration. enum MsgId : std::uint8_t { - MsgId_M1 = 1, ///< message id of @b M1 message. , - MsgId_M2 = 2, ///< message id of @b M2 message. , + MsgId_M1 = 1, ///< message id of @b M1 message. + MsgId_M2 = 2, ///< message id of @b M2 message. - // --- Extra values generated for convenience ---, - MsgId_FirstValue = 1, ///< First defined value., - MsgId_LastValue = 2, ///< Last defined value., + // --- Extra values generated for convenience --- + MsgId_FirstValue = 1, ///< First defined value. + MsgId_LastValue = 2, ///< Last defined value. MsgId_ValuesLimit = 3, ///< Upper limit for defined values. }; diff --git a/tutorials/tutorial1/include/tutorial1/Version.h b/tutorials/tutorial1/include/tutorial1/Version.h index 06e3a2a24..9c226b3eb 100644 --- a/tutorials/tutorial1/include/tutorial1/Version.h +++ b/tutorials/tutorial1/include/tutorial1/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains protocol version definition. @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion() } // namespace tutorial1 // Generated compile time check for minimal supported version of the COMMS library -static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(), +static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(), "The version of COMMS library is too old"); diff --git a/tutorials/tutorial1/include/tutorial1/dispatch/DispatchClientInputMessage.h b/tutorials/tutorial1/include/tutorial1/dispatch/DispatchClientInputMessage.h index f07d4e9ed..900546ea2 100644 --- a/tutorials/tutorial1/include/tutorial1/dispatch/DispatchClientInputMessage.h +++ b/tutorials/tutorial1/include/tutorial1/dispatch/DispatchClientInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial1/include/tutorial1/dispatch/DispatchMessage.h b/tutorials/tutorial1/include/tutorial1/dispatch/DispatchMessage.h index 6168d15ff..b9dcc238d 100644 --- a/tutorials/tutorial1/include/tutorial1/dispatch/DispatchMessage.h +++ b/tutorials/tutorial1/include/tutorial1/dispatch/DispatchMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for all input messages. diff --git a/tutorials/tutorial1/include/tutorial1/dispatch/DispatchServerInputMessage.h b/tutorials/tutorial1/include/tutorial1/dispatch/DispatchServerInputMessage.h index 39318428a..31cf02b1e 100644 --- a/tutorials/tutorial1/include/tutorial1/dispatch/DispatchServerInputMessage.h +++ b/tutorials/tutorial1/include/tutorial1/dispatch/DispatchServerInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial1/include/tutorial1/field/FieldBase.h b/tutorials/tutorial1/include/tutorial1/field/FieldBase.h index 4c9f55ce4..1fa091eb1 100644 --- a/tutorials/tutorial1/include/tutorial1/field/FieldBase.h +++ b/tutorials/tutorial1/include/tutorial1/field/FieldBase.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of base class of all the fields. diff --git a/tutorials/tutorial1/include/tutorial1/field/MsgId.h b/tutorials/tutorial1/include/tutorial1/field/MsgId.h index 8c701cb3c..2e6697a91 100644 --- a/tutorials/tutorial1/include/tutorial1/field/MsgId.h +++ b/tutorials/tutorial1/include/tutorial1/field/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "MsgId" field. diff --git a/tutorials/tutorial1/include/tutorial1/field/MsgIdCommon.h b/tutorials/tutorial1/include/tutorial1/field/MsgIdCommon.h index cfbd8efab..8fe4334d0 100644 --- a/tutorials/tutorial1/include/tutorial1/field/MsgIdCommon.h +++ b/tutorials/tutorial1/include/tutorial1/field/MsgIdCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial1/include/tutorial1/frame/Frame.h b/tutorials/tutorial1/include/tutorial1/frame/Frame.h index 4649a9875..4174a5323 100644 --- a/tutorials/tutorial1/include/tutorial1/frame/Frame.h +++ b/tutorials/tutorial1/include/tutorial1/frame/Frame.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Frame" frame class. diff --git a/tutorials/tutorial1/include/tutorial1/frame/FrameCommon.h b/tutorials/tutorial1/include/tutorial1/frame/FrameCommon.h index 6dfeee791..a155d3448 100644 --- a/tutorials/tutorial1/include/tutorial1/frame/FrameCommon.h +++ b/tutorials/tutorial1/include/tutorial1/frame/FrameCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial1/include/tutorial1/input/AllMessages.h b/tutorials/tutorial1/include/tutorial1/input/AllMessages.h index c761a342e..bec80b9b8 100644 --- a/tutorials/tutorial1/include/tutorial1/input/AllMessages.h +++ b/tutorials/tutorial1/include/tutorial1/input/AllMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the AllMessages messages bundle. diff --git a/tutorials/tutorial1/include/tutorial1/input/ClientInputMessages.h b/tutorials/tutorial1/include/tutorial1/input/ClientInputMessages.h index 3f7cb3566..bb447df04 100644 --- a/tutorials/tutorial1/include/tutorial1/input/ClientInputMessages.h +++ b/tutorials/tutorial1/include/tutorial1/input/ClientInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ClientInputMessages messages bundle. diff --git a/tutorials/tutorial1/include/tutorial1/input/ServerInputMessages.h b/tutorials/tutorial1/include/tutorial1/input/ServerInputMessages.h index a29335ede..60297789a 100644 --- a/tutorials/tutorial1/include/tutorial1/input/ServerInputMessages.h +++ b/tutorials/tutorial1/include/tutorial1/input/ServerInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ServerInputMessages messages bundle. diff --git a/tutorials/tutorial1/include/tutorial1/message/Msg1.h b/tutorials/tutorial1/include/tutorial1/message/Msg1.h index fa81bddcb..98470af97 100644 --- a/tutorials/tutorial1/include/tutorial1/message/Msg1.h +++ b/tutorials/tutorial1/include/tutorial1/message/Msg1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1" message and its fields. diff --git a/tutorials/tutorial1/include/tutorial1/message/Msg1Common.h b/tutorials/tutorial1/include/tutorial1/message/Msg1Common.h index 23afe6004..f1895333e 100644 --- a/tutorials/tutorial1/include/tutorial1/message/Msg1Common.h +++ b/tutorials/tutorial1/include/tutorial1/message/Msg1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial1/include/tutorial1/message/Msg2.h b/tutorials/tutorial1/include/tutorial1/message/Msg2.h index 2a8ac7127..1645d3a5c 100644 --- a/tutorials/tutorial1/include/tutorial1/message/Msg2.h +++ b/tutorials/tutorial1/include/tutorial1/message/Msg2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 2" message and its fields. diff --git a/tutorials/tutorial1/include/tutorial1/message/Msg2Common.h b/tutorials/tutorial1/include/tutorial1/message/Msg2Common.h index 055090e9c..ef6d8dbf3 100644 --- a/tutorials/tutorial1/include/tutorial1/message/Msg2Common.h +++ b/tutorials/tutorial1/include/tutorial1/message/Msg2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial1/include/tutorial1/options/BareMetalDefaultOptions.h b/tutorials/tutorial1/include/tutorial1/options/BareMetalDefaultOptions.h index cea67a454..7a8b34927 100644 --- a/tutorials/tutorial1/include/tutorial1/options/BareMetalDefaultOptions.h +++ b/tutorials/tutorial1/include/tutorial1/options/BareMetalDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol bare metal default options. diff --git a/tutorials/tutorial1/include/tutorial1/options/ClientDefaultOptions.h b/tutorials/tutorial1/include/tutorial1/options/ClientDefaultOptions.h index 245eb2946..dd75b78c9 100644 --- a/tutorials/tutorial1/include/tutorial1/options/ClientDefaultOptions.h +++ b/tutorials/tutorial1/include/tutorial1/options/ClientDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol client default options. diff --git a/tutorials/tutorial1/include/tutorial1/options/DataViewDefaultOptions.h b/tutorials/tutorial1/include/tutorial1/options/DataViewDefaultOptions.h index aed9d95bc..02f5f1e53 100644 --- a/tutorials/tutorial1/include/tutorial1/options/DataViewDefaultOptions.h +++ b/tutorials/tutorial1/include/tutorial1/options/DataViewDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol data view default options. diff --git a/tutorials/tutorial1/include/tutorial1/options/DefaultOptions.h b/tutorials/tutorial1/include/tutorial1/options/DefaultOptions.h index 547d7125f..9d1afed8e 100644 --- a/tutorials/tutorial1/include/tutorial1/options/DefaultOptions.h +++ b/tutorials/tutorial1/include/tutorial1/options/DefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol default options. diff --git a/tutorials/tutorial1/include/tutorial1/options/ServerDefaultOptions.h b/tutorials/tutorial1/include/tutorial1/options/ServerDefaultOptions.h index 3b385242a..e44f7d86c 100644 --- a/tutorials/tutorial1/include/tutorial1/options/ServerDefaultOptions.h +++ b/tutorials/tutorial1/include/tutorial1/options/ServerDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol server default options. diff --git a/tutorials/tutorial10/include/tutorial10/Message.h b/tutorials/tutorial10/include/tutorial10/Message.h index 47573a98f..12a38ce25 100644 --- a/tutorials/tutorial10/include/tutorial10/Message.h +++ b/tutorials/tutorial10/include/tutorial10/Message.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message" interface class. diff --git a/tutorials/tutorial10/include/tutorial10/MsgId.h b/tutorials/tutorial10/include/tutorial10/MsgId.h index 2e6f4fe48..15144e2f5 100644 --- a/tutorials/tutorial10/include/tutorial10/MsgId.h +++ b/tutorials/tutorial10/include/tutorial10/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of message ids enumeration. @@ -13,15 +13,15 @@ namespace tutorial10 /// @brief Message ids enumeration. enum MsgId : std::uint8_t { - MsgId_M1 = 1, ///< message id of Message 1 message. , - MsgId_M2 = 2, ///< message id of Message 2 message. , - MsgId_M3 = 3, ///< message id of Message 3 message. , - MsgId_M4 = 4, ///< message id of Message 4 message. , - MsgId_M5 = 5, ///< message id of Message 5 message. , + MsgId_M1 = 1, ///< message id of Message 1 message. + MsgId_M2 = 2, ///< message id of Message 2 message. + MsgId_M3 = 3, ///< message id of Message 3 message. + MsgId_M4 = 4, ///< message id of Message 4 message. + MsgId_M5 = 5, ///< message id of Message 5 message. - // --- Extra values generated for convenience ---, - MsgId_FirstValue = 1, ///< First defined value., - MsgId_LastValue = 5, ///< Last defined value., + // --- Extra values generated for convenience --- + MsgId_FirstValue = 1, ///< First defined value. + MsgId_LastValue = 5, ///< Last defined value. MsgId_ValuesLimit = 6, ///< Upper limit for defined values. }; diff --git a/tutorials/tutorial10/include/tutorial10/Version.h b/tutorials/tutorial10/include/tutorial10/Version.h index 8f8f42820..3d41ba406 100644 --- a/tutorials/tutorial10/include/tutorial10/Version.h +++ b/tutorials/tutorial10/include/tutorial10/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains protocol version definition. @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion() } // namespace tutorial10 // Generated compile time check for minimal supported version of the COMMS library -static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(), +static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(), "The version of COMMS library is too old"); diff --git a/tutorials/tutorial10/include/tutorial10/dispatch/DispatchClientInputMessage.h b/tutorials/tutorial10/include/tutorial10/dispatch/DispatchClientInputMessage.h index ef1eadd8e..7c499b64b 100644 --- a/tutorials/tutorial10/include/tutorial10/dispatch/DispatchClientInputMessage.h +++ b/tutorials/tutorial10/include/tutorial10/dispatch/DispatchClientInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial10/include/tutorial10/dispatch/DispatchMessage.h b/tutorials/tutorial10/include/tutorial10/dispatch/DispatchMessage.h index e85f948ed..a942d472d 100644 --- a/tutorials/tutorial10/include/tutorial10/dispatch/DispatchMessage.h +++ b/tutorials/tutorial10/include/tutorial10/dispatch/DispatchMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for all input messages. diff --git a/tutorials/tutorial10/include/tutorial10/dispatch/DispatchServerInputMessage.h b/tutorials/tutorial10/include/tutorial10/dispatch/DispatchServerInputMessage.h index 016571a72..1a1a8306c 100644 --- a/tutorials/tutorial10/include/tutorial10/dispatch/DispatchServerInputMessage.h +++ b/tutorials/tutorial10/include/tutorial10/dispatch/DispatchServerInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial10/include/tutorial10/field/FieldBase.h b/tutorials/tutorial10/include/tutorial10/field/FieldBase.h index 1576f430e..f62b92654 100644 --- a/tutorials/tutorial10/include/tutorial10/field/FieldBase.h +++ b/tutorials/tutorial10/include/tutorial10/field/FieldBase.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of base class of all the fields. diff --git a/tutorials/tutorial10/include/tutorial10/field/MsgId.h b/tutorials/tutorial10/include/tutorial10/field/MsgId.h index 9a6c17205..5fabaa19c 100644 --- a/tutorials/tutorial10/include/tutorial10/field/MsgId.h +++ b/tutorials/tutorial10/include/tutorial10/field/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "MsgId" field. diff --git a/tutorials/tutorial10/include/tutorial10/field/MsgIdCommon.h b/tutorials/tutorial10/include/tutorial10/field/MsgIdCommon.h index 9fb275f87..b8277c543 100644 --- a/tutorials/tutorial10/include/tutorial10/field/MsgIdCommon.h +++ b/tutorials/tutorial10/include/tutorial10/field/MsgIdCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial10/include/tutorial10/frame/Frame.h b/tutorials/tutorial10/include/tutorial10/frame/Frame.h index ecbfadcfb..571c4dda9 100644 --- a/tutorials/tutorial10/include/tutorial10/frame/Frame.h +++ b/tutorials/tutorial10/include/tutorial10/frame/Frame.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Frame" frame class. diff --git a/tutorials/tutorial10/include/tutorial10/frame/FrameCommon.h b/tutorials/tutorial10/include/tutorial10/frame/FrameCommon.h index 7c0c91c13..022672004 100644 --- a/tutorials/tutorial10/include/tutorial10/frame/FrameCommon.h +++ b/tutorials/tutorial10/include/tutorial10/frame/FrameCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial10/include/tutorial10/input/AllMessages.h b/tutorials/tutorial10/include/tutorial10/input/AllMessages.h index b73b825dc..358e152f9 100644 --- a/tutorials/tutorial10/include/tutorial10/input/AllMessages.h +++ b/tutorials/tutorial10/include/tutorial10/input/AllMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the AllMessages messages bundle. diff --git a/tutorials/tutorial10/include/tutorial10/input/ClientInputMessages.h b/tutorials/tutorial10/include/tutorial10/input/ClientInputMessages.h index d741d35f5..1cdc5f947 100644 --- a/tutorials/tutorial10/include/tutorial10/input/ClientInputMessages.h +++ b/tutorials/tutorial10/include/tutorial10/input/ClientInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ClientInputMessages messages bundle. diff --git a/tutorials/tutorial10/include/tutorial10/input/ServerInputMessages.h b/tutorials/tutorial10/include/tutorial10/input/ServerInputMessages.h index 3d5625f41..67f6db243 100644 --- a/tutorials/tutorial10/include/tutorial10/input/ServerInputMessages.h +++ b/tutorials/tutorial10/include/tutorial10/input/ServerInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ServerInputMessages messages bundle. diff --git a/tutorials/tutorial10/include/tutorial10/message/Msg1.h b/tutorials/tutorial10/include/tutorial10/message/Msg1.h index 0280270c3..a5183d585 100644 --- a/tutorials/tutorial10/include/tutorial10/message/Msg1.h +++ b/tutorials/tutorial10/include/tutorial10/message/Msg1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1" message and its fields. diff --git a/tutorials/tutorial10/include/tutorial10/message/Msg1Common.h b/tutorials/tutorial10/include/tutorial10/message/Msg1Common.h index a80195514..fb85400e4 100644 --- a/tutorials/tutorial10/include/tutorial10/message/Msg1Common.h +++ b/tutorials/tutorial10/include/tutorial10/message/Msg1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial10/include/tutorial10/message/Msg2.h b/tutorials/tutorial10/include/tutorial10/message/Msg2.h index 710a51d7c..38b7a01c5 100644 --- a/tutorials/tutorial10/include/tutorial10/message/Msg2.h +++ b/tutorials/tutorial10/include/tutorial10/message/Msg2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 2" message and its fields. diff --git a/tutorials/tutorial10/include/tutorial10/message/Msg2Common.h b/tutorials/tutorial10/include/tutorial10/message/Msg2Common.h index 734cea240..ef2ac4175 100644 --- a/tutorials/tutorial10/include/tutorial10/message/Msg2Common.h +++ b/tutorials/tutorial10/include/tutorial10/message/Msg2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial10/include/tutorial10/message/Msg3.h b/tutorials/tutorial10/include/tutorial10/message/Msg3.h index c8d5cfd6e..399f1bfba 100644 --- a/tutorials/tutorial10/include/tutorial10/message/Msg3.h +++ b/tutorials/tutorial10/include/tutorial10/message/Msg3.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 3" message and its fields. diff --git a/tutorials/tutorial10/include/tutorial10/message/Msg3Common.h b/tutorials/tutorial10/include/tutorial10/message/Msg3Common.h index 89c8b644c..fe9a99ac2 100644 --- a/tutorials/tutorial10/include/tutorial10/message/Msg3Common.h +++ b/tutorials/tutorial10/include/tutorial10/message/Msg3Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial10/include/tutorial10/message/Msg4.h b/tutorials/tutorial10/include/tutorial10/message/Msg4.h index 8e59ed082..d3de9c529 100644 --- a/tutorials/tutorial10/include/tutorial10/message/Msg4.h +++ b/tutorials/tutorial10/include/tutorial10/message/Msg4.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 4" message and its fields. diff --git a/tutorials/tutorial10/include/tutorial10/message/Msg4Common.h b/tutorials/tutorial10/include/tutorial10/message/Msg4Common.h index 6836392a1..ecf331d61 100644 --- a/tutorials/tutorial10/include/tutorial10/message/Msg4Common.h +++ b/tutorials/tutorial10/include/tutorial10/message/Msg4Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial10/include/tutorial10/message/Msg5.h b/tutorials/tutorial10/include/tutorial10/message/Msg5.h index 896d89188..f038063f5 100644 --- a/tutorials/tutorial10/include/tutorial10/message/Msg5.h +++ b/tutorials/tutorial10/include/tutorial10/message/Msg5.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 5" message and its fields. diff --git a/tutorials/tutorial10/include/tutorial10/message/Msg5Common.h b/tutorials/tutorial10/include/tutorial10/message/Msg5Common.h index bc38cb0a2..6ea5baee0 100644 --- a/tutorials/tutorial10/include/tutorial10/message/Msg5Common.h +++ b/tutorials/tutorial10/include/tutorial10/message/Msg5Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial10/include/tutorial10/options/BareMetalDefaultOptions.h b/tutorials/tutorial10/include/tutorial10/options/BareMetalDefaultOptions.h index 0da8cf845..72d505638 100644 --- a/tutorials/tutorial10/include/tutorial10/options/BareMetalDefaultOptions.h +++ b/tutorials/tutorial10/include/tutorial10/options/BareMetalDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol bare metal default options. diff --git a/tutorials/tutorial10/include/tutorial10/options/ClientDefaultOptions.h b/tutorials/tutorial10/include/tutorial10/options/ClientDefaultOptions.h index 208c1fc97..9698faf71 100644 --- a/tutorials/tutorial10/include/tutorial10/options/ClientDefaultOptions.h +++ b/tutorials/tutorial10/include/tutorial10/options/ClientDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol client default options. diff --git a/tutorials/tutorial10/include/tutorial10/options/DataViewDefaultOptions.h b/tutorials/tutorial10/include/tutorial10/options/DataViewDefaultOptions.h index 6209cc518..95b2b1315 100644 --- a/tutorials/tutorial10/include/tutorial10/options/DataViewDefaultOptions.h +++ b/tutorials/tutorial10/include/tutorial10/options/DataViewDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol data view default options. diff --git a/tutorials/tutorial10/include/tutorial10/options/DefaultOptions.h b/tutorials/tutorial10/include/tutorial10/options/DefaultOptions.h index fab675509..c270110ad 100644 --- a/tutorials/tutorial10/include/tutorial10/options/DefaultOptions.h +++ b/tutorials/tutorial10/include/tutorial10/options/DefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol default options. diff --git a/tutorials/tutorial10/include/tutorial10/options/ServerDefaultOptions.h b/tutorials/tutorial10/include/tutorial10/options/ServerDefaultOptions.h index c5ebbc813..81755dfdc 100644 --- a/tutorials/tutorial10/include/tutorial10/options/ServerDefaultOptions.h +++ b/tutorials/tutorial10/include/tutorial10/options/ServerDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol server default options. diff --git a/tutorials/tutorial11/include/tutorial11/Message.h b/tutorials/tutorial11/include/tutorial11/Message.h index 15c5f2826..f00083e3d 100644 --- a/tutorials/tutorial11/include/tutorial11/Message.h +++ b/tutorials/tutorial11/include/tutorial11/Message.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message" interface class. diff --git a/tutorials/tutorial11/include/tutorial11/MsgId.h b/tutorials/tutorial11/include/tutorial11/MsgId.h index deaf3b17d..4376e86bb 100644 --- a/tutorials/tutorial11/include/tutorial11/MsgId.h +++ b/tutorials/tutorial11/include/tutorial11/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of message ids enumeration. @@ -13,13 +13,13 @@ namespace tutorial11 /// @brief Message ids enumeration. enum MsgId : std::uint8_t { - MsgId_M1 = 1, ///< message id of Message 1 message. , - MsgId_M2 = 2, ///< message id of Message 2 message. , - MsgId_M3 = 3, ///< message id of Message 3 message. , + MsgId_M1 = 1, ///< message id of Message 1 message. + MsgId_M2 = 2, ///< message id of Message 2 message. + MsgId_M3 = 3, ///< message id of Message 3 message. - // --- Extra values generated for convenience ---, - MsgId_FirstValue = 1, ///< First defined value., - MsgId_LastValue = 3, ///< Last defined value., + // --- Extra values generated for convenience --- + MsgId_FirstValue = 1, ///< First defined value. + MsgId_LastValue = 3, ///< Last defined value. MsgId_ValuesLimit = 4, ///< Upper limit for defined values. }; diff --git a/tutorials/tutorial11/include/tutorial11/Version.h b/tutorials/tutorial11/include/tutorial11/Version.h index ca28b85c8..c6d6a4478 100644 --- a/tutorials/tutorial11/include/tutorial11/Version.h +++ b/tutorials/tutorial11/include/tutorial11/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains protocol version definition. @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion() } // namespace tutorial11 // Generated compile time check for minimal supported version of the COMMS library -static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(), +static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(), "The version of COMMS library is too old"); diff --git a/tutorials/tutorial11/include/tutorial11/dispatch/DispatchClientInputMessage.h b/tutorials/tutorial11/include/tutorial11/dispatch/DispatchClientInputMessage.h index 2026f07ca..c2eba80e3 100644 --- a/tutorials/tutorial11/include/tutorial11/dispatch/DispatchClientInputMessage.h +++ b/tutorials/tutorial11/include/tutorial11/dispatch/DispatchClientInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial11/include/tutorial11/dispatch/DispatchMessage.h b/tutorials/tutorial11/include/tutorial11/dispatch/DispatchMessage.h index 26bcd2193..987fd17cd 100644 --- a/tutorials/tutorial11/include/tutorial11/dispatch/DispatchMessage.h +++ b/tutorials/tutorial11/include/tutorial11/dispatch/DispatchMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for all input messages. diff --git a/tutorials/tutorial11/include/tutorial11/dispatch/DispatchServerInputMessage.h b/tutorials/tutorial11/include/tutorial11/dispatch/DispatchServerInputMessage.h index e2fd36e74..4ebf05461 100644 --- a/tutorials/tutorial11/include/tutorial11/dispatch/DispatchServerInputMessage.h +++ b/tutorials/tutorial11/include/tutorial11/dispatch/DispatchServerInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial11/include/tutorial11/field/FieldBase.h b/tutorials/tutorial11/include/tutorial11/field/FieldBase.h index 598f5cfbd..ec6e780da 100644 --- a/tutorials/tutorial11/include/tutorial11/field/FieldBase.h +++ b/tutorials/tutorial11/include/tutorial11/field/FieldBase.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of base class of all the fields. diff --git a/tutorials/tutorial11/include/tutorial11/field/MsgId.h b/tutorials/tutorial11/include/tutorial11/field/MsgId.h index b1d2558c1..55938c1b2 100644 --- a/tutorials/tutorial11/include/tutorial11/field/MsgId.h +++ b/tutorials/tutorial11/include/tutorial11/field/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "MsgId" field. diff --git a/tutorials/tutorial11/include/tutorial11/field/MsgIdCommon.h b/tutorials/tutorial11/include/tutorial11/field/MsgIdCommon.h index 5d5518188..6bff34c67 100644 --- a/tutorials/tutorial11/include/tutorial11/field/MsgIdCommon.h +++ b/tutorials/tutorial11/include/tutorial11/field/MsgIdCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial11/include/tutorial11/frame/Frame.h b/tutorials/tutorial11/include/tutorial11/frame/Frame.h index 79306f781..8106cf2a3 100644 --- a/tutorials/tutorial11/include/tutorial11/frame/Frame.h +++ b/tutorials/tutorial11/include/tutorial11/frame/Frame.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Frame" frame class. diff --git a/tutorials/tutorial11/include/tutorial11/frame/FrameCommon.h b/tutorials/tutorial11/include/tutorial11/frame/FrameCommon.h index ce5b4038b..23495297f 100644 --- a/tutorials/tutorial11/include/tutorial11/frame/FrameCommon.h +++ b/tutorials/tutorial11/include/tutorial11/frame/FrameCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial11/include/tutorial11/input/AllMessages.h b/tutorials/tutorial11/include/tutorial11/input/AllMessages.h index 241853a30..cffba3967 100644 --- a/tutorials/tutorial11/include/tutorial11/input/AllMessages.h +++ b/tutorials/tutorial11/include/tutorial11/input/AllMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the AllMessages messages bundle. diff --git a/tutorials/tutorial11/include/tutorial11/input/ClientInputMessages.h b/tutorials/tutorial11/include/tutorial11/input/ClientInputMessages.h index 3d3249290..2f931c872 100644 --- a/tutorials/tutorial11/include/tutorial11/input/ClientInputMessages.h +++ b/tutorials/tutorial11/include/tutorial11/input/ClientInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ClientInputMessages messages bundle. diff --git a/tutorials/tutorial11/include/tutorial11/input/ServerInputMessages.h b/tutorials/tutorial11/include/tutorial11/input/ServerInputMessages.h index d133459fe..a6c6265d8 100644 --- a/tutorials/tutorial11/include/tutorial11/input/ServerInputMessages.h +++ b/tutorials/tutorial11/include/tutorial11/input/ServerInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ServerInputMessages messages bundle. diff --git a/tutorials/tutorial11/include/tutorial11/message/Msg1.h b/tutorials/tutorial11/include/tutorial11/message/Msg1.h index 3591e507d..c31af0875 100644 --- a/tutorials/tutorial11/include/tutorial11/message/Msg1.h +++ b/tutorials/tutorial11/include/tutorial11/message/Msg1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1" message and its fields. diff --git a/tutorials/tutorial11/include/tutorial11/message/Msg1Common.h b/tutorials/tutorial11/include/tutorial11/message/Msg1Common.h index 23aa506fe..8779dd2bb 100644 --- a/tutorials/tutorial11/include/tutorial11/message/Msg1Common.h +++ b/tutorials/tutorial11/include/tutorial11/message/Msg1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial11/include/tutorial11/message/Msg2.h b/tutorials/tutorial11/include/tutorial11/message/Msg2.h index 08ffaaa9f..1cb1fabfd 100644 --- a/tutorials/tutorial11/include/tutorial11/message/Msg2.h +++ b/tutorials/tutorial11/include/tutorial11/message/Msg2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 2" message and its fields. diff --git a/tutorials/tutorial11/include/tutorial11/message/Msg2Common.h b/tutorials/tutorial11/include/tutorial11/message/Msg2Common.h index 6b69bd2b6..e7173e061 100644 --- a/tutorials/tutorial11/include/tutorial11/message/Msg2Common.h +++ b/tutorials/tutorial11/include/tutorial11/message/Msg2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial11/include/tutorial11/message/Msg3.h b/tutorials/tutorial11/include/tutorial11/message/Msg3.h index 81889ec51..4f8b5f77d 100644 --- a/tutorials/tutorial11/include/tutorial11/message/Msg3.h +++ b/tutorials/tutorial11/include/tutorial11/message/Msg3.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 3" message and its fields. diff --git a/tutorials/tutorial11/include/tutorial11/message/Msg3Common.h b/tutorials/tutorial11/include/tutorial11/message/Msg3Common.h index d31bab4c6..ed568e1f1 100644 --- a/tutorials/tutorial11/include/tutorial11/message/Msg3Common.h +++ b/tutorials/tutorial11/include/tutorial11/message/Msg3Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial11/include/tutorial11/options/BareMetalDefaultOptions.h b/tutorials/tutorial11/include/tutorial11/options/BareMetalDefaultOptions.h index 8eacf845b..6bbe396b3 100644 --- a/tutorials/tutorial11/include/tutorial11/options/BareMetalDefaultOptions.h +++ b/tutorials/tutorial11/include/tutorial11/options/BareMetalDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol bare metal default options. diff --git a/tutorials/tutorial11/include/tutorial11/options/ClientDefaultOptions.h b/tutorials/tutorial11/include/tutorial11/options/ClientDefaultOptions.h index c1645763b..b76900cbe 100644 --- a/tutorials/tutorial11/include/tutorial11/options/ClientDefaultOptions.h +++ b/tutorials/tutorial11/include/tutorial11/options/ClientDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol client default options. diff --git a/tutorials/tutorial11/include/tutorial11/options/DataViewDefaultOptions.h b/tutorials/tutorial11/include/tutorial11/options/DataViewDefaultOptions.h index a08557218..3c27de34c 100644 --- a/tutorials/tutorial11/include/tutorial11/options/DataViewDefaultOptions.h +++ b/tutorials/tutorial11/include/tutorial11/options/DataViewDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol data view default options. diff --git a/tutorials/tutorial11/include/tutorial11/options/DefaultOptions.h b/tutorials/tutorial11/include/tutorial11/options/DefaultOptions.h index 4ad48352e..ac238ab55 100644 --- a/tutorials/tutorial11/include/tutorial11/options/DefaultOptions.h +++ b/tutorials/tutorial11/include/tutorial11/options/DefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol default options. diff --git a/tutorials/tutorial11/include/tutorial11/options/ServerDefaultOptions.h b/tutorials/tutorial11/include/tutorial11/options/ServerDefaultOptions.h index 67248b81b..21121d966 100644 --- a/tutorials/tutorial11/include/tutorial11/options/ServerDefaultOptions.h +++ b/tutorials/tutorial11/include/tutorial11/options/ServerDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol server default options. diff --git a/tutorials/tutorial12/include/tutorial12/Message.h b/tutorials/tutorial12/include/tutorial12/Message.h index df1c7c7a5..c5a2d4626 100644 --- a/tutorials/tutorial12/include/tutorial12/Message.h +++ b/tutorials/tutorial12/include/tutorial12/Message.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message" interface class. diff --git a/tutorials/tutorial12/include/tutorial12/MsgId.h b/tutorials/tutorial12/include/tutorial12/MsgId.h index 63cf79e9d..02a0d840f 100644 --- a/tutorials/tutorial12/include/tutorial12/MsgId.h +++ b/tutorials/tutorial12/include/tutorial12/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of message ids enumeration. @@ -13,13 +13,13 @@ namespace tutorial12 /// @brief Message ids enumeration. enum MsgId : std::uint8_t { - MsgId_M1 = 1, ///< message id of Message 1 message. , - MsgId_M2 = 2, ///< message id of Message 2 message. , - MsgId_M3 = 3, ///< message id of Message 3 message. , + MsgId_M1 = 1, ///< message id of Message 1 message. + MsgId_M2 = 2, ///< message id of Message 2 message. + MsgId_M3 = 3, ///< message id of Message 3 message. - // --- Extra values generated for convenience ---, - MsgId_FirstValue = 1, ///< First defined value., - MsgId_LastValue = 3, ///< Last defined value., + // --- Extra values generated for convenience --- + MsgId_FirstValue = 1, ///< First defined value. + MsgId_LastValue = 3, ///< Last defined value. MsgId_ValuesLimit = 4, ///< Upper limit for defined values. }; diff --git a/tutorials/tutorial12/include/tutorial12/Version.h b/tutorials/tutorial12/include/tutorial12/Version.h index 8a27515e2..050e4692e 100644 --- a/tutorials/tutorial12/include/tutorial12/Version.h +++ b/tutorials/tutorial12/include/tutorial12/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains protocol version definition. @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion() } // namespace tutorial12 // Generated compile time check for minimal supported version of the COMMS library -static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(), +static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(), "The version of COMMS library is too old"); diff --git a/tutorials/tutorial12/include/tutorial12/dispatch/DispatchClientInputMessage.h b/tutorials/tutorial12/include/tutorial12/dispatch/DispatchClientInputMessage.h index e63d93e74..b78475b3a 100644 --- a/tutorials/tutorial12/include/tutorial12/dispatch/DispatchClientInputMessage.h +++ b/tutorials/tutorial12/include/tutorial12/dispatch/DispatchClientInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial12/include/tutorial12/dispatch/DispatchMessage.h b/tutorials/tutorial12/include/tutorial12/dispatch/DispatchMessage.h index 0d5ce9c2a..55553c234 100644 --- a/tutorials/tutorial12/include/tutorial12/dispatch/DispatchMessage.h +++ b/tutorials/tutorial12/include/tutorial12/dispatch/DispatchMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for all input messages. diff --git a/tutorials/tutorial12/include/tutorial12/dispatch/DispatchServerInputMessage.h b/tutorials/tutorial12/include/tutorial12/dispatch/DispatchServerInputMessage.h index 865e7a206..b4d98d584 100644 --- a/tutorials/tutorial12/include/tutorial12/dispatch/DispatchServerInputMessage.h +++ b/tutorials/tutorial12/include/tutorial12/dispatch/DispatchServerInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial12/include/tutorial12/field/FieldBase.h b/tutorials/tutorial12/include/tutorial12/field/FieldBase.h index 4b81a1e57..f609ef940 100644 --- a/tutorials/tutorial12/include/tutorial12/field/FieldBase.h +++ b/tutorials/tutorial12/include/tutorial12/field/FieldBase.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of base class of all the fields. diff --git a/tutorials/tutorial12/include/tutorial12/field/Length.h b/tutorials/tutorial12/include/tutorial12/field/Length.h index bbef2e639..bc35a03a4 100644 --- a/tutorials/tutorial12/include/tutorial12/field/Length.h +++ b/tutorials/tutorial12/include/tutorial12/field/Length.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Length" field. diff --git a/tutorials/tutorial12/include/tutorial12/field/LengthCommon.h b/tutorials/tutorial12/include/tutorial12/field/LengthCommon.h index f09657729..99273dd51 100644 --- a/tutorials/tutorial12/include/tutorial12/field/LengthCommon.h +++ b/tutorials/tutorial12/include/tutorial12/field/LengthCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial12/include/tutorial12/field/MsgId.h b/tutorials/tutorial12/include/tutorial12/field/MsgId.h index f81e6c788..0d1e4a372 100644 --- a/tutorials/tutorial12/include/tutorial12/field/MsgId.h +++ b/tutorials/tutorial12/include/tutorial12/field/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "MsgId" field. diff --git a/tutorials/tutorial12/include/tutorial12/field/MsgIdCommon.h b/tutorials/tutorial12/include/tutorial12/field/MsgIdCommon.h index f024fe46f..17d8e4b1e 100644 --- a/tutorials/tutorial12/include/tutorial12/field/MsgIdCommon.h +++ b/tutorials/tutorial12/include/tutorial12/field/MsgIdCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial12/include/tutorial12/frame/Frame.h b/tutorials/tutorial12/include/tutorial12/frame/Frame.h index 1e9cf99c0..ae1afa029 100644 --- a/tutorials/tutorial12/include/tutorial12/frame/Frame.h +++ b/tutorials/tutorial12/include/tutorial12/frame/Frame.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Frame" frame class. diff --git a/tutorials/tutorial12/include/tutorial12/frame/FrameCommon.h b/tutorials/tutorial12/include/tutorial12/frame/FrameCommon.h index 7b071f39b..daf040f0e 100644 --- a/tutorials/tutorial12/include/tutorial12/frame/FrameCommon.h +++ b/tutorials/tutorial12/include/tutorial12/frame/FrameCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial12/include/tutorial12/input/AllMessages.h b/tutorials/tutorial12/include/tutorial12/input/AllMessages.h index 10c7c8266..a46617ccf 100644 --- a/tutorials/tutorial12/include/tutorial12/input/AllMessages.h +++ b/tutorials/tutorial12/include/tutorial12/input/AllMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the AllMessages messages bundle. diff --git a/tutorials/tutorial12/include/tutorial12/input/ClientInputMessages.h b/tutorials/tutorial12/include/tutorial12/input/ClientInputMessages.h index 1fb870651..3093aadfb 100644 --- a/tutorials/tutorial12/include/tutorial12/input/ClientInputMessages.h +++ b/tutorials/tutorial12/include/tutorial12/input/ClientInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ClientInputMessages messages bundle. diff --git a/tutorials/tutorial12/include/tutorial12/input/ServerInputMessages.h b/tutorials/tutorial12/include/tutorial12/input/ServerInputMessages.h index 052097acc..0de60b651 100644 --- a/tutorials/tutorial12/include/tutorial12/input/ServerInputMessages.h +++ b/tutorials/tutorial12/include/tutorial12/input/ServerInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ServerInputMessages messages bundle. diff --git a/tutorials/tutorial12/include/tutorial12/message/Msg1.h b/tutorials/tutorial12/include/tutorial12/message/Msg1.h index 3d8f18b0f..3a2191ce1 100644 --- a/tutorials/tutorial12/include/tutorial12/message/Msg1.h +++ b/tutorials/tutorial12/include/tutorial12/message/Msg1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1" message and its fields. diff --git a/tutorials/tutorial12/include/tutorial12/message/Msg1Common.h b/tutorials/tutorial12/include/tutorial12/message/Msg1Common.h index 4e531c4f2..ae902c828 100644 --- a/tutorials/tutorial12/include/tutorial12/message/Msg1Common.h +++ b/tutorials/tutorial12/include/tutorial12/message/Msg1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial12/include/tutorial12/message/Msg2.h b/tutorials/tutorial12/include/tutorial12/message/Msg2.h index ef206a2bf..4295e7e58 100644 --- a/tutorials/tutorial12/include/tutorial12/message/Msg2.h +++ b/tutorials/tutorial12/include/tutorial12/message/Msg2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 2" message and its fields. diff --git a/tutorials/tutorial12/include/tutorial12/message/Msg2Common.h b/tutorials/tutorial12/include/tutorial12/message/Msg2Common.h index 6ef3703b5..ebc81b09d 100644 --- a/tutorials/tutorial12/include/tutorial12/message/Msg2Common.h +++ b/tutorials/tutorial12/include/tutorial12/message/Msg2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial12/include/tutorial12/message/Msg3.h b/tutorials/tutorial12/include/tutorial12/message/Msg3.h index a3c23d825..7c9167a6b 100644 --- a/tutorials/tutorial12/include/tutorial12/message/Msg3.h +++ b/tutorials/tutorial12/include/tutorial12/message/Msg3.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 3" message and its fields. diff --git a/tutorials/tutorial12/include/tutorial12/message/Msg3Common.h b/tutorials/tutorial12/include/tutorial12/message/Msg3Common.h index ee16faf59..6f366585e 100644 --- a/tutorials/tutorial12/include/tutorial12/message/Msg3Common.h +++ b/tutorials/tutorial12/include/tutorial12/message/Msg3Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial12/include/tutorial12/options/BareMetalDefaultOptions.h b/tutorials/tutorial12/include/tutorial12/options/BareMetalDefaultOptions.h index 0c26bf1a6..fe0637209 100644 --- a/tutorials/tutorial12/include/tutorial12/options/BareMetalDefaultOptions.h +++ b/tutorials/tutorial12/include/tutorial12/options/BareMetalDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol bare metal default options. diff --git a/tutorials/tutorial12/include/tutorial12/options/ClientDefaultOptions.h b/tutorials/tutorial12/include/tutorial12/options/ClientDefaultOptions.h index 35754a5af..68ada1e0d 100644 --- a/tutorials/tutorial12/include/tutorial12/options/ClientDefaultOptions.h +++ b/tutorials/tutorial12/include/tutorial12/options/ClientDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol client default options. diff --git a/tutorials/tutorial12/include/tutorial12/options/DataViewDefaultOptions.h b/tutorials/tutorial12/include/tutorial12/options/DataViewDefaultOptions.h index c88f7882e..d7f1fe891 100644 --- a/tutorials/tutorial12/include/tutorial12/options/DataViewDefaultOptions.h +++ b/tutorials/tutorial12/include/tutorial12/options/DataViewDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol data view default options. diff --git a/tutorials/tutorial12/include/tutorial12/options/DefaultOptions.h b/tutorials/tutorial12/include/tutorial12/options/DefaultOptions.h index 99d3b0d82..62e56f3e7 100644 --- a/tutorials/tutorial12/include/tutorial12/options/DefaultOptions.h +++ b/tutorials/tutorial12/include/tutorial12/options/DefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol default options. diff --git a/tutorials/tutorial12/include/tutorial12/options/ServerDefaultOptions.h b/tutorials/tutorial12/include/tutorial12/options/ServerDefaultOptions.h index 90e361f76..c527bf31a 100644 --- a/tutorials/tutorial12/include/tutorial12/options/ServerDefaultOptions.h +++ b/tutorials/tutorial12/include/tutorial12/options/ServerDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol server default options. diff --git a/tutorials/tutorial13/include/tutorial13/Message.h b/tutorials/tutorial13/include/tutorial13/Message.h index b878040d9..27458563d 100644 --- a/tutorials/tutorial13/include/tutorial13/Message.h +++ b/tutorials/tutorial13/include/tutorial13/Message.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message" interface class. diff --git a/tutorials/tutorial13/include/tutorial13/MsgId.h b/tutorials/tutorial13/include/tutorial13/MsgId.h index be77504b5..687bd5aab 100644 --- a/tutorials/tutorial13/include/tutorial13/MsgId.h +++ b/tutorials/tutorial13/include/tutorial13/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of message ids enumeration. @@ -13,12 +13,12 @@ namespace tutorial13 /// @brief Message ids enumeration. enum MsgId : std::uint8_t { - MsgId_M1 = 1, ///< message id of Message 1 message. , - MsgId_M2 = 2, ///< message id of Message 2 message. , + MsgId_M1 = 1, ///< message id of Message 1 message. + MsgId_M2 = 2, ///< message id of Message 2 message. - // --- Extra values generated for convenience ---, - MsgId_FirstValue = 1, ///< First defined value., - MsgId_LastValue = 2, ///< Last defined value., + // --- Extra values generated for convenience --- + MsgId_FirstValue = 1, ///< First defined value. + MsgId_LastValue = 2, ///< Last defined value. MsgId_ValuesLimit = 3, ///< Upper limit for defined values. }; diff --git a/tutorials/tutorial13/include/tutorial13/Version.h b/tutorials/tutorial13/include/tutorial13/Version.h index a17e136d7..531790d63 100644 --- a/tutorials/tutorial13/include/tutorial13/Version.h +++ b/tutorials/tutorial13/include/tutorial13/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains protocol version definition. @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion() } // namespace tutorial13 // Generated compile time check for minimal supported version of the COMMS library -static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(), +static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(), "The version of COMMS library is too old"); diff --git a/tutorials/tutorial13/include/tutorial13/dispatch/DispatchClientInputMessage.h b/tutorials/tutorial13/include/tutorial13/dispatch/DispatchClientInputMessage.h index b6ce6a0d3..cdcc14154 100644 --- a/tutorials/tutorial13/include/tutorial13/dispatch/DispatchClientInputMessage.h +++ b/tutorials/tutorial13/include/tutorial13/dispatch/DispatchClientInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial13/include/tutorial13/dispatch/DispatchMessage.h b/tutorials/tutorial13/include/tutorial13/dispatch/DispatchMessage.h index b9ebe79e5..209601964 100644 --- a/tutorials/tutorial13/include/tutorial13/dispatch/DispatchMessage.h +++ b/tutorials/tutorial13/include/tutorial13/dispatch/DispatchMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for all input messages. diff --git a/tutorials/tutorial13/include/tutorial13/dispatch/DispatchServerInputMessage.h b/tutorials/tutorial13/include/tutorial13/dispatch/DispatchServerInputMessage.h index dc8523cb9..349c41b1f 100644 --- a/tutorials/tutorial13/include/tutorial13/dispatch/DispatchServerInputMessage.h +++ b/tutorials/tutorial13/include/tutorial13/dispatch/DispatchServerInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial13/include/tutorial13/field/FieldBase.h b/tutorials/tutorial13/include/tutorial13/field/FieldBase.h index 244fdca72..1ed13fb72 100644 --- a/tutorials/tutorial13/include/tutorial13/field/FieldBase.h +++ b/tutorials/tutorial13/include/tutorial13/field/FieldBase.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of base class of all the fields. diff --git a/tutorials/tutorial13/include/tutorial13/field/MsgId.h b/tutorials/tutorial13/include/tutorial13/field/MsgId.h index 67c823bcb..48655a81e 100644 --- a/tutorials/tutorial13/include/tutorial13/field/MsgId.h +++ b/tutorials/tutorial13/include/tutorial13/field/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "MsgId" field. diff --git a/tutorials/tutorial13/include/tutorial13/field/MsgIdCommon.h b/tutorials/tutorial13/include/tutorial13/field/MsgIdCommon.h index fbf639fb4..0507d21ec 100644 --- a/tutorials/tutorial13/include/tutorial13/field/MsgIdCommon.h +++ b/tutorials/tutorial13/include/tutorial13/field/MsgIdCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial13/include/tutorial13/frame/Frame.h b/tutorials/tutorial13/include/tutorial13/frame/Frame.h index 4b51de5af..c0f8466de 100644 --- a/tutorials/tutorial13/include/tutorial13/frame/Frame.h +++ b/tutorials/tutorial13/include/tutorial13/frame/Frame.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Frame" frame class. diff --git a/tutorials/tutorial13/include/tutorial13/frame/FrameCommon.h b/tutorials/tutorial13/include/tutorial13/frame/FrameCommon.h index 94e3e8601..c3eda0259 100644 --- a/tutorials/tutorial13/include/tutorial13/frame/FrameCommon.h +++ b/tutorials/tutorial13/include/tutorial13/frame/FrameCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial13/include/tutorial13/input/AllMessages.h b/tutorials/tutorial13/include/tutorial13/input/AllMessages.h index 381a1157b..813198f1d 100644 --- a/tutorials/tutorial13/include/tutorial13/input/AllMessages.h +++ b/tutorials/tutorial13/include/tutorial13/input/AllMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the AllMessages messages bundle. diff --git a/tutorials/tutorial13/include/tutorial13/input/ClientInputMessages.h b/tutorials/tutorial13/include/tutorial13/input/ClientInputMessages.h index fbebb8afc..0dadc1274 100644 --- a/tutorials/tutorial13/include/tutorial13/input/ClientInputMessages.h +++ b/tutorials/tutorial13/include/tutorial13/input/ClientInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ClientInputMessages messages bundle. diff --git a/tutorials/tutorial13/include/tutorial13/input/ServerInputMessages.h b/tutorials/tutorial13/include/tutorial13/input/ServerInputMessages.h index 1c873769b..eb0ba3b19 100644 --- a/tutorials/tutorial13/include/tutorial13/input/ServerInputMessages.h +++ b/tutorials/tutorial13/include/tutorial13/input/ServerInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ServerInputMessages messages bundle. diff --git a/tutorials/tutorial13/include/tutorial13/message/Msg1_1.h b/tutorials/tutorial13/include/tutorial13/message/Msg1_1.h index 464367509..8cf0e114b 100644 --- a/tutorials/tutorial13/include/tutorial13/message/Msg1_1.h +++ b/tutorials/tutorial13/include/tutorial13/message/Msg1_1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1 (1)" message and its fields. diff --git a/tutorials/tutorial13/include/tutorial13/message/Msg1_1Common.h b/tutorials/tutorial13/include/tutorial13/message/Msg1_1Common.h index f3e10d219..5686d45c4 100644 --- a/tutorials/tutorial13/include/tutorial13/message/Msg1_1Common.h +++ b/tutorials/tutorial13/include/tutorial13/message/Msg1_1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial13/include/tutorial13/message/Msg1_2.h b/tutorials/tutorial13/include/tutorial13/message/Msg1_2.h index 437fba700..5f964c14e 100644 --- a/tutorials/tutorial13/include/tutorial13/message/Msg1_2.h +++ b/tutorials/tutorial13/include/tutorial13/message/Msg1_2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1 (2)" message and its fields. diff --git a/tutorials/tutorial13/include/tutorial13/message/Msg1_2Common.h b/tutorials/tutorial13/include/tutorial13/message/Msg1_2Common.h index 59dd6332a..6565b992d 100644 --- a/tutorials/tutorial13/include/tutorial13/message/Msg1_2Common.h +++ b/tutorials/tutorial13/include/tutorial13/message/Msg1_2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial13/include/tutorial13/message/Msg1_3.h b/tutorials/tutorial13/include/tutorial13/message/Msg1_3.h index e023bee8b..0b8318599 100644 --- a/tutorials/tutorial13/include/tutorial13/message/Msg1_3.h +++ b/tutorials/tutorial13/include/tutorial13/message/Msg1_3.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1 (3)" message and its fields. diff --git a/tutorials/tutorial13/include/tutorial13/message/Msg1_3Common.h b/tutorials/tutorial13/include/tutorial13/message/Msg1_3Common.h index 8a5060972..9ae1124a3 100644 --- a/tutorials/tutorial13/include/tutorial13/message/Msg1_3Common.h +++ b/tutorials/tutorial13/include/tutorial13/message/Msg1_3Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial13/include/tutorial13/message/Msg2_1.h b/tutorials/tutorial13/include/tutorial13/message/Msg2_1.h index ef1f5bfda..2881dfe6d 100644 --- a/tutorials/tutorial13/include/tutorial13/message/Msg2_1.h +++ b/tutorials/tutorial13/include/tutorial13/message/Msg2_1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 2 (1)" message and its fields. diff --git a/tutorials/tutorial13/include/tutorial13/message/Msg2_1Common.h b/tutorials/tutorial13/include/tutorial13/message/Msg2_1Common.h index 3f3c1a6d1..057ebf3a7 100644 --- a/tutorials/tutorial13/include/tutorial13/message/Msg2_1Common.h +++ b/tutorials/tutorial13/include/tutorial13/message/Msg2_1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial13/include/tutorial13/message/Msg2_2.h b/tutorials/tutorial13/include/tutorial13/message/Msg2_2.h index 2cf38101a..c8a94dbb9 100644 --- a/tutorials/tutorial13/include/tutorial13/message/Msg2_2.h +++ b/tutorials/tutorial13/include/tutorial13/message/Msg2_2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 2 (2)" message and its fields. diff --git a/tutorials/tutorial13/include/tutorial13/message/Msg2_2Common.h b/tutorials/tutorial13/include/tutorial13/message/Msg2_2Common.h index d45149b5c..9a13c2766 100644 --- a/tutorials/tutorial13/include/tutorial13/message/Msg2_2Common.h +++ b/tutorials/tutorial13/include/tutorial13/message/Msg2_2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial13/include/tutorial13/message/Msg2_3.h b/tutorials/tutorial13/include/tutorial13/message/Msg2_3.h index 74e7c33d7..2d92bb134 100644 --- a/tutorials/tutorial13/include/tutorial13/message/Msg2_3.h +++ b/tutorials/tutorial13/include/tutorial13/message/Msg2_3.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 2 (3)" message and its fields. diff --git a/tutorials/tutorial13/include/tutorial13/message/Msg2_3Common.h b/tutorials/tutorial13/include/tutorial13/message/Msg2_3Common.h index d148ad15d..ed4886b47 100644 --- a/tutorials/tutorial13/include/tutorial13/message/Msg2_3Common.h +++ b/tutorials/tutorial13/include/tutorial13/message/Msg2_3Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial13/include/tutorial13/options/BareMetalDefaultOptions.h b/tutorials/tutorial13/include/tutorial13/options/BareMetalDefaultOptions.h index e99d8227d..3c2c8e7a4 100644 --- a/tutorials/tutorial13/include/tutorial13/options/BareMetalDefaultOptions.h +++ b/tutorials/tutorial13/include/tutorial13/options/BareMetalDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol bare metal default options. diff --git a/tutorials/tutorial13/include/tutorial13/options/ClientDefaultOptions.h b/tutorials/tutorial13/include/tutorial13/options/ClientDefaultOptions.h index cb5daa69a..dd264866a 100644 --- a/tutorials/tutorial13/include/tutorial13/options/ClientDefaultOptions.h +++ b/tutorials/tutorial13/include/tutorial13/options/ClientDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol client default options. diff --git a/tutorials/tutorial13/include/tutorial13/options/DataViewDefaultOptions.h b/tutorials/tutorial13/include/tutorial13/options/DataViewDefaultOptions.h index 180c5fd55..d43491adb 100644 --- a/tutorials/tutorial13/include/tutorial13/options/DataViewDefaultOptions.h +++ b/tutorials/tutorial13/include/tutorial13/options/DataViewDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol data view default options. diff --git a/tutorials/tutorial13/include/tutorial13/options/DefaultOptions.h b/tutorials/tutorial13/include/tutorial13/options/DefaultOptions.h index 8efb84537..0592a48c5 100644 --- a/tutorials/tutorial13/include/tutorial13/options/DefaultOptions.h +++ b/tutorials/tutorial13/include/tutorial13/options/DefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol default options. diff --git a/tutorials/tutorial13/include/tutorial13/options/ServerDefaultOptions.h b/tutorials/tutorial13/include/tutorial13/options/ServerDefaultOptions.h index 2310410ca..8c03e5011 100644 --- a/tutorials/tutorial13/include/tutorial13/options/ServerDefaultOptions.h +++ b/tutorials/tutorial13/include/tutorial13/options/ServerDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol server default options. diff --git a/tutorials/tutorial14/README.md b/tutorials/tutorial14/README.md index 14b425d86..7cd9b16c6 100644 --- a/tutorials/tutorial14/README.md +++ b/tutorials/tutorial14/README.md @@ -146,6 +146,8 @@ class Msg1 : public The suffixes / extensions recognized by the code generator are: - **.inc** - Adds extra include statements. +- **.construct** - Overwrites default construction functionality (applicable to messages only). +- **.value** - Overwrites default value get / set functionality (applicable to fields only). - **.read** - Overwrites default read functionality. - **.write** - Overwrites default write functionality. - **.length** - Overwrites default serialization length calculation. diff --git a/tutorials/tutorial14/dsl_src/include/tutorial14/message/Msg2.h.construct b/tutorials/tutorial14/dsl_src/include/tutorial14/message/Msg2.h.construct new file mode 100644 index 000000000..99dabe04b --- /dev/null +++ b/tutorials/tutorial14/dsl_src/include/tutorial14/message/Msg2.h.construct @@ -0,0 +1,5 @@ +///@brief Custom construction +Msg2() +{ + // Custom construction code +} diff --git a/tutorials/tutorial14/include/tutorial14/Message.h b/tutorials/tutorial14/include/tutorial14/Message.h index d7b2e10b5..bae1c977d 100644 --- a/tutorials/tutorial14/include/tutorial14/Message.h +++ b/tutorials/tutorial14/include/tutorial14/Message.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message" interface class. diff --git a/tutorials/tutorial14/include/tutorial14/MsgId.h b/tutorials/tutorial14/include/tutorial14/MsgId.h index b01480bbf..4794ecc9c 100644 --- a/tutorials/tutorial14/include/tutorial14/MsgId.h +++ b/tutorials/tutorial14/include/tutorial14/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of message ids enumeration. @@ -13,12 +13,12 @@ namespace tutorial14 /// @brief Message ids enumeration. enum MsgId : std::uint8_t { - MsgId_M1 = 1, ///< message id of Message 1 message. , - MsgId_M2 = 2, ///< message id of Message 2 message. , + MsgId_M1 = 1, ///< message id of Message 1 message. + MsgId_M2 = 2, ///< message id of Message 2 message. - // --- Extra values generated for convenience ---, - MsgId_FirstValue = 1, ///< First defined value., - MsgId_LastValue = 2, ///< Last defined value., + // --- Extra values generated for convenience --- + MsgId_FirstValue = 1, ///< First defined value. + MsgId_LastValue = 2, ///< Last defined value. MsgId_ValuesLimit = 3, ///< Upper limit for defined values. }; diff --git a/tutorials/tutorial14/include/tutorial14/Version.h b/tutorials/tutorial14/include/tutorial14/Version.h index e8bb0546c..7da79fd56 100644 --- a/tutorials/tutorial14/include/tutorial14/Version.h +++ b/tutorials/tutorial14/include/tutorial14/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains protocol version definition. @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion() } // namespace tutorial14 // Generated compile time check for minimal supported version of the COMMS library -static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(), +static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(), "The version of COMMS library is too old"); diff --git a/tutorials/tutorial14/include/tutorial14/dispatch/DispatchClientInputMessage.h b/tutorials/tutorial14/include/tutorial14/dispatch/DispatchClientInputMessage.h index e192e7cae..687263456 100644 --- a/tutorials/tutorial14/include/tutorial14/dispatch/DispatchClientInputMessage.h +++ b/tutorials/tutorial14/include/tutorial14/dispatch/DispatchClientInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial14/include/tutorial14/dispatch/DispatchMessage.h b/tutorials/tutorial14/include/tutorial14/dispatch/DispatchMessage.h index fd2c43ee2..20de91e11 100644 --- a/tutorials/tutorial14/include/tutorial14/dispatch/DispatchMessage.h +++ b/tutorials/tutorial14/include/tutorial14/dispatch/DispatchMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for all input messages. diff --git a/tutorials/tutorial14/include/tutorial14/dispatch/DispatchServerInputMessage.h b/tutorials/tutorial14/include/tutorial14/dispatch/DispatchServerInputMessage.h index 60279a4ce..6d8429d76 100644 --- a/tutorials/tutorial14/include/tutorial14/dispatch/DispatchServerInputMessage.h +++ b/tutorials/tutorial14/include/tutorial14/dispatch/DispatchServerInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial14/include/tutorial14/field/FieldBase.h b/tutorials/tutorial14/include/tutorial14/field/FieldBase.h index 2b653801f..609fcab52 100644 --- a/tutorials/tutorial14/include/tutorial14/field/FieldBase.h +++ b/tutorials/tutorial14/include/tutorial14/field/FieldBase.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of base class of all the fields. diff --git a/tutorials/tutorial14/include/tutorial14/field/MsgId.h b/tutorials/tutorial14/include/tutorial14/field/MsgId.h index 8aacdc075..569d3eb5c 100644 --- a/tutorials/tutorial14/include/tutorial14/field/MsgId.h +++ b/tutorials/tutorial14/include/tutorial14/field/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "MsgId" field. diff --git a/tutorials/tutorial14/include/tutorial14/field/MsgIdCommon.h b/tutorials/tutorial14/include/tutorial14/field/MsgIdCommon.h index 0075e01ba..1f6936934 100644 --- a/tutorials/tutorial14/include/tutorial14/field/MsgIdCommon.h +++ b/tutorials/tutorial14/include/tutorial14/field/MsgIdCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial14/include/tutorial14/frame/Frame.h b/tutorials/tutorial14/include/tutorial14/frame/Frame.h index 9627472b1..d21a36da9 100644 --- a/tutorials/tutorial14/include/tutorial14/frame/Frame.h +++ b/tutorials/tutorial14/include/tutorial14/frame/Frame.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Frame" frame class. diff --git a/tutorials/tutorial14/include/tutorial14/frame/FrameCommon.h b/tutorials/tutorial14/include/tutorial14/frame/FrameCommon.h index b38e442c9..6e103c627 100644 --- a/tutorials/tutorial14/include/tutorial14/frame/FrameCommon.h +++ b/tutorials/tutorial14/include/tutorial14/frame/FrameCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial14/include/tutorial14/input/AllMessages.h b/tutorials/tutorial14/include/tutorial14/input/AllMessages.h index db7fec225..2859a155c 100644 --- a/tutorials/tutorial14/include/tutorial14/input/AllMessages.h +++ b/tutorials/tutorial14/include/tutorial14/input/AllMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the AllMessages messages bundle. diff --git a/tutorials/tutorial14/include/tutorial14/input/ClientInputMessages.h b/tutorials/tutorial14/include/tutorial14/input/ClientInputMessages.h index e0960e2ed..865d27765 100644 --- a/tutorials/tutorial14/include/tutorial14/input/ClientInputMessages.h +++ b/tutorials/tutorial14/include/tutorial14/input/ClientInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ClientInputMessages messages bundle. diff --git a/tutorials/tutorial14/include/tutorial14/input/ServerInputMessages.h b/tutorials/tutorial14/include/tutorial14/input/ServerInputMessages.h index 763c2f9e3..eba723daa 100644 --- a/tutorials/tutorial14/include/tutorial14/input/ServerInputMessages.h +++ b/tutorials/tutorial14/include/tutorial14/input/ServerInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ServerInputMessages messages bundle. diff --git a/tutorials/tutorial14/include/tutorial14/message/Msg1.h b/tutorials/tutorial14/include/tutorial14/message/Msg1.h index ea2ae14b9..928ed44c0 100644 --- a/tutorials/tutorial14/include/tutorial14/message/Msg1.h +++ b/tutorials/tutorial14/include/tutorial14/message/Msg1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1" message and its fields. diff --git a/tutorials/tutorial14/include/tutorial14/message/Msg1Common.h b/tutorials/tutorial14/include/tutorial14/message/Msg1Common.h index 91e27337c..778ad771f 100644 --- a/tutorials/tutorial14/include/tutorial14/message/Msg1Common.h +++ b/tutorials/tutorial14/include/tutorial14/message/Msg1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial14/include/tutorial14/message/Msg2.h b/tutorials/tutorial14/include/tutorial14/message/Msg2.h index b6ff3c60f..313e90dd7 100644 --- a/tutorials/tutorial14/include/tutorial14/message/Msg2.h +++ b/tutorials/tutorial14/include/tutorial14/message/Msg2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 2" message and its fields. @@ -94,6 +94,12 @@ class Msg2 : public >; public: + ///@brief Custom construction + Msg2() + { + // Custom construction code + } + /// @brief Provide names and allow access to internal fields. /// @details See definition of @b COMMS_MSG_FIELDS_NAMES macro /// related to @b comms::MessageBase class from COMMS library diff --git a/tutorials/tutorial14/include/tutorial14/message/Msg2Common.h b/tutorials/tutorial14/include/tutorial14/message/Msg2Common.h index 6b1a60115..e4de85caa 100644 --- a/tutorials/tutorial14/include/tutorial14/message/Msg2Common.h +++ b/tutorials/tutorial14/include/tutorial14/message/Msg2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial14/include/tutorial14/options/BareMetalDefaultOptions.h b/tutorials/tutorial14/include/tutorial14/options/BareMetalDefaultOptions.h index 50f271345..9785d8033 100644 --- a/tutorials/tutorial14/include/tutorial14/options/BareMetalDefaultOptions.h +++ b/tutorials/tutorial14/include/tutorial14/options/BareMetalDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol bare metal default options. diff --git a/tutorials/tutorial14/include/tutorial14/options/ClientDefaultOptions.h b/tutorials/tutorial14/include/tutorial14/options/ClientDefaultOptions.h index e3e55e55b..9c2ad422d 100644 --- a/tutorials/tutorial14/include/tutorial14/options/ClientDefaultOptions.h +++ b/tutorials/tutorial14/include/tutorial14/options/ClientDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol client default options. diff --git a/tutorials/tutorial14/include/tutorial14/options/DataViewDefaultOptions.h b/tutorials/tutorial14/include/tutorial14/options/DataViewDefaultOptions.h index 8ec6c606a..bb9f2813a 100644 --- a/tutorials/tutorial14/include/tutorial14/options/DataViewDefaultOptions.h +++ b/tutorials/tutorial14/include/tutorial14/options/DataViewDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol data view default options. diff --git a/tutorials/tutorial14/include/tutorial14/options/DefaultOptions.h b/tutorials/tutorial14/include/tutorial14/options/DefaultOptions.h index 44b86346e..88c4c0881 100644 --- a/tutorials/tutorial14/include/tutorial14/options/DefaultOptions.h +++ b/tutorials/tutorial14/include/tutorial14/options/DefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol default options. diff --git a/tutorials/tutorial14/include/tutorial14/options/ServerDefaultOptions.h b/tutorials/tutorial14/include/tutorial14/options/ServerDefaultOptions.h index 45d738e4a..47b4d66fc 100644 --- a/tutorials/tutorial14/include/tutorial14/options/ServerDefaultOptions.h +++ b/tutorials/tutorial14/include/tutorial14/options/ServerDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol server default options. diff --git a/tutorials/tutorial15/include/tutorial15/Message.h b/tutorials/tutorial15/include/tutorial15/Message.h index ca84950c0..3dbaf40ff 100644 --- a/tutorials/tutorial15/include/tutorial15/Message.h +++ b/tutorials/tutorial15/include/tutorial15/Message.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message" interface class. diff --git a/tutorials/tutorial15/include/tutorial15/MsgId.h b/tutorials/tutorial15/include/tutorial15/MsgId.h index f2760e30b..e01d24c7d 100644 --- a/tutorials/tutorial15/include/tutorial15/MsgId.h +++ b/tutorials/tutorial15/include/tutorial15/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of message ids enumeration. @@ -13,13 +13,13 @@ namespace tutorial15 /// @brief Message ids enumeration. enum MsgId : std::uint8_t { - MsgId_M1 = 1, ///< message id of Message 1 message. , - MsgId_M2 = 2, ///< message id of Message 2 message. , - MsgId_M3 = 3, ///< message id of Message 3 message. , + MsgId_M1 = 1, ///< message id of Message 1 message. + MsgId_M2 = 2, ///< message id of Message 2 message. + MsgId_M3 = 3, ///< message id of Message 3 message. - // --- Extra values generated for convenience ---, - MsgId_FirstValue = 1, ///< First defined value., - MsgId_LastValue = 3, ///< Last defined value., + // --- Extra values generated for convenience --- + MsgId_FirstValue = 1, ///< First defined value. + MsgId_LastValue = 3, ///< Last defined value. MsgId_ValuesLimit = 4, ///< Upper limit for defined values. }; diff --git a/tutorials/tutorial15/include/tutorial15/Version.h b/tutorials/tutorial15/include/tutorial15/Version.h index c78673dd2..e40b0276c 100644 --- a/tutorials/tutorial15/include/tutorial15/Version.h +++ b/tutorials/tutorial15/include/tutorial15/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains protocol version definition. @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion() } // namespace tutorial15 // Generated compile time check for minimal supported version of the COMMS library -static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(), +static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(), "The version of COMMS library is too old"); diff --git a/tutorials/tutorial15/include/tutorial15/dispatch/DispatchClientInputMessage.h b/tutorials/tutorial15/include/tutorial15/dispatch/DispatchClientInputMessage.h index 426f4743c..366be32ee 100644 --- a/tutorials/tutorial15/include/tutorial15/dispatch/DispatchClientInputMessage.h +++ b/tutorials/tutorial15/include/tutorial15/dispatch/DispatchClientInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial15/include/tutorial15/dispatch/DispatchMessage.h b/tutorials/tutorial15/include/tutorial15/dispatch/DispatchMessage.h index 4aecb1c4c..ee98699da 100644 --- a/tutorials/tutorial15/include/tutorial15/dispatch/DispatchMessage.h +++ b/tutorials/tutorial15/include/tutorial15/dispatch/DispatchMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for all input messages. diff --git a/tutorials/tutorial15/include/tutorial15/dispatch/DispatchServerInputMessage.h b/tutorials/tutorial15/include/tutorial15/dispatch/DispatchServerInputMessage.h index 1c21699cf..aabe795a1 100644 --- a/tutorials/tutorial15/include/tutorial15/dispatch/DispatchServerInputMessage.h +++ b/tutorials/tutorial15/include/tutorial15/dispatch/DispatchServerInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial15/include/tutorial15/field/FieldBase.h b/tutorials/tutorial15/include/tutorial15/field/FieldBase.h index 04c8359a4..b83cb67e2 100644 --- a/tutorials/tutorial15/include/tutorial15/field/FieldBase.h +++ b/tutorials/tutorial15/include/tutorial15/field/FieldBase.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of base class of all the fields. diff --git a/tutorials/tutorial15/include/tutorial15/field/MsgId.h b/tutorials/tutorial15/include/tutorial15/field/MsgId.h index 54714df18..e694db4e8 100644 --- a/tutorials/tutorial15/include/tutorial15/field/MsgId.h +++ b/tutorials/tutorial15/include/tutorial15/field/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "MsgId" field. diff --git a/tutorials/tutorial15/include/tutorial15/field/MsgIdCommon.h b/tutorials/tutorial15/include/tutorial15/field/MsgIdCommon.h index e5420f07b..0b9e46db4 100644 --- a/tutorials/tutorial15/include/tutorial15/field/MsgIdCommon.h +++ b/tutorials/tutorial15/include/tutorial15/field/MsgIdCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial15/include/tutorial15/frame/Frame.h b/tutorials/tutorial15/include/tutorial15/frame/Frame.h index 2deff52c4..3aaf5c3a2 100644 --- a/tutorials/tutorial15/include/tutorial15/frame/Frame.h +++ b/tutorials/tutorial15/include/tutorial15/frame/Frame.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Frame" frame class. diff --git a/tutorials/tutorial15/include/tutorial15/frame/FrameCommon.h b/tutorials/tutorial15/include/tutorial15/frame/FrameCommon.h index d092f5acc..724214a98 100644 --- a/tutorials/tutorial15/include/tutorial15/frame/FrameCommon.h +++ b/tutorials/tutorial15/include/tutorial15/frame/FrameCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial15/include/tutorial15/input/AllMessages.h b/tutorials/tutorial15/include/tutorial15/input/AllMessages.h index 6b528dbde..7fb3372a2 100644 --- a/tutorials/tutorial15/include/tutorial15/input/AllMessages.h +++ b/tutorials/tutorial15/include/tutorial15/input/AllMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the AllMessages messages bundle. diff --git a/tutorials/tutorial15/include/tutorial15/input/ClientInputMessages.h b/tutorials/tutorial15/include/tutorial15/input/ClientInputMessages.h index 0693e9771..fcc46fc10 100644 --- a/tutorials/tutorial15/include/tutorial15/input/ClientInputMessages.h +++ b/tutorials/tutorial15/include/tutorial15/input/ClientInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ClientInputMessages messages bundle. diff --git a/tutorials/tutorial15/include/tutorial15/input/ServerInputMessages.h b/tutorials/tutorial15/include/tutorial15/input/ServerInputMessages.h index ded9eeb15..d93bdc0e8 100644 --- a/tutorials/tutorial15/include/tutorial15/input/ServerInputMessages.h +++ b/tutorials/tutorial15/include/tutorial15/input/ServerInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ServerInputMessages messages bundle. diff --git a/tutorials/tutorial15/include/tutorial15/message/Msg1.h b/tutorials/tutorial15/include/tutorial15/message/Msg1.h index a6c2f6d9f..4486b18d6 100644 --- a/tutorials/tutorial15/include/tutorial15/message/Msg1.h +++ b/tutorials/tutorial15/include/tutorial15/message/Msg1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1" message and its fields. diff --git a/tutorials/tutorial15/include/tutorial15/message/Msg1Common.h b/tutorials/tutorial15/include/tutorial15/message/Msg1Common.h index 291f2bad5..83a6d47c6 100644 --- a/tutorials/tutorial15/include/tutorial15/message/Msg1Common.h +++ b/tutorials/tutorial15/include/tutorial15/message/Msg1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial15/include/tutorial15/message/Msg2.h b/tutorials/tutorial15/include/tutorial15/message/Msg2.h index 39dcf8eb1..fa90c28ab 100644 --- a/tutorials/tutorial15/include/tutorial15/message/Msg2.h +++ b/tutorials/tutorial15/include/tutorial15/message/Msg2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 2" message and its fields. diff --git a/tutorials/tutorial15/include/tutorial15/message/Msg2Common.h b/tutorials/tutorial15/include/tutorial15/message/Msg2Common.h index 5870cee3a..b9ecd4a1c 100644 --- a/tutorials/tutorial15/include/tutorial15/message/Msg2Common.h +++ b/tutorials/tutorial15/include/tutorial15/message/Msg2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial15/include/tutorial15/message/Msg3.h b/tutorials/tutorial15/include/tutorial15/message/Msg3.h index 0b4230215..b8b467240 100644 --- a/tutorials/tutorial15/include/tutorial15/message/Msg3.h +++ b/tutorials/tutorial15/include/tutorial15/message/Msg3.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 3" message and its fields. diff --git a/tutorials/tutorial15/include/tutorial15/message/Msg3Common.h b/tutorials/tutorial15/include/tutorial15/message/Msg3Common.h index 2145cc8c1..742d8f999 100644 --- a/tutorials/tutorial15/include/tutorial15/message/Msg3Common.h +++ b/tutorials/tutorial15/include/tutorial15/message/Msg3Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial15/include/tutorial15/options/BareMetalDefaultOptions.h b/tutorials/tutorial15/include/tutorial15/options/BareMetalDefaultOptions.h index 1745deeb5..3645b7f5a 100644 --- a/tutorials/tutorial15/include/tutorial15/options/BareMetalDefaultOptions.h +++ b/tutorials/tutorial15/include/tutorial15/options/BareMetalDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol bare metal default options. diff --git a/tutorials/tutorial15/include/tutorial15/options/ClientDefaultOptions.h b/tutorials/tutorial15/include/tutorial15/options/ClientDefaultOptions.h index 7d35841fb..64d36b52a 100644 --- a/tutorials/tutorial15/include/tutorial15/options/ClientDefaultOptions.h +++ b/tutorials/tutorial15/include/tutorial15/options/ClientDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol client default options. diff --git a/tutorials/tutorial15/include/tutorial15/options/DataViewDefaultOptions.h b/tutorials/tutorial15/include/tutorial15/options/DataViewDefaultOptions.h index 4c1a75bed..83d7a2cf9 100644 --- a/tutorials/tutorial15/include/tutorial15/options/DataViewDefaultOptions.h +++ b/tutorials/tutorial15/include/tutorial15/options/DataViewDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol data view default options. diff --git a/tutorials/tutorial15/include/tutorial15/options/DefaultOptions.h b/tutorials/tutorial15/include/tutorial15/options/DefaultOptions.h index 4e933978b..c36cd49e4 100644 --- a/tutorials/tutorial15/include/tutorial15/options/DefaultOptions.h +++ b/tutorials/tutorial15/include/tutorial15/options/DefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol default options. diff --git a/tutorials/tutorial15/include/tutorial15/options/ServerDefaultOptions.h b/tutorials/tutorial15/include/tutorial15/options/ServerDefaultOptions.h index 913e6ee7f..9319cf050 100644 --- a/tutorials/tutorial15/include/tutorial15/options/ServerDefaultOptions.h +++ b/tutorials/tutorial15/include/tutorial15/options/ServerDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol server default options. diff --git a/tutorials/tutorial16/CMakeLists.txt b/tutorials/tutorial16/CMakeLists.txt index 2be0f05d0..649977402 100644 --- a/tutorials/tutorial16/CMakeLists.txt +++ b/tutorials/tutorial16/CMakeLists.txt @@ -12,7 +12,7 @@ set (client_src src/ClientSession.cpp ) -dsl_tutorial_parse(${name} SCHEMAS ${schema_files} SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/dsl_src) +dsl_tutorial_parse(${name} SCHEMAS ${schema_files}) bin_tutorial_server(${name} ${server_src}) bin_tutorial_client(${name} ${client_src}) diff --git a/tutorials/tutorial16/README.md b/tutorials/tutorial16/README.md index 4da136cc9..97d3dc026 100644 --- a/tutorials/tutorial16/README.md +++ b/tutorials/tutorial16/README.md @@ -19,6 +19,8 @@ definition: + + @@ -192,13 +194,8 @@ Now, let's dive into the definition of the messages themselves: - - - The field exists only when B0 in interface flags is set. - - - - + + @@ -209,31 +206,29 @@ Now, let's dive into the definition of the messages themselves: - - - The field exists only when B1 in interface flags is set. - - - - + + - + ``` The `F3` field of the `Msg1` is defined as **<optional>** and is expected to exist only if `B0` inside the `Flags` is set. The `F2` of the `Msg` also defined as -**<optional>** and is expected to exist only if `B1` inside the `Flags` is set. At this -moment the [CommsDSL](https://github.com/commschamp/CommsDSL-Specification) does not allow -referencing the **<interface>** member fields inside the **<cond>**-itions -of the **<optional>** message member fields (it is only allowed to reference its sibling fields). -Hence the custom **read** and **refresh** codes need to be written. There are -[dsl_src/include/tutorial16/message/Msg1.h.read](dsl_src/include/tutorial16/message/Msg1.h.read), -[dsl_src/include/tutorial16/message/Msg1.h.refresh](dsl_src/include/tutorial16/message/Msg1.h.refresh), -[dsl_src/include/tutorial16/message/Msg2.h.read](dsl_src/include/tutorial16/message/Msg2.h.read), and -[dsl_src/include/tutorial16/message/Msg2.h.refresh](dsl_src/include/tutorial16/message/Msg2.h.refresh) which -implement the required extra functionalities that find their way into -[include/tutorial16/message/Msg1.h](include/tutorial16/message/Msg1.h) and -[include/tutorial16/message/Msg2.h](include/tutorial16/message/Msg2.h) -message classes definitions. +**<optional>** and is expected to exist only if `B1` inside the `Flags` is set. +Since version **v6.0** the [CommsDSL](https://github.com/commschamp/CommsDSL-Specification) +allows referencing interface fields prefixing the reference string with `%` character. + +---- + +**WARNING**: The [CommsDSL](https://github.com/commschamp/CommsDSL-Specification) specification +supports multiple interfaces and doesn’t impose any restriction on how they are used in the end +application. The schema parser is responsible to do a check that **any** (not all) of the previously +encountered -es contains the referenced field. +The code generator also does not impose many restrictions on such references. Usage of the wrong + class with the missing referenced field in the end application may result in compilation +errors. + +---- + **NOTE** that the **defaultMode** of the both optional fields are set to **missing** in order to allow default constructions of the message objects to end up being in the consistent state (without any @@ -266,23 +261,123 @@ When the whole message is serialized by the **frame**, the value of `Flags` is r **<value>** ([comms::protocol::TransportValueLayer](https://commschamp.github.io/comms_doc/classcomms_1_1protocol_1_1TransportValueLayer.html)) and properly written in the correct place in the frame. -When the sent messages are received back they are printed by the `ClientSession::handle()` functions with the -following output, which shows that the custom read functionality works correctly: +In addition to allowing referencing of the **<interface>** fields in the **cond** properties, +the **v6.0** of the [CommsDSL](https://github.com/commschamp/CommsDSL-Specification) specification +allows using similar syntax to assign values to the **<interface>** fields in the +constructor of the relevant **<message>** class using the **construct** property. +```xml + + + ``` -Sending message "Message 1" with ID=1: 0 8 1 1 4 57 8 ae 4 d2 -Processing input: 0 8 1 1 4 57 8 ae 4 d2 -Received message "Message 1" with ID=1 - F1 = 1111 - F2 = 2222 - F3 (exists) - F3 = 1234 - -Sending message "Message 2" with ID=2: 0 a 2 2 5 68 65 6c 6c 6f 10 e1 -Processing input: 0 a 2 2 5 68 65 6c 6c 6f 10 e1 -Received message "Message 2" with ID=2 - F1 = hello - F2 (exists) - F2 = 4321 + +The generated `Msg3` constructor code (in the [include/tutorial16/message/Msg3.h](include/tutorial16/message/Msg3.h)) +looks like this: +```cpp +Msg3() +{ + Base::transportField_flags().setBitValue_B2(true); +} +``` +The **construct** property use the same syntax as the **cond** one, but with limitations. Only bit references +and equality statements are allowed. + +Multiple **construct** properties are supported as the **<construct>** child node with a single +**<and>** child: +```xml + + + + + + + + ... + +``` +The generated `Msg4` constructor code (in the [include/tutorial16/message/Msg4.h](include/tutorial16/message/Msg3.h)) +looks like this: +```cpp +Msg4() +{ + Base::transportField_flags().setBitValue_B2(true); + Base::transportField_flags().setBitValue_B3(true); +} +``` + +The [CommsDSL](https://github.com/commschamp/CommsDSL-Specification) also supports a check that the +**<interface>** fields have particular value in the **read** operation before proceeding to +reading the message payload (inner fields). It is performed using the **readCond** property. +```xml + + ... + +``` +The **readCond** property uses the same syntax as the previously mention **cond** of the **<optional>** field. +The generated **read** functionality of the [Msg3](include/tutorial16/message/Msg3.h) looks like this: +```cpp +/// @brief Generated read functionality. +template +comms::ErrorStatus doRead(TIter& iter, std::size_t len) +{ + bool validRead = + Base::transportField_flags().getBitValue_B2(); + + if (!validRead) { + return comms::ErrorStatus::InvalidMsgData; + } + + return Base::doRead(iter, len); +} +``` +Quite often **readCond** property value will be the same as the **construct** one. To avoid unnecessary code +duplication the [CommsDSL](https://github.com/commschamp/CommsDSL-Specification) specification introduced +**constructAsReadCond** property with boolean value. +```xml + + + + + + + + ... + +``` +It is equivalent to having the following definition: +```xml + + + + + + + + + + + + + + ... + +``` +The generated **read** functionality of the [Msg4](include/tutorial16/message/Msg4.h) looks like this: +```cpp +/// @brief Generated read functionality. +template +comms::ErrorStatus doRead(TIter& iter, std::size_t len) +{ + bool validRead = + ((Base::transportField_flags().getBitValue_B2()) && + (Base::transportField_flags().getBitValue_B3())); + + if (!validRead) { + return comms::ErrorStatus::InvalidMsgData; + } + + return Base::doRead(iter, len); +} ``` ## Summary @@ -294,5 +389,8 @@ Received message "Message 2" with ID=2 To allow transfer of the information to message object custom **<interface>** needs to be defined. - The common fields defined as members of the **<interface>** are **NOT** getting serialized as part of message payload, only by the **<value>** framing layer. +- Referencing **<interface>** fields is allowing using `%` character prefix. +- Use **construct** property (or **<construct>** node) to specify extra construction requirements. +- Use **readCond** property (or **<readCond>** node) to specify reading conditions that take place before reading of the payload. [Read Previous Tutorial](../tutorial15) <-----------------------> [Read Next Tutorial](../tutorial17) diff --git a/tutorials/tutorial16/dsl/schema.xml b/tutorials/tutorial16/dsl/schema.xml index 63b5c0c77..1202dd929 100644 --- a/tutorials/tutorial16/dsl/schema.xml +++ b/tutorials/tutorial16/dsl/schema.xml @@ -3,15 +3,21 @@ + + + + + + @@ -34,13 +40,8 @@ - - - The field exists only when B0 in interface flags is set. - - - - + + @@ -51,14 +52,25 @@ - - - The field exists only when B1 in interface flags is set. - - - - + + - + + + + + + + + + + + + + + + + + diff --git a/tutorials/tutorial16/dsl_src/include/tutorial16/message/Msg1.h.read b/tutorials/tutorial16/dsl_src/include/tutorial16/message/Msg1.h.read deleted file mode 100644 index 86172562e..000000000 --- a/tutorials/tutorial16/dsl_src/include/tutorial16/message/Msg1.h.read +++ /dev/null @@ -1,7 +0,0 @@ -/// @brief Custom read functionality -template -comms::ErrorStatus doRead(TIter& iter, std::size_t len) -{ - doRefresh(); // Update mode according to flags in the interface - return Base::doRead(iter, len); -} \ No newline at end of file diff --git a/tutorials/tutorial16/dsl_src/include/tutorial16/message/Msg1.h.refresh b/tutorials/tutorial16/dsl_src/include/tutorial16/message/Msg1.h.refresh deleted file mode 100644 index 357854e0f..000000000 --- a/tutorials/tutorial16/dsl_src/include/tutorial16/message/Msg1.h.refresh +++ /dev/null @@ -1,18 +0,0 @@ - -// @brief Custom refresh functionality -bool doRefresh() -{ - bool updated = Base::doRefresh(); // Don't forget default refresh functionality - - auto expF3Mode = comms::field::OptionalMode::Missing; - if (Base::transportField_flags().getBitValue_B0()) { - expF3Mode = comms::field::OptionalMode::Exists; - } - - if (field_f3().getMode() == expF3Mode) { - return updated; - } - - field_f3().setMode(expF3Mode); - return true; -} \ No newline at end of file diff --git a/tutorials/tutorial16/dsl_src/include/tutorial16/message/Msg2.h.read b/tutorials/tutorial16/dsl_src/include/tutorial16/message/Msg2.h.read deleted file mode 100644 index 86172562e..000000000 --- a/tutorials/tutorial16/dsl_src/include/tutorial16/message/Msg2.h.read +++ /dev/null @@ -1,7 +0,0 @@ -/// @brief Custom read functionality -template -comms::ErrorStatus doRead(TIter& iter, std::size_t len) -{ - doRefresh(); // Update mode according to flags in the interface - return Base::doRead(iter, len); -} \ No newline at end of file diff --git a/tutorials/tutorial16/dsl_src/include/tutorial16/message/Msg2.h.refresh b/tutorials/tutorial16/dsl_src/include/tutorial16/message/Msg2.h.refresh deleted file mode 100644 index add9fd46b..000000000 --- a/tutorials/tutorial16/dsl_src/include/tutorial16/message/Msg2.h.refresh +++ /dev/null @@ -1,18 +0,0 @@ - -// @brief Custom refresh functionality -bool doRefresh() -{ - bool updated = Base::doRefresh(); // Don't forget default refresh functionality - - auto expF2Mode = comms::field::OptionalMode::Missing; - if (Base::transportField_flags().getBitValue_B1()) { - expF2Mode = comms::field::OptionalMode::Exists; - } - - if (field_f2().getMode() == expF2Mode) { - return updated; - } - - field_f2().setMode(expF2Mode); - return true; -} \ No newline at end of file diff --git a/tutorials/tutorial16/include/tutorial16/Interface.h b/tutorials/tutorial16/include/tutorial16/Interface.h index 3cfdeec9f..f43eeca07 100644 --- a/tutorials/tutorial16/include/tutorial16/Interface.h +++ b/tutorials/tutorial16/include/tutorial16/Interface.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Interface" interface class. diff --git a/tutorials/tutorial16/include/tutorial16/InterfaceCommon.h b/tutorials/tutorial16/include/tutorial16/InterfaceCommon.h index 56b2dcd2d..674cc6ce3 100644 --- a/tutorials/tutorial16/include/tutorial16/InterfaceCommon.h +++ b/tutorials/tutorial16/include/tutorial16/InterfaceCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial16/include/tutorial16/MsgId.h b/tutorials/tutorial16/include/tutorial16/MsgId.h index 850109e33..4a5e9951c 100644 --- a/tutorials/tutorial16/include/tutorial16/MsgId.h +++ b/tutorials/tutorial16/include/tutorial16/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of message ids enumeration. @@ -13,13 +13,15 @@ namespace tutorial16 /// @brief Message ids enumeration. enum MsgId : std::uint8_t { - MsgId_M1 = 1, ///< message id of Message 1 message. , - MsgId_M2 = 2, ///< message id of Message 2 message. , + MsgId_M1 = 1, ///< message id of Message 1 message. + MsgId_M2 = 2, ///< message id of Message 2 message. + MsgId_M3 = 3, ///< message id of Message 3 message. + MsgId_M4 = 4, ///< message id of Message 3 message. - // --- Extra values generated for convenience ---, - MsgId_FirstValue = 1, ///< First defined value., - MsgId_LastValue = 2, ///< Last defined value., - MsgId_ValuesLimit = 3, ///< Upper limit for defined values. + // --- Extra values generated for convenience --- + MsgId_FirstValue = 1, ///< First defined value. + MsgId_LastValue = 4, ///< Last defined value. + MsgId_ValuesLimit = 5, ///< Upper limit for defined values. }; } // namespace tutorial16 diff --git a/tutorials/tutorial16/include/tutorial16/Version.h b/tutorials/tutorial16/include/tutorial16/Version.h index 9c6899d66..c85b250f9 100644 --- a/tutorials/tutorial16/include/tutorial16/Version.h +++ b/tutorials/tutorial16/include/tutorial16/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains protocol version definition. @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion() } // namespace tutorial16 // Generated compile time check for minimal supported version of the COMMS library -static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(), +static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(), "The version of COMMS library is too old"); diff --git a/tutorials/tutorial16/include/tutorial16/dispatch/DispatchClientInputMessage.h b/tutorials/tutorial16/include/tutorial16/dispatch/DispatchClientInputMessage.h index 9d7686602..2376a1eca 100644 --- a/tutorials/tutorial16/include/tutorial16/dispatch/DispatchClientInputMessage.h +++ b/tutorials/tutorial16/include/tutorial16/dispatch/DispatchClientInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. @@ -57,6 +57,16 @@ auto dispatchClientInputMessage( using MsgType = tutorial16::message::Msg2; return handler.handle(static_cast(msg)); } + case tutorial16::MsgId_M3: + { + using MsgType = tutorial16::message::Msg3; + return handler.handle(static_cast(msg)); + } + case tutorial16::MsgId_M4: + { + using MsgType = tutorial16::message::Msg4; + return handler.handle(static_cast(msg)); + } default: break; }; diff --git a/tutorials/tutorial16/include/tutorial16/dispatch/DispatchMessage.h b/tutorials/tutorial16/include/tutorial16/dispatch/DispatchMessage.h index 2499d1dfa..5ef39db48 100644 --- a/tutorials/tutorial16/include/tutorial16/dispatch/DispatchMessage.h +++ b/tutorials/tutorial16/include/tutorial16/dispatch/DispatchMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for all input messages. @@ -57,6 +57,16 @@ auto dispatchMessage( using MsgType = tutorial16::message::Msg2; return handler.handle(static_cast(msg)); } + case tutorial16::MsgId_M3: + { + using MsgType = tutorial16::message::Msg3; + return handler.handle(static_cast(msg)); + } + case tutorial16::MsgId_M4: + { + using MsgType = tutorial16::message::Msg4; + return handler.handle(static_cast(msg)); + } default: break; }; diff --git a/tutorials/tutorial16/include/tutorial16/dispatch/DispatchServerInputMessage.h b/tutorials/tutorial16/include/tutorial16/dispatch/DispatchServerInputMessage.h index 961be6ecd..3fcac842e 100644 --- a/tutorials/tutorial16/include/tutorial16/dispatch/DispatchServerInputMessage.h +++ b/tutorials/tutorial16/include/tutorial16/dispatch/DispatchServerInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. @@ -57,6 +57,16 @@ auto dispatchServerInputMessage( using MsgType = tutorial16::message::Msg2; return handler.handle(static_cast(msg)); } + case tutorial16::MsgId_M3: + { + using MsgType = tutorial16::message::Msg3; + return handler.handle(static_cast(msg)); + } + case tutorial16::MsgId_M4: + { + using MsgType = tutorial16::message::Msg4; + return handler.handle(static_cast(msg)); + } default: break; }; diff --git a/tutorials/tutorial16/include/tutorial16/field/FieldBase.h b/tutorials/tutorial16/include/tutorial16/field/FieldBase.h index 2761f5c67..34441413c 100644 --- a/tutorials/tutorial16/include/tutorial16/field/FieldBase.h +++ b/tutorials/tutorial16/include/tutorial16/field/FieldBase.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of base class of all the fields. diff --git a/tutorials/tutorial16/include/tutorial16/field/InterfaceFlags.h b/tutorials/tutorial16/include/tutorial16/field/InterfaceFlags.h index e003179fd..66b0e71ef 100644 --- a/tutorials/tutorial16/include/tutorial16/field/InterfaceFlags.h +++ b/tutorials/tutorial16/include/tutorial16/field/InterfaceFlags.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "InterfaceFlags" field. @@ -26,7 +26,7 @@ class InterfaceFlags : public tutorial16::field::FieldBase<>, TExtraOpts..., comms::option::def::FixedLength<1U>, - comms::option::def::BitmaskReservedBits<0xFCU, 0x0U> + comms::option::def::BitmaskReservedBits<0xF0U, 0x0U> > { using Base = @@ -34,7 +34,7 @@ class InterfaceFlags : public tutorial16::field::FieldBase<>, TExtraOpts..., comms::option::def::FixedLength<1U>, - comms::option::def::BitmaskReservedBits<0xFCU, 0x0U> + comms::option::def::BitmaskReservedBits<0xF0U, 0x0U> >; public: /// @brief Provides names and generates access functions for internal bits. @@ -45,9 +45,13 @@ class InterfaceFlags : public /// The generated enum values and functions are: /// @li @b BitIdx_B0, @b getBitValue_B0() and @b setBitValue_B0(). /// @li @b BitIdx_B1, @b getBitValue_B1() and @b setBitValue_B1(). + /// @li @b BitIdx_B2, @b getBitValue_B2() and @b setBitValue_B2(). + /// @li @b BitIdx_B3, @b getBitValue_B3() and @b setBitValue_B3(). COMMS_BITMASK_BITS_SEQ( B0, - B1 + B1, + B2, + B3 ); /// @brief Retrieve name of the bit. diff --git a/tutorials/tutorial16/include/tutorial16/field/InterfaceFlagsCommon.h b/tutorials/tutorial16/include/tutorial16/field/InterfaceFlagsCommon.h index 9e1698798..9313b57ba 100644 --- a/tutorials/tutorial16/include/tutorial16/field/InterfaceFlagsCommon.h +++ b/tutorials/tutorial16/include/tutorial16/field/InterfaceFlagsCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of @@ -30,7 +30,9 @@ struct InterfaceFlagsCommon { static const char* Map[] = { "B0", - "B1" + "B1", + "B2", + "B3" }; static const std::size_t MapSize = std::extent::value; diff --git a/tutorials/tutorial16/include/tutorial16/field/MsgId.h b/tutorials/tutorial16/include/tutorial16/field/MsgId.h index 87dc6a3e3..79b5f4453 100644 --- a/tutorials/tutorial16/include/tutorial16/field/MsgId.h +++ b/tutorials/tutorial16/include/tutorial16/field/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "MsgId" field. @@ -27,7 +27,7 @@ class MsgId : public tutorial16::field::FieldBase<>, tutorial16::field::MsgIdCommon::ValueType, TExtraOpts..., - comms::option::def::ValidNumValueRange<1, 2> + comms::option::def::ValidNumValueRange<1, 4> > { using Base = @@ -35,7 +35,7 @@ class MsgId : public tutorial16::field::FieldBase<>, tutorial16::field::MsgIdCommon::ValueType, TExtraOpts..., - comms::option::def::ValidNumValueRange<1, 2> + comms::option::def::ValidNumValueRange<1, 4> >; public: /// @brief Re-definition of the value type. diff --git a/tutorials/tutorial16/include/tutorial16/field/MsgIdCommon.h b/tutorials/tutorial16/include/tutorial16/field/MsgIdCommon.h index 8897dae25..b83f97376 100644 --- a/tutorials/tutorial16/include/tutorial16/field/MsgIdCommon.h +++ b/tutorials/tutorial16/include/tutorial16/field/MsgIdCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of @@ -56,7 +56,9 @@ struct MsgIdCommon static const char* Map[] = { nullptr, "Message 1", - "Message 2" + "Message 2", + "Message 3", + "Message 3" }; static const std::size_t MapSize = std::extent::value; diff --git a/tutorials/tutorial16/include/tutorial16/frame/Frame.h b/tutorials/tutorial16/include/tutorial16/frame/Frame.h index 4d75d1fd5..352cd8d22 100644 --- a/tutorials/tutorial16/include/tutorial16/frame/Frame.h +++ b/tutorials/tutorial16/include/tutorial16/frame/Frame.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Frame" frame class. diff --git a/tutorials/tutorial16/include/tutorial16/frame/FrameCommon.h b/tutorials/tutorial16/include/tutorial16/frame/FrameCommon.h index 7a399e828..a8f594f9a 100644 --- a/tutorials/tutorial16/include/tutorial16/frame/FrameCommon.h +++ b/tutorials/tutorial16/include/tutorial16/frame/FrameCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial16/include/tutorial16/input/AllMessages.h b/tutorials/tutorial16/include/tutorial16/input/AllMessages.h index 0a076bbe9..2df33f858 100644 --- a/tutorials/tutorial16/include/tutorial16/input/AllMessages.h +++ b/tutorials/tutorial16/include/tutorial16/input/AllMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the AllMessages messages bundle. @@ -8,6 +8,8 @@ #include #include "tutorial16/message/Msg1.h" #include "tutorial16/message/Msg2.h" +#include "tutorial16/message/Msg3.h" +#include "tutorial16/message/Msg4.h" #include "tutorial16/options/DefaultOptions.h" namespace tutorial16 @@ -23,7 +25,9 @@ template using AllMessages = std::tuple< tutorial16::message::Msg1, - tutorial16::message::Msg2 + tutorial16::message::Msg2, + tutorial16::message::Msg3, + tutorial16::message::Msg4 >; } // namespace input diff --git a/tutorials/tutorial16/include/tutorial16/input/ClientInputMessages.h b/tutorials/tutorial16/include/tutorial16/input/ClientInputMessages.h index d745db5ad..5426fc387 100644 --- a/tutorials/tutorial16/include/tutorial16/input/ClientInputMessages.h +++ b/tutorials/tutorial16/include/tutorial16/input/ClientInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ClientInputMessages messages bundle. @@ -8,6 +8,8 @@ #include #include "tutorial16/message/Msg1.h" #include "tutorial16/message/Msg2.h" +#include "tutorial16/message/Msg3.h" +#include "tutorial16/message/Msg4.h" #include "tutorial16/options/DefaultOptions.h" namespace tutorial16 @@ -23,7 +25,9 @@ template using ClientInputMessages = std::tuple< tutorial16::message::Msg1, - tutorial16::message::Msg2 + tutorial16::message::Msg2, + tutorial16::message::Msg3, + tutorial16::message::Msg4 >; } // namespace input diff --git a/tutorials/tutorial16/include/tutorial16/input/ServerInputMessages.h b/tutorials/tutorial16/include/tutorial16/input/ServerInputMessages.h index 4a89ba4a9..acef9a8c2 100644 --- a/tutorials/tutorial16/include/tutorial16/input/ServerInputMessages.h +++ b/tutorials/tutorial16/include/tutorial16/input/ServerInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ServerInputMessages messages bundle. @@ -8,6 +8,8 @@ #include #include "tutorial16/message/Msg1.h" #include "tutorial16/message/Msg2.h" +#include "tutorial16/message/Msg3.h" +#include "tutorial16/message/Msg4.h" #include "tutorial16/options/DefaultOptions.h" namespace tutorial16 @@ -23,7 +25,9 @@ template using ServerInputMessages = std::tuple< tutorial16::message::Msg1, - tutorial16::message::Msg2 + tutorial16::message::Msg2, + tutorial16::message::Msg3, + tutorial16::message::Msg4 >; } // namespace input diff --git a/tutorials/tutorial16/include/tutorial16/message/Msg1.h b/tutorials/tutorial16/include/tutorial16/message/Msg1.h index ea7efc2c6..6db08ba9c 100644 --- a/tutorials/tutorial16/include/tutorial16/message/Msg1.h +++ b/tutorials/tutorial16/include/tutorial16/message/Msg1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1" message and its fields. @@ -122,8 +122,6 @@ struct Msg1Fields }; /// @brief Definition of "F3" field. - /// @details - /// The field exists only when B0 in interface flags is set. class F3 : public comms::field::Optional< typename F3Members::Field, @@ -210,29 +208,51 @@ class Msg1 : public return tutorial16::message::Msg1Common::name(); } - /// @brief Custom read functionality + /// @brief Generated read functionality. template comms::ErrorStatus doRead(TIter& iter, std::size_t len) { - doRefresh(); // Update mode according to flags in the interface - return Base::doRead(iter, len); + auto es = comms::ErrorStatus::Success; + do { + es = Base::template doReadUntilAndUpdateLen(iter, len); + if (es != comms::ErrorStatus::Success) { + break; + } + + readPrepare_f3(); + + es = Base::template doReadFrom(iter, len); + } while (false); + + return es; } - // @brief Custom refresh functionality + /// @brief Generated refresh functionality. bool doRefresh() { - bool updated = Base::doRefresh(); // Don't forget default refresh functionality + bool updated = Base::doRefresh(); + updated = refresh_f3() || updated; + return updated; + } - auto expF3Mode = comms::field::OptionalMode::Missing; +private: + void readPrepare_f3() + { + refresh_f3(); + } + + bool refresh_f3() + { + auto mode = comms::field::OptionalMode::Missing; if (Base::transportField_flags().getBitValue_B0()) { - expF3Mode = comms::field::OptionalMode::Exists; + mode = comms::field::OptionalMode::Exists; } - if (field_f3().getMode() == expF3Mode) { - return updated; + if (field_f3().getMode() == mode) { + return false; } - field_f3().setMode(expF3Mode); + field_f3().setMode(mode); return true; } }; diff --git a/tutorials/tutorial16/include/tutorial16/message/Msg1Common.h b/tutorials/tutorial16/include/tutorial16/message/Msg1Common.h index 62e000983..06395b442 100644 --- a/tutorials/tutorial16/include/tutorial16/message/Msg1Common.h +++ b/tutorials/tutorial16/include/tutorial16/message/Msg1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial16/include/tutorial16/message/Msg2.h b/tutorials/tutorial16/include/tutorial16/message/Msg2.h index ff916f5fc..2e3d50f0f 100644 --- a/tutorials/tutorial16/include/tutorial16/message/Msg2.h +++ b/tutorials/tutorial16/include/tutorial16/message/Msg2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 2" message and its fields. @@ -129,8 +129,6 @@ struct Msg2Fields }; /// @brief Definition of "F2" field. - /// @details - /// The field exists only when B1 in interface flags is set. class F2 : public comms::field::Optional< typename F2Members::Field, @@ -211,29 +209,51 @@ class Msg2 : public return tutorial16::message::Msg2Common::name(); } - /// @brief Custom read functionality + /// @brief Generated read functionality. template comms::ErrorStatus doRead(TIter& iter, std::size_t len) { - doRefresh(); // Update mode according to flags in the interface - return Base::doRead(iter, len); + auto es = comms::ErrorStatus::Success; + do { + es = Base::template doReadUntilAndUpdateLen(iter, len); + if (es != comms::ErrorStatus::Success) { + break; + } + + readPrepare_f2(); + + es = Base::template doReadFrom(iter, len); + } while (false); + + return es; } - // @brief Custom refresh functionality + /// @brief Generated refresh functionality. bool doRefresh() { - bool updated = Base::doRefresh(); // Don't forget default refresh functionality + bool updated = Base::doRefresh(); + updated = refresh_f2() || updated; + return updated; + } - auto expF2Mode = comms::field::OptionalMode::Missing; +private: + void readPrepare_f2() + { + refresh_f2(); + } + + bool refresh_f2() + { + auto mode = comms::field::OptionalMode::Missing; if (Base::transportField_flags().getBitValue_B1()) { - expF2Mode = comms::field::OptionalMode::Exists; + mode = comms::field::OptionalMode::Exists; } - if (field_f2().getMode() == expF2Mode) { - return updated; + if (field_f2().getMode() == mode) { + return false; } - field_f2().setMode(expF2Mode); + field_f2().setMode(mode); return true; } }; diff --git a/tutorials/tutorial16/include/tutorial16/message/Msg2Common.h b/tutorials/tutorial16/include/tutorial16/message/Msg2Common.h index 925a5e5c6..bf3c165b2 100644 --- a/tutorials/tutorial16/include/tutorial16/message/Msg2Common.h +++ b/tutorials/tutorial16/include/tutorial16/message/Msg2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial16/include/tutorial16/message/Msg3.h b/tutorials/tutorial16/include/tutorial16/message/Msg3.h new file mode 100644 index 000000000..c9cda00e1 --- /dev/null +++ b/tutorials/tutorial16/include/tutorial16/message/Msg3.h @@ -0,0 +1,139 @@ +// Generated by commsdsl2comms v6.0.0 + +/// @file +/// @brief Contains definition of "Message 3" message and its fields. + +#pragma once + +#include +#include +#include "comms/MessageBase.h" +#include "comms/field/IntValue.h" +#include "comms/options.h" +#include "tutorial16/MsgId.h" +#include "tutorial16/field/FieldBase.h" +#include "tutorial16/message/Msg3Common.h" +#include "tutorial16/options/DefaultOptions.h" + +namespace tutorial16 +{ + +namespace message +{ + +/// @brief Fields of @ref Msg3. +/// @tparam TOpt Extra options +/// @see @ref Msg3 +/// @headerfile tutorial16/message/Msg3.h +template +struct Msg3Fields +{ + /// @brief Definition of "F1" field. + class F1 : public + comms::field::IntValue< + tutorial16::field::FieldBase<>, + std::uint16_t + > + { + using Base = + comms::field::IntValue< + tutorial16::field::FieldBase<>, + std::uint16_t + >; + public: + /// @brief Re-definition of the value type. + using ValueType = typename Base::ValueType; + + /// @brief Compile time detection of special values presence. + static constexpr bool hasSpecials() + { + return tutorial16::message::Msg3FieldsCommon::F1Common::hasSpecials(); + } + + /// @brief Name of the field. + static const char* name() + { + return tutorial16::message::Msg3FieldsCommon::F1Common::name(); + } + }; + + /// @brief All the fields bundled in std::tuple. + using All = std::tuple< + F1 + >; +}; + +/// @brief Definition of "Message 3" message class. +/// @details +/// See @ref Msg3Fields for definition of the fields this message contains. +/// @tparam TMsgBase Base (interface) class. +/// @tparam TOpt Extra options +/// @headerfile tutorial16/message/Msg3.h +template +class Msg3 : public + comms::MessageBase< + TMsgBase, + comms::option::def::StaticNumIdImpl, + comms::option::def::FieldsImpl::All>, + comms::option::def::MsgType >, + comms::option::def::HasName + > +{ + // Redefinition of the base class type + using Base = + comms::MessageBase< + TMsgBase, + comms::option::def::StaticNumIdImpl, + comms::option::def::FieldsImpl::All>, + comms::option::def::MsgType >, + comms::option::def::HasName + >; + +public: + Msg3() + { + Base::transportField_flags().setBitValue_B2(true); + } + + /// @brief Provide names and allow access to internal fields. + /// @details See definition of @b COMMS_MSG_FIELDS_NAMES macro + /// related to @b comms::MessageBase class from COMMS library + /// for details. + /// + /// The generated values, types and functions are: + /// @li @b FieldIdx_f1 index, @b Field_f1 type and @b field_f1() access fuction + /// for @ref Msg3Fields::F1 field. + COMMS_MSG_FIELDS_NAMES( + f1 + ); + + // Compile time check for serialisation length. + static const std::size_t MsgMinLen = Base::doMinLength(); + static const std::size_t MsgMaxLen = Base::doMaxLength(); + static_assert(MsgMinLen == 2U, "Unexpected min serialisation length"); + static_assert(MsgMaxLen == 2U, "Unexpected max serialisation length"); + + /// @brief Name of the message. + static const char* doName() + { + return tutorial16::message::Msg3Common::name(); + } + + /// @brief Generated read functionality. + template + comms::ErrorStatus doRead(TIter& iter, std::size_t len) + { + bool validRead = + Base::transportField_flags().getBitValue_B2(); + + if (!validRead) { + return comms::ErrorStatus::InvalidMsgData; + } + + return Base::doRead(iter, len); + } +}; + +} // namespace message + +} // namespace tutorial16 diff --git a/tutorials/tutorial16/include/tutorial16/message/Msg3Common.h b/tutorials/tutorial16/include/tutorial16/message/Msg3Common.h new file mode 100644 index 000000000..8d7170714 --- /dev/null +++ b/tutorials/tutorial16/include/tutorial16/message/Msg3Common.h @@ -0,0 +1,57 @@ +// Generated by commsdsl2comms v6.0.0 + +/// @file +/// @brief Contains common template parameters independent functionality of +/// @ref tutorial16::message::Msg3 message and its fields. + +#pragma once + +#include + +namespace tutorial16 +{ + +namespace message +{ + +/// @brief Common types and functions for fields of +/// @ref tutorial16::message::Msg3 message. +/// @see tutorial16::message::Msg3Fields +struct Msg3FieldsCommon +{ + /// @brief Common types and functions for + /// @ref tutorial16::message::Msg3Fields::F1 field. + struct F1Common + { + /// @brief Re-definition of the value type used by + /// tutorial16::message::Msg3Fields::F1 field. + using ValueType = std::uint16_t; + + /// @brief Name of the @ref tutorial16::message::Msg3Fields::F1 field. + static const char* name() + { + return "F1"; + } + + /// @brief Compile time detection of special values presence. + static constexpr bool hasSpecials() + { + return false; + } + }; +}; + +/// @brief Common types and functions of +/// @ref tutorial16::message::Msg3 message. +struct Msg3Common +{ + /// @brief Name of the @ref tutorial16::message::Msg3 message. + static const char* name() + { + return "Message 3"; + } +}; + +} // namespace message + +} // namespace tutorial16 diff --git a/tutorials/tutorial16/include/tutorial16/message/Msg4.h b/tutorials/tutorial16/include/tutorial16/message/Msg4.h new file mode 100644 index 000000000..de4d83e02 --- /dev/null +++ b/tutorials/tutorial16/include/tutorial16/message/Msg4.h @@ -0,0 +1,141 @@ +// Generated by commsdsl2comms v6.0.0 + +/// @file +/// @brief Contains definition of "Message 4" message and its fields. + +#pragma once + +#include +#include +#include "comms/MessageBase.h" +#include "comms/field/IntValue.h" +#include "comms/options.h" +#include "tutorial16/MsgId.h" +#include "tutorial16/field/FieldBase.h" +#include "tutorial16/message/Msg4Common.h" +#include "tutorial16/options/DefaultOptions.h" + +namespace tutorial16 +{ + +namespace message +{ + +/// @brief Fields of @ref Msg4. +/// @tparam TOpt Extra options +/// @see @ref Msg4 +/// @headerfile tutorial16/message/Msg4.h +template +struct Msg4Fields +{ + /// @brief Definition of "F1" field. + class F1 : public + comms::field::IntValue< + tutorial16::field::FieldBase<>, + std::uint16_t + > + { + using Base = + comms::field::IntValue< + tutorial16::field::FieldBase<>, + std::uint16_t + >; + public: + /// @brief Re-definition of the value type. + using ValueType = typename Base::ValueType; + + /// @brief Compile time detection of special values presence. + static constexpr bool hasSpecials() + { + return tutorial16::message::Msg4FieldsCommon::F1Common::hasSpecials(); + } + + /// @brief Name of the field. + static const char* name() + { + return tutorial16::message::Msg4FieldsCommon::F1Common::name(); + } + }; + + /// @brief All the fields bundled in std::tuple. + using All = std::tuple< + F1 + >; +}; + +/// @brief Definition of "Message 4" message class. +/// @details +/// See @ref Msg4Fields for definition of the fields this message contains. +/// @tparam TMsgBase Base (interface) class. +/// @tparam TOpt Extra options +/// @headerfile tutorial16/message/Msg4.h +template +class Msg4 : public + comms::MessageBase< + TMsgBase, + comms::option::def::StaticNumIdImpl, + comms::option::def::FieldsImpl::All>, + comms::option::def::MsgType >, + comms::option::def::HasName + > +{ + // Redefinition of the base class type + using Base = + comms::MessageBase< + TMsgBase, + comms::option::def::StaticNumIdImpl, + comms::option::def::FieldsImpl::All>, + comms::option::def::MsgType >, + comms::option::def::HasName + >; + +public: + Msg4() + { + Base::transportField_flags().setBitValue_B2(true); + Base::transportField_flags().setBitValue_B3(true); + } + + /// @brief Provide names and allow access to internal fields. + /// @details See definition of @b COMMS_MSG_FIELDS_NAMES macro + /// related to @b comms::MessageBase class from COMMS library + /// for details. + /// + /// The generated values, types and functions are: + /// @li @b FieldIdx_f1 index, @b Field_f1 type and @b field_f1() access fuction + /// for @ref Msg4Fields::F1 field. + COMMS_MSG_FIELDS_NAMES( + f1 + ); + + // Compile time check for serialisation length. + static const std::size_t MsgMinLen = Base::doMinLength(); + static const std::size_t MsgMaxLen = Base::doMaxLength(); + static_assert(MsgMinLen == 2U, "Unexpected min serialisation length"); + static_assert(MsgMaxLen == 2U, "Unexpected max serialisation length"); + + /// @brief Name of the message. + static const char* doName() + { + return tutorial16::message::Msg4Common::name(); + } + + /// @brief Generated read functionality. + template + comms::ErrorStatus doRead(TIter& iter, std::size_t len) + { + bool validRead = + ((Base::transportField_flags().getBitValue_B2()) && + (Base::transportField_flags().getBitValue_B3())); + + if (!validRead) { + return comms::ErrorStatus::InvalidMsgData; + } + + return Base::doRead(iter, len); + } +}; + +} // namespace message + +} // namespace tutorial16 diff --git a/tutorials/tutorial16/include/tutorial16/message/Msg4Common.h b/tutorials/tutorial16/include/tutorial16/message/Msg4Common.h new file mode 100644 index 000000000..1bb801051 --- /dev/null +++ b/tutorials/tutorial16/include/tutorial16/message/Msg4Common.h @@ -0,0 +1,57 @@ +// Generated by commsdsl2comms v6.0.0 + +/// @file +/// @brief Contains common template parameters independent functionality of +/// @ref tutorial16::message::Msg4 message and its fields. + +#pragma once + +#include + +namespace tutorial16 +{ + +namespace message +{ + +/// @brief Common types and functions for fields of +/// @ref tutorial16::message::Msg4 message. +/// @see tutorial16::message::Msg4Fields +struct Msg4FieldsCommon +{ + /// @brief Common types and functions for + /// @ref tutorial16::message::Msg4Fields::F1 field. + struct F1Common + { + /// @brief Re-definition of the value type used by + /// tutorial16::message::Msg4Fields::F1 field. + using ValueType = std::uint16_t; + + /// @brief Name of the @ref tutorial16::message::Msg4Fields::F1 field. + static const char* name() + { + return "F1"; + } + + /// @brief Compile time detection of special values presence. + static constexpr bool hasSpecials() + { + return false; + } + }; +}; + +/// @brief Common types and functions of +/// @ref tutorial16::message::Msg4 message. +struct Msg4Common +{ + /// @brief Name of the @ref tutorial16::message::Msg4 message. + static const char* name() + { + return "Message 4"; + } +}; + +} // namespace message + +} // namespace tutorial16 diff --git a/tutorials/tutorial16/include/tutorial16/options/BareMetalDefaultOptions.h b/tutorials/tutorial16/include/tutorial16/options/BareMetalDefaultOptions.h index b18527c6b..93ed1c54d 100644 --- a/tutorials/tutorial16/include/tutorial16/options/BareMetalDefaultOptions.h +++ b/tutorials/tutorial16/include/tutorial16/options/BareMetalDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol bare metal default options. diff --git a/tutorials/tutorial16/include/tutorial16/options/ClientDefaultOptions.h b/tutorials/tutorial16/include/tutorial16/options/ClientDefaultOptions.h index 26f645201..e93bf6af2 100644 --- a/tutorials/tutorial16/include/tutorial16/options/ClientDefaultOptions.h +++ b/tutorials/tutorial16/include/tutorial16/options/ClientDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol client default options. diff --git a/tutorials/tutorial16/include/tutorial16/options/DataViewDefaultOptions.h b/tutorials/tutorial16/include/tutorial16/options/DataViewDefaultOptions.h index 28d005983..26fa75a11 100644 --- a/tutorials/tutorial16/include/tutorial16/options/DataViewDefaultOptions.h +++ b/tutorials/tutorial16/include/tutorial16/options/DataViewDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol data view default options. diff --git a/tutorials/tutorial16/include/tutorial16/options/DefaultOptions.h b/tutorials/tutorial16/include/tutorial16/options/DefaultOptions.h index 5160fd30f..e1b70bb25 100644 --- a/tutorials/tutorial16/include/tutorial16/options/DefaultOptions.h +++ b/tutorials/tutorial16/include/tutorial16/options/DefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol default options. diff --git a/tutorials/tutorial16/include/tutorial16/options/ServerDefaultOptions.h b/tutorials/tutorial16/include/tutorial16/options/ServerDefaultOptions.h index 1231bb211..88d77eb7b 100644 --- a/tutorials/tutorial16/include/tutorial16/options/ServerDefaultOptions.h +++ b/tutorials/tutorial16/include/tutorial16/options/ServerDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol server default options. diff --git a/tutorials/tutorial16/src/ClientSession.cpp b/tutorials/tutorial16/src/ClientSession.cpp index ca5c90d7a..2589a777f 100644 --- a/tutorials/tutorial16/src/ClientSession.cpp +++ b/tutorials/tutorial16/src/ClientSession.cpp @@ -44,6 +44,34 @@ void ClientSession::handle(Msg2& msg) doNextStage(); } +void ClientSession::handle(Msg3& msg) +{ + std::cout << "Received message \"" << msg.doName() << "\" with ID=" << (unsigned)msg.doGetId() << '\n'; + printIntField(msg.field_f1()); + std::cout << std::endl; + + if (m_currentStage != CommsStage_Msg3) { + std::cerr << "ERROR: Unexpected stage" << std::endl; + return; + } + + doNextStage(); +} + +void ClientSession::handle(Msg4& msg) +{ + std::cout << "Received message \"" << msg.doName() << "\" with ID=" << (unsigned)msg.doGetId() << '\n'; + printIntField(msg.field_f1()); + std::cout << std::endl; + + if (m_currentStage != CommsStage_Msg4) { + std::cerr << "ERROR: Unexpected stage" << std::endl; + return; + } + + doNextStage(); +} + void ClientSession::handle(Message& msg) { std::cerr << "ERROR: Received unexpected message \"" << msg.name() << " with ID=" << (unsigned)msg.getId() << std::endl; @@ -125,6 +153,8 @@ void ClientSession::doNextStage() static const NextSendFunc Map[] = { /* CommsStage_Msg1 */ &ClientSession::sendMsg1, /* CommsStage_Msg2 */ &ClientSession::sendMsg2, + /* CommsStage_Msg3 */ &ClientSession::sendMsg3, + /* CommsStage_Msg4 */ &ClientSession::sendMsg4, }; static const std::size_t MapSize = std::extent::value; static_assert(MapSize == CommsStage_NumOfValues, "Invalid Map"); @@ -163,6 +193,25 @@ void ClientSession::sendMsg2() sendMessage(msg); } +void ClientSession::sendMsg3() +{ + Msg3 msg; + assert(msg.transportField_flags().getBitValue_B2()); // Check the constructor sets bit's value + + msg.field_f1().value() = 1111; + sendMessage(msg); +} + +void ClientSession::sendMsg4() +{ + Msg4 msg; + assert(msg.transportField_flags().getBitValue_B2()); // Check the constructor sets bit's value + assert(msg.transportField_flags().getBitValue_B3()); // Check the constructor sets bit's value + + msg.field_f1().value() = 2222; + sendMessage(msg); +} + SessionPtr Session::createClient(boost_wrap::io& io) { return SessionPtr(new ClientSession(io)); diff --git a/tutorials/tutorial16/src/ClientSession.h b/tutorials/tutorial16/src/ClientSession.h index f8e598a27..3e11ce96b 100644 --- a/tutorials/tutorial16/src/ClientSession.h +++ b/tutorials/tutorial16/src/ClientSession.h @@ -40,10 +40,14 @@ class ClientSession : public Session // Definition of all the used message classes using Msg1 = tutorial16::message::Msg1; using Msg2 = tutorial16::message::Msg2; + using Msg3 = tutorial16::message::Msg3; + using Msg4 = tutorial16::message::Msg4; // Handling functions for all the dispatched message objects void handle(Msg1& msg); void handle(Msg2& msg); + void handle(Msg3& msg); + void handle(Msg4& msg); void handle(Message& msg); protected: @@ -55,6 +59,8 @@ class ClientSession : public Session { CommsStage_Msg1, CommsStage_Msg2, + CommsStage_Msg3, + CommsStage_Msg4, CommsStage_NumOfValues }; @@ -62,6 +68,8 @@ class ClientSession : public Session void doNextStage(); void sendMsg1(); void sendMsg2(); + void sendMsg3(); + void sendMsg4(); // Client specific frame using Frame = diff --git a/tutorials/tutorial17/include/tutorial17/Interface.h b/tutorials/tutorial17/include/tutorial17/Interface.h index 3490f0082..8d722b0f0 100644 --- a/tutorials/tutorial17/include/tutorial17/Interface.h +++ b/tutorials/tutorial17/include/tutorial17/Interface.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Interface" interface class. diff --git a/tutorials/tutorial17/include/tutorial17/InterfaceCommon.h b/tutorials/tutorial17/include/tutorial17/InterfaceCommon.h index 4840b7926..51ebb6062 100644 --- a/tutorials/tutorial17/include/tutorial17/InterfaceCommon.h +++ b/tutorials/tutorial17/include/tutorial17/InterfaceCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial17/include/tutorial17/MsgId.h b/tutorials/tutorial17/include/tutorial17/MsgId.h index 9aebaffa9..9a372f211 100644 --- a/tutorials/tutorial17/include/tutorial17/MsgId.h +++ b/tutorials/tutorial17/include/tutorial17/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of message ids enumeration. @@ -13,12 +13,12 @@ namespace tutorial17 /// @brief Message ids enumeration. enum MsgId : std::uint8_t { - MsgId_M1 = 1, ///< message id of Message 1 message. , - MsgId_M2 = 2, ///< message id of Message 2 message. , + MsgId_M1 = 1, ///< message id of Message 1 message. + MsgId_M2 = 2, ///< message id of Message 2 message. - // --- Extra values generated for convenience ---, - MsgId_FirstValue = 1, ///< First defined value., - MsgId_LastValue = 2, ///< Last defined value., + // --- Extra values generated for convenience --- + MsgId_FirstValue = 1, ///< First defined value. + MsgId_LastValue = 2, ///< Last defined value. MsgId_ValuesLimit = 3, ///< Upper limit for defined values. }; diff --git a/tutorials/tutorial17/include/tutorial17/Version.h b/tutorials/tutorial17/include/tutorial17/Version.h index 440fb526c..78b6926b3 100644 --- a/tutorials/tutorial17/include/tutorial17/Version.h +++ b/tutorials/tutorial17/include/tutorial17/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains protocol version definition. @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion() } // namespace tutorial17 // Generated compile time check for minimal supported version of the COMMS library -static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(), +static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(), "The version of COMMS library is too old"); diff --git a/tutorials/tutorial17/include/tutorial17/dispatch/DispatchClientInputMessage.h b/tutorials/tutorial17/include/tutorial17/dispatch/DispatchClientInputMessage.h index 7db8c56d4..89bb7a479 100644 --- a/tutorials/tutorial17/include/tutorial17/dispatch/DispatchClientInputMessage.h +++ b/tutorials/tutorial17/include/tutorial17/dispatch/DispatchClientInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial17/include/tutorial17/dispatch/DispatchMessage.h b/tutorials/tutorial17/include/tutorial17/dispatch/DispatchMessage.h index b8af55788..073f2e9b5 100644 --- a/tutorials/tutorial17/include/tutorial17/dispatch/DispatchMessage.h +++ b/tutorials/tutorial17/include/tutorial17/dispatch/DispatchMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for all input messages. diff --git a/tutorials/tutorial17/include/tutorial17/dispatch/DispatchServerInputMessage.h b/tutorials/tutorial17/include/tutorial17/dispatch/DispatchServerInputMessage.h index cb4c83b8e..817157b04 100644 --- a/tutorials/tutorial17/include/tutorial17/dispatch/DispatchServerInputMessage.h +++ b/tutorials/tutorial17/include/tutorial17/dispatch/DispatchServerInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial17/include/tutorial17/field/FieldBase.h b/tutorials/tutorial17/include/tutorial17/field/FieldBase.h index 9c50bb021..752658f4e 100644 --- a/tutorials/tutorial17/include/tutorial17/field/FieldBase.h +++ b/tutorials/tutorial17/include/tutorial17/field/FieldBase.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of base class of all the fields. diff --git a/tutorials/tutorial17/include/tutorial17/field/MsgId.h b/tutorials/tutorial17/include/tutorial17/field/MsgId.h index ee5fd09b8..6fd838173 100644 --- a/tutorials/tutorial17/include/tutorial17/field/MsgId.h +++ b/tutorials/tutorial17/include/tutorial17/field/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "MsgId" field. diff --git a/tutorials/tutorial17/include/tutorial17/field/MsgIdCommon.h b/tutorials/tutorial17/include/tutorial17/field/MsgIdCommon.h index 95b0b9e12..b9aebbad4 100644 --- a/tutorials/tutorial17/include/tutorial17/field/MsgIdCommon.h +++ b/tutorials/tutorial17/include/tutorial17/field/MsgIdCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial17/include/tutorial17/frame/Frame.h b/tutorials/tutorial17/include/tutorial17/frame/Frame.h index b9528606b..0f02d32d4 100644 --- a/tutorials/tutorial17/include/tutorial17/frame/Frame.h +++ b/tutorials/tutorial17/include/tutorial17/frame/Frame.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Frame" frame class. diff --git a/tutorials/tutorial17/include/tutorial17/frame/FrameCommon.h b/tutorials/tutorial17/include/tutorial17/frame/FrameCommon.h index 488089e76..13fdf8b19 100644 --- a/tutorials/tutorial17/include/tutorial17/frame/FrameCommon.h +++ b/tutorials/tutorial17/include/tutorial17/frame/FrameCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial17/include/tutorial17/input/AllMessages.h b/tutorials/tutorial17/include/tutorial17/input/AllMessages.h index 8cecef7aa..1896f89d5 100644 --- a/tutorials/tutorial17/include/tutorial17/input/AllMessages.h +++ b/tutorials/tutorial17/include/tutorial17/input/AllMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the AllMessages messages bundle. diff --git a/tutorials/tutorial17/include/tutorial17/input/ClientInputMessages.h b/tutorials/tutorial17/include/tutorial17/input/ClientInputMessages.h index e8ae1133c..dbddf2bad 100644 --- a/tutorials/tutorial17/include/tutorial17/input/ClientInputMessages.h +++ b/tutorials/tutorial17/include/tutorial17/input/ClientInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ClientInputMessages messages bundle. diff --git a/tutorials/tutorial17/include/tutorial17/input/ServerInputMessages.h b/tutorials/tutorial17/include/tutorial17/input/ServerInputMessages.h index 4bd183234..c9fd0d36b 100644 --- a/tutorials/tutorial17/include/tutorial17/input/ServerInputMessages.h +++ b/tutorials/tutorial17/include/tutorial17/input/ServerInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ServerInputMessages messages bundle. diff --git a/tutorials/tutorial17/include/tutorial17/message/Msg1.h b/tutorials/tutorial17/include/tutorial17/message/Msg1.h index 2384b7d47..eb0d43f76 100644 --- a/tutorials/tutorial17/include/tutorial17/message/Msg1.h +++ b/tutorials/tutorial17/include/tutorial17/message/Msg1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1" message and its fields. diff --git a/tutorials/tutorial17/include/tutorial17/message/Msg1Common.h b/tutorials/tutorial17/include/tutorial17/message/Msg1Common.h index b39114f2b..f6367962b 100644 --- a/tutorials/tutorial17/include/tutorial17/message/Msg1Common.h +++ b/tutorials/tutorial17/include/tutorial17/message/Msg1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial17/include/tutorial17/message/Msg2.h b/tutorials/tutorial17/include/tutorial17/message/Msg2.h index 62372238d..ebd573a25 100644 --- a/tutorials/tutorial17/include/tutorial17/message/Msg2.h +++ b/tutorials/tutorial17/include/tutorial17/message/Msg2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 2" message and its fields. diff --git a/tutorials/tutorial17/include/tutorial17/message/Msg2Common.h b/tutorials/tutorial17/include/tutorial17/message/Msg2Common.h index 367d1b3e3..fe559efd4 100644 --- a/tutorials/tutorial17/include/tutorial17/message/Msg2Common.h +++ b/tutorials/tutorial17/include/tutorial17/message/Msg2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial17/include/tutorial17/options/BareMetalDefaultOptions.h b/tutorials/tutorial17/include/tutorial17/options/BareMetalDefaultOptions.h index 7581e7e56..dc1e72551 100644 --- a/tutorials/tutorial17/include/tutorial17/options/BareMetalDefaultOptions.h +++ b/tutorials/tutorial17/include/tutorial17/options/BareMetalDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol bare metal default options. diff --git a/tutorials/tutorial17/include/tutorial17/options/ClientDefaultOptions.h b/tutorials/tutorial17/include/tutorial17/options/ClientDefaultOptions.h index da1f5ae0a..fec7ef59e 100644 --- a/tutorials/tutorial17/include/tutorial17/options/ClientDefaultOptions.h +++ b/tutorials/tutorial17/include/tutorial17/options/ClientDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol client default options. diff --git a/tutorials/tutorial17/include/tutorial17/options/DataViewDefaultOptions.h b/tutorials/tutorial17/include/tutorial17/options/DataViewDefaultOptions.h index 4a0dbe54c..25c11e865 100644 --- a/tutorials/tutorial17/include/tutorial17/options/DataViewDefaultOptions.h +++ b/tutorials/tutorial17/include/tutorial17/options/DataViewDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol data view default options. diff --git a/tutorials/tutorial17/include/tutorial17/options/DefaultOptions.h b/tutorials/tutorial17/include/tutorial17/options/DefaultOptions.h index 18088b4b2..089078535 100644 --- a/tutorials/tutorial17/include/tutorial17/options/DefaultOptions.h +++ b/tutorials/tutorial17/include/tutorial17/options/DefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol default options. diff --git a/tutorials/tutorial17/include/tutorial17/options/ServerDefaultOptions.h b/tutorials/tutorial17/include/tutorial17/options/ServerDefaultOptions.h index 07a31a001..349b8d447 100644 --- a/tutorials/tutorial17/include/tutorial17/options/ServerDefaultOptions.h +++ b/tutorials/tutorial17/include/tutorial17/options/ServerDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol server default options. diff --git a/tutorials/tutorial18/include/tutorial18/Message.h b/tutorials/tutorial18/include/tutorial18/Message.h index 04da214b4..025900281 100644 --- a/tutorials/tutorial18/include/tutorial18/Message.h +++ b/tutorials/tutorial18/include/tutorial18/Message.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message" interface class. diff --git a/tutorials/tutorial18/include/tutorial18/MsgId.h b/tutorials/tutorial18/include/tutorial18/MsgId.h index 36716179d..fef7c130d 100644 --- a/tutorials/tutorial18/include/tutorial18/MsgId.h +++ b/tutorials/tutorial18/include/tutorial18/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of message ids enumeration. @@ -13,12 +13,12 @@ namespace tutorial18 /// @brief Message ids enumeration. enum MsgId : std::uint8_t { - MsgId_M1 = 1, ///< message id of Message 1 message. , - MsgId_M2 = 2, ///< message id of Message 2 message. , + MsgId_M1 = 1, ///< message id of Message 1 message. + MsgId_M2 = 2, ///< message id of Message 2 message. - // --- Extra values generated for convenience ---, - MsgId_FirstValue = 1, ///< First defined value., - MsgId_LastValue = 2, ///< Last defined value., + // --- Extra values generated for convenience --- + MsgId_FirstValue = 1, ///< First defined value. + MsgId_LastValue = 2, ///< Last defined value. MsgId_ValuesLimit = 3, ///< Upper limit for defined values. }; diff --git a/tutorials/tutorial18/include/tutorial18/Version.h b/tutorials/tutorial18/include/tutorial18/Version.h index 16bc7c667..848ae721b 100644 --- a/tutorials/tutorial18/include/tutorial18/Version.h +++ b/tutorials/tutorial18/include/tutorial18/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains protocol version definition. @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion() } // namespace tutorial18 // Generated compile time check for minimal supported version of the COMMS library -static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(), +static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(), "The version of COMMS library is too old"); diff --git a/tutorials/tutorial18/include/tutorial18/dispatch/DispatchClientInputMessage.h b/tutorials/tutorial18/include/tutorial18/dispatch/DispatchClientInputMessage.h index ebdf567f7..6bf5d95e6 100644 --- a/tutorials/tutorial18/include/tutorial18/dispatch/DispatchClientInputMessage.h +++ b/tutorials/tutorial18/include/tutorial18/dispatch/DispatchClientInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial18/include/tutorial18/dispatch/DispatchMessage.h b/tutorials/tutorial18/include/tutorial18/dispatch/DispatchMessage.h index f0a7617b8..8dcdd9939 100644 --- a/tutorials/tutorial18/include/tutorial18/dispatch/DispatchMessage.h +++ b/tutorials/tutorial18/include/tutorial18/dispatch/DispatchMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for all input messages. diff --git a/tutorials/tutorial18/include/tutorial18/dispatch/DispatchServerInputMessage.h b/tutorials/tutorial18/include/tutorial18/dispatch/DispatchServerInputMessage.h index 235137dbe..bd8834aa7 100644 --- a/tutorials/tutorial18/include/tutorial18/dispatch/DispatchServerInputMessage.h +++ b/tutorials/tutorial18/include/tutorial18/dispatch/DispatchServerInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial18/include/tutorial18/field/FieldBase.h b/tutorials/tutorial18/include/tutorial18/field/FieldBase.h index 8c14cd535..fba577bc2 100644 --- a/tutorials/tutorial18/include/tutorial18/field/FieldBase.h +++ b/tutorials/tutorial18/include/tutorial18/field/FieldBase.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of base class of all the fields. diff --git a/tutorials/tutorial18/include/tutorial18/field/MsgId.h b/tutorials/tutorial18/include/tutorial18/field/MsgId.h index 514ce5a5f..5c04fc17e 100644 --- a/tutorials/tutorial18/include/tutorial18/field/MsgId.h +++ b/tutorials/tutorial18/include/tutorial18/field/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "ID" field. diff --git a/tutorials/tutorial18/include/tutorial18/field/MsgIdCommon.h b/tutorials/tutorial18/include/tutorial18/field/MsgIdCommon.h index 2afc73d4e..32f5d2f1b 100644 --- a/tutorials/tutorial18/include/tutorial18/field/MsgIdCommon.h +++ b/tutorials/tutorial18/include/tutorial18/field/MsgIdCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial18/include/tutorial18/frame/Frame.h b/tutorials/tutorial18/include/tutorial18/frame/Frame.h index 4fd3d5325..25fe0460e 100644 --- a/tutorials/tutorial18/include/tutorial18/frame/Frame.h +++ b/tutorials/tutorial18/include/tutorial18/frame/Frame.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Frame" frame class. diff --git a/tutorials/tutorial18/include/tutorial18/frame/FrameCommon.h b/tutorials/tutorial18/include/tutorial18/frame/FrameCommon.h index 5e31cb93e..075130e20 100644 --- a/tutorials/tutorial18/include/tutorial18/frame/FrameCommon.h +++ b/tutorials/tutorial18/include/tutorial18/frame/FrameCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial18/include/tutorial18/input/AllMessages.h b/tutorials/tutorial18/include/tutorial18/input/AllMessages.h index f809d1278..fcea3fedb 100644 --- a/tutorials/tutorial18/include/tutorial18/input/AllMessages.h +++ b/tutorials/tutorial18/include/tutorial18/input/AllMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the AllMessages messages bundle. diff --git a/tutorials/tutorial18/include/tutorial18/input/ClientInputMessages.h b/tutorials/tutorial18/include/tutorial18/input/ClientInputMessages.h index 48d57a34f..c4f3d3cf0 100644 --- a/tutorials/tutorial18/include/tutorial18/input/ClientInputMessages.h +++ b/tutorials/tutorial18/include/tutorial18/input/ClientInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ClientInputMessages messages bundle. diff --git a/tutorials/tutorial18/include/tutorial18/input/ServerInputMessages.h b/tutorials/tutorial18/include/tutorial18/input/ServerInputMessages.h index e412b912c..e43794a07 100644 --- a/tutorials/tutorial18/include/tutorial18/input/ServerInputMessages.h +++ b/tutorials/tutorial18/include/tutorial18/input/ServerInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ServerInputMessages messages bundle. diff --git a/tutorials/tutorial18/include/tutorial18/message/Msg1_1.h b/tutorials/tutorial18/include/tutorial18/message/Msg1_1.h index 54f373cd3..7bbfbb22e 100644 --- a/tutorials/tutorial18/include/tutorial18/message/Msg1_1.h +++ b/tutorials/tutorial18/include/tutorial18/message/Msg1_1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1 (1)" message and its fields. diff --git a/tutorials/tutorial18/include/tutorial18/message/Msg1_1Common.h b/tutorials/tutorial18/include/tutorial18/message/Msg1_1Common.h index a564c7c01..136d2e2c2 100644 --- a/tutorials/tutorial18/include/tutorial18/message/Msg1_1Common.h +++ b/tutorials/tutorial18/include/tutorial18/message/Msg1_1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial18/include/tutorial18/message/Msg1_2.h b/tutorials/tutorial18/include/tutorial18/message/Msg1_2.h index 1a585e542..07948b51d 100644 --- a/tutorials/tutorial18/include/tutorial18/message/Msg1_2.h +++ b/tutorials/tutorial18/include/tutorial18/message/Msg1_2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1 (2)" message and its fields. diff --git a/tutorials/tutorial18/include/tutorial18/message/Msg1_2Common.h b/tutorials/tutorial18/include/tutorial18/message/Msg1_2Common.h index 7aaa1e3d4..1f320f6f9 100644 --- a/tutorials/tutorial18/include/tutorial18/message/Msg1_2Common.h +++ b/tutorials/tutorial18/include/tutorial18/message/Msg1_2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial18/include/tutorial18/message/Msg1_3.h b/tutorials/tutorial18/include/tutorial18/message/Msg1_3.h index 4b8c45031..0a73c1068 100644 --- a/tutorials/tutorial18/include/tutorial18/message/Msg1_3.h +++ b/tutorials/tutorial18/include/tutorial18/message/Msg1_3.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1 (3)" message and its fields. diff --git a/tutorials/tutorial18/include/tutorial18/message/Msg1_3Common.h b/tutorials/tutorial18/include/tutorial18/message/Msg1_3Common.h index d9c616219..4241674b6 100644 --- a/tutorials/tutorial18/include/tutorial18/message/Msg1_3Common.h +++ b/tutorials/tutorial18/include/tutorial18/message/Msg1_3Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial18/include/tutorial18/message/Msg2_1.h b/tutorials/tutorial18/include/tutorial18/message/Msg2_1.h index 0320f4e64..2d1b908c0 100644 --- a/tutorials/tutorial18/include/tutorial18/message/Msg2_1.h +++ b/tutorials/tutorial18/include/tutorial18/message/Msg2_1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 2 (1)" message and its fields. diff --git a/tutorials/tutorial18/include/tutorial18/message/Msg2_1Common.h b/tutorials/tutorial18/include/tutorial18/message/Msg2_1Common.h index c105b20e7..5364b7168 100644 --- a/tutorials/tutorial18/include/tutorial18/message/Msg2_1Common.h +++ b/tutorials/tutorial18/include/tutorial18/message/Msg2_1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial18/include/tutorial18/message/Msg2_2.h b/tutorials/tutorial18/include/tutorial18/message/Msg2_2.h index 2f308bc11..fa6d2516e 100644 --- a/tutorials/tutorial18/include/tutorial18/message/Msg2_2.h +++ b/tutorials/tutorial18/include/tutorial18/message/Msg2_2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 2 (2)" message and its fields. diff --git a/tutorials/tutorial18/include/tutorial18/message/Msg2_2Common.h b/tutorials/tutorial18/include/tutorial18/message/Msg2_2Common.h index 28159d9d5..8a9849c0e 100644 --- a/tutorials/tutorial18/include/tutorial18/message/Msg2_2Common.h +++ b/tutorials/tutorial18/include/tutorial18/message/Msg2_2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial18/include/tutorial18/message/Msg2_3.h b/tutorials/tutorial18/include/tutorial18/message/Msg2_3.h index e77074801..74f8b27bd 100644 --- a/tutorials/tutorial18/include/tutorial18/message/Msg2_3.h +++ b/tutorials/tutorial18/include/tutorial18/message/Msg2_3.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 2 (3)" message and its fields. diff --git a/tutorials/tutorial18/include/tutorial18/message/Msg2_3Common.h b/tutorials/tutorial18/include/tutorial18/message/Msg2_3Common.h index c567c12f3..5484d6827 100644 --- a/tutorials/tutorial18/include/tutorial18/message/Msg2_3Common.h +++ b/tutorials/tutorial18/include/tutorial18/message/Msg2_3Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial18/include/tutorial18/options/BareMetalDefaultOptions.h b/tutorials/tutorial18/include/tutorial18/options/BareMetalDefaultOptions.h index 93186b6ca..c07cf9716 100644 --- a/tutorials/tutorial18/include/tutorial18/options/BareMetalDefaultOptions.h +++ b/tutorials/tutorial18/include/tutorial18/options/BareMetalDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol bare metal default options. diff --git a/tutorials/tutorial18/include/tutorial18/options/ClientDefaultOptions.h b/tutorials/tutorial18/include/tutorial18/options/ClientDefaultOptions.h index bfbc4148c..48dea61b7 100644 --- a/tutorials/tutorial18/include/tutorial18/options/ClientDefaultOptions.h +++ b/tutorials/tutorial18/include/tutorial18/options/ClientDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol client default options. diff --git a/tutorials/tutorial18/include/tutorial18/options/DataViewDefaultOptions.h b/tutorials/tutorial18/include/tutorial18/options/DataViewDefaultOptions.h index 2c952e03d..5ed8719bd 100644 --- a/tutorials/tutorial18/include/tutorial18/options/DataViewDefaultOptions.h +++ b/tutorials/tutorial18/include/tutorial18/options/DataViewDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol data view default options. diff --git a/tutorials/tutorial18/include/tutorial18/options/DefaultOptions.h b/tutorials/tutorial18/include/tutorial18/options/DefaultOptions.h index 23b4ca77c..acec2d76b 100644 --- a/tutorials/tutorial18/include/tutorial18/options/DefaultOptions.h +++ b/tutorials/tutorial18/include/tutorial18/options/DefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol default options. diff --git a/tutorials/tutorial18/include/tutorial18/options/ServerDefaultOptions.h b/tutorials/tutorial18/include/tutorial18/options/ServerDefaultOptions.h index b50b06395..c6dc27da3 100644 --- a/tutorials/tutorial18/include/tutorial18/options/ServerDefaultOptions.h +++ b/tutorials/tutorial18/include/tutorial18/options/ServerDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol server default options. diff --git a/tutorials/tutorial19/include/tutorial19/Interface.h b/tutorials/tutorial19/include/tutorial19/Interface.h index 8d72e06f7..2b4279901 100644 --- a/tutorials/tutorial19/include/tutorial19/Interface.h +++ b/tutorials/tutorial19/include/tutorial19/Interface.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Interface" interface class. diff --git a/tutorials/tutorial19/include/tutorial19/InterfaceCommon.h b/tutorials/tutorial19/include/tutorial19/InterfaceCommon.h index 0f1619b2f..d62d973ae 100644 --- a/tutorials/tutorial19/include/tutorial19/InterfaceCommon.h +++ b/tutorials/tutorial19/include/tutorial19/InterfaceCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial19/include/tutorial19/MsgId.h b/tutorials/tutorial19/include/tutorial19/MsgId.h index 8ec9ed1d2..ba5cf5e82 100644 --- a/tutorials/tutorial19/include/tutorial19/MsgId.h +++ b/tutorials/tutorial19/include/tutorial19/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of message ids enumeration. @@ -13,13 +13,13 @@ namespace tutorial19 /// @brief Message ids enumeration. enum MsgId : std::uint8_t { - MsgId_M1 = 1, ///< message id of Message 1 message. , - MsgId_M2 = 2, ///< message id of Message 2 message. , - MsgId_M3 = 3, ///< message id of Message 3 message. , + MsgId_M1 = 1, ///< message id of Message 1 message. + MsgId_M2 = 2, ///< message id of Message 2 message. + MsgId_M3 = 3, ///< message id of Message 3 message. - // --- Extra values generated for convenience ---, - MsgId_FirstValue = 1, ///< First defined value., - MsgId_LastValue = 3, ///< Last defined value., + // --- Extra values generated for convenience --- + MsgId_FirstValue = 1, ///< First defined value. + MsgId_LastValue = 3, ///< Last defined value. MsgId_ValuesLimit = 4, ///< Upper limit for defined values. }; diff --git a/tutorials/tutorial19/include/tutorial19/Version.h b/tutorials/tutorial19/include/tutorial19/Version.h index 85b79a121..761a9a02f 100644 --- a/tutorials/tutorial19/include/tutorial19/Version.h +++ b/tutorials/tutorial19/include/tutorial19/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains protocol version definition. @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion() } // namespace tutorial19 // Generated compile time check for minimal supported version of the COMMS library -static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(), +static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(), "The version of COMMS library is too old"); diff --git a/tutorials/tutorial19/include/tutorial19/dispatch/DispatchClientInputMessage.h b/tutorials/tutorial19/include/tutorial19/dispatch/DispatchClientInputMessage.h index ba0ce2358..4d4a1916c 100644 --- a/tutorials/tutorial19/include/tutorial19/dispatch/DispatchClientInputMessage.h +++ b/tutorials/tutorial19/include/tutorial19/dispatch/DispatchClientInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial19/include/tutorial19/dispatch/DispatchMessage.h b/tutorials/tutorial19/include/tutorial19/dispatch/DispatchMessage.h index 82528e876..fd6a4310a 100644 --- a/tutorials/tutorial19/include/tutorial19/dispatch/DispatchMessage.h +++ b/tutorials/tutorial19/include/tutorial19/dispatch/DispatchMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for all input messages. diff --git a/tutorials/tutorial19/include/tutorial19/dispatch/DispatchServerInputMessage.h b/tutorials/tutorial19/include/tutorial19/dispatch/DispatchServerInputMessage.h index 1c57b60d9..2cc46e44f 100644 --- a/tutorials/tutorial19/include/tutorial19/dispatch/DispatchServerInputMessage.h +++ b/tutorials/tutorial19/include/tutorial19/dispatch/DispatchServerInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial19/include/tutorial19/field/FieldBase.h b/tutorials/tutorial19/include/tutorial19/field/FieldBase.h index 17a8d9fa9..075c1604b 100644 --- a/tutorials/tutorial19/include/tutorial19/field/FieldBase.h +++ b/tutorials/tutorial19/include/tutorial19/field/FieldBase.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of base class of all the fields. diff --git a/tutorials/tutorial19/include/tutorial19/field/MsgId.h b/tutorials/tutorial19/include/tutorial19/field/MsgId.h index be1cb0479..ca2914bd1 100644 --- a/tutorials/tutorial19/include/tutorial19/field/MsgId.h +++ b/tutorials/tutorial19/include/tutorial19/field/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "MsgId" field. diff --git a/tutorials/tutorial19/include/tutorial19/field/MsgIdCommon.h b/tutorials/tutorial19/include/tutorial19/field/MsgIdCommon.h index fef58e162..abe4d78c8 100644 --- a/tutorials/tutorial19/include/tutorial19/field/MsgIdCommon.h +++ b/tutorials/tutorial19/include/tutorial19/field/MsgIdCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial19/include/tutorial19/frame/Frame.h b/tutorials/tutorial19/include/tutorial19/frame/Frame.h index 3ebfbe445..d84d7fc5e 100644 --- a/tutorials/tutorial19/include/tutorial19/frame/Frame.h +++ b/tutorials/tutorial19/include/tutorial19/frame/Frame.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Frame" frame class. diff --git a/tutorials/tutorial19/include/tutorial19/frame/FrameCommon.h b/tutorials/tutorial19/include/tutorial19/frame/FrameCommon.h index 7792ec226..2b53ca972 100644 --- a/tutorials/tutorial19/include/tutorial19/frame/FrameCommon.h +++ b/tutorials/tutorial19/include/tutorial19/frame/FrameCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial19/include/tutorial19/input/AllMessages.h b/tutorials/tutorial19/include/tutorial19/input/AllMessages.h index a1bb4915a..af4f4e1e5 100644 --- a/tutorials/tutorial19/include/tutorial19/input/AllMessages.h +++ b/tutorials/tutorial19/include/tutorial19/input/AllMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the AllMessages messages bundle. diff --git a/tutorials/tutorial19/include/tutorial19/input/ClientInputMessages.h b/tutorials/tutorial19/include/tutorial19/input/ClientInputMessages.h index 21de06411..d848bc8a9 100644 --- a/tutorials/tutorial19/include/tutorial19/input/ClientInputMessages.h +++ b/tutorials/tutorial19/include/tutorial19/input/ClientInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ClientInputMessages messages bundle. diff --git a/tutorials/tutorial19/include/tutorial19/input/ServerInputMessages.h b/tutorials/tutorial19/include/tutorial19/input/ServerInputMessages.h index ec858ded4..1d1b9cd60 100644 --- a/tutorials/tutorial19/include/tutorial19/input/ServerInputMessages.h +++ b/tutorials/tutorial19/include/tutorial19/input/ServerInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ServerInputMessages messages bundle. diff --git a/tutorials/tutorial19/include/tutorial19/message/Msg1.h b/tutorials/tutorial19/include/tutorial19/message/Msg1.h index 981a21907..57ff4d157 100644 --- a/tutorials/tutorial19/include/tutorial19/message/Msg1.h +++ b/tutorials/tutorial19/include/tutorial19/message/Msg1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1" message and its fields. diff --git a/tutorials/tutorial19/include/tutorial19/message/Msg1Common.h b/tutorials/tutorial19/include/tutorial19/message/Msg1Common.h index 15bcaa97c..3643d0671 100644 --- a/tutorials/tutorial19/include/tutorial19/message/Msg1Common.h +++ b/tutorials/tutorial19/include/tutorial19/message/Msg1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial19/include/tutorial19/message/Msg2.h b/tutorials/tutorial19/include/tutorial19/message/Msg2.h index ccb13d103..c09ceea53 100644 --- a/tutorials/tutorial19/include/tutorial19/message/Msg2.h +++ b/tutorials/tutorial19/include/tutorial19/message/Msg2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 2" message and its fields. diff --git a/tutorials/tutorial19/include/tutorial19/message/Msg2Common.h b/tutorials/tutorial19/include/tutorial19/message/Msg2Common.h index 5aad83a48..cb7db9a76 100644 --- a/tutorials/tutorial19/include/tutorial19/message/Msg2Common.h +++ b/tutorials/tutorial19/include/tutorial19/message/Msg2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial19/include/tutorial19/message/Msg3.h b/tutorials/tutorial19/include/tutorial19/message/Msg3.h index 88fbb1e7e..d067f3b62 100644 --- a/tutorials/tutorial19/include/tutorial19/message/Msg3.h +++ b/tutorials/tutorial19/include/tutorial19/message/Msg3.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 3" message and its fields. @@ -321,6 +321,7 @@ class Msg3 : public es = Base::template doReadFrom(iter, len); } while (false); + return es; } diff --git a/tutorials/tutorial19/include/tutorial19/message/Msg3Common.h b/tutorials/tutorial19/include/tutorial19/message/Msg3Common.h index 3a8a7d655..62ed7b08e 100644 --- a/tutorials/tutorial19/include/tutorial19/message/Msg3Common.h +++ b/tutorials/tutorial19/include/tutorial19/message/Msg3Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial19/include/tutorial19/options/BareMetalDefaultOptions.h b/tutorials/tutorial19/include/tutorial19/options/BareMetalDefaultOptions.h index dec58e85a..8a7c2a2e0 100644 --- a/tutorials/tutorial19/include/tutorial19/options/BareMetalDefaultOptions.h +++ b/tutorials/tutorial19/include/tutorial19/options/BareMetalDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol bare metal default options. diff --git a/tutorials/tutorial19/include/tutorial19/options/ClientDefaultOptions.h b/tutorials/tutorial19/include/tutorial19/options/ClientDefaultOptions.h index 52ac22054..997d65033 100644 --- a/tutorials/tutorial19/include/tutorial19/options/ClientDefaultOptions.h +++ b/tutorials/tutorial19/include/tutorial19/options/ClientDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol client default options. diff --git a/tutorials/tutorial19/include/tutorial19/options/DataViewDefaultOptions.h b/tutorials/tutorial19/include/tutorial19/options/DataViewDefaultOptions.h index 72a0100b2..bd3229d73 100644 --- a/tutorials/tutorial19/include/tutorial19/options/DataViewDefaultOptions.h +++ b/tutorials/tutorial19/include/tutorial19/options/DataViewDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol data view default options. diff --git a/tutorials/tutorial19/include/tutorial19/options/DefaultOptions.h b/tutorials/tutorial19/include/tutorial19/options/DefaultOptions.h index a06c4cc58..02d7070ab 100644 --- a/tutorials/tutorial19/include/tutorial19/options/DefaultOptions.h +++ b/tutorials/tutorial19/include/tutorial19/options/DefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol default options. diff --git a/tutorials/tutorial19/include/tutorial19/options/ServerDefaultOptions.h b/tutorials/tutorial19/include/tutorial19/options/ServerDefaultOptions.h index 1eb023532..985a14151 100644 --- a/tutorials/tutorial19/include/tutorial19/options/ServerDefaultOptions.h +++ b/tutorials/tutorial19/include/tutorial19/options/ServerDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol server default options. diff --git a/tutorials/tutorial2/include/tutorial2/Message.h b/tutorials/tutorial2/include/tutorial2/Message.h index 3bff3c062..fbb10a962 100644 --- a/tutorials/tutorial2/include/tutorial2/Message.h +++ b/tutorials/tutorial2/include/tutorial2/Message.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message" interface class. diff --git a/tutorials/tutorial2/include/tutorial2/MsgId.h b/tutorials/tutorial2/include/tutorial2/MsgId.h index 4c11577b2..27e2b2299 100644 --- a/tutorials/tutorial2/include/tutorial2/MsgId.h +++ b/tutorials/tutorial2/include/tutorial2/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of message ids enumeration. @@ -13,27 +13,27 @@ namespace tutorial2 /// @brief Message ids enumeration. enum MsgId : std::uint8_t { - MsgId_M1 = 1, ///< message id of @b M1 message. , - MsgId_M2 = 2, ///< message id of @b M2 message. , - MsgId_M3 = 3, ///< message id of @b M3 message. , - MsgId_M4 = 4, ///< message id of @b M4 message. , - MsgId_M5 = 5, ///< message id of @b M5 message. , - MsgId_M6 = 6, ///< message id of @b M6 message. , - MsgId_M7 = 7, ///< message id of @b M7 message. , - MsgId_M8 = 8, ///< message id of @b M8 message. , - MsgId_M9 = 9, ///< message id of @b M9 message. , - MsgId_M10 = 10, ///< message id of @b M10 message. , - MsgId_M11 = 11, ///< message id of @b M11 message. , - MsgId_M12 = 12, ///< message id of @b M12 message. , - MsgId_M13 = 13, ///< message id of @b M13 message. , - MsgId_M14 = 14, ///< message id of @b M14 message. , - MsgId_M15 = 15, ///< message id of @b M15 message. , - MsgId_M16 = 16, ///< message id of @b M16 message. , - MsgId_M17 = 17, ///< message id of @b M17 message. , + MsgId_M1 = 1, ///< message id of @b M1 message. + MsgId_M2 = 2, ///< message id of @b M2 message. + MsgId_M3 = 3, ///< message id of @b M3 message. + MsgId_M4 = 4, ///< message id of @b M4 message. + MsgId_M5 = 5, ///< message id of @b M5 message. + MsgId_M6 = 6, ///< message id of @b M6 message. + MsgId_M7 = 7, ///< message id of @b M7 message. + MsgId_M8 = 8, ///< message id of @b M8 message. + MsgId_M9 = 9, ///< message id of @b M9 message. + MsgId_M10 = 10, ///< message id of @b M10 message. + MsgId_M11 = 11, ///< message id of @b M11 message. + MsgId_M12 = 12, ///< message id of @b M12 message. + MsgId_M13 = 13, ///< message id of @b M13 message. + MsgId_M14 = 14, ///< message id of @b M14 message. + MsgId_M15 = 15, ///< message id of @b M15 message. + MsgId_M16 = 16, ///< message id of @b M16 message. + MsgId_M17 = 17, ///< message id of @b M17 message. - // --- Extra values generated for convenience ---, - MsgId_FirstValue = 1, ///< First defined value., - MsgId_LastValue = 17, ///< Last defined value., + // --- Extra values generated for convenience --- + MsgId_FirstValue = 1, ///< First defined value. + MsgId_LastValue = 17, ///< Last defined value. MsgId_ValuesLimit = 18, ///< Upper limit for defined values. }; diff --git a/tutorials/tutorial2/include/tutorial2/Version.h b/tutorials/tutorial2/include/tutorial2/Version.h index 8067c35cc..c6c822610 100644 --- a/tutorials/tutorial2/include/tutorial2/Version.h +++ b/tutorials/tutorial2/include/tutorial2/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains protocol version definition. @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion() } // namespace tutorial2 // Generated compile time check for minimal supported version of the COMMS library -static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(), +static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(), "The version of COMMS library is too old"); diff --git a/tutorials/tutorial2/include/tutorial2/dispatch/DispatchClientInputMessage.h b/tutorials/tutorial2/include/tutorial2/dispatch/DispatchClientInputMessage.h index 4a9753a4b..e333eda36 100644 --- a/tutorials/tutorial2/include/tutorial2/dispatch/DispatchClientInputMessage.h +++ b/tutorials/tutorial2/include/tutorial2/dispatch/DispatchClientInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial2/include/tutorial2/dispatch/DispatchMessage.h b/tutorials/tutorial2/include/tutorial2/dispatch/DispatchMessage.h index 952c0fec6..60d5651fb 100644 --- a/tutorials/tutorial2/include/tutorial2/dispatch/DispatchMessage.h +++ b/tutorials/tutorial2/include/tutorial2/dispatch/DispatchMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for all input messages. diff --git a/tutorials/tutorial2/include/tutorial2/dispatch/DispatchServerInputMessage.h b/tutorials/tutorial2/include/tutorial2/dispatch/DispatchServerInputMessage.h index 3aa5b87aa..a7d65c229 100644 --- a/tutorials/tutorial2/include/tutorial2/dispatch/DispatchServerInputMessage.h +++ b/tutorials/tutorial2/include/tutorial2/dispatch/DispatchServerInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial2/include/tutorial2/field/B8_1.h b/tutorials/tutorial2/include/tutorial2/field/B8_1.h index 3d9f3e626..a5a034dfe 100644 --- a/tutorials/tutorial2/include/tutorial2/field/B8_1.h +++ b/tutorials/tutorial2/include/tutorial2/field/B8_1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "B8_1" field. diff --git a/tutorials/tutorial2/include/tutorial2/field/B8_1Common.h b/tutorials/tutorial2/include/tutorial2/field/B8_1Common.h index 6a612e0d5..ed1f95208 100644 --- a/tutorials/tutorial2/include/tutorial2/field/B8_1Common.h +++ b/tutorials/tutorial2/include/tutorial2/field/B8_1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/field/B8_2.h b/tutorials/tutorial2/include/tutorial2/field/B8_2.h index 23c396bdc..7999057fd 100644 --- a/tutorials/tutorial2/include/tutorial2/field/B8_2.h +++ b/tutorials/tutorial2/include/tutorial2/field/B8_2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "B8_2" field. diff --git a/tutorials/tutorial2/include/tutorial2/field/B8_2Common.h b/tutorials/tutorial2/include/tutorial2/field/B8_2Common.h index b52b001e5..b06b23c16 100644 --- a/tutorials/tutorial2/include/tutorial2/field/B8_2Common.h +++ b/tutorials/tutorial2/include/tutorial2/field/B8_2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/field/B9_1.h b/tutorials/tutorial2/include/tutorial2/field/B9_1.h index 5f0f177e3..4971e1058 100644 --- a/tutorials/tutorial2/include/tutorial2/field/B9_1.h +++ b/tutorials/tutorial2/include/tutorial2/field/B9_1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "B9_1" field. diff --git a/tutorials/tutorial2/include/tutorial2/field/B9_1Common.h b/tutorials/tutorial2/include/tutorial2/field/B9_1Common.h index 12c665053..918b61952 100644 --- a/tutorials/tutorial2/include/tutorial2/field/B9_1Common.h +++ b/tutorials/tutorial2/include/tutorial2/field/B9_1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/field/B9_2.h b/tutorials/tutorial2/include/tutorial2/field/B9_2.h index b1b65f4f2..2f66ba8b9 100644 --- a/tutorials/tutorial2/include/tutorial2/field/B9_2.h +++ b/tutorials/tutorial2/include/tutorial2/field/B9_2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "B9_2" field. diff --git a/tutorials/tutorial2/include/tutorial2/field/B9_2Common.h b/tutorials/tutorial2/include/tutorial2/field/B9_2Common.h index 7a2de000b..eaf5105ef 100644 --- a/tutorials/tutorial2/include/tutorial2/field/B9_2Common.h +++ b/tutorials/tutorial2/include/tutorial2/field/B9_2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/field/D7_1.h b/tutorials/tutorial2/include/tutorial2/field/D7_1.h index b5c1e4f9c..0596249da 100644 --- a/tutorials/tutorial2/include/tutorial2/field/D7_1.h +++ b/tutorials/tutorial2/include/tutorial2/field/D7_1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "D7_1" field. diff --git a/tutorials/tutorial2/include/tutorial2/field/D7_1Common.h b/tutorials/tutorial2/include/tutorial2/field/D7_1Common.h index b73d4ace7..1644e40d1 100644 --- a/tutorials/tutorial2/include/tutorial2/field/D7_1Common.h +++ b/tutorials/tutorial2/include/tutorial2/field/D7_1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/field/D7_2.h b/tutorials/tutorial2/include/tutorial2/field/D7_2.h index e0fb243cf..ec6179025 100644 --- a/tutorials/tutorial2/include/tutorial2/field/D7_2.h +++ b/tutorials/tutorial2/include/tutorial2/field/D7_2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "D7_2" field. diff --git a/tutorials/tutorial2/include/tutorial2/field/D7_2Common.h b/tutorials/tutorial2/include/tutorial2/field/D7_2Common.h index 87fc3a412..a1b0dde93 100644 --- a/tutorials/tutorial2/include/tutorial2/field/D7_2Common.h +++ b/tutorials/tutorial2/include/tutorial2/field/D7_2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/field/E2_1.h b/tutorials/tutorial2/include/tutorial2/field/E2_1.h index 808759d3d..89f7c9efb 100644 --- a/tutorials/tutorial2/include/tutorial2/field/E2_1.h +++ b/tutorials/tutorial2/include/tutorial2/field/E2_1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "E2_1" field. diff --git a/tutorials/tutorial2/include/tutorial2/field/E2_1Common.h b/tutorials/tutorial2/include/tutorial2/field/E2_1Common.h index c301f1e02..aabc637c9 100644 --- a/tutorials/tutorial2/include/tutorial2/field/E2_1Common.h +++ b/tutorials/tutorial2/include/tutorial2/field/E2_1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/field/E2_2.h b/tutorials/tutorial2/include/tutorial2/field/E2_2.h index 42f50f747..989a252b8 100644 --- a/tutorials/tutorial2/include/tutorial2/field/E2_2.h +++ b/tutorials/tutorial2/include/tutorial2/field/E2_2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "E2_2" field. diff --git a/tutorials/tutorial2/include/tutorial2/field/E2_2Common.h b/tutorials/tutorial2/include/tutorial2/field/E2_2Common.h index 1a02040c3..5343dae37 100644 --- a/tutorials/tutorial2/include/tutorial2/field/E2_2Common.h +++ b/tutorials/tutorial2/include/tutorial2/field/E2_2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/field/F11_1.h b/tutorials/tutorial2/include/tutorial2/field/F11_1.h index 1c3df079c..235780b20 100644 --- a/tutorials/tutorial2/include/tutorial2/field/F11_1.h +++ b/tutorials/tutorial2/include/tutorial2/field/F11_1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Field 11_1" field. diff --git a/tutorials/tutorial2/include/tutorial2/field/F11_1Common.h b/tutorials/tutorial2/include/tutorial2/field/F11_1Common.h index 0d1df33cf..23af1eba5 100644 --- a/tutorials/tutorial2/include/tutorial2/field/F11_1Common.h +++ b/tutorials/tutorial2/include/tutorial2/field/F11_1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/field/F11_2.h b/tutorials/tutorial2/include/tutorial2/field/F11_2.h index 18a48258f..781115e20 100644 --- a/tutorials/tutorial2/include/tutorial2/field/F11_2.h +++ b/tutorials/tutorial2/include/tutorial2/field/F11_2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Field 11_2" field. diff --git a/tutorials/tutorial2/include/tutorial2/field/F11_2Common.h b/tutorials/tutorial2/include/tutorial2/field/F11_2Common.h index e24383fa4..7ce4293ab 100644 --- a/tutorials/tutorial2/include/tutorial2/field/F11_2Common.h +++ b/tutorials/tutorial2/include/tutorial2/field/F11_2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/field/F11_3.h b/tutorials/tutorial2/include/tutorial2/field/F11_3.h index d34be07a3..e9d01c746 100644 --- a/tutorials/tutorial2/include/tutorial2/field/F11_3.h +++ b/tutorials/tutorial2/include/tutorial2/field/F11_3.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "F11_3" field. diff --git a/tutorials/tutorial2/include/tutorial2/field/F11_3Common.h b/tutorials/tutorial2/include/tutorial2/field/F11_3Common.h index 025191797..4426e3dbd 100644 --- a/tutorials/tutorial2/include/tutorial2/field/F11_3Common.h +++ b/tutorials/tutorial2/include/tutorial2/field/F11_3Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/field/F5_1.h b/tutorials/tutorial2/include/tutorial2/field/F5_1.h index 2f346c677..d245e846f 100644 --- a/tutorials/tutorial2/include/tutorial2/field/F5_1.h +++ b/tutorials/tutorial2/include/tutorial2/field/F5_1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "F5_1" field. diff --git a/tutorials/tutorial2/include/tutorial2/field/F5_1Common.h b/tutorials/tutorial2/include/tutorial2/field/F5_1Common.h index 1c0e73384..f9d71990b 100644 --- a/tutorials/tutorial2/include/tutorial2/field/F5_1Common.h +++ b/tutorials/tutorial2/include/tutorial2/field/F5_1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/field/F5_2.h b/tutorials/tutorial2/include/tutorial2/field/F5_2.h index ce223c15a..b1842b327 100644 --- a/tutorials/tutorial2/include/tutorial2/field/F5_2.h +++ b/tutorials/tutorial2/include/tutorial2/field/F5_2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "F5_2" field. diff --git a/tutorials/tutorial2/include/tutorial2/field/F5_2Common.h b/tutorials/tutorial2/include/tutorial2/field/F5_2Common.h index 52b4af90b..8b60f144c 100644 --- a/tutorials/tutorial2/include/tutorial2/field/F5_2Common.h +++ b/tutorials/tutorial2/include/tutorial2/field/F5_2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/field/FieldBase.h b/tutorials/tutorial2/include/tutorial2/field/FieldBase.h index 2af779a74..158b1f21c 100644 --- a/tutorials/tutorial2/include/tutorial2/field/FieldBase.h +++ b/tutorials/tutorial2/include/tutorial2/field/FieldBase.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of base class of all the fields. diff --git a/tutorials/tutorial2/include/tutorial2/field/I1.h b/tutorials/tutorial2/include/tutorial2/field/I1.h index 02be36cc0..c6cb67159 100644 --- a/tutorials/tutorial2/include/tutorial2/field/I1.h +++ b/tutorials/tutorial2/include/tutorial2/field/I1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "I1" field. diff --git a/tutorials/tutorial2/include/tutorial2/field/I1Common.h b/tutorials/tutorial2/include/tutorial2/field/I1Common.h index 0058c6bd4..e69188c92 100644 --- a/tutorials/tutorial2/include/tutorial2/field/I1Common.h +++ b/tutorials/tutorial2/include/tutorial2/field/I1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/field/I3_1.h b/tutorials/tutorial2/include/tutorial2/field/I3_1.h index 83358af61..192d9f688 100644 --- a/tutorials/tutorial2/include/tutorial2/field/I3_1.h +++ b/tutorials/tutorial2/include/tutorial2/field/I3_1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "I3_1" field. diff --git a/tutorials/tutorial2/include/tutorial2/field/I3_1Common.h b/tutorials/tutorial2/include/tutorial2/field/I3_1Common.h index df229a9f7..77b40633c 100644 --- a/tutorials/tutorial2/include/tutorial2/field/I3_1Common.h +++ b/tutorials/tutorial2/include/tutorial2/field/I3_1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/field/I3_2.h b/tutorials/tutorial2/include/tutorial2/field/I3_2.h index 19c02efab..9ec49832c 100644 --- a/tutorials/tutorial2/include/tutorial2/field/I3_2.h +++ b/tutorials/tutorial2/include/tutorial2/field/I3_2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "I3_2" field. diff --git a/tutorials/tutorial2/include/tutorial2/field/I3_2Common.h b/tutorials/tutorial2/include/tutorial2/field/I3_2Common.h index cf26cdb8b..eb8489482 100644 --- a/tutorials/tutorial2/include/tutorial2/field/I3_2Common.h +++ b/tutorials/tutorial2/include/tutorial2/field/I3_2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/field/I3_3.h b/tutorials/tutorial2/include/tutorial2/field/I3_3.h index f033301e1..70fce03e9 100644 --- a/tutorials/tutorial2/include/tutorial2/field/I3_3.h +++ b/tutorials/tutorial2/include/tutorial2/field/I3_3.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "I3_3" field. diff --git a/tutorials/tutorial2/include/tutorial2/field/I3_3Common.h b/tutorials/tutorial2/include/tutorial2/field/I3_3Common.h index ebc722448..6f9d3558e 100644 --- a/tutorials/tutorial2/include/tutorial2/field/I3_3Common.h +++ b/tutorials/tutorial2/include/tutorial2/field/I3_3Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/field/I3_4.h b/tutorials/tutorial2/include/tutorial2/field/I3_4.h index 5a307be3a..c498f72df 100644 --- a/tutorials/tutorial2/include/tutorial2/field/I3_4.h +++ b/tutorials/tutorial2/include/tutorial2/field/I3_4.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "I3_4" field. diff --git a/tutorials/tutorial2/include/tutorial2/field/I3_4Common.h b/tutorials/tutorial2/include/tutorial2/field/I3_4Common.h index 7f408fc36..c61887172 100644 --- a/tutorials/tutorial2/include/tutorial2/field/I3_4Common.h +++ b/tutorials/tutorial2/include/tutorial2/field/I3_4Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/field/I3_5.h b/tutorials/tutorial2/include/tutorial2/field/I3_5.h index 6af2ee0f1..96b93b146 100644 --- a/tutorials/tutorial2/include/tutorial2/field/I3_5.h +++ b/tutorials/tutorial2/include/tutorial2/field/I3_5.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "I3_5" field. diff --git a/tutorials/tutorial2/include/tutorial2/field/I3_5Common.h b/tutorials/tutorial2/include/tutorial2/field/I3_5Common.h index c4dbd5607..2c5ca200a 100644 --- a/tutorials/tutorial2/include/tutorial2/field/I3_5Common.h +++ b/tutorials/tutorial2/include/tutorial2/field/I3_5Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/field/L10_1.h b/tutorials/tutorial2/include/tutorial2/field/L10_1.h index 363a0898b..5f7a433c9 100644 --- a/tutorials/tutorial2/include/tutorial2/field/L10_1.h +++ b/tutorials/tutorial2/include/tutorial2/field/L10_1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "L10_1" field. diff --git a/tutorials/tutorial2/include/tutorial2/field/L10_1Common.h b/tutorials/tutorial2/include/tutorial2/field/L10_1Common.h index 58276e5fe..fb9a7df36 100644 --- a/tutorials/tutorial2/include/tutorial2/field/L10_1Common.h +++ b/tutorials/tutorial2/include/tutorial2/field/L10_1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/field/L10_2.h b/tutorials/tutorial2/include/tutorial2/field/L10_2.h index aa76238a1..b1a5f1b7a 100644 --- a/tutorials/tutorial2/include/tutorial2/field/L10_2.h +++ b/tutorials/tutorial2/include/tutorial2/field/L10_2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "L10_2" field. diff --git a/tutorials/tutorial2/include/tutorial2/field/L10_2Common.h b/tutorials/tutorial2/include/tutorial2/field/L10_2Common.h index a47a5fe24..185eb40da 100644 --- a/tutorials/tutorial2/include/tutorial2/field/L10_2Common.h +++ b/tutorials/tutorial2/include/tutorial2/field/L10_2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/field/L10_3.h b/tutorials/tutorial2/include/tutorial2/field/L10_3.h index 5d2ca97bd..cc3b02d8e 100644 --- a/tutorials/tutorial2/include/tutorial2/field/L10_3.h +++ b/tutorials/tutorial2/include/tutorial2/field/L10_3.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "L10_3" field. diff --git a/tutorials/tutorial2/include/tutorial2/field/L10_3Common.h b/tutorials/tutorial2/include/tutorial2/field/L10_3Common.h index 43e6b2ed2..6dc609102 100644 --- a/tutorials/tutorial2/include/tutorial2/field/L10_3Common.h +++ b/tutorials/tutorial2/include/tutorial2/field/L10_3Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/field/L10_4.h b/tutorials/tutorial2/include/tutorial2/field/L10_4.h index e52595451..d5152fde0 100644 --- a/tutorials/tutorial2/include/tutorial2/field/L10_4.h +++ b/tutorials/tutorial2/include/tutorial2/field/L10_4.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "L10_4" field. diff --git a/tutorials/tutorial2/include/tutorial2/field/L10_4Common.h b/tutorials/tutorial2/include/tutorial2/field/L10_4Common.h index de9343bd1..c7702bf77 100644 --- a/tutorials/tutorial2/include/tutorial2/field/L10_4Common.h +++ b/tutorials/tutorial2/include/tutorial2/field/L10_4Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/field/L6_3.h b/tutorials/tutorial2/include/tutorial2/field/L6_3.h index 9b50f61c3..06d9579b8 100644 --- a/tutorials/tutorial2/include/tutorial2/field/L6_3.h +++ b/tutorials/tutorial2/include/tutorial2/field/L6_3.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "L6_3" field. diff --git a/tutorials/tutorial2/include/tutorial2/field/L6_3Common.h b/tutorials/tutorial2/include/tutorial2/field/L6_3Common.h index e62fd785f..702b7c388 100644 --- a/tutorials/tutorial2/include/tutorial2/field/L6_3Common.h +++ b/tutorials/tutorial2/include/tutorial2/field/L6_3Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/field/MsgId.h b/tutorials/tutorial2/include/tutorial2/field/MsgId.h index 0c708262e..661477b0b 100644 --- a/tutorials/tutorial2/include/tutorial2/field/MsgId.h +++ b/tutorials/tutorial2/include/tutorial2/field/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "MsgId" field. diff --git a/tutorials/tutorial2/include/tutorial2/field/MsgIdCommon.h b/tutorials/tutorial2/include/tutorial2/field/MsgIdCommon.h index 6cb125b2e..30c64db93 100644 --- a/tutorials/tutorial2/include/tutorial2/field/MsgIdCommon.h +++ b/tutorials/tutorial2/include/tutorial2/field/MsgIdCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/field/S4_1.h b/tutorials/tutorial2/include/tutorial2/field/S4_1.h index 692bd8a7f..73fddf475 100644 --- a/tutorials/tutorial2/include/tutorial2/field/S4_1.h +++ b/tutorials/tutorial2/include/tutorial2/field/S4_1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "S4_1" field. diff --git a/tutorials/tutorial2/include/tutorial2/field/S4_1Common.h b/tutorials/tutorial2/include/tutorial2/field/S4_1Common.h index a3bf4cdc2..1e271cd14 100644 --- a/tutorials/tutorial2/include/tutorial2/field/S4_1Common.h +++ b/tutorials/tutorial2/include/tutorial2/field/S4_1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/field/S4_2.h b/tutorials/tutorial2/include/tutorial2/field/S4_2.h index 93820cc0b..afc6be7f8 100644 --- a/tutorials/tutorial2/include/tutorial2/field/S4_2.h +++ b/tutorials/tutorial2/include/tutorial2/field/S4_2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "S4_2" field. diff --git a/tutorials/tutorial2/include/tutorial2/field/S4_2Common.h b/tutorials/tutorial2/include/tutorial2/field/S4_2Common.h index 11015ca72..03148529e 100644 --- a/tutorials/tutorial2/include/tutorial2/field/S4_2Common.h +++ b/tutorials/tutorial2/include/tutorial2/field/S4_2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/field/S4_3.h b/tutorials/tutorial2/include/tutorial2/field/S4_3.h index 6c42bf6ba..22c50f30d 100644 --- a/tutorials/tutorial2/include/tutorial2/field/S4_3.h +++ b/tutorials/tutorial2/include/tutorial2/field/S4_3.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "S4_3" field. diff --git a/tutorials/tutorial2/include/tutorial2/field/S4_3Common.h b/tutorials/tutorial2/include/tutorial2/field/S4_3Common.h index 7e2b7e13d..37597878b 100644 --- a/tutorials/tutorial2/include/tutorial2/field/S4_3Common.h +++ b/tutorials/tutorial2/include/tutorial2/field/S4_3Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/field/S6_1.h b/tutorials/tutorial2/include/tutorial2/field/S6_1.h index ef87f6cbd..431a081ad 100644 --- a/tutorials/tutorial2/include/tutorial2/field/S6_1.h +++ b/tutorials/tutorial2/include/tutorial2/field/S6_1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "S6_1" field. diff --git a/tutorials/tutorial2/include/tutorial2/field/S6_1Common.h b/tutorials/tutorial2/include/tutorial2/field/S6_1Common.h index c40c1dd89..de525617c 100644 --- a/tutorials/tutorial2/include/tutorial2/field/S6_1Common.h +++ b/tutorials/tutorial2/include/tutorial2/field/S6_1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/field/S6_2.h b/tutorials/tutorial2/include/tutorial2/field/S6_2.h index 1af5e3ffb..8346c5b63 100644 --- a/tutorials/tutorial2/include/tutorial2/field/S6_2.h +++ b/tutorials/tutorial2/include/tutorial2/field/S6_2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "S6_2" field. diff --git a/tutorials/tutorial2/include/tutorial2/field/S6_2Common.h b/tutorials/tutorial2/include/tutorial2/field/S6_2Common.h index 9adf35315..23e26ceb2 100644 --- a/tutorials/tutorial2/include/tutorial2/field/S6_2Common.h +++ b/tutorials/tutorial2/include/tutorial2/field/S6_2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/field/S6_3.h b/tutorials/tutorial2/include/tutorial2/field/S6_3.h index f7d3fabdd..2dd913b31 100644 --- a/tutorials/tutorial2/include/tutorial2/field/S6_3.h +++ b/tutorials/tutorial2/include/tutorial2/field/S6_3.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "S6_3" field. diff --git a/tutorials/tutorial2/include/tutorial2/field/S6_3Common.h b/tutorials/tutorial2/include/tutorial2/field/S6_3Common.h index bf4edfd71..3d494ec0b 100644 --- a/tutorials/tutorial2/include/tutorial2/field/S6_3Common.h +++ b/tutorials/tutorial2/include/tutorial2/field/S6_3Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/field/S6_4.h b/tutorials/tutorial2/include/tutorial2/field/S6_4.h index 587e1d168..02a15bcfc 100644 --- a/tutorials/tutorial2/include/tutorial2/field/S6_4.h +++ b/tutorials/tutorial2/include/tutorial2/field/S6_4.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "S6_4" field. diff --git a/tutorials/tutorial2/include/tutorial2/field/S6_4Common.h b/tutorials/tutorial2/include/tutorial2/field/S6_4Common.h index 28e6c964b..e135b99fd 100644 --- a/tutorials/tutorial2/include/tutorial2/field/S6_4Common.h +++ b/tutorials/tutorial2/include/tutorial2/field/S6_4Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/frame/Frame.h b/tutorials/tutorial2/include/tutorial2/frame/Frame.h index 2fc948130..2a2813306 100644 --- a/tutorials/tutorial2/include/tutorial2/frame/Frame.h +++ b/tutorials/tutorial2/include/tutorial2/frame/Frame.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Frame" frame class. diff --git a/tutorials/tutorial2/include/tutorial2/frame/FrameCommon.h b/tutorials/tutorial2/include/tutorial2/frame/FrameCommon.h index 78e911c85..5be828f5b 100644 --- a/tutorials/tutorial2/include/tutorial2/frame/FrameCommon.h +++ b/tutorials/tutorial2/include/tutorial2/frame/FrameCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/input/AllMessages.h b/tutorials/tutorial2/include/tutorial2/input/AllMessages.h index 3e60df5c2..e5c012b09 100644 --- a/tutorials/tutorial2/include/tutorial2/input/AllMessages.h +++ b/tutorials/tutorial2/include/tutorial2/input/AllMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the AllMessages messages bundle. diff --git a/tutorials/tutorial2/include/tutorial2/input/ClientInputMessages.h b/tutorials/tutorial2/include/tutorial2/input/ClientInputMessages.h index 2e2415b44..0c535d650 100644 --- a/tutorials/tutorial2/include/tutorial2/input/ClientInputMessages.h +++ b/tutorials/tutorial2/include/tutorial2/input/ClientInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ClientInputMessages messages bundle. diff --git a/tutorials/tutorial2/include/tutorial2/input/ServerInputMessages.h b/tutorials/tutorial2/include/tutorial2/input/ServerInputMessages.h index 7246b7165..869a66eee 100644 --- a/tutorials/tutorial2/include/tutorial2/input/ServerInputMessages.h +++ b/tutorials/tutorial2/include/tutorial2/input/ServerInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ServerInputMessages messages bundle. diff --git a/tutorials/tutorial2/include/tutorial2/message/Msg1.h b/tutorials/tutorial2/include/tutorial2/message/Msg1.h index 4999bb7df..bbaab3f84 100644 --- a/tutorials/tutorial2/include/tutorial2/message/Msg1.h +++ b/tutorials/tutorial2/include/tutorial2/message/Msg1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1" message and its fields. diff --git a/tutorials/tutorial2/include/tutorial2/message/Msg10.h b/tutorials/tutorial2/include/tutorial2/message/Msg10.h index 8f953a4f3..9c72ac313 100644 --- a/tutorials/tutorial2/include/tutorial2/message/Msg10.h +++ b/tutorials/tutorial2/include/tutorial2/message/Msg10.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 10" message and its fields. diff --git a/tutorials/tutorial2/include/tutorial2/message/Msg10Common.h b/tutorials/tutorial2/include/tutorial2/message/Msg10Common.h index d050bd148..d2e4edcb0 100644 --- a/tutorials/tutorial2/include/tutorial2/message/Msg10Common.h +++ b/tutorials/tutorial2/include/tutorial2/message/Msg10Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/message/Msg11.h b/tutorials/tutorial2/include/tutorial2/message/Msg11.h index 869db9d34..bf1bc8adb 100644 --- a/tutorials/tutorial2/include/tutorial2/message/Msg11.h +++ b/tutorials/tutorial2/include/tutorial2/message/Msg11.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 11" message and its fields. diff --git a/tutorials/tutorial2/include/tutorial2/message/Msg11Common.h b/tutorials/tutorial2/include/tutorial2/message/Msg11Common.h index b851728b5..010b75cc8 100644 --- a/tutorials/tutorial2/include/tutorial2/message/Msg11Common.h +++ b/tutorials/tutorial2/include/tutorial2/message/Msg11Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/message/Msg12.h b/tutorials/tutorial2/include/tutorial2/message/Msg12.h index c3fa8d127..52708e8ea 100644 --- a/tutorials/tutorial2/include/tutorial2/message/Msg12.h +++ b/tutorials/tutorial2/include/tutorial2/message/Msg12.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 12" message and its fields. diff --git a/tutorials/tutorial2/include/tutorial2/message/Msg12Common.h b/tutorials/tutorial2/include/tutorial2/message/Msg12Common.h index 87d7294a8..b8bf10441 100644 --- a/tutorials/tutorial2/include/tutorial2/message/Msg12Common.h +++ b/tutorials/tutorial2/include/tutorial2/message/Msg12Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/message/Msg13.h b/tutorials/tutorial2/include/tutorial2/message/Msg13.h index 2b3441607..8bc7821a1 100644 --- a/tutorials/tutorial2/include/tutorial2/message/Msg13.h +++ b/tutorials/tutorial2/include/tutorial2/message/Msg13.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 13" message and its fields. @@ -271,6 +271,7 @@ class Msg13 : public es = Base::template doReadFrom(iter, len); } while (false); + return es; } diff --git a/tutorials/tutorial2/include/tutorial2/message/Msg13Common.h b/tutorials/tutorial2/include/tutorial2/message/Msg13Common.h index e95af0067..e80ccdb2d 100644 --- a/tutorials/tutorial2/include/tutorial2/message/Msg13Common.h +++ b/tutorials/tutorial2/include/tutorial2/message/Msg13Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/message/Msg14.h b/tutorials/tutorial2/include/tutorial2/message/Msg14.h index af1d2dab7..4760f6403 100644 --- a/tutorials/tutorial2/include/tutorial2/message/Msg14.h +++ b/tutorials/tutorial2/include/tutorial2/message/Msg14.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 14" message and its fields. @@ -223,6 +223,7 @@ class Msg14 : public es = Base::template doReadFrom(iter, len); } while (false); + return es; } diff --git a/tutorials/tutorial2/include/tutorial2/message/Msg14Common.h b/tutorials/tutorial2/include/tutorial2/message/Msg14Common.h index bd96b8513..54aca0afc 100644 --- a/tutorials/tutorial2/include/tutorial2/message/Msg14Common.h +++ b/tutorials/tutorial2/include/tutorial2/message/Msg14Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/message/Msg15.h b/tutorials/tutorial2/include/tutorial2/message/Msg15.h index d77919856..2556fb222 100644 --- a/tutorials/tutorial2/include/tutorial2/message/Msg15.h +++ b/tutorials/tutorial2/include/tutorial2/message/Msg15.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 15" message and its fields. diff --git a/tutorials/tutorial2/include/tutorial2/message/Msg15Common.h b/tutorials/tutorial2/include/tutorial2/message/Msg15Common.h index ba524e64c..cadeb07b4 100644 --- a/tutorials/tutorial2/include/tutorial2/message/Msg15Common.h +++ b/tutorials/tutorial2/include/tutorial2/message/Msg15Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/message/Msg16.h b/tutorials/tutorial2/include/tutorial2/message/Msg16.h index 4a9ce29a2..b2e0dfd9b 100644 --- a/tutorials/tutorial2/include/tutorial2/message/Msg16.h +++ b/tutorials/tutorial2/include/tutorial2/message/Msg16.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 16" message and its fields. diff --git a/tutorials/tutorial2/include/tutorial2/message/Msg16Common.h b/tutorials/tutorial2/include/tutorial2/message/Msg16Common.h index aa603ae09..3ae12b33f 100644 --- a/tutorials/tutorial2/include/tutorial2/message/Msg16Common.h +++ b/tutorials/tutorial2/include/tutorial2/message/Msg16Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/message/Msg17.h b/tutorials/tutorial2/include/tutorial2/message/Msg17.h index 86cc9980d..12d65aac2 100644 --- a/tutorials/tutorial2/include/tutorial2/message/Msg17.h +++ b/tutorials/tutorial2/include/tutorial2/message/Msg17.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 17" message and its fields. diff --git a/tutorials/tutorial2/include/tutorial2/message/Msg17Common.h b/tutorials/tutorial2/include/tutorial2/message/Msg17Common.h index add35a89e..315e8f128 100644 --- a/tutorials/tutorial2/include/tutorial2/message/Msg17Common.h +++ b/tutorials/tutorial2/include/tutorial2/message/Msg17Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/message/Msg1Common.h b/tutorials/tutorial2/include/tutorial2/message/Msg1Common.h index 405bf7eee..7d1ead8e3 100644 --- a/tutorials/tutorial2/include/tutorial2/message/Msg1Common.h +++ b/tutorials/tutorial2/include/tutorial2/message/Msg1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/message/Msg2.h b/tutorials/tutorial2/include/tutorial2/message/Msg2.h index 4a1185ad2..4d5023de2 100644 --- a/tutorials/tutorial2/include/tutorial2/message/Msg2.h +++ b/tutorials/tutorial2/include/tutorial2/message/Msg2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 2" message and its fields. diff --git a/tutorials/tutorial2/include/tutorial2/message/Msg2Common.h b/tutorials/tutorial2/include/tutorial2/message/Msg2Common.h index 60485d465..4800f7c91 100644 --- a/tutorials/tutorial2/include/tutorial2/message/Msg2Common.h +++ b/tutorials/tutorial2/include/tutorial2/message/Msg2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/message/Msg3.h b/tutorials/tutorial2/include/tutorial2/message/Msg3.h index 3d580152e..a4899848c 100644 --- a/tutorials/tutorial2/include/tutorial2/message/Msg3.h +++ b/tutorials/tutorial2/include/tutorial2/message/Msg3.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 3" message and its fields. diff --git a/tutorials/tutorial2/include/tutorial2/message/Msg3Common.h b/tutorials/tutorial2/include/tutorial2/message/Msg3Common.h index 8bb05bbd0..abdc17b9c 100644 --- a/tutorials/tutorial2/include/tutorial2/message/Msg3Common.h +++ b/tutorials/tutorial2/include/tutorial2/message/Msg3Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/message/Msg4.h b/tutorials/tutorial2/include/tutorial2/message/Msg4.h index 615b2fb1a..ee72c633d 100644 --- a/tutorials/tutorial2/include/tutorial2/message/Msg4.h +++ b/tutorials/tutorial2/include/tutorial2/message/Msg4.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 4" message and its fields. diff --git a/tutorials/tutorial2/include/tutorial2/message/Msg4Common.h b/tutorials/tutorial2/include/tutorial2/message/Msg4Common.h index f9c54dfe6..b6cfa44ad 100644 --- a/tutorials/tutorial2/include/tutorial2/message/Msg4Common.h +++ b/tutorials/tutorial2/include/tutorial2/message/Msg4Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/message/Msg5.h b/tutorials/tutorial2/include/tutorial2/message/Msg5.h index ed03e538a..ec8b68cdd 100644 --- a/tutorials/tutorial2/include/tutorial2/message/Msg5.h +++ b/tutorials/tutorial2/include/tutorial2/message/Msg5.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 5" message and its fields. diff --git a/tutorials/tutorial2/include/tutorial2/message/Msg5Common.h b/tutorials/tutorial2/include/tutorial2/message/Msg5Common.h index eb65997e3..350e201ff 100644 --- a/tutorials/tutorial2/include/tutorial2/message/Msg5Common.h +++ b/tutorials/tutorial2/include/tutorial2/message/Msg5Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/message/Msg6.h b/tutorials/tutorial2/include/tutorial2/message/Msg6.h index 9f21cfbc3..d547107df 100644 --- a/tutorials/tutorial2/include/tutorial2/message/Msg6.h +++ b/tutorials/tutorial2/include/tutorial2/message/Msg6.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 6" message and its fields. diff --git a/tutorials/tutorial2/include/tutorial2/message/Msg6Common.h b/tutorials/tutorial2/include/tutorial2/message/Msg6Common.h index 3dab14cdc..4a92485d2 100644 --- a/tutorials/tutorial2/include/tutorial2/message/Msg6Common.h +++ b/tutorials/tutorial2/include/tutorial2/message/Msg6Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/message/Msg7.h b/tutorials/tutorial2/include/tutorial2/message/Msg7.h index b527e8d74..dd6e4cf5a 100644 --- a/tutorials/tutorial2/include/tutorial2/message/Msg7.h +++ b/tutorials/tutorial2/include/tutorial2/message/Msg7.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 7" message and its fields. diff --git a/tutorials/tutorial2/include/tutorial2/message/Msg7Common.h b/tutorials/tutorial2/include/tutorial2/message/Msg7Common.h index ffc15dc07..7450908c6 100644 --- a/tutorials/tutorial2/include/tutorial2/message/Msg7Common.h +++ b/tutorials/tutorial2/include/tutorial2/message/Msg7Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/message/Msg8.h b/tutorials/tutorial2/include/tutorial2/message/Msg8.h index c797f95e7..a58c9b4ec 100644 --- a/tutorials/tutorial2/include/tutorial2/message/Msg8.h +++ b/tutorials/tutorial2/include/tutorial2/message/Msg8.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 8" message and its fields. diff --git a/tutorials/tutorial2/include/tutorial2/message/Msg8Common.h b/tutorials/tutorial2/include/tutorial2/message/Msg8Common.h index 593a6e36e..c781e0fe6 100644 --- a/tutorials/tutorial2/include/tutorial2/message/Msg8Common.h +++ b/tutorials/tutorial2/include/tutorial2/message/Msg8Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/message/Msg9.h b/tutorials/tutorial2/include/tutorial2/message/Msg9.h index 3450008aa..43e01c1e7 100644 --- a/tutorials/tutorial2/include/tutorial2/message/Msg9.h +++ b/tutorials/tutorial2/include/tutorial2/message/Msg9.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 9" message and its fields. diff --git a/tutorials/tutorial2/include/tutorial2/message/Msg9Common.h b/tutorials/tutorial2/include/tutorial2/message/Msg9Common.h index 123b3b024..93e0b2e90 100644 --- a/tutorials/tutorial2/include/tutorial2/message/Msg9Common.h +++ b/tutorials/tutorial2/include/tutorial2/message/Msg9Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial2/include/tutorial2/options/BareMetalDefaultOptions.h b/tutorials/tutorial2/include/tutorial2/options/BareMetalDefaultOptions.h index 9d66049be..317a1a5f2 100644 --- a/tutorials/tutorial2/include/tutorial2/options/BareMetalDefaultOptions.h +++ b/tutorials/tutorial2/include/tutorial2/options/BareMetalDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol bare metal default options. diff --git a/tutorials/tutorial2/include/tutorial2/options/ClientDefaultOptions.h b/tutorials/tutorial2/include/tutorial2/options/ClientDefaultOptions.h index 2151b29f2..fd6ee538a 100644 --- a/tutorials/tutorial2/include/tutorial2/options/ClientDefaultOptions.h +++ b/tutorials/tutorial2/include/tutorial2/options/ClientDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol client default options. diff --git a/tutorials/tutorial2/include/tutorial2/options/DataViewDefaultOptions.h b/tutorials/tutorial2/include/tutorial2/options/DataViewDefaultOptions.h index 9e8a40268..186db8d1d 100644 --- a/tutorials/tutorial2/include/tutorial2/options/DataViewDefaultOptions.h +++ b/tutorials/tutorial2/include/tutorial2/options/DataViewDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol data view default options. diff --git a/tutorials/tutorial2/include/tutorial2/options/DefaultOptions.h b/tutorials/tutorial2/include/tutorial2/options/DefaultOptions.h index b09c519b2..330be9887 100644 --- a/tutorials/tutorial2/include/tutorial2/options/DefaultOptions.h +++ b/tutorials/tutorial2/include/tutorial2/options/DefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol default options. diff --git a/tutorials/tutorial2/include/tutorial2/options/ServerDefaultOptions.h b/tutorials/tutorial2/include/tutorial2/options/ServerDefaultOptions.h index a1119b204..f015edf2b 100644 --- a/tutorials/tutorial2/include/tutorial2/options/ServerDefaultOptions.h +++ b/tutorials/tutorial2/include/tutorial2/options/ServerDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol server default options. diff --git a/tutorials/tutorial20/include/tutorial20/Interface.h b/tutorials/tutorial20/include/tutorial20/Interface.h index 3eef56ed1..1e9ece378 100644 --- a/tutorials/tutorial20/include/tutorial20/Interface.h +++ b/tutorials/tutorial20/include/tutorial20/Interface.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Interface" interface class. diff --git a/tutorials/tutorial20/include/tutorial20/InterfaceCommon.h b/tutorials/tutorial20/include/tutorial20/InterfaceCommon.h index 82445a466..4d4972857 100644 --- a/tutorials/tutorial20/include/tutorial20/InterfaceCommon.h +++ b/tutorials/tutorial20/include/tutorial20/InterfaceCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial20/include/tutorial20/MsgId.h b/tutorials/tutorial20/include/tutorial20/MsgId.h index 13c8d97b8..686264a79 100644 --- a/tutorials/tutorial20/include/tutorial20/MsgId.h +++ b/tutorials/tutorial20/include/tutorial20/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of message ids enumeration. @@ -13,14 +13,14 @@ namespace tutorial20 /// @brief Message ids enumeration. enum MsgId : std::uint8_t { - MsgId_Connect = 0, ///< message id of Connect message. , - MsgId_M1 = 1, ///< message id of Message 1 message. , - MsgId_M2 = 2, ///< message id of Message 2 message. , - MsgId_M3 = 3, ///< message id of Message 3 message. , + MsgId_Connect = 0, ///< message id of Connect message. + MsgId_M1 = 1, ///< message id of Message 1 message. + MsgId_M2 = 2, ///< message id of Message 2 message. + MsgId_M3 = 3, ///< message id of Message 3 message. - // --- Extra values generated for convenience ---, - MsgId_FirstValue = 0, ///< First defined value., - MsgId_LastValue = 3, ///< Last defined value., + // --- Extra values generated for convenience --- + MsgId_FirstValue = 0, ///< First defined value. + MsgId_LastValue = 3, ///< Last defined value. MsgId_ValuesLimit = 4, ///< Upper limit for defined values. }; diff --git a/tutorials/tutorial20/include/tutorial20/Version.h b/tutorials/tutorial20/include/tutorial20/Version.h index 25a4ffc80..aa360957a 100644 --- a/tutorials/tutorial20/include/tutorial20/Version.h +++ b/tutorials/tutorial20/include/tutorial20/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains protocol version definition. @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion() } // namespace tutorial20 // Generated compile time check for minimal supported version of the COMMS library -static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(), +static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(), "The version of COMMS library is too old"); diff --git a/tutorials/tutorial20/include/tutorial20/dispatch/DispatchClientInputMessage.h b/tutorials/tutorial20/include/tutorial20/dispatch/DispatchClientInputMessage.h index 077c64672..be9a4cccb 100644 --- a/tutorials/tutorial20/include/tutorial20/dispatch/DispatchClientInputMessage.h +++ b/tutorials/tutorial20/include/tutorial20/dispatch/DispatchClientInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial20/include/tutorial20/dispatch/DispatchMessage.h b/tutorials/tutorial20/include/tutorial20/dispatch/DispatchMessage.h index c8a09fede..080d7c3bb 100644 --- a/tutorials/tutorial20/include/tutorial20/dispatch/DispatchMessage.h +++ b/tutorials/tutorial20/include/tutorial20/dispatch/DispatchMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for all input messages. diff --git a/tutorials/tutorial20/include/tutorial20/dispatch/DispatchServerInputMessage.h b/tutorials/tutorial20/include/tutorial20/dispatch/DispatchServerInputMessage.h index 3e26108b2..5c3f78492 100644 --- a/tutorials/tutorial20/include/tutorial20/dispatch/DispatchServerInputMessage.h +++ b/tutorials/tutorial20/include/tutorial20/dispatch/DispatchServerInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial20/include/tutorial20/field/FieldBase.h b/tutorials/tutorial20/include/tutorial20/field/FieldBase.h index 0d77bfd61..e0b5072c8 100644 --- a/tutorials/tutorial20/include/tutorial20/field/FieldBase.h +++ b/tutorials/tutorial20/include/tutorial20/field/FieldBase.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of base class of all the fields. diff --git a/tutorials/tutorial20/include/tutorial20/field/MsgId.h b/tutorials/tutorial20/include/tutorial20/field/MsgId.h index 0dc6a6490..08ed98642 100644 --- a/tutorials/tutorial20/include/tutorial20/field/MsgId.h +++ b/tutorials/tutorial20/include/tutorial20/field/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "MsgId" field. diff --git a/tutorials/tutorial20/include/tutorial20/field/MsgIdCommon.h b/tutorials/tutorial20/include/tutorial20/field/MsgIdCommon.h index 70e57d2da..74020ba44 100644 --- a/tutorials/tutorial20/include/tutorial20/field/MsgIdCommon.h +++ b/tutorials/tutorial20/include/tutorial20/field/MsgIdCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial20/include/tutorial20/field/Version.h b/tutorials/tutorial20/include/tutorial20/field/Version.h index c8002e1dd..380b6af2b 100644 --- a/tutorials/tutorial20/include/tutorial20/field/Version.h +++ b/tutorials/tutorial20/include/tutorial20/field/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Version" field. diff --git a/tutorials/tutorial20/include/tutorial20/field/VersionCommon.h b/tutorials/tutorial20/include/tutorial20/field/VersionCommon.h index 69355036b..e61f28277 100644 --- a/tutorials/tutorial20/include/tutorial20/field/VersionCommon.h +++ b/tutorials/tutorial20/include/tutorial20/field/VersionCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial20/include/tutorial20/frame/Frame.h b/tutorials/tutorial20/include/tutorial20/frame/Frame.h index 6e1b7cd45..dbbac3091 100644 --- a/tutorials/tutorial20/include/tutorial20/frame/Frame.h +++ b/tutorials/tutorial20/include/tutorial20/frame/Frame.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Frame" frame class. diff --git a/tutorials/tutorial20/include/tutorial20/frame/FrameCommon.h b/tutorials/tutorial20/include/tutorial20/frame/FrameCommon.h index 4b340f2a9..0cb7019eb 100644 --- a/tutorials/tutorial20/include/tutorial20/frame/FrameCommon.h +++ b/tutorials/tutorial20/include/tutorial20/frame/FrameCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial20/include/tutorial20/input/AllMessages.h b/tutorials/tutorial20/include/tutorial20/input/AllMessages.h index 654c0571d..eb9eebd84 100644 --- a/tutorials/tutorial20/include/tutorial20/input/AllMessages.h +++ b/tutorials/tutorial20/include/tutorial20/input/AllMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the AllMessages messages bundle. diff --git a/tutorials/tutorial20/include/tutorial20/input/ClientInputMessages.h b/tutorials/tutorial20/include/tutorial20/input/ClientInputMessages.h index ac31208d1..ba94978b8 100644 --- a/tutorials/tutorial20/include/tutorial20/input/ClientInputMessages.h +++ b/tutorials/tutorial20/include/tutorial20/input/ClientInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ClientInputMessages messages bundle. diff --git a/tutorials/tutorial20/include/tutorial20/input/ServerInputMessages.h b/tutorials/tutorial20/include/tutorial20/input/ServerInputMessages.h index 883982fe9..7debfeb5d 100644 --- a/tutorials/tutorial20/include/tutorial20/input/ServerInputMessages.h +++ b/tutorials/tutorial20/include/tutorial20/input/ServerInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ServerInputMessages messages bundle. diff --git a/tutorials/tutorial20/include/tutorial20/message/Connect.h b/tutorials/tutorial20/include/tutorial20/message/Connect.h index d14f71e4d..41c0cff24 100644 --- a/tutorials/tutorial20/include/tutorial20/message/Connect.h +++ b/tutorials/tutorial20/include/tutorial20/message/Connect.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Connect" message and its fields. diff --git a/tutorials/tutorial20/include/tutorial20/message/ConnectCommon.h b/tutorials/tutorial20/include/tutorial20/message/ConnectCommon.h index 9a7c9cb8b..d7fee1fea 100644 --- a/tutorials/tutorial20/include/tutorial20/message/ConnectCommon.h +++ b/tutorials/tutorial20/include/tutorial20/message/ConnectCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial20/include/tutorial20/message/Msg1.h b/tutorials/tutorial20/include/tutorial20/message/Msg1.h index f2cadd09c..568283af9 100644 --- a/tutorials/tutorial20/include/tutorial20/message/Msg1.h +++ b/tutorials/tutorial20/include/tutorial20/message/Msg1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1" message and its fields. diff --git a/tutorials/tutorial20/include/tutorial20/message/Msg1Common.h b/tutorials/tutorial20/include/tutorial20/message/Msg1Common.h index 7ef9f6362..8693527f1 100644 --- a/tutorials/tutorial20/include/tutorial20/message/Msg1Common.h +++ b/tutorials/tutorial20/include/tutorial20/message/Msg1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial20/include/tutorial20/message/Msg2.h b/tutorials/tutorial20/include/tutorial20/message/Msg2.h index 1ee70b978..3e92357fa 100644 --- a/tutorials/tutorial20/include/tutorial20/message/Msg2.h +++ b/tutorials/tutorial20/include/tutorial20/message/Msg2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 2" message and its fields. diff --git a/tutorials/tutorial20/include/tutorial20/message/Msg2Common.h b/tutorials/tutorial20/include/tutorial20/message/Msg2Common.h index e2d02fa9e..e510ac77f 100644 --- a/tutorials/tutorial20/include/tutorial20/message/Msg2Common.h +++ b/tutorials/tutorial20/include/tutorial20/message/Msg2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial20/include/tutorial20/message/Msg3.h b/tutorials/tutorial20/include/tutorial20/message/Msg3.h index d251eb686..728be7e05 100644 --- a/tutorials/tutorial20/include/tutorial20/message/Msg3.h +++ b/tutorials/tutorial20/include/tutorial20/message/Msg3.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 3" message and its fields. @@ -321,6 +321,7 @@ class Msg3 : public es = Base::template doReadFrom(iter, len); } while (false); + return es; } diff --git a/tutorials/tutorial20/include/tutorial20/message/Msg3Common.h b/tutorials/tutorial20/include/tutorial20/message/Msg3Common.h index c891eb8d6..c1279ab41 100644 --- a/tutorials/tutorial20/include/tutorial20/message/Msg3Common.h +++ b/tutorials/tutorial20/include/tutorial20/message/Msg3Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial20/include/tutorial20/options/BareMetalDefaultOptions.h b/tutorials/tutorial20/include/tutorial20/options/BareMetalDefaultOptions.h index 969c855d4..f76af28f2 100644 --- a/tutorials/tutorial20/include/tutorial20/options/BareMetalDefaultOptions.h +++ b/tutorials/tutorial20/include/tutorial20/options/BareMetalDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol bare metal default options. diff --git a/tutorials/tutorial20/include/tutorial20/options/ClientDefaultOptions.h b/tutorials/tutorial20/include/tutorial20/options/ClientDefaultOptions.h index e2bb79919..e828a2a6e 100644 --- a/tutorials/tutorial20/include/tutorial20/options/ClientDefaultOptions.h +++ b/tutorials/tutorial20/include/tutorial20/options/ClientDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol client default options. diff --git a/tutorials/tutorial20/include/tutorial20/options/DataViewDefaultOptions.h b/tutorials/tutorial20/include/tutorial20/options/DataViewDefaultOptions.h index e1bb18a0e..2e29e652b 100644 --- a/tutorials/tutorial20/include/tutorial20/options/DataViewDefaultOptions.h +++ b/tutorials/tutorial20/include/tutorial20/options/DataViewDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol data view default options. diff --git a/tutorials/tutorial20/include/tutorial20/options/DefaultOptions.h b/tutorials/tutorial20/include/tutorial20/options/DefaultOptions.h index 2eee575a8..74b93606d 100644 --- a/tutorials/tutorial20/include/tutorial20/options/DefaultOptions.h +++ b/tutorials/tutorial20/include/tutorial20/options/DefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol default options. diff --git a/tutorials/tutorial20/include/tutorial20/options/ServerDefaultOptions.h b/tutorials/tutorial20/include/tutorial20/options/ServerDefaultOptions.h index 8ae4501bf..965b06da2 100644 --- a/tutorials/tutorial20/include/tutorial20/options/ServerDefaultOptions.h +++ b/tutorials/tutorial20/include/tutorial20/options/ServerDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol server default options. diff --git a/tutorials/tutorial21/include/tutorial21/Interface.h b/tutorials/tutorial21/include/tutorial21/Interface.h index bae831bf4..e49ea0fb1 100644 --- a/tutorials/tutorial21/include/tutorial21/Interface.h +++ b/tutorials/tutorial21/include/tutorial21/Interface.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Interface" interface class. diff --git a/tutorials/tutorial21/include/tutorial21/InterfaceCommon.h b/tutorials/tutorial21/include/tutorial21/InterfaceCommon.h index 218b25bc2..8b869ef98 100644 --- a/tutorials/tutorial21/include/tutorial21/InterfaceCommon.h +++ b/tutorials/tutorial21/include/tutorial21/InterfaceCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial21/include/tutorial21/MsgId.h b/tutorials/tutorial21/include/tutorial21/MsgId.h index f02b6315b..a3934205b 100644 --- a/tutorials/tutorial21/include/tutorial21/MsgId.h +++ b/tutorials/tutorial21/include/tutorial21/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of message ids enumeration. @@ -13,13 +13,13 @@ namespace tutorial21 /// @brief Message ids enumeration. enum MsgId : std::uint8_t { - MsgId_M1 = 1, ///< message id of Message 1 message. , - MsgId_M2 = 2, ///< message id of Message 2 message. , - MsgId_M3 = 3, ///< message id of Message 3 message. , + MsgId_M1 = 1, ///< message id of Message 1 message. + MsgId_M2 = 2, ///< message id of Message 2 message. + MsgId_M3 = 3, ///< message id of Message 3 message. - // --- Extra values generated for convenience ---, - MsgId_FirstValue = 1, ///< First defined value., - MsgId_LastValue = 3, ///< Last defined value., + // --- Extra values generated for convenience --- + MsgId_FirstValue = 1, ///< First defined value. + MsgId_LastValue = 3, ///< Last defined value. MsgId_ValuesLimit = 4, ///< Upper limit for defined values. }; diff --git a/tutorials/tutorial21/include/tutorial21/Version.h b/tutorials/tutorial21/include/tutorial21/Version.h index 30a460e14..72beea94f 100644 --- a/tutorials/tutorial21/include/tutorial21/Version.h +++ b/tutorials/tutorial21/include/tutorial21/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains protocol version definition. @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion() } // namespace tutorial21 // Generated compile time check for minimal supported version of the COMMS library -static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(), +static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(), "The version of COMMS library is too old"); diff --git a/tutorials/tutorial21/include/tutorial21/dispatch/DispatchClientInputMessage.h b/tutorials/tutorial21/include/tutorial21/dispatch/DispatchClientInputMessage.h index c9d38c3ee..641c6fe7a 100644 --- a/tutorials/tutorial21/include/tutorial21/dispatch/DispatchClientInputMessage.h +++ b/tutorials/tutorial21/include/tutorial21/dispatch/DispatchClientInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial21/include/tutorial21/dispatch/DispatchMessage.h b/tutorials/tutorial21/include/tutorial21/dispatch/DispatchMessage.h index 429652322..4a8399cbb 100644 --- a/tutorials/tutorial21/include/tutorial21/dispatch/DispatchMessage.h +++ b/tutorials/tutorial21/include/tutorial21/dispatch/DispatchMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for all input messages. diff --git a/tutorials/tutorial21/include/tutorial21/dispatch/DispatchServerInputMessage.h b/tutorials/tutorial21/include/tutorial21/dispatch/DispatchServerInputMessage.h index 3df46e552..3642a5681 100644 --- a/tutorials/tutorial21/include/tutorial21/dispatch/DispatchServerInputMessage.h +++ b/tutorials/tutorial21/include/tutorial21/dispatch/DispatchServerInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial21/include/tutorial21/field/BasicFlags.h b/tutorials/tutorial21/include/tutorial21/field/BasicFlags.h index 3a4f4aa5e..b28417990 100644 --- a/tutorials/tutorial21/include/tutorial21/field/BasicFlags.h +++ b/tutorials/tutorial21/include/tutorial21/field/BasicFlags.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Flags" field. diff --git a/tutorials/tutorial21/include/tutorial21/field/BasicFlagsCommon.h b/tutorials/tutorial21/include/tutorial21/field/BasicFlagsCommon.h index 61007a631..6700a0461 100644 --- a/tutorials/tutorial21/include/tutorial21/field/BasicFlagsCommon.h +++ b/tutorials/tutorial21/include/tutorial21/field/BasicFlagsCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial21/include/tutorial21/field/FieldBase.h b/tutorials/tutorial21/include/tutorial21/field/FieldBase.h index a3bb5e225..5cf2e1a0a 100644 --- a/tutorials/tutorial21/include/tutorial21/field/FieldBase.h +++ b/tutorials/tutorial21/include/tutorial21/field/FieldBase.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of base class of all the fields. diff --git a/tutorials/tutorial21/include/tutorial21/field/Msg1Flags.h b/tutorials/tutorial21/include/tutorial21/field/Msg1Flags.h index bb3d4fbf9..36ac829b2 100644 --- a/tutorials/tutorial21/include/tutorial21/field/Msg1Flags.h +++ b/tutorials/tutorial21/include/tutorial21/field/Msg1Flags.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Msg1Flags" field. diff --git a/tutorials/tutorial21/include/tutorial21/field/Msg1FlagsCommon.h b/tutorials/tutorial21/include/tutorial21/field/Msg1FlagsCommon.h index d9cd55afd..c1e6a8a97 100644 --- a/tutorials/tutorial21/include/tutorial21/field/Msg1FlagsCommon.h +++ b/tutorials/tutorial21/include/tutorial21/field/Msg1FlagsCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial21/include/tutorial21/field/Msg2Flags.h b/tutorials/tutorial21/include/tutorial21/field/Msg2Flags.h index de29324b4..9801057a1 100644 --- a/tutorials/tutorial21/include/tutorial21/field/Msg2Flags.h +++ b/tutorials/tutorial21/include/tutorial21/field/Msg2Flags.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Msg2Flags" field. diff --git a/tutorials/tutorial21/include/tutorial21/field/Msg2FlagsCommon.h b/tutorials/tutorial21/include/tutorial21/field/Msg2FlagsCommon.h index 021f813ac..8cd4ec0a3 100644 --- a/tutorials/tutorial21/include/tutorial21/field/Msg2FlagsCommon.h +++ b/tutorials/tutorial21/include/tutorial21/field/Msg2FlagsCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial21/include/tutorial21/field/MsgId.h b/tutorials/tutorial21/include/tutorial21/field/MsgId.h index d614d54d0..5f064a602 100644 --- a/tutorials/tutorial21/include/tutorial21/field/MsgId.h +++ b/tutorials/tutorial21/include/tutorial21/field/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "MsgId" field. diff --git a/tutorials/tutorial21/include/tutorial21/field/MsgIdCommon.h b/tutorials/tutorial21/include/tutorial21/field/MsgIdCommon.h index 33637caac..4d67c5afc 100644 --- a/tutorials/tutorial21/include/tutorial21/field/MsgIdCommon.h +++ b/tutorials/tutorial21/include/tutorial21/field/MsgIdCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial21/include/tutorial21/frame/Frame.h b/tutorials/tutorial21/include/tutorial21/frame/Frame.h index 8c011f32a..bc1bbaa8b 100644 --- a/tutorials/tutorial21/include/tutorial21/frame/Frame.h +++ b/tutorials/tutorial21/include/tutorial21/frame/Frame.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Frame" frame class. diff --git a/tutorials/tutorial21/include/tutorial21/frame/FrameCommon.h b/tutorials/tutorial21/include/tutorial21/frame/FrameCommon.h index fa6479b09..ffb2bcfaf 100644 --- a/tutorials/tutorial21/include/tutorial21/frame/FrameCommon.h +++ b/tutorials/tutorial21/include/tutorial21/frame/FrameCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial21/include/tutorial21/input/AllMessages.h b/tutorials/tutorial21/include/tutorial21/input/AllMessages.h index d5e3ced66..2666491b1 100644 --- a/tutorials/tutorial21/include/tutorial21/input/AllMessages.h +++ b/tutorials/tutorial21/include/tutorial21/input/AllMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the AllMessages messages bundle. diff --git a/tutorials/tutorial21/include/tutorial21/input/ClientInputMessages.h b/tutorials/tutorial21/include/tutorial21/input/ClientInputMessages.h index d8165f6b8..2e6a9e317 100644 --- a/tutorials/tutorial21/include/tutorial21/input/ClientInputMessages.h +++ b/tutorials/tutorial21/include/tutorial21/input/ClientInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ClientInputMessages messages bundle. diff --git a/tutorials/tutorial21/include/tutorial21/input/ServerInputMessages.h b/tutorials/tutorial21/include/tutorial21/input/ServerInputMessages.h index b1472efc7..c4cbb175a 100644 --- a/tutorials/tutorial21/include/tutorial21/input/ServerInputMessages.h +++ b/tutorials/tutorial21/include/tutorial21/input/ServerInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ServerInputMessages messages bundle. diff --git a/tutorials/tutorial21/include/tutorial21/message/Msg1.h b/tutorials/tutorial21/include/tutorial21/message/Msg1.h index d1986a380..8bc07771b 100644 --- a/tutorials/tutorial21/include/tutorial21/message/Msg1.h +++ b/tutorials/tutorial21/include/tutorial21/message/Msg1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1" message and its fields. diff --git a/tutorials/tutorial21/include/tutorial21/message/Msg1Common.h b/tutorials/tutorial21/include/tutorial21/message/Msg1Common.h index 6f48139de..2691edf45 100644 --- a/tutorials/tutorial21/include/tutorial21/message/Msg1Common.h +++ b/tutorials/tutorial21/include/tutorial21/message/Msg1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial21/include/tutorial21/message/Msg2.h b/tutorials/tutorial21/include/tutorial21/message/Msg2.h index 65cf64b69..2c8531796 100644 --- a/tutorials/tutorial21/include/tutorial21/message/Msg2.h +++ b/tutorials/tutorial21/include/tutorial21/message/Msg2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 2" message and its fields. diff --git a/tutorials/tutorial21/include/tutorial21/message/Msg2Common.h b/tutorials/tutorial21/include/tutorial21/message/Msg2Common.h index 21fe8e061..3884a6862 100644 --- a/tutorials/tutorial21/include/tutorial21/message/Msg2Common.h +++ b/tutorials/tutorial21/include/tutorial21/message/Msg2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial21/include/tutorial21/options/BareMetalDefaultOptions.h b/tutorials/tutorial21/include/tutorial21/options/BareMetalDefaultOptions.h index 408e50106..2abc2625d 100644 --- a/tutorials/tutorial21/include/tutorial21/options/BareMetalDefaultOptions.h +++ b/tutorials/tutorial21/include/tutorial21/options/BareMetalDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol bare metal default options. diff --git a/tutorials/tutorial21/include/tutorial21/options/ClientDefaultOptions.h b/tutorials/tutorial21/include/tutorial21/options/ClientDefaultOptions.h index 69fb10aa4..f8e339f1c 100644 --- a/tutorials/tutorial21/include/tutorial21/options/ClientDefaultOptions.h +++ b/tutorials/tutorial21/include/tutorial21/options/ClientDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol client default options. diff --git a/tutorials/tutorial21/include/tutorial21/options/DataViewDefaultOptions.h b/tutorials/tutorial21/include/tutorial21/options/DataViewDefaultOptions.h index 8e8bba400..17c2c787b 100644 --- a/tutorials/tutorial21/include/tutorial21/options/DataViewDefaultOptions.h +++ b/tutorials/tutorial21/include/tutorial21/options/DataViewDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol data view default options. diff --git a/tutorials/tutorial21/include/tutorial21/options/DefaultOptions.h b/tutorials/tutorial21/include/tutorial21/options/DefaultOptions.h index cc2a25a6a..9e60762e2 100644 --- a/tutorials/tutorial21/include/tutorial21/options/DefaultOptions.h +++ b/tutorials/tutorial21/include/tutorial21/options/DefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol default options. diff --git a/tutorials/tutorial21/include/tutorial21/options/ServerDefaultOptions.h b/tutorials/tutorial21/include/tutorial21/options/ServerDefaultOptions.h index 5141c672e..ee104ef43 100644 --- a/tutorials/tutorial21/include/tutorial21/options/ServerDefaultOptions.h +++ b/tutorials/tutorial21/include/tutorial21/options/ServerDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol server default options. diff --git a/tutorials/tutorial22/include/tutorial22/Message.h b/tutorials/tutorial22/include/tutorial22/Message.h index 43548afc9..79f0b9c65 100644 --- a/tutorials/tutorial22/include/tutorial22/Message.h +++ b/tutorials/tutorial22/include/tutorial22/Message.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message" interface class. diff --git a/tutorials/tutorial22/include/tutorial22/MsgId.h b/tutorials/tutorial22/include/tutorial22/MsgId.h index 6eccccb08..b27dcdad4 100644 --- a/tutorials/tutorial22/include/tutorial22/MsgId.h +++ b/tutorials/tutorial22/include/tutorial22/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of message ids enumeration. @@ -13,13 +13,13 @@ namespace tutorial22 /// @brief Message ids enumeration. enum MsgId : std::uint8_t { - MsgId_M1 = 1, ///< message id of Message 1 message. , - MsgId_M2 = 2, ///< message id of Message 2 message. , - MsgId_M3 = 3, ///< message id of Message 3 message. , + MsgId_M1 = 1, ///< message id of Message 1 message. + MsgId_M2 = 2, ///< message id of Message 2 message. + MsgId_M3 = 3, ///< message id of Message 3 message. - // --- Extra values generated for convenience ---, - MsgId_FirstValue = 1, ///< First defined value., - MsgId_LastValue = 3, ///< Last defined value., + // --- Extra values generated for convenience --- + MsgId_FirstValue = 1, ///< First defined value. + MsgId_LastValue = 3, ///< Last defined value. MsgId_ValuesLimit = 4, ///< Upper limit for defined values. }; diff --git a/tutorials/tutorial22/include/tutorial22/Version.h b/tutorials/tutorial22/include/tutorial22/Version.h index 52b0415bb..b2d4acbbf 100644 --- a/tutorials/tutorial22/include/tutorial22/Version.h +++ b/tutorials/tutorial22/include/tutorial22/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains protocol version definition. @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion() } // namespace tutorial22 // Generated compile time check for minimal supported version of the COMMS library -static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(), +static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(), "The version of COMMS library is too old"); diff --git a/tutorials/tutorial22/include/tutorial22/dispatch/DispatchClientInputMessage.h b/tutorials/tutorial22/include/tutorial22/dispatch/DispatchClientInputMessage.h index 1ef2af9e0..580242909 100644 --- a/tutorials/tutorial22/include/tutorial22/dispatch/DispatchClientInputMessage.h +++ b/tutorials/tutorial22/include/tutorial22/dispatch/DispatchClientInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial22/include/tutorial22/dispatch/DispatchMessage.h b/tutorials/tutorial22/include/tutorial22/dispatch/DispatchMessage.h index 8ae907c9f..8f5cdacd7 100644 --- a/tutorials/tutorial22/include/tutorial22/dispatch/DispatchMessage.h +++ b/tutorials/tutorial22/include/tutorial22/dispatch/DispatchMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for all input messages. diff --git a/tutorials/tutorial22/include/tutorial22/dispatch/DispatchServerInputMessage.h b/tutorials/tutorial22/include/tutorial22/dispatch/DispatchServerInputMessage.h index 71bc2154a..856140290 100644 --- a/tutorials/tutorial22/include/tutorial22/dispatch/DispatchServerInputMessage.h +++ b/tutorials/tutorial22/include/tutorial22/dispatch/DispatchServerInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial22/include/tutorial22/field/FieldBase.h b/tutorials/tutorial22/include/tutorial22/field/FieldBase.h index d6c6de3b7..6f46ed449 100644 --- a/tutorials/tutorial22/include/tutorial22/field/FieldBase.h +++ b/tutorials/tutorial22/include/tutorial22/field/FieldBase.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of base class of all the fields. diff --git a/tutorials/tutorial22/include/tutorial22/field/Length.h b/tutorials/tutorial22/include/tutorial22/field/Length.h index 0dc90bc88..dcc1a2b30 100644 --- a/tutorials/tutorial22/include/tutorial22/field/Length.h +++ b/tutorials/tutorial22/include/tutorial22/field/Length.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Length" field. diff --git a/tutorials/tutorial22/include/tutorial22/field/LengthCommon.h b/tutorials/tutorial22/include/tutorial22/field/LengthCommon.h index 50620063c..36e8924b8 100644 --- a/tutorials/tutorial22/include/tutorial22/field/LengthCommon.h +++ b/tutorials/tutorial22/include/tutorial22/field/LengthCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial22/include/tutorial22/field/MsgId.h b/tutorials/tutorial22/include/tutorial22/field/MsgId.h index 644215163..49e9bb96c 100644 --- a/tutorials/tutorial22/include/tutorial22/field/MsgId.h +++ b/tutorials/tutorial22/include/tutorial22/field/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "MsgId" field. diff --git a/tutorials/tutorial22/include/tutorial22/field/MsgIdCommon.h b/tutorials/tutorial22/include/tutorial22/field/MsgIdCommon.h index e1e59bfb4..c501be450 100644 --- a/tutorials/tutorial22/include/tutorial22/field/MsgIdCommon.h +++ b/tutorials/tutorial22/include/tutorial22/field/MsgIdCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial22/include/tutorial22/field/TlvProp.h b/tutorials/tutorial22/include/tutorial22/field/TlvProp.h index e00f60d7e..3cab70589 100644 --- a/tutorials/tutorial22/include/tutorial22/field/TlvProp.h +++ b/tutorials/tutorial22/include/tutorial22/field/TlvProp.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "TlvProp" field. diff --git a/tutorials/tutorial22/include/tutorial22/field/TlvPropCommon.h b/tutorials/tutorial22/include/tutorial22/field/TlvPropCommon.h index 7ade10ba2..300f924b9 100644 --- a/tutorials/tutorial22/include/tutorial22/field/TlvPropCommon.h +++ b/tutorials/tutorial22/include/tutorial22/field/TlvPropCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial22/include/tutorial22/frame/Frame.h b/tutorials/tutorial22/include/tutorial22/frame/Frame.h index f306ca247..c908d08a1 100644 --- a/tutorials/tutorial22/include/tutorial22/frame/Frame.h +++ b/tutorials/tutorial22/include/tutorial22/frame/Frame.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Frame" frame class. diff --git a/tutorials/tutorial22/include/tutorial22/frame/FrameCommon.h b/tutorials/tutorial22/include/tutorial22/frame/FrameCommon.h index 82e30a6d9..74bac24a4 100644 --- a/tutorials/tutorial22/include/tutorial22/frame/FrameCommon.h +++ b/tutorials/tutorial22/include/tutorial22/frame/FrameCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial22/include/tutorial22/input/AllMessages.h b/tutorials/tutorial22/include/tutorial22/input/AllMessages.h index b171c72f0..e2681c0d4 100644 --- a/tutorials/tutorial22/include/tutorial22/input/AllMessages.h +++ b/tutorials/tutorial22/include/tutorial22/input/AllMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the AllMessages messages bundle. diff --git a/tutorials/tutorial22/include/tutorial22/input/ClientInputMessages.h b/tutorials/tutorial22/include/tutorial22/input/ClientInputMessages.h index 18f2bd366..ecd8a99ce 100644 --- a/tutorials/tutorial22/include/tutorial22/input/ClientInputMessages.h +++ b/tutorials/tutorial22/include/tutorial22/input/ClientInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ClientInputMessages messages bundle. diff --git a/tutorials/tutorial22/include/tutorial22/input/ServerInputMessages.h b/tutorials/tutorial22/include/tutorial22/input/ServerInputMessages.h index 91a1fe359..3176c898a 100644 --- a/tutorials/tutorial22/include/tutorial22/input/ServerInputMessages.h +++ b/tutorials/tutorial22/include/tutorial22/input/ServerInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ServerInputMessages messages bundle. diff --git a/tutorials/tutorial22/include/tutorial22/message/Msg1.h b/tutorials/tutorial22/include/tutorial22/message/Msg1.h index d7aa9786a..37af7c154 100644 --- a/tutorials/tutorial22/include/tutorial22/message/Msg1.h +++ b/tutorials/tutorial22/include/tutorial22/message/Msg1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1" message and its fields. diff --git a/tutorials/tutorial22/include/tutorial22/message/Msg1Common.h b/tutorials/tutorial22/include/tutorial22/message/Msg1Common.h index aacc5515f..b72bc03de 100644 --- a/tutorials/tutorial22/include/tutorial22/message/Msg1Common.h +++ b/tutorials/tutorial22/include/tutorial22/message/Msg1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial22/include/tutorial22/options/BareMetalDefaultOptions.h b/tutorials/tutorial22/include/tutorial22/options/BareMetalDefaultOptions.h index 1f2ced4f0..1c33cea0b 100644 --- a/tutorials/tutorial22/include/tutorial22/options/BareMetalDefaultOptions.h +++ b/tutorials/tutorial22/include/tutorial22/options/BareMetalDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol bare metal default options. diff --git a/tutorials/tutorial22/include/tutorial22/options/ClientDefaultOptions.h b/tutorials/tutorial22/include/tutorial22/options/ClientDefaultOptions.h index 00af1e8d0..557fb4b01 100644 --- a/tutorials/tutorial22/include/tutorial22/options/ClientDefaultOptions.h +++ b/tutorials/tutorial22/include/tutorial22/options/ClientDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol client default options. diff --git a/tutorials/tutorial22/include/tutorial22/options/DataViewDefaultOptions.h b/tutorials/tutorial22/include/tutorial22/options/DataViewDefaultOptions.h index 63bbade7a..aa40eafca 100644 --- a/tutorials/tutorial22/include/tutorial22/options/DataViewDefaultOptions.h +++ b/tutorials/tutorial22/include/tutorial22/options/DataViewDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol data view default options. diff --git a/tutorials/tutorial22/include/tutorial22/options/DefaultOptions.h b/tutorials/tutorial22/include/tutorial22/options/DefaultOptions.h index 0580b2370..89e5d7d01 100644 --- a/tutorials/tutorial22/include/tutorial22/options/DefaultOptions.h +++ b/tutorials/tutorial22/include/tutorial22/options/DefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol default options. diff --git a/tutorials/tutorial22/include/tutorial22/options/ServerDefaultOptions.h b/tutorials/tutorial22/include/tutorial22/options/ServerDefaultOptions.h index 4ae3e92fc..d438b8efc 100644 --- a/tutorials/tutorial22/include/tutorial22/options/ServerDefaultOptions.h +++ b/tutorials/tutorial22/include/tutorial22/options/ServerDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol server default options. diff --git a/tutorials/tutorial23/README.md b/tutorials/tutorial23/README.md index cc2e96a08..a00add106 100644 --- a/tutorials/tutorial23/README.md +++ b/tutorials/tutorial23/README.md @@ -147,4 +147,4 @@ than **<ref>**-erence them. than **<ref>**-erence them. -[Read Previous Tutorial](../tutorial22) <----------------------- +[Read Previous Tutorial](../tutorial22) <-----------------------> [Read Next Tutorial](../tutorial24) diff --git a/tutorials/tutorial23/include/t23_ext/Version.h b/tutorials/tutorial23/include/t23_ext/Version.h index bc1c16649..e0ef4db03 100644 --- a/tutorials/tutorial23/include/t23_ext/Version.h +++ b/tutorials/tutorial23/include/t23_ext/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains protocol version definition. @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion() } // namespace t23_ext // Generated compile time check for minimal supported version of the COMMS library -static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(), +static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(), "The version of COMMS library is too old"); diff --git a/tutorials/tutorial23/include/t23_ext/field/FieldBase.h b/tutorials/tutorial23/include/t23_ext/field/FieldBase.h index 533ad761c..5aa8167da 100644 --- a/tutorials/tutorial23/include/t23_ext/field/FieldBase.h +++ b/tutorials/tutorial23/include/t23_ext/field/FieldBase.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of base class of all the fields. diff --git a/tutorials/tutorial23/include/t23_ext/ns1/field/I1.h b/tutorials/tutorial23/include/t23_ext/ns1/field/I1.h index c6491344f..908ab8a56 100644 --- a/tutorials/tutorial23/include/t23_ext/ns1/field/I1.h +++ b/tutorials/tutorial23/include/t23_ext/ns1/field/I1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "I1" field. diff --git a/tutorials/tutorial23/include/t23_ext/ns1/field/I1Common.h b/tutorials/tutorial23/include/t23_ext/ns1/field/I1Common.h index 5e2a77ade..9664599dc 100644 --- a/tutorials/tutorial23/include/t23_ext/ns1/field/I1Common.h +++ b/tutorials/tutorial23/include/t23_ext/ns1/field/I1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial23/include/t23_ext/ns1/field/S1.h b/tutorials/tutorial23/include/t23_ext/ns1/field/S1.h index 4b0bee385..773726c7b 100644 --- a/tutorials/tutorial23/include/t23_ext/ns1/field/S1.h +++ b/tutorials/tutorial23/include/t23_ext/ns1/field/S1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "S1" field. diff --git a/tutorials/tutorial23/include/t23_ext/ns1/field/S1Common.h b/tutorials/tutorial23/include/t23_ext/ns1/field/S1Common.h index d91ac3d97..ea94beee8 100644 --- a/tutorials/tutorial23/include/t23_ext/ns1/field/S1Common.h +++ b/tutorials/tutorial23/include/t23_ext/ns1/field/S1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial23/include/t23_ext/options/BareMetalDefaultOptions.h b/tutorials/tutorial23/include/t23_ext/options/BareMetalDefaultOptions.h index 1b2088f77..10ca95ed7 100644 --- a/tutorials/tutorial23/include/t23_ext/options/BareMetalDefaultOptions.h +++ b/tutorials/tutorial23/include/t23_ext/options/BareMetalDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol bare metal default options. diff --git a/tutorials/tutorial23/include/t23_ext/options/ClientDefaultOptions.h b/tutorials/tutorial23/include/t23_ext/options/ClientDefaultOptions.h index ae18fd180..2574d2b9b 100644 --- a/tutorials/tutorial23/include/t23_ext/options/ClientDefaultOptions.h +++ b/tutorials/tutorial23/include/t23_ext/options/ClientDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol client default options. diff --git a/tutorials/tutorial23/include/t23_ext/options/DataViewDefaultOptions.h b/tutorials/tutorial23/include/t23_ext/options/DataViewDefaultOptions.h index 81eeb913f..3bc97bd08 100644 --- a/tutorials/tutorial23/include/t23_ext/options/DataViewDefaultOptions.h +++ b/tutorials/tutorial23/include/t23_ext/options/DataViewDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol data view default options. diff --git a/tutorials/tutorial23/include/t23_ext/options/DefaultOptions.h b/tutorials/tutorial23/include/t23_ext/options/DefaultOptions.h index fa2c9ac07..c77068035 100644 --- a/tutorials/tutorial23/include/t23_ext/options/DefaultOptions.h +++ b/tutorials/tutorial23/include/t23_ext/options/DefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol default options. diff --git a/tutorials/tutorial23/include/t23_ext/options/ServerDefaultOptions.h b/tutorials/tutorial23/include/t23_ext/options/ServerDefaultOptions.h index d7e79f4da..55ca45652 100644 --- a/tutorials/tutorial23/include/t23_ext/options/ServerDefaultOptions.h +++ b/tutorials/tutorial23/include/t23_ext/options/ServerDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol server default options. diff --git a/tutorials/tutorial23/include/tutorial23/Message.h b/tutorials/tutorial23/include/tutorial23/Message.h index 8ae8d7b65..30d301229 100644 --- a/tutorials/tutorial23/include/tutorial23/Message.h +++ b/tutorials/tutorial23/include/tutorial23/Message.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message" interface class. diff --git a/tutorials/tutorial23/include/tutorial23/MsgId.h b/tutorials/tutorial23/include/tutorial23/MsgId.h index a47cfd1b4..20314b612 100644 --- a/tutorials/tutorial23/include/tutorial23/MsgId.h +++ b/tutorials/tutorial23/include/tutorial23/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of message ids enumeration. @@ -13,13 +13,13 @@ namespace tutorial23 /// @brief Message ids enumeration. enum MsgId : std::uint8_t { - MsgId_M1 = 1, ///< message id of Message 1 message. , - MsgId_M2 = 2, ///< message id of Message 2 message. , - MsgId_M3 = 3, ///< message id of Message 3 message. , + MsgId_M1 = 1, ///< message id of Message 1 message. + MsgId_M2 = 2, ///< message id of Message 2 message. + MsgId_M3 = 3, ///< message id of Message 3 message. - // --- Extra values generated for convenience ---, - MsgId_FirstValue = 1, ///< First defined value., - MsgId_LastValue = 3, ///< Last defined value., + // --- Extra values generated for convenience --- + MsgId_FirstValue = 1, ///< First defined value. + MsgId_LastValue = 3, ///< Last defined value. MsgId_ValuesLimit = 4, ///< Upper limit for defined values. }; diff --git a/tutorials/tutorial23/include/tutorial23/Version.h b/tutorials/tutorial23/include/tutorial23/Version.h index 53c3feee7..97b9f60e9 100644 --- a/tutorials/tutorial23/include/tutorial23/Version.h +++ b/tutorials/tutorial23/include/tutorial23/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains protocol version definition. @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion() } // namespace tutorial23 // Generated compile time check for minimal supported version of the COMMS library -static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(), +static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(), "The version of COMMS library is too old"); diff --git a/tutorials/tutorial23/include/tutorial23/dispatch/DispatchClientInputMessage.h b/tutorials/tutorial23/include/tutorial23/dispatch/DispatchClientInputMessage.h index a4a077cf8..64136530a 100644 --- a/tutorials/tutorial23/include/tutorial23/dispatch/DispatchClientInputMessage.h +++ b/tutorials/tutorial23/include/tutorial23/dispatch/DispatchClientInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial23/include/tutorial23/dispatch/DispatchMessage.h b/tutorials/tutorial23/include/tutorial23/dispatch/DispatchMessage.h index 5f73d0491..2a3196b1c 100644 --- a/tutorials/tutorial23/include/tutorial23/dispatch/DispatchMessage.h +++ b/tutorials/tutorial23/include/tutorial23/dispatch/DispatchMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for all input messages. diff --git a/tutorials/tutorial23/include/tutorial23/dispatch/DispatchServerInputMessage.h b/tutorials/tutorial23/include/tutorial23/dispatch/DispatchServerInputMessage.h index faa1d29e6..e3e009300 100644 --- a/tutorials/tutorial23/include/tutorial23/dispatch/DispatchServerInputMessage.h +++ b/tutorials/tutorial23/include/tutorial23/dispatch/DispatchServerInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial23/include/tutorial23/field/FieldBase.h b/tutorials/tutorial23/include/tutorial23/field/FieldBase.h index a471becd1..4da7da500 100644 --- a/tutorials/tutorial23/include/tutorial23/field/FieldBase.h +++ b/tutorials/tutorial23/include/tutorial23/field/FieldBase.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of base class of all the fields. diff --git a/tutorials/tutorial23/include/tutorial23/field/I1.h b/tutorials/tutorial23/include/tutorial23/field/I1.h index f8d938809..ae167f2bc 100644 --- a/tutorials/tutorial23/include/tutorial23/field/I1.h +++ b/tutorials/tutorial23/include/tutorial23/field/I1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "I1" field. diff --git a/tutorials/tutorial23/include/tutorial23/field/I1Common.h b/tutorials/tutorial23/include/tutorial23/field/I1Common.h index 47f0229e8..5a2159f1b 100644 --- a/tutorials/tutorial23/include/tutorial23/field/I1Common.h +++ b/tutorials/tutorial23/include/tutorial23/field/I1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial23/include/tutorial23/field/Length.h b/tutorials/tutorial23/include/tutorial23/field/Length.h index 42d5b0d72..aee555dba 100644 --- a/tutorials/tutorial23/include/tutorial23/field/Length.h +++ b/tutorials/tutorial23/include/tutorial23/field/Length.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Length" field. diff --git a/tutorials/tutorial23/include/tutorial23/field/LengthCommon.h b/tutorials/tutorial23/include/tutorial23/field/LengthCommon.h index 4dba64b29..05fe4fe3d 100644 --- a/tutorials/tutorial23/include/tutorial23/field/LengthCommon.h +++ b/tutorials/tutorial23/include/tutorial23/field/LengthCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial23/include/tutorial23/field/MsgId.h b/tutorials/tutorial23/include/tutorial23/field/MsgId.h index eab711da3..3adbce460 100644 --- a/tutorials/tutorial23/include/tutorial23/field/MsgId.h +++ b/tutorials/tutorial23/include/tutorial23/field/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "MsgId" field. diff --git a/tutorials/tutorial23/include/tutorial23/field/MsgIdCommon.h b/tutorials/tutorial23/include/tutorial23/field/MsgIdCommon.h index 9b162449b..eeb1122d7 100644 --- a/tutorials/tutorial23/include/tutorial23/field/MsgIdCommon.h +++ b/tutorials/tutorial23/include/tutorial23/field/MsgIdCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial23/include/tutorial23/frame/Frame.h b/tutorials/tutorial23/include/tutorial23/frame/Frame.h index a180cdb39..981bec674 100644 --- a/tutorials/tutorial23/include/tutorial23/frame/Frame.h +++ b/tutorials/tutorial23/include/tutorial23/frame/Frame.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Frame" frame class. diff --git a/tutorials/tutorial23/include/tutorial23/frame/FrameCommon.h b/tutorials/tutorial23/include/tutorial23/frame/FrameCommon.h index 03addde67..a6b043130 100644 --- a/tutorials/tutorial23/include/tutorial23/frame/FrameCommon.h +++ b/tutorials/tutorial23/include/tutorial23/frame/FrameCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial23/include/tutorial23/input/AllMessages.h b/tutorials/tutorial23/include/tutorial23/input/AllMessages.h index c52ca1914..29da09a32 100644 --- a/tutorials/tutorial23/include/tutorial23/input/AllMessages.h +++ b/tutorials/tutorial23/include/tutorial23/input/AllMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the AllMessages messages bundle. diff --git a/tutorials/tutorial23/include/tutorial23/input/ClientInputMessages.h b/tutorials/tutorial23/include/tutorial23/input/ClientInputMessages.h index 1e97f7c61..dfe6d660e 100644 --- a/tutorials/tutorial23/include/tutorial23/input/ClientInputMessages.h +++ b/tutorials/tutorial23/include/tutorial23/input/ClientInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ClientInputMessages messages bundle. diff --git a/tutorials/tutorial23/include/tutorial23/input/ServerInputMessages.h b/tutorials/tutorial23/include/tutorial23/input/ServerInputMessages.h index 248e10241..6a555984f 100644 --- a/tutorials/tutorial23/include/tutorial23/input/ServerInputMessages.h +++ b/tutorials/tutorial23/include/tutorial23/input/ServerInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ServerInputMessages messages bundle. diff --git a/tutorials/tutorial23/include/tutorial23/message/Msg1.h b/tutorials/tutorial23/include/tutorial23/message/Msg1.h index 45b328b01..8a2caf96c 100644 --- a/tutorials/tutorial23/include/tutorial23/message/Msg1.h +++ b/tutorials/tutorial23/include/tutorial23/message/Msg1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1" message and its fields. diff --git a/tutorials/tutorial23/include/tutorial23/message/Msg1Common.h b/tutorials/tutorial23/include/tutorial23/message/Msg1Common.h index f1f22e6df..54cb92eb0 100644 --- a/tutorials/tutorial23/include/tutorial23/message/Msg1Common.h +++ b/tutorials/tutorial23/include/tutorial23/message/Msg1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial23/include/tutorial23/options/BareMetalDefaultOptions.h b/tutorials/tutorial23/include/tutorial23/options/BareMetalDefaultOptions.h index 40859d917..ae4badba3 100644 --- a/tutorials/tutorial23/include/tutorial23/options/BareMetalDefaultOptions.h +++ b/tutorials/tutorial23/include/tutorial23/options/BareMetalDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol bare metal default options. diff --git a/tutorials/tutorial23/include/tutorial23/options/ClientDefaultOptions.h b/tutorials/tutorial23/include/tutorial23/options/ClientDefaultOptions.h index 4c65da6ee..8330bf717 100644 --- a/tutorials/tutorial23/include/tutorial23/options/ClientDefaultOptions.h +++ b/tutorials/tutorial23/include/tutorial23/options/ClientDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol client default options. diff --git a/tutorials/tutorial23/include/tutorial23/options/DataViewDefaultOptions.h b/tutorials/tutorial23/include/tutorial23/options/DataViewDefaultOptions.h index a54d9b489..39f535e23 100644 --- a/tutorials/tutorial23/include/tutorial23/options/DataViewDefaultOptions.h +++ b/tutorials/tutorial23/include/tutorial23/options/DataViewDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol data view default options. diff --git a/tutorials/tutorial23/include/tutorial23/options/DefaultOptions.h b/tutorials/tutorial23/include/tutorial23/options/DefaultOptions.h index b57f870e2..d3a69ad5a 100644 --- a/tutorials/tutorial23/include/tutorial23/options/DefaultOptions.h +++ b/tutorials/tutorial23/include/tutorial23/options/DefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol default options. diff --git a/tutorials/tutorial23/include/tutorial23/options/ServerDefaultOptions.h b/tutorials/tutorial23/include/tutorial23/options/ServerDefaultOptions.h index 352168378..7570c1c1e 100644 --- a/tutorials/tutorial23/include/tutorial23/options/ServerDefaultOptions.h +++ b/tutorials/tutorial23/include/tutorial23/options/ServerDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol server default options. diff --git a/tutorials/tutorial24/CMakeLists.txt b/tutorials/tutorial24/CMakeLists.txt new file mode 100644 index 000000000..649977402 --- /dev/null +++ b/tutorials/tutorial24/CMakeLists.txt @@ -0,0 +1,19 @@ +get_filename_component(name ${CMAKE_CURRENT_SOURCE_DIR} NAME) + +set (schema_files + ${CMAKE_CURRENT_SOURCE_DIR}/dsl/schema.xml +) + +set (server_src + src/ServerSession.cpp +) + +set (client_src + src/ClientSession.cpp +) + +dsl_tutorial_parse(${name} SCHEMAS ${schema_files}) + +bin_tutorial_server(${name} ${server_src}) +bin_tutorial_client(${name} ${client_src}) + diff --git a/tutorials/tutorial24/README.md b/tutorials/tutorial24/README.md new file mode 100644 index 000000000..6210da3b8 --- /dev/null +++ b/tutorials/tutorial24/README.md @@ -0,0 +1,123 @@ +# Tutorial 24 +Extra validity verification of message payload. + +Many protocols specify extra validity conditions of the message payload. For example, +some fields require having (or not having) certain values base on the value of other fields. +The [CommsDSL](https://github.com/commschamp/CommsDSL-Specification) allows specify such conditions +using **validCond** property. It works in exactly the same way as **construct** and/or **readCond** ones +described in the [tutorial16](../tutorial23) (including referencing the interface fields if needed). + +The [schema](dsl/schema.xml) of this tutorial has `Msg1` defined as below: + +```xml + + + + + + + + + + + + +``` +In this example `F2` must be `0` in case `F1` is `0`. + +The generated [Msg1](include/tutorial24/message/Msg1.h) implements its `doValid()` member function accordingly: +```cpp +template +class Msg1 : public + comms::MessageBase<...> +{ + ... + + // Generated validity check functionality + bool doValid() const + { + if (!Base::doValid()) { + return false; + } + + return + ((field_f1().getValue() != static_cast(0U)) || + (field_f2().getValue() == static_cast(0U))); + } +}; +``` + +In some cases the protocol specification demands the message to be discarded if its contents are invalid. +The [CommsDSL](https://github.com/commschamp/CommsDSL-Specification) provides **failOnInvalid** property that +can be used for messages, not only fields. + +```xml + + ... + +``` + +The generated [Msg1](include/tutorial24/message/Msg1.h) class uses **comms::option::def::FailOnInvalid** option in the +message class definition. +``` +template +class Msg1 : public + comms::MessageBase< + TMsgBase, + comms::option::def::StaticNumIdImpl, + comms::option::def::FieldsImpl::All>, + comms::option::def::MsgType >, + comms::option::def::HasName, + comms::option::def::FailOnInvalid<> + > +{...}; +``` + +The code which prepares and sends `Msg1` inside the [src/ClientSession.cpp](src/ClientSession.cpp) looks like this: +```cpp +void ClientSession::sendMsg1() +{ + Msg1 msg; + assert(msg.doValid()); + + msg.field_f2().value() = 2; + assert(!msg.doValid()); + sendMessage(msg); // Invalid message can be sent, but should be ignored on reception + + msg.field_f1().value() = 1; + sendMessage(msg); // Should get received and echoed back +} +``` +Note that `Msg1` is sent twice. When the message contents are invalid the object gets discarded on the server side and only +the valid one is echoes back to the client. + +The **failOnInvalid** property assigned to the `` works also without any extra validity conditions (**validCond**) in +case any of the fields contain invalid values: +```xml + + + + +``` + +The code which sends/receives `Msg2` demonstrates it: +```cpp +void ClientSession::sendMsg2() +{ + Msg2 msg; + assert(!msg.doValid()); // F2 is invalid when default constructed + sendMessage(msg); // Invalid message can be sent, but should be ignored on reception + + msg.field_f1().value() = 5; + msg.field_f2().value() = 10; + assert(msg.doValid()); + sendMessage(msg); // Should get received and echoed back +} +``` + +## Summary +- To specify extra validity condition(s) use **validCond** property (or **<validCond>** child node). +- The **validCond** property uses the same syntax / rules as **construct** and **readCond** described in [tutorial16](../tutorial16). +- To discard message on invalid contents use **failOnInvalid** property. + +[Read Previous Tutorial](../tutorial23) <----------------------- diff --git a/tutorials/tutorial24/dsl/schema.xml b/tutorials/tutorial24/dsl/schema.xml new file mode 100644 index 000000000..bdafd2d19 --- /dev/null +++ b/tutorials/tutorial24/dsl/schema.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tutorials/tutorial24/include/tutorial24/Message.h b/tutorials/tutorial24/include/tutorial24/Message.h new file mode 100644 index 000000000..834ee0f07 --- /dev/null +++ b/tutorials/tutorial24/include/tutorial24/Message.h @@ -0,0 +1,26 @@ +// Generated by commsdsl2comms v6.0.0 + +/// @file +/// @brief Contains definition of "Message" interface class. + +#pragma once + +#include "comms/Message.h" +#include "comms/options.h" +#include "tutorial24/MsgId.h" + +namespace tutorial24 +{ + +/// @brief Definition of "Message" common interface class. +/// @tparam TOpt Interface definition options +/// @headerfile tutorial24/Message.h +template +using Message = + comms::Message< + TOpt..., + comms::option::def::BigEndian, + comms::option::def::MsgIdType + >; + +} // namespace tutorial24 diff --git a/tutorials/tutorial24/include/tutorial24/MsgId.h b/tutorials/tutorial24/include/tutorial24/MsgId.h new file mode 100644 index 000000000..94827dbf6 --- /dev/null +++ b/tutorials/tutorial24/include/tutorial24/MsgId.h @@ -0,0 +1,25 @@ +// Generated by commsdsl2comms v6.0.0 + +/// @file +/// @brief Contains definition of message ids enumeration. + +#pragma once + +#include +#include "tutorial24/Version.h" + +namespace tutorial24 +{ +/// @brief Message ids enumeration. +enum MsgId : std::uint8_t +{ + MsgId_M1 = 1, ///< message id of Message 1 message. + MsgId_M2 = 2, ///< message id of Message 2 message. + + // --- Extra values generated for convenience --- + MsgId_FirstValue = 1, ///< First defined value. + MsgId_LastValue = 2, ///< Last defined value. + MsgId_ValuesLimit = 3, ///< Upper limit for defined values. +}; + +} // namespace tutorial24 diff --git a/tutorials/tutorial24/include/tutorial24/Version.h b/tutorials/tutorial24/include/tutorial24/Version.h new file mode 100644 index 000000000..c9ff7a7c7 --- /dev/null +++ b/tutorials/tutorial24/include/tutorial24/Version.h @@ -0,0 +1,26 @@ +// Generated by commsdsl2comms v6.0.0 + +/// @file +/// @brief Contains protocol version definition. + +#pragma once + +#include "comms/version.h" + +/// @brief Version of the protocol specification. +#define TUTORIAL24_SPEC_VERSION (0U) + +namespace tutorial24 +{ + +/// @brief Version of the protocol specification. +inline constexpr unsigned specVersion() +{ + return TUTORIAL24_SPEC_VERSION; +} + +} // namespace tutorial24 + +// Generated compile time check for minimal supported version of the COMMS library +static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(), + "The version of COMMS library is too old"); diff --git a/tutorials/tutorial24/include/tutorial24/dispatch/DispatchClientInputMessage.h b/tutorials/tutorial24/include/tutorial24/dispatch/DispatchClientInputMessage.h new file mode 100644 index 000000000..87a7cade0 --- /dev/null +++ b/tutorials/tutorial24/include/tutorial24/dispatch/DispatchClientInputMessage.h @@ -0,0 +1,196 @@ +// Generated by commsdsl2comms v6.0.0 + +/// @file +/// @brief Contains dispatch to handling function(s) for client input input messages. + +#pragma once + +#include "tutorial24/MsgId.h" +#include "tutorial24/input/ClientInputMessages.h" +#include "tutorial24/options/DefaultOptions.h" + +namespace tutorial24 +{ + +namespace dispatch +{ + +/// @brief Dispatch message object to its appropriate handling function. +/// @details @b switch statement based (on message ID) cast and dispatch functionality. +/// @tparam TProtOptions Protocol options struct used for the application, +/// like @ref tutorial24::options::DefaultOptions. +/// @param[in] id Numeric message ID. +/// @param[in] msg Message object held by reference to its interface class. +/// @param[in] handler Reference to handling object. Must define +/// @b handle() member function for every message type it exects +/// to handle and one for the interface class as well. +/// @code +/// using MyInterface = tutorial24::Message<...>; +/// using MyMsg1 = tutorial24::message::Msg1; +/// using MyMsg2 = tutorial24::message::Msg2; +/// struct MyHandler { +/// void handle(MyMsg1& msg) {...} +/// void handle(MyMsg2& msg) {...} +/// ... +/// // Handle all unexpected or irrelevant messages. +/// void handle(MyInterface& msg) {...} +/// }; +/// @endcode +/// Every @b handle() function may return a value, but every +/// function must return the @b same type. +/// @note Defined in tutorial24/dispatch/DispatchClientInputMessage.h +template +auto dispatchClientInputMessage( + tutorial24::MsgId id, + TMsg& msg, + THandler& handler) -> decltype(handler.handle(msg)) +{ + using InterfaceType = typename std::decay::type; + switch(id) { + case tutorial24::MsgId_M1: + { + using MsgType = tutorial24::message::Msg1; + return handler.handle(static_cast(msg)); + } + case tutorial24::MsgId_M2: + { + using MsgType = tutorial24::message::Msg2; + return handler.handle(static_cast(msg)); + } + default: + break; + }; + + return handler.handle(msg); +} + +/// @brief Dispatch message object to its appropriate handling function. +/// @details Same as other dispatchClientInputMessage(), but receives extra @b idx parameter. +/// @tparam TProtOptions Protocol options struct used for the application, +/// like @ref tutorial24::options::DefaultOptions. +/// @param[in] id Numeric message ID. +/// @param[in] idx Index of the message among messages with the same ID. +/// Expected to be @b 0. +/// @param[in] msg Message object held by reference to its interface class. +/// @param[in] handler Reference to handling object. +/// @see dispatchClientInputMessage() +/// @note Defined in tutorial24/dispatch/DispatchClientInputMessage.h +template +auto dispatchClientInputMessage( + tutorial24::MsgId id, + std::size_t idx, + TMsg& msg, + THandler& handler) -> decltype(handler.handle(msg)) +{ + if (idx != 0U) { + return handler.handle(msg); + } + return dispatchClientInputMessage(id, msg, handler); +} + +/// @brief Dispatch message object to its appropriate handling function. +/// @details Same as other dispatchClientInputMessage(), but passing +/// tutorial24::options::DefaultOptions as first template parameter. +/// @param[in] id Numeric message ID. +/// @param[in] msg Message object held by reference to its interface class. +/// @param[in] handler Reference to handling object. +/// @see dispatchClientInputMessage() +/// @note Defined in tutorial24/dispatch/DispatchClientInputMessage.h +template +auto dispatchClientInputMessageDefaultOptions( + tutorial24::MsgId id, + TMsg& msg, + THandler& handler) -> decltype(handler.handle(msg)) +{ + return dispatchClientInputMessage(id, msg, handler); +} + +/// @brief Dispatch message object to its appropriate handling function. +/// @details Same as other dispatchClientInputMessageDefaultOptions(), +/// but receives extra @b idx parameter. +/// @param[in] id Numeric message ID. +/// @param[in] idx Index of the message among messages with the same ID. +/// @param[in] msg Message object held by reference to its interface class. +/// @param[in] handler Reference to handling object. +/// @see dispatchClientInputMessageDefaultOptions() +/// @note Defined in tutorial24/dispatch/DispatchClientInputMessage.h +template +auto dispatchClientInputMessageDefaultOptions( + tutorial24::MsgId id, + std::size_t idx, + TMsg& msg, + THandler& handler) -> decltype(handler.handle(msg)) +{ + return dispatchClientInputMessage(id, idx, msg, handler); +} + +/// @brief Message dispatcher class to be used with +/// @b comms::processAllWithDispatchViaDispatcher() function (or similar). +/// @tparam TProtOptions Protocol options struct used for the application, +/// like @ref tutorial24::options::DefaultOptions. +/// @headerfile tutorial24/dispatch/DispatchClientInputMessage.h +template +struct ClientInputMsgDispatcher +{ + /// @brief Class detection tag + using MsgDispatcherTag = void; + + /// @brief Dispatch message to its handler. + /// @details Uses appropriate @ref dispatchClientInputMessage() function. + /// @param[in] id ID of the message. + /// @param[in] idx Index (or offset) of the message among those having the same numeric ID. + /// @param[in] msg Reference to message object. + /// @param[in] handler Reference to handler object. + /// @return What the @ref dispatchClientInputMessage() function returns. + template + static auto dispatch(tutorial24::MsgId id, std::size_t idx, TMsg& msg, THandler& handler) -> + decltype(tutorial24::dispatch::dispatchClientInputMessage(id, idx, msg, handler)) + { + return tutorial24::dispatch::dispatchClientInputMessage(id, idx, msg, handler); + } + + /// @brief Complementary dispatch function. + /// @details Same as other dispatch without @b TAllMessages template parameter, + /// used by @b comms::processAllWithDispatchViaDispatcher(). + template + static auto dispatch(tutorial24::MsgId id, std::size_t idx, TMsg& msg, THandler& handler) -> + decltype(dispatch(id, idx, msg, handler)) + { + return dispatch(id, idx, msg, handler); + } + + /// @brief Dispatch message to its handler. + /// @details Uses appropriate @ref dispatchClientInputMessage() function. + /// @param[in] id ID of the message. + /// @param[in] msg Reference to message object. + /// @param[in] handler Reference to handler object. + /// @return What the @ref dispatchClientInputMessage() function returns. + template + static auto dispatch(tutorial24::MsgId id, TMsg& msg, THandler& handler) -> + decltype(tutorial24::dispatch::dispatchClientInputMessage(id, msg, handler)) + { + return tutorial24::dispatch::dispatchClientInputMessage(id, msg, handler); + } + + /// @brief Complementary dispatch function. + /// @details Same as other dispatch without @b TAllMessages template parameter, + /// used by @b comms::processAllWithDispatchViaDispatcher(). + template + static auto dispatch(tutorial24::MsgId id, TMsg& msg, THandler& handler) -> + decltype(dispatch(id, msg, handler)) + { + return dispatch(id, msg, handler); + } +}; + +/// @brief Message dispatcher class to be used with +/// @b comms::processAllWithDispatchViaDispatcher() function (or similar). +/// @details Same as ClientInputMsgDispatcher, but passing +/// @ref tutorial24::options::DefaultOptions as template parameter. +/// @note Defined in tutorial24/dispatch/DispatchClientInputMessage.h +using ClientInputMsgDispatcherDefaultOptions = + ClientInputMsgDispatcher<>; + +} // namespace dispatch + +} // namespace tutorial24 diff --git a/tutorials/tutorial24/include/tutorial24/dispatch/DispatchMessage.h b/tutorials/tutorial24/include/tutorial24/dispatch/DispatchMessage.h new file mode 100644 index 000000000..8506e497f --- /dev/null +++ b/tutorials/tutorial24/include/tutorial24/dispatch/DispatchMessage.h @@ -0,0 +1,196 @@ +// Generated by commsdsl2comms v6.0.0 + +/// @file +/// @brief Contains dispatch to handling function(s) for all input messages. + +#pragma once + +#include "tutorial24/MsgId.h" +#include "tutorial24/input/AllMessages.h" +#include "tutorial24/options/DefaultOptions.h" + +namespace tutorial24 +{ + +namespace dispatch +{ + +/// @brief Dispatch message object to its appropriate handling function. +/// @details @b switch statement based (on message ID) cast and dispatch functionality. +/// @tparam TProtOptions Protocol options struct used for the application, +/// like @ref tutorial24::options::DefaultOptions. +/// @param[in] id Numeric message ID. +/// @param[in] msg Message object held by reference to its interface class. +/// @param[in] handler Reference to handling object. Must define +/// @b handle() member function for every message type it exects +/// to handle and one for the interface class as well. +/// @code +/// using MyInterface = tutorial24::Message<...>; +/// using MyMsg1 = tutorial24::message::Msg1; +/// using MyMsg2 = tutorial24::message::Msg2; +/// struct MyHandler { +/// void handle(MyMsg1& msg) {...} +/// void handle(MyMsg2& msg) {...} +/// ... +/// // Handle all unexpected or irrelevant messages. +/// void handle(MyInterface& msg) {...} +/// }; +/// @endcode +/// Every @b handle() function may return a value, but every +/// function must return the @b same type. +/// @note Defined in tutorial24/dispatch/DispatchMessage.h +template +auto dispatchMessage( + tutorial24::MsgId id, + TMsg& msg, + THandler& handler) -> decltype(handler.handle(msg)) +{ + using InterfaceType = typename std::decay::type; + switch(id) { + case tutorial24::MsgId_M1: + { + using MsgType = tutorial24::message::Msg1; + return handler.handle(static_cast(msg)); + } + case tutorial24::MsgId_M2: + { + using MsgType = tutorial24::message::Msg2; + return handler.handle(static_cast(msg)); + } + default: + break; + }; + + return handler.handle(msg); +} + +/// @brief Dispatch message object to its appropriate handling function. +/// @details Same as other dispatchMessage(), but receives extra @b idx parameter. +/// @tparam TProtOptions Protocol options struct used for the application, +/// like @ref tutorial24::options::DefaultOptions. +/// @param[in] id Numeric message ID. +/// @param[in] idx Index of the message among messages with the same ID. +/// Expected to be @b 0. +/// @param[in] msg Message object held by reference to its interface class. +/// @param[in] handler Reference to handling object. +/// @see dispatchMessage() +/// @note Defined in tutorial24/dispatch/DispatchMessage.h +template +auto dispatchMessage( + tutorial24::MsgId id, + std::size_t idx, + TMsg& msg, + THandler& handler) -> decltype(handler.handle(msg)) +{ + if (idx != 0U) { + return handler.handle(msg); + } + return dispatchMessage(id, msg, handler); +} + +/// @brief Dispatch message object to its appropriate handling function. +/// @details Same as other dispatchMessage(), but passing +/// tutorial24::options::DefaultOptions as first template parameter. +/// @param[in] id Numeric message ID. +/// @param[in] msg Message object held by reference to its interface class. +/// @param[in] handler Reference to handling object. +/// @see dispatchMessage() +/// @note Defined in tutorial24/dispatch/DispatchMessage.h +template +auto dispatchMessageDefaultOptions( + tutorial24::MsgId id, + TMsg& msg, + THandler& handler) -> decltype(handler.handle(msg)) +{ + return dispatchMessage(id, msg, handler); +} + +/// @brief Dispatch message object to its appropriate handling function. +/// @details Same as other dispatchMessageDefaultOptions(), +/// but receives extra @b idx parameter. +/// @param[in] id Numeric message ID. +/// @param[in] idx Index of the message among messages with the same ID. +/// @param[in] msg Message object held by reference to its interface class. +/// @param[in] handler Reference to handling object. +/// @see dispatchMessageDefaultOptions() +/// @note Defined in tutorial24/dispatch/DispatchMessage.h +template +auto dispatchMessageDefaultOptions( + tutorial24::MsgId id, + std::size_t idx, + TMsg& msg, + THandler& handler) -> decltype(handler.handle(msg)) +{ + return dispatchMessage(id, idx, msg, handler); +} + +/// @brief Message dispatcher class to be used with +/// @b comms::processAllWithDispatchViaDispatcher() function (or similar). +/// @tparam TProtOptions Protocol options struct used for the application, +/// like @ref tutorial24::options::DefaultOptions. +/// @headerfile tutorial24/dispatch/DispatchMessage.h +template +struct MsgDispatcher +{ + /// @brief Class detection tag + using MsgDispatcherTag = void; + + /// @brief Dispatch message to its handler. + /// @details Uses appropriate @ref dispatchMessage() function. + /// @param[in] id ID of the message. + /// @param[in] idx Index (or offset) of the message among those having the same numeric ID. + /// @param[in] msg Reference to message object. + /// @param[in] handler Reference to handler object. + /// @return What the @ref dispatchMessage() function returns. + template + static auto dispatch(tutorial24::MsgId id, std::size_t idx, TMsg& msg, THandler& handler) -> + decltype(tutorial24::dispatch::dispatchMessage(id, idx, msg, handler)) + { + return tutorial24::dispatch::dispatchMessage(id, idx, msg, handler); + } + + /// @brief Complementary dispatch function. + /// @details Same as other dispatch without @b TAllMessages template parameter, + /// used by @b comms::processAllWithDispatchViaDispatcher(). + template + static auto dispatch(tutorial24::MsgId id, std::size_t idx, TMsg& msg, THandler& handler) -> + decltype(dispatch(id, idx, msg, handler)) + { + return dispatch(id, idx, msg, handler); + } + + /// @brief Dispatch message to its handler. + /// @details Uses appropriate @ref dispatchMessage() function. + /// @param[in] id ID of the message. + /// @param[in] msg Reference to message object. + /// @param[in] handler Reference to handler object. + /// @return What the @ref dispatchMessage() function returns. + template + static auto dispatch(tutorial24::MsgId id, TMsg& msg, THandler& handler) -> + decltype(tutorial24::dispatch::dispatchMessage(id, msg, handler)) + { + return tutorial24::dispatch::dispatchMessage(id, msg, handler); + } + + /// @brief Complementary dispatch function. + /// @details Same as other dispatch without @b TAllMessages template parameter, + /// used by @b comms::processAllWithDispatchViaDispatcher(). + template + static auto dispatch(tutorial24::MsgId id, TMsg& msg, THandler& handler) -> + decltype(dispatch(id, msg, handler)) + { + return dispatch(id, msg, handler); + } +}; + +/// @brief Message dispatcher class to be used with +/// @b comms::processAllWithDispatchViaDispatcher() function (or similar). +/// @details Same as MsgDispatcher, but passing +/// @ref tutorial24::options::DefaultOptions as template parameter. +/// @note Defined in tutorial24/dispatch/DispatchMessage.h +using MsgDispatcherDefaultOptions = + MsgDispatcher<>; + +} // namespace dispatch + +} // namespace tutorial24 diff --git a/tutorials/tutorial24/include/tutorial24/dispatch/DispatchServerInputMessage.h b/tutorials/tutorial24/include/tutorial24/dispatch/DispatchServerInputMessage.h new file mode 100644 index 000000000..3dab1310d --- /dev/null +++ b/tutorials/tutorial24/include/tutorial24/dispatch/DispatchServerInputMessage.h @@ -0,0 +1,196 @@ +// Generated by commsdsl2comms v6.0.0 + +/// @file +/// @brief Contains dispatch to handling function(s) for client input input messages. + +#pragma once + +#include "tutorial24/MsgId.h" +#include "tutorial24/input/ServerInputMessages.h" +#include "tutorial24/options/DefaultOptions.h" + +namespace tutorial24 +{ + +namespace dispatch +{ + +/// @brief Dispatch message object to its appropriate handling function. +/// @details @b switch statement based (on message ID) cast and dispatch functionality. +/// @tparam TProtOptions Protocol options struct used for the application, +/// like @ref tutorial24::options::DefaultOptions. +/// @param[in] id Numeric message ID. +/// @param[in] msg Message object held by reference to its interface class. +/// @param[in] handler Reference to handling object. Must define +/// @b handle() member function for every message type it exects +/// to handle and one for the interface class as well. +/// @code +/// using MyInterface = tutorial24::Message<...>; +/// using MyMsg1 = tutorial24::message::Msg1; +/// using MyMsg2 = tutorial24::message::Msg2; +/// struct MyHandler { +/// void handle(MyMsg1& msg) {...} +/// void handle(MyMsg2& msg) {...} +/// ... +/// // Handle all unexpected or irrelevant messages. +/// void handle(MyInterface& msg) {...} +/// }; +/// @endcode +/// Every @b handle() function may return a value, but every +/// function must return the @b same type. +/// @note Defined in tutorial24/dispatch/DispatchServerInputMessage.h +template +auto dispatchServerInputMessage( + tutorial24::MsgId id, + TMsg& msg, + THandler& handler) -> decltype(handler.handle(msg)) +{ + using InterfaceType = typename std::decay::type; + switch(id) { + case tutorial24::MsgId_M1: + { + using MsgType = tutorial24::message::Msg1; + return handler.handle(static_cast(msg)); + } + case tutorial24::MsgId_M2: + { + using MsgType = tutorial24::message::Msg2; + return handler.handle(static_cast(msg)); + } + default: + break; + }; + + return handler.handle(msg); +} + +/// @brief Dispatch message object to its appropriate handling function. +/// @details Same as other dispatchServerInputMessage(), but receives extra @b idx parameter. +/// @tparam TProtOptions Protocol options struct used for the application, +/// like @ref tutorial24::options::DefaultOptions. +/// @param[in] id Numeric message ID. +/// @param[in] idx Index of the message among messages with the same ID. +/// Expected to be @b 0. +/// @param[in] msg Message object held by reference to its interface class. +/// @param[in] handler Reference to handling object. +/// @see dispatchServerInputMessage() +/// @note Defined in tutorial24/dispatch/DispatchServerInputMessage.h +template +auto dispatchServerInputMessage( + tutorial24::MsgId id, + std::size_t idx, + TMsg& msg, + THandler& handler) -> decltype(handler.handle(msg)) +{ + if (idx != 0U) { + return handler.handle(msg); + } + return dispatchServerInputMessage(id, msg, handler); +} + +/// @brief Dispatch message object to its appropriate handling function. +/// @details Same as other dispatchServerInputMessage(), but passing +/// tutorial24::options::DefaultOptions as first template parameter. +/// @param[in] id Numeric message ID. +/// @param[in] msg Message object held by reference to its interface class. +/// @param[in] handler Reference to handling object. +/// @see dispatchServerInputMessage() +/// @note Defined in tutorial24/dispatch/DispatchServerInputMessage.h +template +auto dispatchServerInputMessageDefaultOptions( + tutorial24::MsgId id, + TMsg& msg, + THandler& handler) -> decltype(handler.handle(msg)) +{ + return dispatchServerInputMessage(id, msg, handler); +} + +/// @brief Dispatch message object to its appropriate handling function. +/// @details Same as other dispatchServerInputMessageDefaultOptions(), +/// but receives extra @b idx parameter. +/// @param[in] id Numeric message ID. +/// @param[in] idx Index of the message among messages with the same ID. +/// @param[in] msg Message object held by reference to its interface class. +/// @param[in] handler Reference to handling object. +/// @see dispatchServerInputMessageDefaultOptions() +/// @note Defined in tutorial24/dispatch/DispatchServerInputMessage.h +template +auto dispatchServerInputMessageDefaultOptions( + tutorial24::MsgId id, + std::size_t idx, + TMsg& msg, + THandler& handler) -> decltype(handler.handle(msg)) +{ + return dispatchServerInputMessage(id, idx, msg, handler); +} + +/// @brief Message dispatcher class to be used with +/// @b comms::processAllWithDispatchViaDispatcher() function (or similar). +/// @tparam TProtOptions Protocol options struct used for the application, +/// like @ref tutorial24::options::DefaultOptions. +/// @headerfile tutorial24/dispatch/DispatchServerInputMessage.h +template +struct ServerInputMsgDispatcher +{ + /// @brief Class detection tag + using MsgDispatcherTag = void; + + /// @brief Dispatch message to its handler. + /// @details Uses appropriate @ref dispatchServerInputMessage() function. + /// @param[in] id ID of the message. + /// @param[in] idx Index (or offset) of the message among those having the same numeric ID. + /// @param[in] msg Reference to message object. + /// @param[in] handler Reference to handler object. + /// @return What the @ref dispatchServerInputMessage() function returns. + template + static auto dispatch(tutorial24::MsgId id, std::size_t idx, TMsg& msg, THandler& handler) -> + decltype(tutorial24::dispatch::dispatchServerInputMessage(id, idx, msg, handler)) + { + return tutorial24::dispatch::dispatchServerInputMessage(id, idx, msg, handler); + } + + /// @brief Complementary dispatch function. + /// @details Same as other dispatch without @b TAllMessages template parameter, + /// used by @b comms::processAllWithDispatchViaDispatcher(). + template + static auto dispatch(tutorial24::MsgId id, std::size_t idx, TMsg& msg, THandler& handler) -> + decltype(dispatch(id, idx, msg, handler)) + { + return dispatch(id, idx, msg, handler); + } + + /// @brief Dispatch message to its handler. + /// @details Uses appropriate @ref dispatchServerInputMessage() function. + /// @param[in] id ID of the message. + /// @param[in] msg Reference to message object. + /// @param[in] handler Reference to handler object. + /// @return What the @ref dispatchServerInputMessage() function returns. + template + static auto dispatch(tutorial24::MsgId id, TMsg& msg, THandler& handler) -> + decltype(tutorial24::dispatch::dispatchServerInputMessage(id, msg, handler)) + { + return tutorial24::dispatch::dispatchServerInputMessage(id, msg, handler); + } + + /// @brief Complementary dispatch function. + /// @details Same as other dispatch without @b TAllMessages template parameter, + /// used by @b comms::processAllWithDispatchViaDispatcher(). + template + static auto dispatch(tutorial24::MsgId id, TMsg& msg, THandler& handler) -> + decltype(dispatch(id, msg, handler)) + { + return dispatch(id, msg, handler); + } +}; + +/// @brief Message dispatcher class to be used with +/// @b comms::processAllWithDispatchViaDispatcher() function (or similar). +/// @details Same as ServerInputMsgDispatcher, but passing +/// @ref tutorial24::options::DefaultOptions as template parameter. +/// @note Defined in tutorial24/dispatch/DispatchServerInputMessage.h +using ServerInputMsgDispatcherDefaultOptions = + ServerInputMsgDispatcher<>; + +} // namespace dispatch + +} // namespace tutorial24 diff --git a/tutorials/tutorial24/include/tutorial24/field/FieldBase.h b/tutorials/tutorial24/include/tutorial24/field/FieldBase.h new file mode 100644 index 000000000..a869569b8 --- /dev/null +++ b/tutorials/tutorial24/include/tutorial24/field/FieldBase.h @@ -0,0 +1,29 @@ +// Generated by commsdsl2comms v6.0.0 + +/// @file +/// @brief Contains definition of base class of all the fields. + +#pragma once + +#include "comms/Field.h" +#include "comms/options.h" +#include "tutorial24/Version.h" + +namespace tutorial24 +{ + +namespace field +{ + +/// @brief Common base class for all the fields. +/// @tparam TOpt Extra options. +template +using FieldBase = + comms::Field< + TOpt..., + comms::option::def::BigEndian + >; + +} // namespace field + +} // namespace tutorial24 diff --git a/tutorials/tutorial24/include/tutorial24/field/MsgId.h b/tutorials/tutorial24/include/tutorial24/field/MsgId.h new file mode 100644 index 000000000..13bb5a363 --- /dev/null +++ b/tutorials/tutorial24/include/tutorial24/field/MsgId.h @@ -0,0 +1,87 @@ +// Generated by commsdsl2comms v6.0.0 + +/// @file +/// @brief Contains definition of "MsgId" field. + +#pragma once + +#include "comms/field/EnumValue.h" +#include "comms/options.h" +#include "tutorial24/field/FieldBase.h" +#include "tutorial24/field/MsgIdCommon.h" +#include "tutorial24/options/DefaultOptions.h" + +namespace tutorial24 +{ + +namespace field +{ + +/// @brief Definition of "MsgId" field. +/// @see @ref tutorial24::MsgId +/// @tparam TOpt Protocol options. +/// @tparam TExtraOpts Extra options. +template +class MsgId : public + comms::field::EnumValue< + tutorial24::field::FieldBase<>, + tutorial24::field::MsgIdCommon::ValueType, + TExtraOpts..., + comms::option::def::ValidNumValueRange<1, 2> + > +{ + using Base = + comms::field::EnumValue< + tutorial24::field::FieldBase<>, + tutorial24::field::MsgIdCommon::ValueType, + TExtraOpts..., + comms::option::def::ValidNumValueRange<1, 2> + >; +public: + /// @brief Re-definition of the value type. + using ValueType = typename Base::ValueType; + + /// @brief Single value name info entry. + using ValueNameInfo = tutorial24::field::MsgIdCommon::ValueNameInfo; + + /// @brief Type returned from @ref valueNamesMap() member function. + /// @see @ref tutorial24::field::MsgIdCommon::ValueNamesMapInfo. + using ValueNamesMapInfo = tutorial24::field::MsgIdCommon::ValueNamesMapInfo; + + /// @brief Retrieve name of the enum value. + /// @see @ref tutorial24::field::MsgIdCommon::valueName(). + static const char* valueName(ValueType val) + { + return tutorial24::field::MsgIdCommon::valueName(val); + } + + /// @brief Retrieve name of the enum value. + /// @see @ref tutorial24::field::MsgIdCommon::valueName(). + static const char* valueNameOf(ValueType val) + { + return tutorial24::field::MsgIdCommon::valueName(val); + } + + /// @brief Retrieve name of the @b current value + const char* valueName() const + { + return valueName(Base::getValue()); + } + + /// @brief Retrieve map of enum value names. + /// @see @ref tutorial24::field::MsgIdCommon::valueNamesMap(). + static ValueNamesMapInfo valueNamesMap() + { + return tutorial24::field::MsgIdCommon::valueNamesMap(); + } + + /// @brief Name of the field. + static const char* name() + { + return tutorial24::field::MsgIdCommon::name(); + } +}; + +} // namespace field + +} // namespace tutorial24 diff --git a/tutorials/tutorial24/include/tutorial24/field/MsgIdCommon.h b/tutorials/tutorial24/include/tutorial24/field/MsgIdCommon.h new file mode 100644 index 000000000..98bbcd383 --- /dev/null +++ b/tutorials/tutorial24/include/tutorial24/field/MsgIdCommon.h @@ -0,0 +1,73 @@ +// Generated by commsdsl2comms v6.0.0 + +/// @file +/// @brief Contains common template parameters independent functionality of +/// @ref tutorial24::field::MsgId field. + +#pragma once + +#include +#include +#include +#include "tutorial24/MsgId.h" + +namespace tutorial24 +{ + +namespace field +{ + +/// @brief Common types and functions for +/// @ref tutorial24::field::MsgId field. +struct MsgIdCommon +{ + /// @brief Values enumerator for + /// @ref tutorial24::field::MsgId field. + using ValueType = tutorial24::MsgId; + + /// @brief Single value name info entry + using ValueNameInfo = const char*; + + /// @brief Type returned from @ref valueNamesMap() member function. + /// @details The @b first value of the pair is pointer to the map array, + /// The @b second value of the pair is the size of the array. + using ValueNamesMapInfo = std::pair; + + /// @brief Name of the @ref tutorial24::field::MsgId field. + static const char* name() + { + return "MsgId"; + } + + /// @brief Retrieve name of the enum value + static const char* valueName(ValueType val) + { + auto namesMapInfo = valueNamesMap(); + if (namesMapInfo.second <= static_cast(val)) { + return nullptr; + } + + return namesMapInfo.first[static_cast(val)]; + } + + /// @brief Retrieve map of enum value names + static ValueNamesMapInfo valueNamesMap() + { + static const char* Map[] = { + nullptr, + "Message 1", + "Message 2" + }; + static const std::size_t MapSize = std::extent::value; + + return std::make_pair(&Map[0], MapSize); + } +}; + +/// @brief Values enumerator for +/// @ref tutorial24::field::MsgId field. +using MsgIdVal = MsgIdCommon::ValueType; + +} // namespace field + +} // namespace tutorial24 diff --git a/tutorials/tutorial24/include/tutorial24/frame/Frame.h b/tutorials/tutorial24/include/tutorial24/frame/Frame.h new file mode 100644 index 000000000..c77828696 --- /dev/null +++ b/tutorials/tutorial24/include/tutorial24/frame/Frame.h @@ -0,0 +1,131 @@ +// Generated by commsdsl2comms v6.0.0 + +/// @file +/// @brief Contains definition of "Frame" frame class. + +#pragma once + +#include +#include "comms/field/IntValue.h" +#include "comms/options.h" +#include "comms/protocol/MsgDataLayer.h" +#include "comms/protocol/MsgIdLayer.h" +#include "comms/protocol/MsgSizeLayer.h" +#include "tutorial24/field/FieldBase.h" +#include "tutorial24/field/MsgId.h" +#include "tutorial24/frame/FrameCommon.h" +#include "tutorial24/input/AllMessages.h" +#include "tutorial24/options/DefaultOptions.h" + +namespace tutorial24 +{ + +namespace frame +{ + +/// @brief Layers definition of @ref Frame frame class. +/// @tparam TOpt Protocol options. +/// @see @ref Frame +/// @headerfile tutorial24/frame/Frame.h +template +struct FrameLayers +{ + /// @brief Definition of layer "Data". + using Data = + comms::protocol::MsgDataLayer< + typename TOpt::frame::FrameLayers::Data + >; + + /// @brief Definition of layer "Id". + template + using Id = + comms::protocol::MsgIdLayer< + tutorial24::field::MsgId< + TOpt + >, + TMessage, + TAllMessages, + Data, + typename TOpt::frame::FrameLayers::Id + >; + + /// @brief Scope for field(s) of @ref Size layer. + struct SizeMembers + { + /// @brief Definition of "SizeField" field. + class SizeField : public + comms::field::IntValue< + tutorial24::field::FieldBase<>, + std::uint16_t + > + { + using Base = + comms::field::IntValue< + tutorial24::field::FieldBase<>, + std::uint16_t + >; + public: + /// @brief Re-definition of the value type. + using ValueType = typename Base::ValueType; + + /// @brief Compile time detection of special values presence. + static constexpr bool hasSpecials() + { + return tutorial24::frame::FrameLayersCommon::SizeMembersCommon::SizeFieldCommon::hasSpecials(); + } + + /// @brief Name of the field. + static const char* name() + { + return tutorial24::frame::FrameLayersCommon::SizeMembersCommon::SizeFieldCommon::name(); + } + }; + }; + + /// @brief Definition of layer "Size". + template + using Size = + comms::protocol::MsgSizeLayer< + typename SizeMembers::SizeField, + Id + >; + + /// @brief Final protocol stack definition. + template + using Stack = Size; +}; + +/// @brief Definition of "Frame" frame class. +/// @tparam TMessage Common interface class of all the messages +/// @tparam TAllMessages All supported input messages. +/// @tparam TOpt Frame definition options +/// @headerfile tutorial24/frame/Frame.h +template < + typename TMessage, + typename TAllMessages = tutorial24::input::AllMessages, + typename TOpt = tutorial24::options::DefaultOptions +> +class Frame : public + FrameLayers::template Stack +{ + using Base = typename + FrameLayers::template Stack; +public: + /// @brief Allow access to frame definition layers. + /// @details See definition of @b COMMS_PROTOCOL_LAYERS_ACCESS macro + /// from COMMS library for details. + /// + /// The generated functions are: + /// @li layer_data() for @ref FrameLayers::Data layer. + /// @li layer_id() for @ref FrameLayers::Id layer. + /// @li layer_size() for @ref FrameLayers::Size layer. + COMMS_PROTOCOL_LAYERS_ACCESS( + data, + id, + size + ); +}; + +} // namespace frame + +} // namespace tutorial24 diff --git a/tutorials/tutorial24/include/tutorial24/frame/FrameCommon.h b/tutorials/tutorial24/include/tutorial24/frame/FrameCommon.h new file mode 100644 index 000000000..ab4ef556a --- /dev/null +++ b/tutorials/tutorial24/include/tutorial24/frame/FrameCommon.h @@ -0,0 +1,51 @@ +// Generated by commsdsl2comms v6.0.0 + +/// @file +/// @brief Contains common template parameters independent functionality of +/// fields used in definition of @ref tutorial24::frame::Frame frame. + +#pragma once + +#include + +namespace tutorial24 +{ + +namespace frame +{ + +/// @brief Common types and functions of fields using in definition of +/// @ref tutorial24::frame::Frame frame. +/// @see tutorial24::frame::FrameLayers +struct FrameLayersCommon +{ + /// @brief Scope for all the common definitions of the fields defined in + /// @ref tutorial24::frame::FrameLayers::SizeMembers struct. + struct SizeMembersCommon + { + /// @brief Common types and functions for + /// @ref tutorial24::frame::FrameLayers::SizeMembers::SizeField field. + struct SizeFieldCommon + { + /// @brief Re-definition of the value type used by + /// tutorial24::frame::FrameLayers::SizeMembers::SizeField field. + using ValueType = std::uint16_t; + + /// @brief Name of the @ref tutorial24::frame::FrameLayers::SizeMembers::SizeField field. + static const char* name() + { + return "SizeField"; + } + + /// @brief Compile time detection of special values presence. + static constexpr bool hasSpecials() + { + return false; + } + }; + }; +}; + +} // namespace frame + +} // namespace tutorial24 diff --git a/tutorials/tutorial24/include/tutorial24/input/AllMessages.h b/tutorials/tutorial24/include/tutorial24/input/AllMessages.h new file mode 100644 index 000000000..b586024a4 --- /dev/null +++ b/tutorials/tutorial24/include/tutorial24/input/AllMessages.h @@ -0,0 +1,31 @@ +// Generated by commsdsl2comms v6.0.0 + +/// @file +/// @brief Contains definition of the AllMessages messages bundle. + +#pragma once + +#include +#include "tutorial24/message/Msg1.h" +#include "tutorial24/message/Msg2.h" +#include "tutorial24/options/DefaultOptions.h" + +namespace tutorial24 +{ + +namespace input +{ + +/// @brief Messages of the protocol in ascending order. +/// @tparam TBase Base class of all the messages. +/// @tparam TOpt Protocol definition options. +template +using AllMessages = + std::tuple< + tutorial24::message::Msg1, + tutorial24::message::Msg2 + >; + +} // namespace input + +} // namespace tutorial24 diff --git a/tutorials/tutorial24/include/tutorial24/input/ClientInputMessages.h b/tutorials/tutorial24/include/tutorial24/input/ClientInputMessages.h new file mode 100644 index 000000000..283b47ec9 --- /dev/null +++ b/tutorials/tutorial24/include/tutorial24/input/ClientInputMessages.h @@ -0,0 +1,31 @@ +// Generated by commsdsl2comms v6.0.0 + +/// @file +/// @brief Contains definition of the ClientInputMessages messages bundle. + +#pragma once + +#include +#include "tutorial24/message/Msg1.h" +#include "tutorial24/message/Msg2.h" +#include "tutorial24/options/DefaultOptions.h" + +namespace tutorial24 +{ + +namespace input +{ + +/// @brief Messages of the protocol in ascending order. +/// @tparam TBase Base class of all the messages. +/// @tparam TOpt Protocol definition options. +template +using ClientInputMessages = + std::tuple< + tutorial24::message::Msg1, + tutorial24::message::Msg2 + >; + +} // namespace input + +} // namespace tutorial24 diff --git a/tutorials/tutorial24/include/tutorial24/input/ServerInputMessages.h b/tutorials/tutorial24/include/tutorial24/input/ServerInputMessages.h new file mode 100644 index 000000000..737f0a2c8 --- /dev/null +++ b/tutorials/tutorial24/include/tutorial24/input/ServerInputMessages.h @@ -0,0 +1,31 @@ +// Generated by commsdsl2comms v6.0.0 + +/// @file +/// @brief Contains definition of the ServerInputMessages messages bundle. + +#pragma once + +#include +#include "tutorial24/message/Msg1.h" +#include "tutorial24/message/Msg2.h" +#include "tutorial24/options/DefaultOptions.h" + +namespace tutorial24 +{ + +namespace input +{ + +/// @brief Messages of the protocol in ascending order. +/// @tparam TBase Base class of all the messages. +/// @tparam TOpt Protocol definition options. +template +using ServerInputMessages = + std::tuple< + tutorial24::message::Msg1, + tutorial24::message::Msg2 + >; + +} // namespace input + +} // namespace tutorial24 diff --git a/tutorials/tutorial24/include/tutorial24/message/Msg1.h b/tutorials/tutorial24/include/tutorial24/message/Msg1.h new file mode 100644 index 000000000..f7c9d72ea --- /dev/null +++ b/tutorials/tutorial24/include/tutorial24/message/Msg1.h @@ -0,0 +1,167 @@ +// Generated by commsdsl2comms v6.0.0 + +/// @file +/// @brief Contains definition of "Message 1" message and its fields. + +#pragma once + +#include +#include +#include "comms/MessageBase.h" +#include "comms/field/IntValue.h" +#include "comms/options.h" +#include "tutorial24/MsgId.h" +#include "tutorial24/field/FieldBase.h" +#include "tutorial24/message/Msg1Common.h" +#include "tutorial24/options/DefaultOptions.h" + +namespace tutorial24 +{ + +namespace message +{ + +/// @brief Fields of @ref Msg1. +/// @tparam TOpt Extra options +/// @see @ref Msg1 +/// @headerfile tutorial24/message/Msg1.h +template +struct Msg1Fields +{ + /// @brief Definition of "F1" field. + class F1 : public + comms::field::IntValue< + tutorial24::field::FieldBase<>, + std::uint8_t + > + { + using Base = + comms::field::IntValue< + tutorial24::field::FieldBase<>, + std::uint8_t + >; + public: + /// @brief Re-definition of the value type. + using ValueType = typename Base::ValueType; + + /// @brief Compile time detection of special values presence. + static constexpr bool hasSpecials() + { + return tutorial24::message::Msg1FieldsCommon::F1Common::hasSpecials(); + } + + /// @brief Name of the field. + static const char* name() + { + return tutorial24::message::Msg1FieldsCommon::F1Common::name(); + } + }; + + /// @brief Definition of "F2" field. + class F2 : public + comms::field::IntValue< + tutorial24::field::FieldBase<>, + std::uint8_t + > + { + using Base = + comms::field::IntValue< + tutorial24::field::FieldBase<>, + std::uint8_t + >; + public: + /// @brief Re-definition of the value type. + using ValueType = typename Base::ValueType; + + /// @brief Compile time detection of special values presence. + static constexpr bool hasSpecials() + { + return tutorial24::message::Msg1FieldsCommon::F2Common::hasSpecials(); + } + + /// @brief Name of the field. + static const char* name() + { + return tutorial24::message::Msg1FieldsCommon::F2Common::name(); + } + }; + + /// @brief All the fields bundled in std::tuple. + using All = std::tuple< + F1, + F2 + >; +}; + +/// @brief Definition of "Message 1" message class. +/// @details +/// See @ref Msg1Fields for definition of the fields this message contains. +/// @tparam TMsgBase Base (interface) class. +/// @tparam TOpt Extra options +/// @headerfile tutorial24/message/Msg1.h +template +class Msg1 : public + comms::MessageBase< + TMsgBase, + comms::option::def::StaticNumIdImpl, + comms::option::def::FieldsImpl::All>, + comms::option::def::MsgType >, + comms::option::def::HasName, + comms::option::def::FailOnInvalid<> + > +{ + // Redefinition of the base class type + using Base = + comms::MessageBase< + TMsgBase, + comms::option::def::StaticNumIdImpl, + comms::option::def::FieldsImpl::All>, + comms::option::def::MsgType >, + comms::option::def::HasName, + comms::option::def::FailOnInvalid<> + >; + +public: + /// @brief Provide names and allow access to internal fields. + /// @details See definition of @b COMMS_MSG_FIELDS_NAMES macro + /// related to @b comms::MessageBase class from COMMS library + /// for details. + /// + /// The generated values, types and functions are: + /// @li @b FieldIdx_f1 index, @b Field_f1 type and @b field_f1() access fuction + /// for @ref Msg1Fields::F1 field. + /// @li @b FieldIdx_f2 index, @b Field_f2 type and @b field_f2() access fuction + /// for @ref Msg1Fields::F2 field. + COMMS_MSG_FIELDS_NAMES( + f1, + f2 + ); + + // Compile time check for serialisation length. + static const std::size_t MsgMinLen = Base::doMinLength(); + static const std::size_t MsgMaxLen = Base::doMaxLength(); + static_assert(MsgMinLen == 2U, "Unexpected min serialisation length"); + static_assert(MsgMaxLen == 2U, "Unexpected max serialisation length"); + + /// @brief Name of the message. + static const char* doName() + { + return tutorial24::message::Msg1Common::name(); + } + + // Generated validity check functionality + bool doValid() const + { + if (!Base::doValid()) { + return false; + } + + return + ((field_f1().getValue() != static_cast(0U)) || + (field_f2().getValue() == static_cast(0U))); + } +}; + +} // namespace message + +} // namespace tutorial24 diff --git a/tutorials/tutorial24/include/tutorial24/message/Msg1Common.h b/tutorials/tutorial24/include/tutorial24/message/Msg1Common.h new file mode 100644 index 000000000..601dd5586 --- /dev/null +++ b/tutorials/tutorial24/include/tutorial24/message/Msg1Common.h @@ -0,0 +1,78 @@ +// Generated by commsdsl2comms v6.0.0 + +/// @file +/// @brief Contains common template parameters independent functionality of +/// @ref tutorial24::message::Msg1 message and its fields. + +#pragma once + +#include + +namespace tutorial24 +{ + +namespace message +{ + +/// @brief Common types and functions for fields of +/// @ref tutorial24::message::Msg1 message. +/// @see tutorial24::message::Msg1Fields +struct Msg1FieldsCommon +{ + /// @brief Common types and functions for + /// @ref tutorial24::message::Msg1Fields::F1 field. + struct F1Common + { + /// @brief Re-definition of the value type used by + /// tutorial24::message::Msg1Fields::F1 field. + using ValueType = std::uint8_t; + + /// @brief Name of the @ref tutorial24::message::Msg1Fields::F1 field. + static const char* name() + { + return "F1"; + } + + /// @brief Compile time detection of special values presence. + static constexpr bool hasSpecials() + { + return false; + } + }; + + /// @brief Common types and functions for + /// @ref tutorial24::message::Msg1Fields::F2 field. + struct F2Common + { + /// @brief Re-definition of the value type used by + /// tutorial24::message::Msg1Fields::F2 field. + using ValueType = std::uint8_t; + + /// @brief Name of the @ref tutorial24::message::Msg1Fields::F2 field. + static const char* name() + { + return "F2"; + } + + /// @brief Compile time detection of special values presence. + static constexpr bool hasSpecials() + { + return false; + } + }; +}; + +/// @brief Common types and functions of +/// @ref tutorial24::message::Msg1 message. +struct Msg1Common +{ + /// @brief Name of the @ref tutorial24::message::Msg1 message. + static const char* name() + { + return "Message 1"; + } +}; + +} // namespace message + +} // namespace tutorial24 diff --git a/tutorials/tutorial24/include/tutorial24/message/Msg2.h b/tutorials/tutorial24/include/tutorial24/message/Msg2.h new file mode 100644 index 000000000..dbd9057dd --- /dev/null +++ b/tutorials/tutorial24/include/tutorial24/message/Msg2.h @@ -0,0 +1,159 @@ +// Generated by commsdsl2comms v6.0.0 + +/// @file +/// @brief Contains definition of "Message 2" message and its fields. + +#pragma once + +#include +#include +#include "comms/MessageBase.h" +#include "comms/field/IntValue.h" +#include "comms/options.h" +#include "tutorial24/MsgId.h" +#include "tutorial24/field/FieldBase.h" +#include "tutorial24/message/Msg2Common.h" +#include "tutorial24/options/DefaultOptions.h" + +namespace tutorial24 +{ + +namespace message +{ + +/// @brief Fields of @ref Msg2. +/// @tparam TOpt Extra options +/// @see @ref Msg2 +/// @headerfile tutorial24/message/Msg2.h +template +struct Msg2Fields +{ + /// @brief Definition of "F1" field. + class F1 : public + comms::field::IntValue< + tutorial24::field::FieldBase<>, + std::uint8_t, + comms::option::def::ValidNumValueRange<0, 10> + > + { + using Base = + comms::field::IntValue< + tutorial24::field::FieldBase<>, + std::uint8_t, + comms::option::def::ValidNumValueRange<0, 10> + >; + public: + /// @brief Re-definition of the value type. + using ValueType = typename Base::ValueType; + + /// @brief Compile time detection of special values presence. + static constexpr bool hasSpecials() + { + return tutorial24::message::Msg2FieldsCommon::F1Common::hasSpecials(); + } + + /// @brief Name of the field. + static const char* name() + { + return tutorial24::message::Msg2FieldsCommon::F1Common::name(); + } + }; + + /// @brief Definition of "F2" field. + class F2 : public + comms::field::IntValue< + tutorial24::field::FieldBase<>, + std::uint8_t, + comms::option::def::ValidNumValueRange<10, 20> + > + { + using Base = + comms::field::IntValue< + tutorial24::field::FieldBase<>, + std::uint8_t, + comms::option::def::ValidNumValueRange<10, 20> + >; + public: + /// @brief Re-definition of the value type. + using ValueType = typename Base::ValueType; + + /// @brief Compile time detection of special values presence. + static constexpr bool hasSpecials() + { + return tutorial24::message::Msg2FieldsCommon::F2Common::hasSpecials(); + } + + /// @brief Name of the field. + static const char* name() + { + return tutorial24::message::Msg2FieldsCommon::F2Common::name(); + } + }; + + /// @brief All the fields bundled in std::tuple. + using All = std::tuple< + F1, + F2 + >; +}; + +/// @brief Definition of "Message 2" message class. +/// @details +/// See @ref Msg2Fields for definition of the fields this message contains. +/// @tparam TMsgBase Base (interface) class. +/// @tparam TOpt Extra options +/// @headerfile tutorial24/message/Msg2.h +template +class Msg2 : public + comms::MessageBase< + TMsgBase, + comms::option::def::StaticNumIdImpl, + comms::option::def::FieldsImpl::All>, + comms::option::def::MsgType >, + comms::option::def::HasName, + comms::option::def::FailOnInvalid<> + > +{ + // Redefinition of the base class type + using Base = + comms::MessageBase< + TMsgBase, + comms::option::def::StaticNumIdImpl, + comms::option::def::FieldsImpl::All>, + comms::option::def::MsgType >, + comms::option::def::HasName, + comms::option::def::FailOnInvalid<> + >; + +public: + /// @brief Provide names and allow access to internal fields. + /// @details See definition of @b COMMS_MSG_FIELDS_NAMES macro + /// related to @b comms::MessageBase class from COMMS library + /// for details. + /// + /// The generated values, types and functions are: + /// @li @b FieldIdx_f1 index, @b Field_f1 type and @b field_f1() access fuction + /// for @ref Msg2Fields::F1 field. + /// @li @b FieldIdx_f2 index, @b Field_f2 type and @b field_f2() access fuction + /// for @ref Msg2Fields::F2 field. + COMMS_MSG_FIELDS_NAMES( + f1, + f2 + ); + + // Compile time check for serialisation length. + static const std::size_t MsgMinLen = Base::doMinLength(); + static const std::size_t MsgMaxLen = Base::doMaxLength(); + static_assert(MsgMinLen == 2U, "Unexpected min serialisation length"); + static_assert(MsgMaxLen == 2U, "Unexpected max serialisation length"); + + /// @brief Name of the message. + static const char* doName() + { + return tutorial24::message::Msg2Common::name(); + } +}; + +} // namespace message + +} // namespace tutorial24 diff --git a/tutorials/tutorial24/include/tutorial24/message/Msg2Common.h b/tutorials/tutorial24/include/tutorial24/message/Msg2Common.h new file mode 100644 index 000000000..a44e4e212 --- /dev/null +++ b/tutorials/tutorial24/include/tutorial24/message/Msg2Common.h @@ -0,0 +1,78 @@ +// Generated by commsdsl2comms v6.0.0 + +/// @file +/// @brief Contains common template parameters independent functionality of +/// @ref tutorial24::message::Msg2 message and its fields. + +#pragma once + +#include + +namespace tutorial24 +{ + +namespace message +{ + +/// @brief Common types and functions for fields of +/// @ref tutorial24::message::Msg2 message. +/// @see tutorial24::message::Msg2Fields +struct Msg2FieldsCommon +{ + /// @brief Common types and functions for + /// @ref tutorial24::message::Msg2Fields::F1 field. + struct F1Common + { + /// @brief Re-definition of the value type used by + /// tutorial24::message::Msg2Fields::F1 field. + using ValueType = std::uint8_t; + + /// @brief Name of the @ref tutorial24::message::Msg2Fields::F1 field. + static const char* name() + { + return "F1"; + } + + /// @brief Compile time detection of special values presence. + static constexpr bool hasSpecials() + { + return false; + } + }; + + /// @brief Common types and functions for + /// @ref tutorial24::message::Msg2Fields::F2 field. + struct F2Common + { + /// @brief Re-definition of the value type used by + /// tutorial24::message::Msg2Fields::F2 field. + using ValueType = std::uint8_t; + + /// @brief Name of the @ref tutorial24::message::Msg2Fields::F2 field. + static const char* name() + { + return "F2"; + } + + /// @brief Compile time detection of special values presence. + static constexpr bool hasSpecials() + { + return false; + } + }; +}; + +/// @brief Common types and functions of +/// @ref tutorial24::message::Msg2 message. +struct Msg2Common +{ + /// @brief Name of the @ref tutorial24::message::Msg2 message. + static const char* name() + { + return "Message 2"; + } +}; + +} // namespace message + +} // namespace tutorial24 diff --git a/tutorials/tutorial24/include/tutorial24/options/BareMetalDefaultOptions.h b/tutorials/tutorial24/include/tutorial24/options/BareMetalDefaultOptions.h new file mode 100644 index 000000000..76be54f28 --- /dev/null +++ b/tutorials/tutorial24/include/tutorial24/options/BareMetalDefaultOptions.h @@ -0,0 +1,59 @@ +// Generated by commsdsl2comms v6.0.0 + +/// @file +/// @brief Contains definition of protocol bare metal default options. + +#pragma once + +#include "tutorial24/options/DefaultOptions.h" + +#ifndef DEFAULT_SEQ_FIXED_STORAGE_SIZE +/// @brief Define default fixed size for various sequence fields +/// @details May be defined during compile time to change the default value. +#define DEFAULT_SEQ_FIXED_STORAGE_SIZE 32 +#endif + +namespace tutorial24 +{ + +namespace options +{ + +/// @brief Default bare metal options of the protocol. +template +struct BareMetalDefaultOptionsT : public TBase +{ + /// @brief Extra options for frames. + struct frame : public TBase::frame + { + /// @brief Extra options for layers of + /// @ref tutorial24::frame::Frame frame. + struct FrameLayers : public TBase::frame::FrameLayers + { + /// @brief Extra options for @ref + /// tutorial24::frame::FrameLayers::Data + /// layer. + using Data = + std::tuple< + comms::option::app::FixedSizeStorage, + typename TBase::frame::FrameLayers::Data + >; + + /// @brief Extra options for @ref + /// tutorial24::frame::FrameLayers::Id + /// layer. + using Id = + std::tuple< + comms::option::app::InPlaceAllocation, + typename TBase::frame::FrameLayers::Id + >; + }; // struct FrameLayers + }; // struct frame +}; + +/// @brief Alias to @ref BareMetalDefaultOptionsT with default template parameter. +using BareMetalDefaultOptions = BareMetalDefaultOptionsT<>; + +} // namespace options + +} // namespace tutorial24 diff --git a/tutorials/tutorial24/include/tutorial24/options/ClientDefaultOptions.h b/tutorials/tutorial24/include/tutorial24/options/ClientDefaultOptions.h new file mode 100644 index 000000000..fa18b8a18 --- /dev/null +++ b/tutorials/tutorial24/include/tutorial24/options/ClientDefaultOptions.h @@ -0,0 +1,27 @@ +// Generated by commsdsl2comms v6.0.0 + +/// @file +/// @brief Contains definition of protocol client default options. + +#pragma once + +#include "tutorial24/options/DefaultOptions.h" + +namespace tutorial24 +{ + +namespace options +{ + +/// @brief Default client options of the protocol. +template +struct ClientDefaultOptionsT : public TBase +{ +}; + +/// @brief Alias to @ref ClientDefaultOptionsT with default template parameter. +using ClientDefaultOptions = ClientDefaultOptionsT<>; + +} // namespace options + +} // namespace tutorial24 diff --git a/tutorials/tutorial24/include/tutorial24/options/DataViewDefaultOptions.h b/tutorials/tutorial24/include/tutorial24/options/DataViewDefaultOptions.h new file mode 100644 index 000000000..ca0c5072d --- /dev/null +++ b/tutorials/tutorial24/include/tutorial24/options/DataViewDefaultOptions.h @@ -0,0 +1,44 @@ +// Generated by commsdsl2comms v6.0.0 + +/// @file +/// @brief Contains definition of protocol data view default options. + +#pragma once + +#include "tutorial24/options/DefaultOptions.h" + +namespace tutorial24 +{ + +namespace options +{ + +/// @brief Default data view options of the protocol. +template +struct DataViewDefaultOptionsT : public TBase +{ + /// @brief Extra options for frames. + struct frame : public TBase::frame + { + /// @brief Extra options for layers of + /// @ref tutorial24::frame::Frame frame. + struct FrameLayers : public TBase::frame::FrameLayers + { + /// @brief Extra options for @ref + /// tutorial24::frame::FrameLayers::Data + /// layer. + using Data = + std::tuple< + comms::option::app::OrigDataView, + typename TBase::frame::FrameLayers::Data + >; + }; // struct FrameLayers + }; // struct frame +}; + +/// @brief Alias to @ref DataViewDefaultOptionsT with default template parameter. +using DataViewDefaultOptions = DataViewDefaultOptionsT<>; + +} // namespace options + +} // namespace tutorial24 diff --git a/tutorials/tutorial24/include/tutorial24/options/DefaultOptions.h b/tutorials/tutorial24/include/tutorial24/options/DefaultOptions.h new file mode 100644 index 000000000..cf1c9256e --- /dev/null +++ b/tutorials/tutorial24/include/tutorial24/options/DefaultOptions.h @@ -0,0 +1,48 @@ +// Generated by commsdsl2comms v6.0.0 + +/// @file +/// @brief Contains definition of protocol default options. + +#pragma once + +#include "comms/options.h" + +namespace tutorial24 +{ + +namespace options +{ + +/// @brief Empty class to serve as the base for options. +struct EmptyOptions {}; + +/// @brief Default (empty) options of the protocol. +template +struct DefaultOptionsT : public TBase +{ + /// @brief Extra options for frames. + struct frame + { + /// @brief Extra options for layers of + /// @ref tutorial24::frame::Frame frame. + struct FrameLayers + { + /// @brief Extra options for @ref + /// tutorial24::frame::FrameLayers::Data + /// layer. + using Data = comms::option::EmptyOption; + + /// @brief Extra options for @ref + /// tutorial24::frame::FrameLayers::Id + /// layer. + using Id = comms::option::EmptyOption; + }; // struct FrameLayers + }; // struct frame +}; + +/// @brief Default (empty) options of the protocol. +using DefaultOptions = DefaultOptionsT<>; + +} // namespace options + +} // namespace tutorial24 diff --git a/tutorials/tutorial24/include/tutorial24/options/ServerDefaultOptions.h b/tutorials/tutorial24/include/tutorial24/options/ServerDefaultOptions.h new file mode 100644 index 000000000..29f549935 --- /dev/null +++ b/tutorials/tutorial24/include/tutorial24/options/ServerDefaultOptions.h @@ -0,0 +1,27 @@ +// Generated by commsdsl2comms v6.0.0 + +/// @file +/// @brief Contains definition of protocol server default options. + +#pragma once + +#include "tutorial24/options/DefaultOptions.h" + +namespace tutorial24 +{ + +namespace options +{ + +/// @brief Default server options of the protocol. +template +struct ServerDefaultOptionsT : public TBase +{ +}; + +/// @brief Alias to @ref ServerDefaultOptionsT with default template parameter. +using ServerDefaultOptions = ServerDefaultOptionsT<>; + +} // namespace options + +} // namespace tutorial24 diff --git a/tutorials/tutorial24/src/ClientSession.cpp b/tutorials/tutorial24/src/ClientSession.cpp new file mode 100644 index 000000000..837585f5c --- /dev/null +++ b/tutorials/tutorial24/src/ClientSession.cpp @@ -0,0 +1,161 @@ +#include "ClientSession.h" + +#include +#include + +#include "comms/process.h" +#include "comms/iterator.h" + +namespace cc_tutorial +{ + +void ClientSession::handle(Msg1& msg) +{ + std::cout << "Received message \"" << msg.doName() << "\" with ID=" << (unsigned)msg.doGetId() << '\n'; + printIntField(msg.field_f1()); + printIntField(msg.field_f2()); + std::cout << std::endl; + + if (m_currentStage != CommsStage_Msg1) { + std::cerr << "ERROR: Unexpected stage" << std::endl; + return; + } + + doNextStage(); +} + +void ClientSession::handle(Msg2& msg) +{ + std::cout << "Received message \"" << msg.doName() << "\" with ID=" << (unsigned)msg.doGetId() << '\n'; + printIntField(msg.field_f1()); + printIntField(msg.field_f2()); + std::cout << std::endl; + + if (m_currentStage != CommsStage_Msg2) { + std::cerr << "ERROR: Unexpected stage" << std::endl; + return; + } + + doNextStage(); +} + +void ClientSession::handle(Message& msg) +{ + std::cerr << "ERROR: Received unexpected message \"" << msg.name() << " with ID=" << (unsigned)msg.getId() << std::endl; +} + +bool ClientSession::startImpl() +{ + doNextStage(); + return true; +} + +std::size_t ClientSession::processInputImpl(const std::uint8_t* buf, std::size_t bufLen) +{ + std::cout << "Processing input: " << std::hex; + std::copy_n(buf, bufLen, std::ostream_iterator(std::cout, " ")); + std::cout << std::dec << std::endl; + + // Process reported input, create relevant message objects and + // dispatch all the created messages + // to this object for handling (appropriate handle() member function will be called) + return comms::processAllWithDispatch(buf, bufLen, m_frame, *this); +} + +void ClientSession::sendMessage(const Message& msg) +{ + std::cout << "Sending message \"" << msg.name() << "\" with ID=" << (unsigned)msg.getId() << std::endl; + + // The statement below uses polymorphic message name and ID retrievals. + std::vector output; + + // Use polymorphic serialization length calculation to reserve + // needed capacity + output.reserve(m_frame.length(msg)); + + // Serialize message into the buffer (including framing) + // The serialization uses polymorphic write functionality. + auto writeIter = std::back_inserter(output); + + // The frame will use polymorphic message ID retrieval to + // prefix message payload with message ID + auto es = m_frame.write(msg, writeIter, output.max_size()); + if (es == comms::ErrorStatus::UpdateRequired) { + auto updateIter = &output[0]; + es = m_frame.update(updateIter, output.size()); + } + + if (es != comms::ErrorStatus::Success) { + assert(!"Write operation failed unexpectedly"); + return; + } + + // Send serialized message back + sendOutput(&output[0], output.size()); +} + +void ClientSession::doNextStage() +{ + do { + if (CommsStage_NumOfValues <= m_currentStage) { + // Happens in first cycle + m_currentStage = static_cast(0); + break; + } + + m_currentStage = + static_cast( + static_cast(m_currentStage) + 1); + + if (m_currentStage < CommsStage_NumOfValues) { + break; + } + + // Client execution is complete + getIo().stop(); + return; + } while (false); + + using NextSendFunc = void (ClientSession::*)(); + static const NextSendFunc Map[] = { + /* CommsStage_Msg1 */ &ClientSession::sendMsg1, + /* CommsStage_Msg2 */ &ClientSession::sendMsg2, + }; + static const std::size_t MapSize = std::extent::value; + static_assert(MapSize == CommsStage_NumOfValues, "Invalid Map"); + + auto func = Map[m_currentStage]; + (this->*func)(); // Call appropriate sending function +} + +void ClientSession::sendMsg1() +{ + Msg1 msg; + assert(msg.doValid()); + + msg.field_f2().value() = 2; + assert(!msg.doValid()); + sendMessage(msg); // Invalid message can be sent, but should be ignored on reception + + msg.field_f1().value() = 1; + sendMessage(msg); // Should get received and echoed back +} + +void ClientSession::sendMsg2() +{ + Msg2 msg; + assert(!msg.doValid()); // F2 is invalid when default constructed + sendMessage(msg); // Invalid message can be sent, but should be ignored on reception + + msg.field_f1().value() = 5; + msg.field_f2().value() = 10; + assert(msg.doValid()); + sendMessage(msg); // Should get received and echoed back +} + +SessionPtr Session::createClient(boost_wrap::io& io) +{ + return SessionPtr(new ClientSession(io)); +} + +} // namespace cc_tutorial diff --git a/tutorials/tutorial24/src/ClientSession.h b/tutorials/tutorial24/src/ClientSession.h new file mode 100644 index 000000000..3e2c0a26c --- /dev/null +++ b/tutorials/tutorial24/src/ClientSession.h @@ -0,0 +1,75 @@ +#pragma once + +#include +#include + +#include "tutorial24/Message.h" +#include "tutorial24/frame/Frame.h" +#include "tutorial24/input/ClientInputMessages.h" +#include "tutorial24/options/ClientDefaultOptions.h" +#include "tutorial24/options/DataViewDefaultOptions.h" + +#include "Session.h" + +namespace cc_tutorial +{ + +class ClientSession : public Session +{ + using Base = Session; +public: + using Base::Base; // Inherit constructors + + // Common interface class for all the messages + using Message = + tutorial24::Message< + comms::option::app::ReadIterator, // Polymorphic read + comms::option::app::WriteIterator > >, // Polymorphic write + comms::option::app::LengthInfoInterface, // Polymorphic length calculation + comms::option::app::IdInfoInterface, // Polymorphic message ID retrieval + comms::option::app::NameInterface, // Polymorphic name retrieval + comms::option::app::Handler // Polymorphic dispatch + >; + + // Protocol options for client + using ClientProtocolOptions = tutorial24::options::ClientDefaultOptions; + + // Definition of all the used message classes + using Msg1 = tutorial24::message::Msg1; + using Msg2 = tutorial24::message::Msg2; + + // Handling functions for all the dispatched message objects + void handle(Msg1& msg); + void handle(Msg2& msg); + void handle(Message& msg); + +protected: + virtual bool startImpl() override final; + virtual std::size_t processInputImpl(const std::uint8_t* buf, std::size_t bufLen) override final; + +private: + enum CommsStage + { + CommsStage_Msg1, + CommsStage_Msg2, + CommsStage_NumOfValues + }; + + void sendMessage(const Message& msg); + void doNextStage(); + void sendMsg1(); + void sendMsg2(); + + // Client specific frame + using Frame = + tutorial24::frame::Frame< + Message, + tutorial24::input::ClientInputMessages, + ClientProtocolOptions + >; + + Frame m_frame; + CommsStage m_currentStage = CommsStage_NumOfValues; +}; + +} // namespace cc_tutorial diff --git a/tutorials/tutorial24/src/ServerSession.cpp b/tutorials/tutorial24/src/ServerSession.cpp new file mode 100644 index 000000000..31be5cb50 --- /dev/null +++ b/tutorials/tutorial24/src/ServerSession.cpp @@ -0,0 +1,61 @@ +#include "ServerSession.h" + +#include + +#include "comms/process.h" +#include "comms/iterator.h" + +namespace cc_tutorial +{ + +void ServerSession::handle(Message& msg) +{ + // The statement below uses polymorphic message name and ID retrievals. + std::cout << "Received message \"" << msg.name() << "\" with ID=" << (unsigned)msg.getId() << std::endl; + sendMessage(msg); +} + +std::size_t ServerSession::processInputImpl(const std::uint8_t* buf, std::size_t bufLen) +{ + std::cout << "Processing input: " << std::hex; + std::copy_n(buf, bufLen, std::ostream_iterator(std::cout, " ")); + std::cout << std::dec << std::endl; + + // Process reported input, create relevant message objects and + // dispatch all the created messages + // to this object for handling (handle() member function will be called) + return comms::processAllWithDispatch(buf, bufLen, m_frame, *this); +} + +void ServerSession::sendMessage(const Message& msg) +{ + std::cout << "Sending message \"" << msg.name() << "\" with ID=" << (unsigned)msg.getId() << std::endl; + + std::vector output; + + // Use polymorphic serialization length calculation to create + // buffer of the requires size + output.resize(m_frame.length(msg)); + + // Serialize message into the buffer (including framing) + // The serialization uses polymorphic write functionality. + auto writeIter = &output[0]; + auto es = m_frame.write(msg, writeIter, output.size()); + if (es != comms::ErrorStatus::Success) { + assert(!"Write operation failed unexpectedly"); + return; + } + + // writeIter has been advanced, check that it reached end of the allocated buffer. + assert(output.size() == static_cast(std::distance(&output[0], writeIter))); + + // Send (re)serialized message back + sendOutput(&output[0], output.size()); +} + +SessionPtr Session::createServer(boost_wrap::io& io) +{ + return SessionPtr(new ServerSession(io)); +} + +} // namespace cc_tutorial diff --git a/tutorials/tutorial24/src/ServerSession.h b/tutorials/tutorial24/src/ServerSession.h new file mode 100644 index 000000000..976d8c513 --- /dev/null +++ b/tutorials/tutorial24/src/ServerSession.h @@ -0,0 +1,54 @@ +#pragma once + +#include "comms/GenericMessage.h" + +#include "tutorial24/Message.h" +#include "tutorial24/frame/Frame.h" +#include "tutorial24/input/ServerInputMessages.h" +#include "tutorial24/options/ServerDefaultOptions.h" +#include "tutorial24/options/DataViewDefaultOptions.h" +#include "Session.h" + +namespace cc_tutorial +{ + +class ServerSession : public Session +{ + using Base = Session; +public: + using Base::Base; // Inherit constructors + + // Common interface class for all the messages + using Message = + tutorial24::Message< + comms::option::app::ReadIterator, // Polymorphic read + comms::option::app::WriteIterator, // Polymorphic write + comms::option::app::LengthInfoInterface, // Polymorphic length calculation + comms::option::app::IdInfoInterface, // Polymorphic message ID retrieval + comms::option::app::NameInterface, // Polymorphic name retrieval + comms::option::app::Handler // Polymorphic dispatch + >; + + using ServerProtocolOptions = tutorial24::options::ServerDefaultOptions; + + // Handle all the received messages + void handle(Message& msg); + +protected: + virtual std::size_t processInputImpl(const std::uint8_t* buf, std::size_t bufLen) override final; + +private: + // Server specific frame + using Frame = + tutorial24::frame::Frame< + Message, + tutorial24::input::ServerInputMessages, + ServerProtocolOptions + >; + + void sendMessage(const Message& msg); + + Frame m_frame; +}; + +} // namespace cc_tutorial diff --git a/tutorials/tutorial3/include/tutorial3/Message.h b/tutorials/tutorial3/include/tutorial3/Message.h index a3aac3bba..3e5bec078 100644 --- a/tutorials/tutorial3/include/tutorial3/Message.h +++ b/tutorials/tutorial3/include/tutorial3/Message.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message" interface class. diff --git a/tutorials/tutorial3/include/tutorial3/MsgId.h b/tutorials/tutorial3/include/tutorial3/MsgId.h index 04e9532d3..3668a178b 100644 --- a/tutorials/tutorial3/include/tutorial3/MsgId.h +++ b/tutorials/tutorial3/include/tutorial3/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of message ids enumeration. @@ -13,13 +13,13 @@ namespace tutorial3 /// @brief Message ids enumeration. enum MsgId : std::uint8_t { - MsgId_M1 = 1, ///< message id of Message 1 message. , - MsgId_M2 = 2, ///< message id of Message 2 message. , - MsgId_M3 = 3, ///< message id of Message 3 message. , + MsgId_M1 = 1, ///< message id of Message 1 message. + MsgId_M2 = 2, ///< message id of Message 2 message. + MsgId_M3 = 3, ///< message id of Message 3 message. - // --- Extra values generated for convenience ---, - MsgId_FirstValue = 1, ///< First defined value., - MsgId_LastValue = 3, ///< Last defined value., + // --- Extra values generated for convenience --- + MsgId_FirstValue = 1, ///< First defined value. + MsgId_LastValue = 3, ///< Last defined value. MsgId_ValuesLimit = 4, ///< Upper limit for defined values. }; diff --git a/tutorials/tutorial3/include/tutorial3/Version.h b/tutorials/tutorial3/include/tutorial3/Version.h index 02cd448b7..558ea024a 100644 --- a/tutorials/tutorial3/include/tutorial3/Version.h +++ b/tutorials/tutorial3/include/tutorial3/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains protocol version definition. @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion() } // namespace tutorial3 // Generated compile time check for minimal supported version of the COMMS library -static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(), +static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(), "The version of COMMS library is too old"); diff --git a/tutorials/tutorial3/include/tutorial3/dispatch/DispatchClientInputMessage.h b/tutorials/tutorial3/include/tutorial3/dispatch/DispatchClientInputMessage.h index 308928703..840399995 100644 --- a/tutorials/tutorial3/include/tutorial3/dispatch/DispatchClientInputMessage.h +++ b/tutorials/tutorial3/include/tutorial3/dispatch/DispatchClientInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial3/include/tutorial3/dispatch/DispatchMessage.h b/tutorials/tutorial3/include/tutorial3/dispatch/DispatchMessage.h index dc5125d3d..b76e19cc0 100644 --- a/tutorials/tutorial3/include/tutorial3/dispatch/DispatchMessage.h +++ b/tutorials/tutorial3/include/tutorial3/dispatch/DispatchMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for all input messages. diff --git a/tutorials/tutorial3/include/tutorial3/dispatch/DispatchServerInputMessage.h b/tutorials/tutorial3/include/tutorial3/dispatch/DispatchServerInputMessage.h index 00c3bf0e3..c24f36db8 100644 --- a/tutorials/tutorial3/include/tutorial3/dispatch/DispatchServerInputMessage.h +++ b/tutorials/tutorial3/include/tutorial3/dispatch/DispatchServerInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial3/include/tutorial3/field/FieldBase.h b/tutorials/tutorial3/include/tutorial3/field/FieldBase.h index 292a22ad7..c40d64706 100644 --- a/tutorials/tutorial3/include/tutorial3/field/FieldBase.h +++ b/tutorials/tutorial3/include/tutorial3/field/FieldBase.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of base class of all the fields. diff --git a/tutorials/tutorial3/include/tutorial3/field/MsgId.h b/tutorials/tutorial3/include/tutorial3/field/MsgId.h index 4f996803b..e78fee805 100644 --- a/tutorials/tutorial3/include/tutorial3/field/MsgId.h +++ b/tutorials/tutorial3/include/tutorial3/field/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "MsgId" field. diff --git a/tutorials/tutorial3/include/tutorial3/field/MsgIdCommon.h b/tutorials/tutorial3/include/tutorial3/field/MsgIdCommon.h index c81d03714..3a68577d2 100644 --- a/tutorials/tutorial3/include/tutorial3/field/MsgIdCommon.h +++ b/tutorials/tutorial3/include/tutorial3/field/MsgIdCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial3/include/tutorial3/frame/Frame.h b/tutorials/tutorial3/include/tutorial3/frame/Frame.h index f39af50e9..7b87441ee 100644 --- a/tutorials/tutorial3/include/tutorial3/frame/Frame.h +++ b/tutorials/tutorial3/include/tutorial3/frame/Frame.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Frame" frame class. diff --git a/tutorials/tutorial3/include/tutorial3/frame/FrameCommon.h b/tutorials/tutorial3/include/tutorial3/frame/FrameCommon.h index 8a819b9b7..65eed01e8 100644 --- a/tutorials/tutorial3/include/tutorial3/frame/FrameCommon.h +++ b/tutorials/tutorial3/include/tutorial3/frame/FrameCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial3/include/tutorial3/input/AllMessages.h b/tutorials/tutorial3/include/tutorial3/input/AllMessages.h index 3641f4ddf..92a14f065 100644 --- a/tutorials/tutorial3/include/tutorial3/input/AllMessages.h +++ b/tutorials/tutorial3/include/tutorial3/input/AllMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the AllMessages messages bundle. diff --git a/tutorials/tutorial3/include/tutorial3/input/ClientInputMessages.h b/tutorials/tutorial3/include/tutorial3/input/ClientInputMessages.h index a734d98e0..ec928ca27 100644 --- a/tutorials/tutorial3/include/tutorial3/input/ClientInputMessages.h +++ b/tutorials/tutorial3/include/tutorial3/input/ClientInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ClientInputMessages messages bundle. diff --git a/tutorials/tutorial3/include/tutorial3/input/ServerInputMessages.h b/tutorials/tutorial3/include/tutorial3/input/ServerInputMessages.h index c928a89f3..fe8b216a8 100644 --- a/tutorials/tutorial3/include/tutorial3/input/ServerInputMessages.h +++ b/tutorials/tutorial3/include/tutorial3/input/ServerInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ServerInputMessages messages bundle. diff --git a/tutorials/tutorial3/include/tutorial3/message/Msg1.h b/tutorials/tutorial3/include/tutorial3/message/Msg1.h index e373ffcce..488af19ba 100644 --- a/tutorials/tutorial3/include/tutorial3/message/Msg1.h +++ b/tutorials/tutorial3/include/tutorial3/message/Msg1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1" message and its fields. diff --git a/tutorials/tutorial3/include/tutorial3/message/Msg1Common.h b/tutorials/tutorial3/include/tutorial3/message/Msg1Common.h index 4b71ef06e..86882a3e9 100644 --- a/tutorials/tutorial3/include/tutorial3/message/Msg1Common.h +++ b/tutorials/tutorial3/include/tutorial3/message/Msg1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial3/include/tutorial3/message/Msg2.h b/tutorials/tutorial3/include/tutorial3/message/Msg2.h index 491bfcdcc..23d4e3cf7 100644 --- a/tutorials/tutorial3/include/tutorial3/message/Msg2.h +++ b/tutorials/tutorial3/include/tutorial3/message/Msg2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 2" message and its fields. diff --git a/tutorials/tutorial3/include/tutorial3/message/Msg2Common.h b/tutorials/tutorial3/include/tutorial3/message/Msg2Common.h index 7ebff740c..45dbf062a 100644 --- a/tutorials/tutorial3/include/tutorial3/message/Msg2Common.h +++ b/tutorials/tutorial3/include/tutorial3/message/Msg2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial3/include/tutorial3/message/Msg3.h b/tutorials/tutorial3/include/tutorial3/message/Msg3.h index ba4df65bc..47dd24899 100644 --- a/tutorials/tutorial3/include/tutorial3/message/Msg3.h +++ b/tutorials/tutorial3/include/tutorial3/message/Msg3.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 3" message and its fields. diff --git a/tutorials/tutorial3/include/tutorial3/message/Msg3Common.h b/tutorials/tutorial3/include/tutorial3/message/Msg3Common.h index 35d27d630..88db7ac15 100644 --- a/tutorials/tutorial3/include/tutorial3/message/Msg3Common.h +++ b/tutorials/tutorial3/include/tutorial3/message/Msg3Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial3/include/tutorial3/options/BareMetalDefaultOptions.h b/tutorials/tutorial3/include/tutorial3/options/BareMetalDefaultOptions.h index c540000bc..991609b11 100644 --- a/tutorials/tutorial3/include/tutorial3/options/BareMetalDefaultOptions.h +++ b/tutorials/tutorial3/include/tutorial3/options/BareMetalDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol bare metal default options. diff --git a/tutorials/tutorial3/include/tutorial3/options/ClientDefaultOptions.h b/tutorials/tutorial3/include/tutorial3/options/ClientDefaultOptions.h index d540934ec..730ba8543 100644 --- a/tutorials/tutorial3/include/tutorial3/options/ClientDefaultOptions.h +++ b/tutorials/tutorial3/include/tutorial3/options/ClientDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol client default options. diff --git a/tutorials/tutorial3/include/tutorial3/options/DataViewDefaultOptions.h b/tutorials/tutorial3/include/tutorial3/options/DataViewDefaultOptions.h index 814129739..95c1dd62c 100644 --- a/tutorials/tutorial3/include/tutorial3/options/DataViewDefaultOptions.h +++ b/tutorials/tutorial3/include/tutorial3/options/DataViewDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol data view default options. diff --git a/tutorials/tutorial3/include/tutorial3/options/DefaultOptions.h b/tutorials/tutorial3/include/tutorial3/options/DefaultOptions.h index 5cdadbfe0..7eea4e87f 100644 --- a/tutorials/tutorial3/include/tutorial3/options/DefaultOptions.h +++ b/tutorials/tutorial3/include/tutorial3/options/DefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol default options. diff --git a/tutorials/tutorial3/include/tutorial3/options/ServerDefaultOptions.h b/tutorials/tutorial3/include/tutorial3/options/ServerDefaultOptions.h index 4f4b9bf51..8e0d4cbe7 100644 --- a/tutorials/tutorial3/include/tutorial3/options/ServerDefaultOptions.h +++ b/tutorials/tutorial3/include/tutorial3/options/ServerDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol server default options. diff --git a/tutorials/tutorial4/include/tutorial4/Message.h b/tutorials/tutorial4/include/tutorial4/Message.h index 3788a915a..8a8db966a 100644 --- a/tutorials/tutorial4/include/tutorial4/Message.h +++ b/tutorials/tutorial4/include/tutorial4/Message.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message" interface class. diff --git a/tutorials/tutorial4/include/tutorial4/MsgId.h b/tutorials/tutorial4/include/tutorial4/MsgId.h index adb920cc7..adf6bef5f 100644 --- a/tutorials/tutorial4/include/tutorial4/MsgId.h +++ b/tutorials/tutorial4/include/tutorial4/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of message ids enumeration. @@ -13,12 +13,12 @@ namespace tutorial4 /// @brief Message ids enumeration. enum MsgId : std::uint8_t { - MsgId_M1 = 1, ///< message id of Message 1 message. , - MsgId_M2 = 2, ///< message id of Message 2 message. , + MsgId_M1 = 1, ///< message id of Message 1 message. + MsgId_M2 = 2, ///< message id of Message 2 message. - // --- Extra values generated for convenience ---, - MsgId_FirstValue = 1, ///< First defined value., - MsgId_LastValue = 2, ///< Last defined value., + // --- Extra values generated for convenience --- + MsgId_FirstValue = 1, ///< First defined value. + MsgId_LastValue = 2, ///< Last defined value. MsgId_ValuesLimit = 3, ///< Upper limit for defined values. }; diff --git a/tutorials/tutorial4/include/tutorial4/Version.h b/tutorials/tutorial4/include/tutorial4/Version.h index d27671bbd..9e8796da6 100644 --- a/tutorials/tutorial4/include/tutorial4/Version.h +++ b/tutorials/tutorial4/include/tutorial4/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains protocol version definition. @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion() } // namespace tutorial4 // Generated compile time check for minimal supported version of the COMMS library -static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(), +static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(), "The version of COMMS library is too old"); diff --git a/tutorials/tutorial4/include/tutorial4/dispatch/DispatchClientInputMessage.h b/tutorials/tutorial4/include/tutorial4/dispatch/DispatchClientInputMessage.h index 2ac075e7b..0f2f14de1 100644 --- a/tutorials/tutorial4/include/tutorial4/dispatch/DispatchClientInputMessage.h +++ b/tutorials/tutorial4/include/tutorial4/dispatch/DispatchClientInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial4/include/tutorial4/dispatch/DispatchMessage.h b/tutorials/tutorial4/include/tutorial4/dispatch/DispatchMessage.h index 0bdc8fe67..dccf3d00f 100644 --- a/tutorials/tutorial4/include/tutorial4/dispatch/DispatchMessage.h +++ b/tutorials/tutorial4/include/tutorial4/dispatch/DispatchMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for all input messages. diff --git a/tutorials/tutorial4/include/tutorial4/dispatch/DispatchServerInputMessage.h b/tutorials/tutorial4/include/tutorial4/dispatch/DispatchServerInputMessage.h index 950863905..fb79be7fc 100644 --- a/tutorials/tutorial4/include/tutorial4/dispatch/DispatchServerInputMessage.h +++ b/tutorials/tutorial4/include/tutorial4/dispatch/DispatchServerInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial4/include/tutorial4/field/FieldBase.h b/tutorials/tutorial4/include/tutorial4/field/FieldBase.h index 02332f687..16b4245af 100644 --- a/tutorials/tutorial4/include/tutorial4/field/FieldBase.h +++ b/tutorials/tutorial4/include/tutorial4/field/FieldBase.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of base class of all the fields. diff --git a/tutorials/tutorial4/include/tutorial4/field/KeyValueProp.h b/tutorials/tutorial4/include/tutorial4/field/KeyValueProp.h index a33b1faa0..d87f6041f 100644 --- a/tutorials/tutorial4/include/tutorial4/field/KeyValueProp.h +++ b/tutorials/tutorial4/include/tutorial4/field/KeyValueProp.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "KeyValueProp" field. diff --git a/tutorials/tutorial4/include/tutorial4/field/KeyValuePropCommon.h b/tutorials/tutorial4/include/tutorial4/field/KeyValuePropCommon.h index 96b11ef71..857a147dc 100644 --- a/tutorials/tutorial4/include/tutorial4/field/KeyValuePropCommon.h +++ b/tutorials/tutorial4/include/tutorial4/field/KeyValuePropCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial4/include/tutorial4/field/MsgId.h b/tutorials/tutorial4/include/tutorial4/field/MsgId.h index 3345fe07a..d54c4d322 100644 --- a/tutorials/tutorial4/include/tutorial4/field/MsgId.h +++ b/tutorials/tutorial4/include/tutorial4/field/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "MsgId" field. diff --git a/tutorials/tutorial4/include/tutorial4/field/MsgIdCommon.h b/tutorials/tutorial4/include/tutorial4/field/MsgIdCommon.h index f5125e281..41d5ca76e 100644 --- a/tutorials/tutorial4/include/tutorial4/field/MsgIdCommon.h +++ b/tutorials/tutorial4/include/tutorial4/field/MsgIdCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial4/include/tutorial4/field/TlvProp.h b/tutorials/tutorial4/include/tutorial4/field/TlvProp.h index abe120850..0d8ca248a 100644 --- a/tutorials/tutorial4/include/tutorial4/field/TlvProp.h +++ b/tutorials/tutorial4/include/tutorial4/field/TlvProp.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "TlvProp" field. diff --git a/tutorials/tutorial4/include/tutorial4/field/TlvPropCommon.h b/tutorials/tutorial4/include/tutorial4/field/TlvPropCommon.h index 5b84d2b79..3f83b81eb 100644 --- a/tutorials/tutorial4/include/tutorial4/field/TlvPropCommon.h +++ b/tutorials/tutorial4/include/tutorial4/field/TlvPropCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial4/include/tutorial4/frame/Frame.h b/tutorials/tutorial4/include/tutorial4/frame/Frame.h index 22ce3a61c..d99cf0cff 100644 --- a/tutorials/tutorial4/include/tutorial4/frame/Frame.h +++ b/tutorials/tutorial4/include/tutorial4/frame/Frame.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Frame" frame class. diff --git a/tutorials/tutorial4/include/tutorial4/frame/FrameCommon.h b/tutorials/tutorial4/include/tutorial4/frame/FrameCommon.h index 26cfb4fb4..d69720b85 100644 --- a/tutorials/tutorial4/include/tutorial4/frame/FrameCommon.h +++ b/tutorials/tutorial4/include/tutorial4/frame/FrameCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial4/include/tutorial4/input/AllMessages.h b/tutorials/tutorial4/include/tutorial4/input/AllMessages.h index 873a552ec..3e883b54a 100644 --- a/tutorials/tutorial4/include/tutorial4/input/AllMessages.h +++ b/tutorials/tutorial4/include/tutorial4/input/AllMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the AllMessages messages bundle. diff --git a/tutorials/tutorial4/include/tutorial4/input/ClientInputMessages.h b/tutorials/tutorial4/include/tutorial4/input/ClientInputMessages.h index ee60c5d93..052566918 100644 --- a/tutorials/tutorial4/include/tutorial4/input/ClientInputMessages.h +++ b/tutorials/tutorial4/include/tutorial4/input/ClientInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ClientInputMessages messages bundle. diff --git a/tutorials/tutorial4/include/tutorial4/input/ServerInputMessages.h b/tutorials/tutorial4/include/tutorial4/input/ServerInputMessages.h index a9958a2cb..0e4d82d5f 100644 --- a/tutorials/tutorial4/include/tutorial4/input/ServerInputMessages.h +++ b/tutorials/tutorial4/include/tutorial4/input/ServerInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ServerInputMessages messages bundle. diff --git a/tutorials/tutorial4/include/tutorial4/message/Msg1.h b/tutorials/tutorial4/include/tutorial4/message/Msg1.h index 249796e76..04f08712d 100644 --- a/tutorials/tutorial4/include/tutorial4/message/Msg1.h +++ b/tutorials/tutorial4/include/tutorial4/message/Msg1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1" message and its fields. diff --git a/tutorials/tutorial4/include/tutorial4/message/Msg1Common.h b/tutorials/tutorial4/include/tutorial4/message/Msg1Common.h index 383059880..2975c4ad1 100644 --- a/tutorials/tutorial4/include/tutorial4/message/Msg1Common.h +++ b/tutorials/tutorial4/include/tutorial4/message/Msg1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial4/include/tutorial4/message/Msg2.h b/tutorials/tutorial4/include/tutorial4/message/Msg2.h index 9712862c7..84a6dc67a 100644 --- a/tutorials/tutorial4/include/tutorial4/message/Msg2.h +++ b/tutorials/tutorial4/include/tutorial4/message/Msg2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 2" message and its fields. diff --git a/tutorials/tutorial4/include/tutorial4/message/Msg2Common.h b/tutorials/tutorial4/include/tutorial4/message/Msg2Common.h index 58ef4270a..45d4ba8e4 100644 --- a/tutorials/tutorial4/include/tutorial4/message/Msg2Common.h +++ b/tutorials/tutorial4/include/tutorial4/message/Msg2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial4/include/tutorial4/options/BareMetalDefaultOptions.h b/tutorials/tutorial4/include/tutorial4/options/BareMetalDefaultOptions.h index 150f94e79..8d0c366ff 100644 --- a/tutorials/tutorial4/include/tutorial4/options/BareMetalDefaultOptions.h +++ b/tutorials/tutorial4/include/tutorial4/options/BareMetalDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol bare metal default options. diff --git a/tutorials/tutorial4/include/tutorial4/options/ClientDefaultOptions.h b/tutorials/tutorial4/include/tutorial4/options/ClientDefaultOptions.h index bca978cfe..1501a3434 100644 --- a/tutorials/tutorial4/include/tutorial4/options/ClientDefaultOptions.h +++ b/tutorials/tutorial4/include/tutorial4/options/ClientDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol client default options. diff --git a/tutorials/tutorial4/include/tutorial4/options/DataViewDefaultOptions.h b/tutorials/tutorial4/include/tutorial4/options/DataViewDefaultOptions.h index c0ddbb1c7..0cd1a66f4 100644 --- a/tutorials/tutorial4/include/tutorial4/options/DataViewDefaultOptions.h +++ b/tutorials/tutorial4/include/tutorial4/options/DataViewDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol data view default options. diff --git a/tutorials/tutorial4/include/tutorial4/options/DefaultOptions.h b/tutorials/tutorial4/include/tutorial4/options/DefaultOptions.h index abe90f881..abe9d41aa 100644 --- a/tutorials/tutorial4/include/tutorial4/options/DefaultOptions.h +++ b/tutorials/tutorial4/include/tutorial4/options/DefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol default options. diff --git a/tutorials/tutorial4/include/tutorial4/options/ServerDefaultOptions.h b/tutorials/tutorial4/include/tutorial4/options/ServerDefaultOptions.h index f5c82e405..fe895d59d 100644 --- a/tutorials/tutorial4/include/tutorial4/options/ServerDefaultOptions.h +++ b/tutorials/tutorial4/include/tutorial4/options/ServerDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol server default options. diff --git a/tutorials/tutorial5/include/tutorial5/Message.h b/tutorials/tutorial5/include/tutorial5/Message.h index fc7a3151c..0f445af2b 100644 --- a/tutorials/tutorial5/include/tutorial5/Message.h +++ b/tutorials/tutorial5/include/tutorial5/Message.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message" interface class. diff --git a/tutorials/tutorial5/include/tutorial5/MsgId.h b/tutorials/tutorial5/include/tutorial5/MsgId.h index 7cc0cd4eb..e98fe7eda 100644 --- a/tutorials/tutorial5/include/tutorial5/MsgId.h +++ b/tutorials/tutorial5/include/tutorial5/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of message ids enumeration. @@ -13,13 +13,13 @@ namespace tutorial5 /// @brief Message ids enumeration. enum MsgId : std::uint8_t { - MsgId_M1 = 1, ///< message id of Message 1 message. , - MsgId_M2 = 2, ///< message id of Message 2 message. , - MsgId_M3 = 3, ///< message id of Message 3 message. , + MsgId_M1 = 1, ///< message id of Message 1 message. + MsgId_M2 = 2, ///< message id of Message 2 message. + MsgId_M3 = 3, ///< message id of Message 3 message. - // --- Extra values generated for convenience ---, - MsgId_FirstValue = 1, ///< First defined value., - MsgId_LastValue = 3, ///< Last defined value., + // --- Extra values generated for convenience --- + MsgId_FirstValue = 1, ///< First defined value. + MsgId_LastValue = 3, ///< Last defined value. MsgId_ValuesLimit = 4, ///< Upper limit for defined values. }; diff --git a/tutorials/tutorial5/include/tutorial5/Version.h b/tutorials/tutorial5/include/tutorial5/Version.h index 6e104dae7..d63747590 100644 --- a/tutorials/tutorial5/include/tutorial5/Version.h +++ b/tutorials/tutorial5/include/tutorial5/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains protocol version definition. @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion() } // namespace tutorial5 // Generated compile time check for minimal supported version of the COMMS library -static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(), +static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(), "The version of COMMS library is too old"); diff --git a/tutorials/tutorial5/include/tutorial5/dispatch/DispatchClientInputMessage.h b/tutorials/tutorial5/include/tutorial5/dispatch/DispatchClientInputMessage.h index ccb544717..205aea3d4 100644 --- a/tutorials/tutorial5/include/tutorial5/dispatch/DispatchClientInputMessage.h +++ b/tutorials/tutorial5/include/tutorial5/dispatch/DispatchClientInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial5/include/tutorial5/dispatch/DispatchMessage.h b/tutorials/tutorial5/include/tutorial5/dispatch/DispatchMessage.h index 793e76bea..05cc405a0 100644 --- a/tutorials/tutorial5/include/tutorial5/dispatch/DispatchMessage.h +++ b/tutorials/tutorial5/include/tutorial5/dispatch/DispatchMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for all input messages. diff --git a/tutorials/tutorial5/include/tutorial5/dispatch/DispatchServerInputMessage.h b/tutorials/tutorial5/include/tutorial5/dispatch/DispatchServerInputMessage.h index 154f58c47..ff9e07ad3 100644 --- a/tutorials/tutorial5/include/tutorial5/dispatch/DispatchServerInputMessage.h +++ b/tutorials/tutorial5/include/tutorial5/dispatch/DispatchServerInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial5/include/tutorial5/field/FieldBase.h b/tutorials/tutorial5/include/tutorial5/field/FieldBase.h index b3e954418..611e4ebc9 100644 --- a/tutorials/tutorial5/include/tutorial5/field/FieldBase.h +++ b/tutorials/tutorial5/include/tutorial5/field/FieldBase.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of base class of all the fields. diff --git a/tutorials/tutorial5/include/tutorial5/field/MsgId.h b/tutorials/tutorial5/include/tutorial5/field/MsgId.h index 82c9b3611..65ed9216e 100644 --- a/tutorials/tutorial5/include/tutorial5/field/MsgId.h +++ b/tutorials/tutorial5/include/tutorial5/field/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "MsgId" field. diff --git a/tutorials/tutorial5/include/tutorial5/field/MsgIdCommon.h b/tutorials/tutorial5/include/tutorial5/field/MsgIdCommon.h index 5fe14d337..e9db66014 100644 --- a/tutorials/tutorial5/include/tutorial5/field/MsgIdCommon.h +++ b/tutorials/tutorial5/include/tutorial5/field/MsgIdCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial5/include/tutorial5/frame/ClientToServerFrame.h b/tutorials/tutorial5/include/tutorial5/frame/ClientToServerFrame.h index 6f1862d28..5fcd87fe7 100644 --- a/tutorials/tutorial5/include/tutorial5/frame/ClientToServerFrame.h +++ b/tutorials/tutorial5/include/tutorial5/frame/ClientToServerFrame.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "ClientToServerFrame" frame class. diff --git a/tutorials/tutorial5/include/tutorial5/frame/ClientToServerFrameCommon.h b/tutorials/tutorial5/include/tutorial5/frame/ClientToServerFrameCommon.h index f7f403f94..c6415a6d6 100644 --- a/tutorials/tutorial5/include/tutorial5/frame/ClientToServerFrameCommon.h +++ b/tutorials/tutorial5/include/tutorial5/frame/ClientToServerFrameCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial5/include/tutorial5/frame/ServerToClientFrame.h b/tutorials/tutorial5/include/tutorial5/frame/ServerToClientFrame.h index d1b35e9fb..7efe2e4f2 100644 --- a/tutorials/tutorial5/include/tutorial5/frame/ServerToClientFrame.h +++ b/tutorials/tutorial5/include/tutorial5/frame/ServerToClientFrame.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "ServerToClientFrame" frame class. diff --git a/tutorials/tutorial5/include/tutorial5/frame/ServerToClientFrameCommon.h b/tutorials/tutorial5/include/tutorial5/frame/ServerToClientFrameCommon.h index 779f22a65..c00c59bbd 100644 --- a/tutorials/tutorial5/include/tutorial5/frame/ServerToClientFrameCommon.h +++ b/tutorials/tutorial5/include/tutorial5/frame/ServerToClientFrameCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial5/include/tutorial5/input/AllMessages.h b/tutorials/tutorial5/include/tutorial5/input/AllMessages.h index f12d05471..ab6cf6236 100644 --- a/tutorials/tutorial5/include/tutorial5/input/AllMessages.h +++ b/tutorials/tutorial5/include/tutorial5/input/AllMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the AllMessages messages bundle. diff --git a/tutorials/tutorial5/include/tutorial5/input/ClientInputMessages.h b/tutorials/tutorial5/include/tutorial5/input/ClientInputMessages.h index 75420f0ed..29fea0310 100644 --- a/tutorials/tutorial5/include/tutorial5/input/ClientInputMessages.h +++ b/tutorials/tutorial5/include/tutorial5/input/ClientInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ClientInputMessages messages bundle. diff --git a/tutorials/tutorial5/include/tutorial5/input/ServerInputMessages.h b/tutorials/tutorial5/include/tutorial5/input/ServerInputMessages.h index fa27692dd..aad31e1a3 100644 --- a/tutorials/tutorial5/include/tutorial5/input/ServerInputMessages.h +++ b/tutorials/tutorial5/include/tutorial5/input/ServerInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ServerInputMessages messages bundle. diff --git a/tutorials/tutorial5/include/tutorial5/message/Msg1.h b/tutorials/tutorial5/include/tutorial5/message/Msg1.h index 73c623887..6f4cda4f4 100644 --- a/tutorials/tutorial5/include/tutorial5/message/Msg1.h +++ b/tutorials/tutorial5/include/tutorial5/message/Msg1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1" message and its fields. diff --git a/tutorials/tutorial5/include/tutorial5/message/Msg1Common.h b/tutorials/tutorial5/include/tutorial5/message/Msg1Common.h index 641675d12..f6d641c49 100644 --- a/tutorials/tutorial5/include/tutorial5/message/Msg1Common.h +++ b/tutorials/tutorial5/include/tutorial5/message/Msg1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial5/include/tutorial5/message/Msg2.h b/tutorials/tutorial5/include/tutorial5/message/Msg2.h index 06cf31de1..8f61163cc 100644 --- a/tutorials/tutorial5/include/tutorial5/message/Msg2.h +++ b/tutorials/tutorial5/include/tutorial5/message/Msg2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 2" message and its fields. diff --git a/tutorials/tutorial5/include/tutorial5/message/Msg2Common.h b/tutorials/tutorial5/include/tutorial5/message/Msg2Common.h index 69844546b..f567b7626 100644 --- a/tutorials/tutorial5/include/tutorial5/message/Msg2Common.h +++ b/tutorials/tutorial5/include/tutorial5/message/Msg2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial5/include/tutorial5/message/Msg3.h b/tutorials/tutorial5/include/tutorial5/message/Msg3.h index bee4130f1..7dc201ca2 100644 --- a/tutorials/tutorial5/include/tutorial5/message/Msg3.h +++ b/tutorials/tutorial5/include/tutorial5/message/Msg3.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 3" message and its fields. diff --git a/tutorials/tutorial5/include/tutorial5/message/Msg3Common.h b/tutorials/tutorial5/include/tutorial5/message/Msg3Common.h index bf9328be6..1e44460a1 100644 --- a/tutorials/tutorial5/include/tutorial5/message/Msg3Common.h +++ b/tutorials/tutorial5/include/tutorial5/message/Msg3Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial5/include/tutorial5/options/BareMetalDefaultOptions.h b/tutorials/tutorial5/include/tutorial5/options/BareMetalDefaultOptions.h index ec6be1da6..105fe1f0f 100644 --- a/tutorials/tutorial5/include/tutorial5/options/BareMetalDefaultOptions.h +++ b/tutorials/tutorial5/include/tutorial5/options/BareMetalDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol bare metal default options. diff --git a/tutorials/tutorial5/include/tutorial5/options/ClientDefaultOptions.h b/tutorials/tutorial5/include/tutorial5/options/ClientDefaultOptions.h index 965475951..5e8abdb0b 100644 --- a/tutorials/tutorial5/include/tutorial5/options/ClientDefaultOptions.h +++ b/tutorials/tutorial5/include/tutorial5/options/ClientDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol client default options. diff --git a/tutorials/tutorial5/include/tutorial5/options/DataViewDefaultOptions.h b/tutorials/tutorial5/include/tutorial5/options/DataViewDefaultOptions.h index 66c618a85..f71cdb23b 100644 --- a/tutorials/tutorial5/include/tutorial5/options/DataViewDefaultOptions.h +++ b/tutorials/tutorial5/include/tutorial5/options/DataViewDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol data view default options. diff --git a/tutorials/tutorial5/include/tutorial5/options/DefaultOptions.h b/tutorials/tutorial5/include/tutorial5/options/DefaultOptions.h index 7ba9c50cc..aca31bc8d 100644 --- a/tutorials/tutorial5/include/tutorial5/options/DefaultOptions.h +++ b/tutorials/tutorial5/include/tutorial5/options/DefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol default options. diff --git a/tutorials/tutorial5/include/tutorial5/options/ServerDefaultOptions.h b/tutorials/tutorial5/include/tutorial5/options/ServerDefaultOptions.h index 482442a0a..2ad8abe1e 100644 --- a/tutorials/tutorial5/include/tutorial5/options/ServerDefaultOptions.h +++ b/tutorials/tutorial5/include/tutorial5/options/ServerDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol server default options. diff --git a/tutorials/tutorial6/include/tutorial6/Message.h b/tutorials/tutorial6/include/tutorial6/Message.h index 5308cdcfd..e2a40c04b 100644 --- a/tutorials/tutorial6/include/tutorial6/Message.h +++ b/tutorials/tutorial6/include/tutorial6/Message.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message" interface class. diff --git a/tutorials/tutorial6/include/tutorial6/MsgId.h b/tutorials/tutorial6/include/tutorial6/MsgId.h index 300ffd749..09be90f84 100644 --- a/tutorials/tutorial6/include/tutorial6/MsgId.h +++ b/tutorials/tutorial6/include/tutorial6/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of message ids enumeration. @@ -13,13 +13,13 @@ namespace tutorial6 /// @brief Message ids enumeration. enum MsgId : std::uint8_t { - MsgId_M1 = 1, ///< message id of Message 1 message. , - MsgId_M2 = 2, ///< message id of Message 2 message. , - MsgId_M3 = 3, ///< message id of Message 3 message. , + MsgId_M1 = 1, ///< message id of Message 1 message. + MsgId_M2 = 2, ///< message id of Message 2 message. + MsgId_M3 = 3, ///< message id of Message 3 message. - // --- Extra values generated for convenience ---, - MsgId_FirstValue = 1, ///< First defined value., - MsgId_LastValue = 3, ///< Last defined value., + // --- Extra values generated for convenience --- + MsgId_FirstValue = 1, ///< First defined value. + MsgId_LastValue = 3, ///< Last defined value. MsgId_ValuesLimit = 4, ///< Upper limit for defined values. }; diff --git a/tutorials/tutorial6/include/tutorial6/Version.h b/tutorials/tutorial6/include/tutorial6/Version.h index a3fb50fe2..33ad9214d 100644 --- a/tutorials/tutorial6/include/tutorial6/Version.h +++ b/tutorials/tutorial6/include/tutorial6/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains protocol version definition. @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion() } // namespace tutorial6 // Generated compile time check for minimal supported version of the COMMS library -static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(), +static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(), "The version of COMMS library is too old"); diff --git a/tutorials/tutorial6/include/tutorial6/dispatch/DispatchClientInputMessage.h b/tutorials/tutorial6/include/tutorial6/dispatch/DispatchClientInputMessage.h index ad1df18d8..22376b755 100644 --- a/tutorials/tutorial6/include/tutorial6/dispatch/DispatchClientInputMessage.h +++ b/tutorials/tutorial6/include/tutorial6/dispatch/DispatchClientInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial6/include/tutorial6/dispatch/DispatchMessage.h b/tutorials/tutorial6/include/tutorial6/dispatch/DispatchMessage.h index 72412d52a..9efcabd68 100644 --- a/tutorials/tutorial6/include/tutorial6/dispatch/DispatchMessage.h +++ b/tutorials/tutorial6/include/tutorial6/dispatch/DispatchMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for all input messages. diff --git a/tutorials/tutorial6/include/tutorial6/dispatch/DispatchServerInputMessage.h b/tutorials/tutorial6/include/tutorial6/dispatch/DispatchServerInputMessage.h index 82f143c87..14ce64aef 100644 --- a/tutorials/tutorial6/include/tutorial6/dispatch/DispatchServerInputMessage.h +++ b/tutorials/tutorial6/include/tutorial6/dispatch/DispatchServerInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial6/include/tutorial6/field/FieldBase.h b/tutorials/tutorial6/include/tutorial6/field/FieldBase.h index 09376ab0d..346ab7ac4 100644 --- a/tutorials/tutorial6/include/tutorial6/field/FieldBase.h +++ b/tutorials/tutorial6/include/tutorial6/field/FieldBase.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of base class of all the fields. diff --git a/tutorials/tutorial6/include/tutorial6/field/MsgId.h b/tutorials/tutorial6/include/tutorial6/field/MsgId.h index 7a9384fe4..336fe596b 100644 --- a/tutorials/tutorial6/include/tutorial6/field/MsgId.h +++ b/tutorials/tutorial6/include/tutorial6/field/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "MsgId" field. diff --git a/tutorials/tutorial6/include/tutorial6/field/MsgIdCommon.h b/tutorials/tutorial6/include/tutorial6/field/MsgIdCommon.h index 89b3cc5c6..fba000149 100644 --- a/tutorials/tutorial6/include/tutorial6/field/MsgIdCommon.h +++ b/tutorials/tutorial6/include/tutorial6/field/MsgIdCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial6/include/tutorial6/frame/Frame.h b/tutorials/tutorial6/include/tutorial6/frame/Frame.h index a6e9e523d..0a2f8ef8e 100644 --- a/tutorials/tutorial6/include/tutorial6/frame/Frame.h +++ b/tutorials/tutorial6/include/tutorial6/frame/Frame.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Frame" frame class. diff --git a/tutorials/tutorial6/include/tutorial6/frame/FrameCommon.h b/tutorials/tutorial6/include/tutorial6/frame/FrameCommon.h index 409a4e738..287a3b670 100644 --- a/tutorials/tutorial6/include/tutorial6/frame/FrameCommon.h +++ b/tutorials/tutorial6/include/tutorial6/frame/FrameCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial6/include/tutorial6/input/AllMessages.h b/tutorials/tutorial6/include/tutorial6/input/AllMessages.h index b37efe7b7..acc3b94a8 100644 --- a/tutorials/tutorial6/include/tutorial6/input/AllMessages.h +++ b/tutorials/tutorial6/include/tutorial6/input/AllMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the AllMessages messages bundle. diff --git a/tutorials/tutorial6/include/tutorial6/input/ClientInputMessages.h b/tutorials/tutorial6/include/tutorial6/input/ClientInputMessages.h index b7754274b..9e6f96a28 100644 --- a/tutorials/tutorial6/include/tutorial6/input/ClientInputMessages.h +++ b/tutorials/tutorial6/include/tutorial6/input/ClientInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ClientInputMessages messages bundle. diff --git a/tutorials/tutorial6/include/tutorial6/input/ServerInputMessages.h b/tutorials/tutorial6/include/tutorial6/input/ServerInputMessages.h index de1e83cfb..1ff3d90c8 100644 --- a/tutorials/tutorial6/include/tutorial6/input/ServerInputMessages.h +++ b/tutorials/tutorial6/include/tutorial6/input/ServerInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ServerInputMessages messages bundle. diff --git a/tutorials/tutorial6/include/tutorial6/message/Msg1.h b/tutorials/tutorial6/include/tutorial6/message/Msg1.h index 57f2fb14b..eb860f67e 100644 --- a/tutorials/tutorial6/include/tutorial6/message/Msg1.h +++ b/tutorials/tutorial6/include/tutorial6/message/Msg1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1" message and its fields. diff --git a/tutorials/tutorial6/include/tutorial6/message/Msg1Common.h b/tutorials/tutorial6/include/tutorial6/message/Msg1Common.h index 5a34d5e55..ce0adb5b1 100644 --- a/tutorials/tutorial6/include/tutorial6/message/Msg1Common.h +++ b/tutorials/tutorial6/include/tutorial6/message/Msg1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial6/include/tutorial6/message/Msg2.h b/tutorials/tutorial6/include/tutorial6/message/Msg2.h index 38c53879d..f82f938fa 100644 --- a/tutorials/tutorial6/include/tutorial6/message/Msg2.h +++ b/tutorials/tutorial6/include/tutorial6/message/Msg2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 2" message and its fields. diff --git a/tutorials/tutorial6/include/tutorial6/message/Msg2Common.h b/tutorials/tutorial6/include/tutorial6/message/Msg2Common.h index b6b339e3a..ca648abf8 100644 --- a/tutorials/tutorial6/include/tutorial6/message/Msg2Common.h +++ b/tutorials/tutorial6/include/tutorial6/message/Msg2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial6/include/tutorial6/message/Msg3.h b/tutorials/tutorial6/include/tutorial6/message/Msg3.h index 4ff24f8e0..58b6de531 100644 --- a/tutorials/tutorial6/include/tutorial6/message/Msg3.h +++ b/tutorials/tutorial6/include/tutorial6/message/Msg3.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 3" message and its fields. diff --git a/tutorials/tutorial6/include/tutorial6/message/Msg3Common.h b/tutorials/tutorial6/include/tutorial6/message/Msg3Common.h index 1d9296157..dbfaef0a4 100644 --- a/tutorials/tutorial6/include/tutorial6/message/Msg3Common.h +++ b/tutorials/tutorial6/include/tutorial6/message/Msg3Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial6/include/tutorial6/options/BareMetalDefaultOptions.h b/tutorials/tutorial6/include/tutorial6/options/BareMetalDefaultOptions.h index a0a18beb4..8482f339a 100644 --- a/tutorials/tutorial6/include/tutorial6/options/BareMetalDefaultOptions.h +++ b/tutorials/tutorial6/include/tutorial6/options/BareMetalDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol bare metal default options. diff --git a/tutorials/tutorial6/include/tutorial6/options/ClientDefaultOptions.h b/tutorials/tutorial6/include/tutorial6/options/ClientDefaultOptions.h index 5930c3285..23485b00f 100644 --- a/tutorials/tutorial6/include/tutorial6/options/ClientDefaultOptions.h +++ b/tutorials/tutorial6/include/tutorial6/options/ClientDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol client default options. diff --git a/tutorials/tutorial6/include/tutorial6/options/DataViewDefaultOptions.h b/tutorials/tutorial6/include/tutorial6/options/DataViewDefaultOptions.h index 5e7e25456..33fe7cc82 100644 --- a/tutorials/tutorial6/include/tutorial6/options/DataViewDefaultOptions.h +++ b/tutorials/tutorial6/include/tutorial6/options/DataViewDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol data view default options. diff --git a/tutorials/tutorial6/include/tutorial6/options/DefaultOptions.h b/tutorials/tutorial6/include/tutorial6/options/DefaultOptions.h index cf097c498..718694315 100644 --- a/tutorials/tutorial6/include/tutorial6/options/DefaultOptions.h +++ b/tutorials/tutorial6/include/tutorial6/options/DefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol default options. diff --git a/tutorials/tutorial6/include/tutorial6/options/ServerDefaultOptions.h b/tutorials/tutorial6/include/tutorial6/options/ServerDefaultOptions.h index 34124b47d..e9a510e3f 100644 --- a/tutorials/tutorial6/include/tutorial6/options/ServerDefaultOptions.h +++ b/tutorials/tutorial6/include/tutorial6/options/ServerDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol server default options. diff --git a/tutorials/tutorial7/include/tutorial7/Message.h b/tutorials/tutorial7/include/tutorial7/Message.h index 45d26820e..d48028bdb 100644 --- a/tutorials/tutorial7/include/tutorial7/Message.h +++ b/tutorials/tutorial7/include/tutorial7/Message.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message" interface class. diff --git a/tutorials/tutorial7/include/tutorial7/MsgId.h b/tutorials/tutorial7/include/tutorial7/MsgId.h index 9582f7c55..245d17aa1 100644 --- a/tutorials/tutorial7/include/tutorial7/MsgId.h +++ b/tutorials/tutorial7/include/tutorial7/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of message ids enumeration. @@ -13,13 +13,13 @@ namespace tutorial7 /// @brief Message ids enumeration. enum MsgId : std::uint8_t { - MsgId_M1 = 1, ///< message id of Message 1 message. , - MsgId_M2 = 2, ///< message id of Message 2 message. , - MsgId_M3 = 3, ///< message id of Message 3 message. , + MsgId_M1 = 1, ///< message id of Message 1 message. + MsgId_M2 = 2, ///< message id of Message 2 message. + MsgId_M3 = 3, ///< message id of Message 3 message. - // --- Extra values generated for convenience ---, - MsgId_FirstValue = 1, ///< First defined value., - MsgId_LastValue = 3, ///< Last defined value., + // --- Extra values generated for convenience --- + MsgId_FirstValue = 1, ///< First defined value. + MsgId_LastValue = 3, ///< Last defined value. MsgId_ValuesLimit = 4, ///< Upper limit for defined values. }; diff --git a/tutorials/tutorial7/include/tutorial7/Version.h b/tutorials/tutorial7/include/tutorial7/Version.h index dd6a1adae..c9650816d 100644 --- a/tutorials/tutorial7/include/tutorial7/Version.h +++ b/tutorials/tutorial7/include/tutorial7/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains protocol version definition. @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion() } // namespace tutorial7 // Generated compile time check for minimal supported version of the COMMS library -static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(), +static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(), "The version of COMMS library is too old"); diff --git a/tutorials/tutorial7/include/tutorial7/dispatch/DispatchClientInputMessage.h b/tutorials/tutorial7/include/tutorial7/dispatch/DispatchClientInputMessage.h index 9808adfb6..e7610c48a 100644 --- a/tutorials/tutorial7/include/tutorial7/dispatch/DispatchClientInputMessage.h +++ b/tutorials/tutorial7/include/tutorial7/dispatch/DispatchClientInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial7/include/tutorial7/dispatch/DispatchMessage.h b/tutorials/tutorial7/include/tutorial7/dispatch/DispatchMessage.h index c5aa40aef..84b5db900 100644 --- a/tutorials/tutorial7/include/tutorial7/dispatch/DispatchMessage.h +++ b/tutorials/tutorial7/include/tutorial7/dispatch/DispatchMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for all input messages. diff --git a/tutorials/tutorial7/include/tutorial7/dispatch/DispatchServerInputMessage.h b/tutorials/tutorial7/include/tutorial7/dispatch/DispatchServerInputMessage.h index 70a23382d..9f9ecbdb8 100644 --- a/tutorials/tutorial7/include/tutorial7/dispatch/DispatchServerInputMessage.h +++ b/tutorials/tutorial7/include/tutorial7/dispatch/DispatchServerInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial7/include/tutorial7/field/FieldBase.h b/tutorials/tutorial7/include/tutorial7/field/FieldBase.h index 7a15059c6..cc7512792 100644 --- a/tutorials/tutorial7/include/tutorial7/field/FieldBase.h +++ b/tutorials/tutorial7/include/tutorial7/field/FieldBase.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of base class of all the fields. diff --git a/tutorials/tutorial7/include/tutorial7/field/MsgId.h b/tutorials/tutorial7/include/tutorial7/field/MsgId.h index ef912acde..4b39c87c1 100644 --- a/tutorials/tutorial7/include/tutorial7/field/MsgId.h +++ b/tutorials/tutorial7/include/tutorial7/field/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "MsgId" field. diff --git a/tutorials/tutorial7/include/tutorial7/field/MsgIdCommon.h b/tutorials/tutorial7/include/tutorial7/field/MsgIdCommon.h index 945fa58c5..76203a761 100644 --- a/tutorials/tutorial7/include/tutorial7/field/MsgIdCommon.h +++ b/tutorials/tutorial7/include/tutorial7/field/MsgIdCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial7/include/tutorial7/frame/Frame.h b/tutorials/tutorial7/include/tutorial7/frame/Frame.h index 5d2b1c52d..34301c89e 100644 --- a/tutorials/tutorial7/include/tutorial7/frame/Frame.h +++ b/tutorials/tutorial7/include/tutorial7/frame/Frame.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Frame" frame class. diff --git a/tutorials/tutorial7/include/tutorial7/frame/FrameCommon.h b/tutorials/tutorial7/include/tutorial7/frame/FrameCommon.h index 9cae0d1be..3184af01a 100644 --- a/tutorials/tutorial7/include/tutorial7/frame/FrameCommon.h +++ b/tutorials/tutorial7/include/tutorial7/frame/FrameCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial7/include/tutorial7/input/AllMessages.h b/tutorials/tutorial7/include/tutorial7/input/AllMessages.h index 2f189850f..f987a4838 100644 --- a/tutorials/tutorial7/include/tutorial7/input/AllMessages.h +++ b/tutorials/tutorial7/include/tutorial7/input/AllMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the AllMessages messages bundle. diff --git a/tutorials/tutorial7/include/tutorial7/input/ClientInputMessages.h b/tutorials/tutorial7/include/tutorial7/input/ClientInputMessages.h index f08d78d17..675c2529a 100644 --- a/tutorials/tutorial7/include/tutorial7/input/ClientInputMessages.h +++ b/tutorials/tutorial7/include/tutorial7/input/ClientInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ClientInputMessages messages bundle. diff --git a/tutorials/tutorial7/include/tutorial7/input/ServerInputMessages.h b/tutorials/tutorial7/include/tutorial7/input/ServerInputMessages.h index 4f85eed9c..0143f7bdc 100644 --- a/tutorials/tutorial7/include/tutorial7/input/ServerInputMessages.h +++ b/tutorials/tutorial7/include/tutorial7/input/ServerInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ServerInputMessages messages bundle. diff --git a/tutorials/tutorial7/include/tutorial7/message/Msg1.h b/tutorials/tutorial7/include/tutorial7/message/Msg1.h index bb07c8fa0..a5f400204 100644 --- a/tutorials/tutorial7/include/tutorial7/message/Msg1.h +++ b/tutorials/tutorial7/include/tutorial7/message/Msg1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1" message and its fields. diff --git a/tutorials/tutorial7/include/tutorial7/message/Msg1Common.h b/tutorials/tutorial7/include/tutorial7/message/Msg1Common.h index c76a11397..1a0151f38 100644 --- a/tutorials/tutorial7/include/tutorial7/message/Msg1Common.h +++ b/tutorials/tutorial7/include/tutorial7/message/Msg1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial7/include/tutorial7/message/Msg2.h b/tutorials/tutorial7/include/tutorial7/message/Msg2.h index af35f270f..bfe3b8909 100644 --- a/tutorials/tutorial7/include/tutorial7/message/Msg2.h +++ b/tutorials/tutorial7/include/tutorial7/message/Msg2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 2" message and its fields. diff --git a/tutorials/tutorial7/include/tutorial7/message/Msg2Common.h b/tutorials/tutorial7/include/tutorial7/message/Msg2Common.h index 1b6cea3d3..f2ea32609 100644 --- a/tutorials/tutorial7/include/tutorial7/message/Msg2Common.h +++ b/tutorials/tutorial7/include/tutorial7/message/Msg2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial7/include/tutorial7/message/Msg3.h b/tutorials/tutorial7/include/tutorial7/message/Msg3.h index 032d5adb8..db5ddbfea 100644 --- a/tutorials/tutorial7/include/tutorial7/message/Msg3.h +++ b/tutorials/tutorial7/include/tutorial7/message/Msg3.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 3" message and its fields. diff --git a/tutorials/tutorial7/include/tutorial7/message/Msg3Common.h b/tutorials/tutorial7/include/tutorial7/message/Msg3Common.h index 9d01a33fc..fab019157 100644 --- a/tutorials/tutorial7/include/tutorial7/message/Msg3Common.h +++ b/tutorials/tutorial7/include/tutorial7/message/Msg3Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial7/include/tutorial7/options/BareMetalDefaultOptions.h b/tutorials/tutorial7/include/tutorial7/options/BareMetalDefaultOptions.h index 76140db98..ea1811131 100644 --- a/tutorials/tutorial7/include/tutorial7/options/BareMetalDefaultOptions.h +++ b/tutorials/tutorial7/include/tutorial7/options/BareMetalDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol bare metal default options. diff --git a/tutorials/tutorial7/include/tutorial7/options/ClientDefaultOptions.h b/tutorials/tutorial7/include/tutorial7/options/ClientDefaultOptions.h index 514ceb8cc..364bc8bd3 100644 --- a/tutorials/tutorial7/include/tutorial7/options/ClientDefaultOptions.h +++ b/tutorials/tutorial7/include/tutorial7/options/ClientDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol client default options. diff --git a/tutorials/tutorial7/include/tutorial7/options/DataViewDefaultOptions.h b/tutorials/tutorial7/include/tutorial7/options/DataViewDefaultOptions.h index 01d86e6d7..e7baf8808 100644 --- a/tutorials/tutorial7/include/tutorial7/options/DataViewDefaultOptions.h +++ b/tutorials/tutorial7/include/tutorial7/options/DataViewDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol data view default options. diff --git a/tutorials/tutorial7/include/tutorial7/options/DefaultOptions.h b/tutorials/tutorial7/include/tutorial7/options/DefaultOptions.h index 25733fdbb..3b5cd0314 100644 --- a/tutorials/tutorial7/include/tutorial7/options/DefaultOptions.h +++ b/tutorials/tutorial7/include/tutorial7/options/DefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol default options. diff --git a/tutorials/tutorial7/include/tutorial7/options/ServerDefaultOptions.h b/tutorials/tutorial7/include/tutorial7/options/ServerDefaultOptions.h index df94e3061..17e2103be 100644 --- a/tutorials/tutorial7/include/tutorial7/options/ServerDefaultOptions.h +++ b/tutorials/tutorial7/include/tutorial7/options/ServerDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol server default options. diff --git a/tutorials/tutorial8/include/tutorial8/Message.h b/tutorials/tutorial8/include/tutorial8/Message.h index d7970bcf5..fb3c03544 100644 --- a/tutorials/tutorial8/include/tutorial8/Message.h +++ b/tutorials/tutorial8/include/tutorial8/Message.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message" interface class. diff --git a/tutorials/tutorial8/include/tutorial8/MsgId.h b/tutorials/tutorial8/include/tutorial8/MsgId.h index b02b760b7..1accb853c 100644 --- a/tutorials/tutorial8/include/tutorial8/MsgId.h +++ b/tutorials/tutorial8/include/tutorial8/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of message ids enumeration. @@ -13,13 +13,13 @@ namespace tutorial8 /// @brief Message ids enumeration. enum MsgId : std::uint8_t { - MsgId_M1 = 1, ///< message id of Message 1 message. , - MsgId_M2 = 2, ///< message id of Message 2 message. , - MsgId_M3 = 3, ///< message id of Message 3 message. , + MsgId_M1 = 1, ///< message id of Message 1 message. + MsgId_M2 = 2, ///< message id of Message 2 message. + MsgId_M3 = 3, ///< message id of Message 3 message. - // --- Extra values generated for convenience ---, - MsgId_FirstValue = 1, ///< First defined value., - MsgId_LastValue = 3, ///< Last defined value., + // --- Extra values generated for convenience --- + MsgId_FirstValue = 1, ///< First defined value. + MsgId_LastValue = 3, ///< Last defined value. MsgId_ValuesLimit = 4, ///< Upper limit for defined values. }; diff --git a/tutorials/tutorial8/include/tutorial8/Version.h b/tutorials/tutorial8/include/tutorial8/Version.h index b5cd7e71e..84acdca31 100644 --- a/tutorials/tutorial8/include/tutorial8/Version.h +++ b/tutorials/tutorial8/include/tutorial8/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains protocol version definition. @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion() } // namespace tutorial8 // Generated compile time check for minimal supported version of the COMMS library -static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(), +static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(), "The version of COMMS library is too old"); diff --git a/tutorials/tutorial8/include/tutorial8/dispatch/DispatchClientInputMessage.h b/tutorials/tutorial8/include/tutorial8/dispatch/DispatchClientInputMessage.h index a2039f99d..3e1cc18d4 100644 --- a/tutorials/tutorial8/include/tutorial8/dispatch/DispatchClientInputMessage.h +++ b/tutorials/tutorial8/include/tutorial8/dispatch/DispatchClientInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial8/include/tutorial8/dispatch/DispatchMessage.h b/tutorials/tutorial8/include/tutorial8/dispatch/DispatchMessage.h index 21ca51653..313cd46e5 100644 --- a/tutorials/tutorial8/include/tutorial8/dispatch/DispatchMessage.h +++ b/tutorials/tutorial8/include/tutorial8/dispatch/DispatchMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for all input messages. diff --git a/tutorials/tutorial8/include/tutorial8/dispatch/DispatchServerInputMessage.h b/tutorials/tutorial8/include/tutorial8/dispatch/DispatchServerInputMessage.h index 07876237b..d8cfc4868 100644 --- a/tutorials/tutorial8/include/tutorial8/dispatch/DispatchServerInputMessage.h +++ b/tutorials/tutorial8/include/tutorial8/dispatch/DispatchServerInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial8/include/tutorial8/field/FieldBase.h b/tutorials/tutorial8/include/tutorial8/field/FieldBase.h index d2349b52e..c1b139185 100644 --- a/tutorials/tutorial8/include/tutorial8/field/FieldBase.h +++ b/tutorials/tutorial8/include/tutorial8/field/FieldBase.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of base class of all the fields. diff --git a/tutorials/tutorial8/include/tutorial8/field/MsgId.h b/tutorials/tutorial8/include/tutorial8/field/MsgId.h index 2af935134..8e6805f57 100644 --- a/tutorials/tutorial8/include/tutorial8/field/MsgId.h +++ b/tutorials/tutorial8/include/tutorial8/field/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "MsgId" field. diff --git a/tutorials/tutorial8/include/tutorial8/field/MsgIdCommon.h b/tutorials/tutorial8/include/tutorial8/field/MsgIdCommon.h index 41a3622b3..2ee3c7fbf 100644 --- a/tutorials/tutorial8/include/tutorial8/field/MsgIdCommon.h +++ b/tutorials/tutorial8/include/tutorial8/field/MsgIdCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial8/include/tutorial8/frame/Frame.h b/tutorials/tutorial8/include/tutorial8/frame/Frame.h index b342c8dea..7312153c6 100644 --- a/tutorials/tutorial8/include/tutorial8/frame/Frame.h +++ b/tutorials/tutorial8/include/tutorial8/frame/Frame.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Frame" frame class. diff --git a/tutorials/tutorial8/include/tutorial8/frame/FrameCommon.h b/tutorials/tutorial8/include/tutorial8/frame/FrameCommon.h index daaac93b8..2bb4ccbbe 100644 --- a/tutorials/tutorial8/include/tutorial8/frame/FrameCommon.h +++ b/tutorials/tutorial8/include/tutorial8/frame/FrameCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial8/include/tutorial8/input/AllMessages.h b/tutorials/tutorial8/include/tutorial8/input/AllMessages.h index 98bb209ae..5785c0f98 100644 --- a/tutorials/tutorial8/include/tutorial8/input/AllMessages.h +++ b/tutorials/tutorial8/include/tutorial8/input/AllMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the AllMessages messages bundle. diff --git a/tutorials/tutorial8/include/tutorial8/input/ClientInputMessages.h b/tutorials/tutorial8/include/tutorial8/input/ClientInputMessages.h index bd7e86809..66f25e1a7 100644 --- a/tutorials/tutorial8/include/tutorial8/input/ClientInputMessages.h +++ b/tutorials/tutorial8/include/tutorial8/input/ClientInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ClientInputMessages messages bundle. diff --git a/tutorials/tutorial8/include/tutorial8/input/ServerInputMessages.h b/tutorials/tutorial8/include/tutorial8/input/ServerInputMessages.h index 768fa5f1b..8b81d1489 100644 --- a/tutorials/tutorial8/include/tutorial8/input/ServerInputMessages.h +++ b/tutorials/tutorial8/include/tutorial8/input/ServerInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ServerInputMessages messages bundle. diff --git a/tutorials/tutorial8/include/tutorial8/message/Msg1.h b/tutorials/tutorial8/include/tutorial8/message/Msg1.h index 25e6f34ef..84c9b5d15 100644 --- a/tutorials/tutorial8/include/tutorial8/message/Msg1.h +++ b/tutorials/tutorial8/include/tutorial8/message/Msg1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1" message and its fields. diff --git a/tutorials/tutorial8/include/tutorial8/message/Msg1Common.h b/tutorials/tutorial8/include/tutorial8/message/Msg1Common.h index d3b98d5af..3f323668a 100644 --- a/tutorials/tutorial8/include/tutorial8/message/Msg1Common.h +++ b/tutorials/tutorial8/include/tutorial8/message/Msg1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial8/include/tutorial8/message/Msg2.h b/tutorials/tutorial8/include/tutorial8/message/Msg2.h index c098e861d..055c72e9b 100644 --- a/tutorials/tutorial8/include/tutorial8/message/Msg2.h +++ b/tutorials/tutorial8/include/tutorial8/message/Msg2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 2" message and its fields. diff --git a/tutorials/tutorial8/include/tutorial8/message/Msg2Common.h b/tutorials/tutorial8/include/tutorial8/message/Msg2Common.h index 9a4978d2f..b1dc04239 100644 --- a/tutorials/tutorial8/include/tutorial8/message/Msg2Common.h +++ b/tutorials/tutorial8/include/tutorial8/message/Msg2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial8/include/tutorial8/message/Msg3.h b/tutorials/tutorial8/include/tutorial8/message/Msg3.h index db7338904..07ab83c37 100644 --- a/tutorials/tutorial8/include/tutorial8/message/Msg3.h +++ b/tutorials/tutorial8/include/tutorial8/message/Msg3.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 3" message and its fields. diff --git a/tutorials/tutorial8/include/tutorial8/message/Msg3Common.h b/tutorials/tutorial8/include/tutorial8/message/Msg3Common.h index fc9752497..dfea6af53 100644 --- a/tutorials/tutorial8/include/tutorial8/message/Msg3Common.h +++ b/tutorials/tutorial8/include/tutorial8/message/Msg3Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial8/include/tutorial8/options/BareMetalDefaultOptions.h b/tutorials/tutorial8/include/tutorial8/options/BareMetalDefaultOptions.h index c400b89f6..8e41026aa 100644 --- a/tutorials/tutorial8/include/tutorial8/options/BareMetalDefaultOptions.h +++ b/tutorials/tutorial8/include/tutorial8/options/BareMetalDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol bare metal default options. diff --git a/tutorials/tutorial8/include/tutorial8/options/ClientDefaultOptions.h b/tutorials/tutorial8/include/tutorial8/options/ClientDefaultOptions.h index c145d0e24..58da07d3c 100644 --- a/tutorials/tutorial8/include/tutorial8/options/ClientDefaultOptions.h +++ b/tutorials/tutorial8/include/tutorial8/options/ClientDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol client default options. diff --git a/tutorials/tutorial8/include/tutorial8/options/DataViewDefaultOptions.h b/tutorials/tutorial8/include/tutorial8/options/DataViewDefaultOptions.h index 223cf34ac..425d78678 100644 --- a/tutorials/tutorial8/include/tutorial8/options/DataViewDefaultOptions.h +++ b/tutorials/tutorial8/include/tutorial8/options/DataViewDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol data view default options. diff --git a/tutorials/tutorial8/include/tutorial8/options/DefaultOptions.h b/tutorials/tutorial8/include/tutorial8/options/DefaultOptions.h index 501efbad2..e83a5b6c3 100644 --- a/tutorials/tutorial8/include/tutorial8/options/DefaultOptions.h +++ b/tutorials/tutorial8/include/tutorial8/options/DefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol default options. diff --git a/tutorials/tutorial8/include/tutorial8/options/ServerDefaultOptions.h b/tutorials/tutorial8/include/tutorial8/options/ServerDefaultOptions.h index 6a002eabe..c89764dfe 100644 --- a/tutorials/tutorial8/include/tutorial8/options/ServerDefaultOptions.h +++ b/tutorials/tutorial8/include/tutorial8/options/ServerDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol server default options. diff --git a/tutorials/tutorial9/include/tutorial9/Message.h b/tutorials/tutorial9/include/tutorial9/Message.h index abe076a7d..b0fb4b1f3 100644 --- a/tutorials/tutorial9/include/tutorial9/Message.h +++ b/tutorials/tutorial9/include/tutorial9/Message.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message" interface class. diff --git a/tutorials/tutorial9/include/tutorial9/MsgId.h b/tutorials/tutorial9/include/tutorial9/MsgId.h index ff36193f5..28fc050af 100644 --- a/tutorials/tutorial9/include/tutorial9/MsgId.h +++ b/tutorials/tutorial9/include/tutorial9/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of message ids enumeration. @@ -13,14 +13,14 @@ namespace tutorial9 /// @brief Message ids enumeration. enum MsgId : std::uint8_t { - MsgId_M1 = 1, ///< message id of Message 1 message. , - MsgId_M2 = 2, ///< message id of Message 2 message. , - MsgId_M3 = 3, ///< message id of Message 3 message. , - MsgId_M4 = 4, ///< message id of Message 4 message. , + MsgId_M1 = 1, ///< message id of Message 1 message. + MsgId_M2 = 2, ///< message id of Message 2 message. + MsgId_M3 = 3, ///< message id of Message 3 message. + MsgId_M4 = 4, ///< message id of Message 4 message. - // --- Extra values generated for convenience ---, - MsgId_FirstValue = 1, ///< First defined value., - MsgId_LastValue = 4, ///< Last defined value., + // --- Extra values generated for convenience --- + MsgId_FirstValue = 1, ///< First defined value. + MsgId_LastValue = 4, ///< Last defined value. MsgId_ValuesLimit = 5, ///< Upper limit for defined values. }; diff --git a/tutorials/tutorial9/include/tutorial9/Version.h b/tutorials/tutorial9/include/tutorial9/Version.h index d8b653b64..6478dab30 100644 --- a/tutorials/tutorial9/include/tutorial9/Version.h +++ b/tutorials/tutorial9/include/tutorial9/Version.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains protocol version definition. @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion() } // namespace tutorial9 // Generated compile time check for minimal supported version of the COMMS library -static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(), +static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(), "The version of COMMS library is too old"); diff --git a/tutorials/tutorial9/include/tutorial9/dispatch/DispatchClientInputMessage.h b/tutorials/tutorial9/include/tutorial9/dispatch/DispatchClientInputMessage.h index 6a44a1282..3aa3ca6b3 100644 --- a/tutorials/tutorial9/include/tutorial9/dispatch/DispatchClientInputMessage.h +++ b/tutorials/tutorial9/include/tutorial9/dispatch/DispatchClientInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial9/include/tutorial9/dispatch/DispatchMessage.h b/tutorials/tutorial9/include/tutorial9/dispatch/DispatchMessage.h index 4a6a24e59..d487320ba 100644 --- a/tutorials/tutorial9/include/tutorial9/dispatch/DispatchMessage.h +++ b/tutorials/tutorial9/include/tutorial9/dispatch/DispatchMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for all input messages. diff --git a/tutorials/tutorial9/include/tutorial9/dispatch/DispatchServerInputMessage.h b/tutorials/tutorial9/include/tutorial9/dispatch/DispatchServerInputMessage.h index 1e5447beb..86974dfb7 100644 --- a/tutorials/tutorial9/include/tutorial9/dispatch/DispatchServerInputMessage.h +++ b/tutorials/tutorial9/include/tutorial9/dispatch/DispatchServerInputMessage.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains dispatch to handling function(s) for client input input messages. diff --git a/tutorials/tutorial9/include/tutorial9/field/FieldBase.h b/tutorials/tutorial9/include/tutorial9/field/FieldBase.h index e2b732ec0..4f4334566 100644 --- a/tutorials/tutorial9/include/tutorial9/field/FieldBase.h +++ b/tutorials/tutorial9/include/tutorial9/field/FieldBase.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of base class of all the fields. diff --git a/tutorials/tutorial9/include/tutorial9/field/MsgId.h b/tutorials/tutorial9/include/tutorial9/field/MsgId.h index 22b838b04..56ecc566b 100644 --- a/tutorials/tutorial9/include/tutorial9/field/MsgId.h +++ b/tutorials/tutorial9/include/tutorial9/field/MsgId.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "MsgId" field. diff --git a/tutorials/tutorial9/include/tutorial9/field/MsgIdCommon.h b/tutorials/tutorial9/include/tutorial9/field/MsgIdCommon.h index f6392077d..53ae48e91 100644 --- a/tutorials/tutorial9/include/tutorial9/field/MsgIdCommon.h +++ b/tutorials/tutorial9/include/tutorial9/field/MsgIdCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial9/include/tutorial9/frame/Frame.h b/tutorials/tutorial9/include/tutorial9/frame/Frame.h index d3c41da8d..74f2117b0 100644 --- a/tutorials/tutorial9/include/tutorial9/frame/Frame.h +++ b/tutorials/tutorial9/include/tutorial9/frame/Frame.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Frame" frame class. diff --git a/tutorials/tutorial9/include/tutorial9/frame/FrameCommon.h b/tutorials/tutorial9/include/tutorial9/frame/FrameCommon.h index 83b048772..f30eb9dc4 100644 --- a/tutorials/tutorial9/include/tutorial9/frame/FrameCommon.h +++ b/tutorials/tutorial9/include/tutorial9/frame/FrameCommon.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial9/include/tutorial9/input/AllMessages.h b/tutorials/tutorial9/include/tutorial9/input/AllMessages.h index 0af5ae3a7..5879f4bee 100644 --- a/tutorials/tutorial9/include/tutorial9/input/AllMessages.h +++ b/tutorials/tutorial9/include/tutorial9/input/AllMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the AllMessages messages bundle. diff --git a/tutorials/tutorial9/include/tutorial9/input/ClientInputMessages.h b/tutorials/tutorial9/include/tutorial9/input/ClientInputMessages.h index cc2ff5712..a58be07d0 100644 --- a/tutorials/tutorial9/include/tutorial9/input/ClientInputMessages.h +++ b/tutorials/tutorial9/include/tutorial9/input/ClientInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ClientInputMessages messages bundle. diff --git a/tutorials/tutorial9/include/tutorial9/input/ServerInputMessages.h b/tutorials/tutorial9/include/tutorial9/input/ServerInputMessages.h index 016f56a4e..761d8b463 100644 --- a/tutorials/tutorial9/include/tutorial9/input/ServerInputMessages.h +++ b/tutorials/tutorial9/include/tutorial9/input/ServerInputMessages.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of the ServerInputMessages messages bundle. diff --git a/tutorials/tutorial9/include/tutorial9/message/Msg1.h b/tutorials/tutorial9/include/tutorial9/message/Msg1.h index 9af209949..6e91bd6aa 100644 --- a/tutorials/tutorial9/include/tutorial9/message/Msg1.h +++ b/tutorials/tutorial9/include/tutorial9/message/Msg1.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 1" message and its fields. diff --git a/tutorials/tutorial9/include/tutorial9/message/Msg1Common.h b/tutorials/tutorial9/include/tutorial9/message/Msg1Common.h index 21dfe7506..c7f1e9ed8 100644 --- a/tutorials/tutorial9/include/tutorial9/message/Msg1Common.h +++ b/tutorials/tutorial9/include/tutorial9/message/Msg1Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial9/include/tutorial9/message/Msg2.h b/tutorials/tutorial9/include/tutorial9/message/Msg2.h index fa843853d..da43fecf2 100644 --- a/tutorials/tutorial9/include/tutorial9/message/Msg2.h +++ b/tutorials/tutorial9/include/tutorial9/message/Msg2.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 2" message and its fields. diff --git a/tutorials/tutorial9/include/tutorial9/message/Msg2Common.h b/tutorials/tutorial9/include/tutorial9/message/Msg2Common.h index 57a4b43ce..cedaac552 100644 --- a/tutorials/tutorial9/include/tutorial9/message/Msg2Common.h +++ b/tutorials/tutorial9/include/tutorial9/message/Msg2Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial9/include/tutorial9/message/Msg3.h b/tutorials/tutorial9/include/tutorial9/message/Msg3.h index 2eaeff3a4..c4570de34 100644 --- a/tutorials/tutorial9/include/tutorial9/message/Msg3.h +++ b/tutorials/tutorial9/include/tutorial9/message/Msg3.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 3" message and its fields. diff --git a/tutorials/tutorial9/include/tutorial9/message/Msg3Common.h b/tutorials/tutorial9/include/tutorial9/message/Msg3Common.h index 22593363e..a6b5e6afc 100644 --- a/tutorials/tutorial9/include/tutorial9/message/Msg3Common.h +++ b/tutorials/tutorial9/include/tutorial9/message/Msg3Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial9/include/tutorial9/message/Msg4.h b/tutorials/tutorial9/include/tutorial9/message/Msg4.h index 29e4dec56..1e5d84fe7 100644 --- a/tutorials/tutorial9/include/tutorial9/message/Msg4.h +++ b/tutorials/tutorial9/include/tutorial9/message/Msg4.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of "Message 4" message and its fields. diff --git a/tutorials/tutorial9/include/tutorial9/message/Msg4Common.h b/tutorials/tutorial9/include/tutorial9/message/Msg4Common.h index 221f5b40f..e40664c8d 100644 --- a/tutorials/tutorial9/include/tutorial9/message/Msg4Common.h +++ b/tutorials/tutorial9/include/tutorial9/message/Msg4Common.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains common template parameters independent functionality of diff --git a/tutorials/tutorial9/include/tutorial9/options/BareMetalDefaultOptions.h b/tutorials/tutorial9/include/tutorial9/options/BareMetalDefaultOptions.h index cccd2e534..bdc770509 100644 --- a/tutorials/tutorial9/include/tutorial9/options/BareMetalDefaultOptions.h +++ b/tutorials/tutorial9/include/tutorial9/options/BareMetalDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol bare metal default options. diff --git a/tutorials/tutorial9/include/tutorial9/options/ClientDefaultOptions.h b/tutorials/tutorial9/include/tutorial9/options/ClientDefaultOptions.h index aa647aa07..b4278d86f 100644 --- a/tutorials/tutorial9/include/tutorial9/options/ClientDefaultOptions.h +++ b/tutorials/tutorial9/include/tutorial9/options/ClientDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol client default options. diff --git a/tutorials/tutorial9/include/tutorial9/options/DataViewDefaultOptions.h b/tutorials/tutorial9/include/tutorial9/options/DataViewDefaultOptions.h index b80a8c3e3..5eb1363b1 100644 --- a/tutorials/tutorial9/include/tutorial9/options/DataViewDefaultOptions.h +++ b/tutorials/tutorial9/include/tutorial9/options/DataViewDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol data view default options. diff --git a/tutorials/tutorial9/include/tutorial9/options/DefaultOptions.h b/tutorials/tutorial9/include/tutorial9/options/DefaultOptions.h index 6964573a6..a5fb7574b 100644 --- a/tutorials/tutorial9/include/tutorial9/options/DefaultOptions.h +++ b/tutorials/tutorial9/include/tutorial9/options/DefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol default options. diff --git a/tutorials/tutorial9/include/tutorial9/options/ServerDefaultOptions.h b/tutorials/tutorial9/include/tutorial9/options/ServerDefaultOptions.h index 178190061..26cc86297 100644 --- a/tutorials/tutorial9/include/tutorial9/options/ServerDefaultOptions.h +++ b/tutorials/tutorial9/include/tutorial9/options/ServerDefaultOptions.h @@ -1,4 +1,4 @@ -// Generated by commsdsl2comms v5.2.0 +// Generated by commsdsl2comms v6.0.0 /// @file /// @brief Contains definition of protocol server default options.