Skip to content

Commit 8278ba3

Browse files
committed
Using latest commsdsl code generation.
1 parent c7f019a commit 8278ba3

File tree

146 files changed

+902
-901
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

146 files changed

+902
-901
lines changed

howtos/howto1/include/howto1/dispatch/DispatchClientInputMessage.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ struct ClientInputMsgDispatcher
142142
/// @param[in] msg Reference to message object.
143143
/// @param[in] handler Reference to handler object.
144144
/// @return What the @ref dispatchClientInputMessage() function returns.
145-
template <typename TMsg, typename THandler>
146-
static auto dispatch(howto1::MsgId id, std::size_t idx, TMsg& msg, THandler& handler) ->
145+
template <typename TId, typename TMsg, typename THandler>
146+
static auto dispatch(TId id, std::size_t idx, TMsg& msg, THandler& handler) ->
147147
decltype(howto1::dispatch::dispatchClientInputMessage<TProtOptions>(id, idx, msg, handler))
148148
{
149149
return howto1::dispatch::dispatchClientInputMessage<TProtOptions>(id, idx, msg, handler);
@@ -152,8 +152,8 @@ struct ClientInputMsgDispatcher
152152
/// @brief Complementary dispatch function.
153153
/// @details Same as other dispatch without @b TAllMessages template parameter,
154154
/// used by @b comms::processAllWithDispatchViaDispatcher().
155-
template <typename TAllMessages, typename TMsg, typename THandler>
156-
static auto dispatch(howto1::MsgId id, std::size_t idx, TMsg& msg, THandler& handler) ->
155+
template <typename TAllMessages, typename TId, typename TMsg, typename THandler>
156+
static auto dispatch(TId id, std::size_t idx, TMsg& msg, THandler& handler) ->
157157
decltype(dispatch(id, idx, msg, handler))
158158
{
159159
return dispatch(id, idx, msg, handler);
@@ -165,8 +165,8 @@ struct ClientInputMsgDispatcher
165165
/// @param[in] msg Reference to message object.
166166
/// @param[in] handler Reference to handler object.
167167
/// @return What the @ref dispatchClientInputMessage() function returns.
168-
template <typename TMsg, typename THandler>
169-
static auto dispatch(howto1::MsgId id, TMsg& msg, THandler& handler) ->
168+
template <typename TId, typename TMsg, typename THandler>
169+
static auto dispatch(TId id, TMsg& msg, THandler& handler) ->
170170
decltype(howto1::dispatch::dispatchClientInputMessage<TProtOptions>(id, msg, handler))
171171
{
172172
return howto1::dispatch::dispatchClientInputMessage<TProtOptions>(id, msg, handler);
@@ -175,8 +175,8 @@ struct ClientInputMsgDispatcher
175175
/// @brief Complementary dispatch function.
176176
/// @details Same as other dispatch without @b TAllMessages template parameter,
177177
/// used by @b comms::processAllWithDispatchViaDispatcher().
178-
template <typename TAllMessages, typename TMsg, typename THandler>
179-
static auto dispatch(howto1::MsgId id, TMsg& msg, THandler& handler) ->
178+
template <typename TAllMessages, typename TId, typename TMsg, typename THandler>
179+
static auto dispatch(TId id, TMsg& msg, THandler& handler) ->
180180
decltype(dispatch(id, msg, handler))
181181
{
182182
return dispatch(id, msg, handler);

howtos/howto1/include/howto1/dispatch/DispatchMessage.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ struct MsgDispatcher
142142
/// @param[in] msg Reference to message object.
143143
/// @param[in] handler Reference to handler object.
144144
/// @return What the @ref dispatchMessage() function returns.
145-
template <typename TMsg, typename THandler>
146-
static auto dispatch(howto1::MsgId id, std::size_t idx, TMsg& msg, THandler& handler) ->
145+
template <typename TId, typename TMsg, typename THandler>
146+
static auto dispatch(TId id, std::size_t idx, TMsg& msg, THandler& handler) ->
147147
decltype(howto1::dispatch::dispatchMessage<TProtOptions>(id, idx, msg, handler))
148148
{
149149
return howto1::dispatch::dispatchMessage<TProtOptions>(id, idx, msg, handler);
@@ -152,8 +152,8 @@ struct MsgDispatcher
152152
/// @brief Complementary dispatch function.
153153
/// @details Same as other dispatch without @b TAllMessages template parameter,
154154
/// used by @b comms::processAllWithDispatchViaDispatcher().
155-
template <typename TAllMessages, typename TMsg, typename THandler>
156-
static auto dispatch(howto1::MsgId id, std::size_t idx, TMsg& msg, THandler& handler) ->
155+
template <typename TAllMessages, typename TId, typename TMsg, typename THandler>
156+
static auto dispatch(TId id, std::size_t idx, TMsg& msg, THandler& handler) ->
157157
decltype(dispatch(id, idx, msg, handler))
158158
{
159159
return dispatch(id, idx, msg, handler);
@@ -165,8 +165,8 @@ struct MsgDispatcher
165165
/// @param[in] msg Reference to message object.
166166
/// @param[in] handler Reference to handler object.
167167
/// @return What the @ref dispatchMessage() function returns.
168-
template <typename TMsg, typename THandler>
169-
static auto dispatch(howto1::MsgId id, TMsg& msg, THandler& handler) ->
168+
template <typename TId, typename TMsg, typename THandler>
169+
static auto dispatch(TId id, TMsg& msg, THandler& handler) ->
170170
decltype(howto1::dispatch::dispatchMessage<TProtOptions>(id, msg, handler))
171171
{
172172
return howto1::dispatch::dispatchMessage<TProtOptions>(id, msg, handler);
@@ -175,8 +175,8 @@ struct MsgDispatcher
175175
/// @brief Complementary dispatch function.
176176
/// @details Same as other dispatch without @b TAllMessages template parameter,
177177
/// used by @b comms::processAllWithDispatchViaDispatcher().
178-
template <typename TAllMessages, typename TMsg, typename THandler>
179-
static auto dispatch(howto1::MsgId id, TMsg& msg, THandler& handler) ->
178+
template <typename TAllMessages, typename TId, typename TMsg, typename THandler>
179+
static auto dispatch(TId id, TMsg& msg, THandler& handler) ->
180180
decltype(dispatch(id, msg, handler))
181181
{
182182
return dispatch(id, msg, handler);

howtos/howto1/include/howto1/dispatch/DispatchServerInputMessage.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ struct ServerInputMsgDispatcher
142142
/// @param[in] msg Reference to message object.
143143
/// @param[in] handler Reference to handler object.
144144
/// @return What the @ref dispatchServerInputMessage() function returns.
145-
template <typename TMsg, typename THandler>
146-
static auto dispatch(howto1::MsgId id, std::size_t idx, TMsg& msg, THandler& handler) ->
145+
template <typename TId, typename TMsg, typename THandler>
146+
static auto dispatch(TId id, std::size_t idx, TMsg& msg, THandler& handler) ->
147147
decltype(howto1::dispatch::dispatchServerInputMessage<TProtOptions>(id, idx, msg, handler))
148148
{
149149
return howto1::dispatch::dispatchServerInputMessage<TProtOptions>(id, idx, msg, handler);
@@ -152,8 +152,8 @@ struct ServerInputMsgDispatcher
152152
/// @brief Complementary dispatch function.
153153
/// @details Same as other dispatch without @b TAllMessages template parameter,
154154
/// used by @b comms::processAllWithDispatchViaDispatcher().
155-
template <typename TAllMessages, typename TMsg, typename THandler>
156-
static auto dispatch(howto1::MsgId id, std::size_t idx, TMsg& msg, THandler& handler) ->
155+
template <typename TAllMessages, typename TId, typename TMsg, typename THandler>
156+
static auto dispatch(TId id, std::size_t idx, TMsg& msg, THandler& handler) ->
157157
decltype(dispatch(id, idx, msg, handler))
158158
{
159159
return dispatch(id, idx, msg, handler);
@@ -165,8 +165,8 @@ struct ServerInputMsgDispatcher
165165
/// @param[in] msg Reference to message object.
166166
/// @param[in] handler Reference to handler object.
167167
/// @return What the @ref dispatchServerInputMessage() function returns.
168-
template <typename TMsg, typename THandler>
169-
static auto dispatch(howto1::MsgId id, TMsg& msg, THandler& handler) ->
168+
template <typename TId, typename TMsg, typename THandler>
169+
static auto dispatch(TId id, TMsg& msg, THandler& handler) ->
170170
decltype(howto1::dispatch::dispatchServerInputMessage<TProtOptions>(id, msg, handler))
171171
{
172172
return howto1::dispatch::dispatchServerInputMessage<TProtOptions>(id, msg, handler);
@@ -175,8 +175,8 @@ struct ServerInputMsgDispatcher
175175
/// @brief Complementary dispatch function.
176176
/// @details Same as other dispatch without @b TAllMessages template parameter,
177177
/// used by @b comms::processAllWithDispatchViaDispatcher().
178-
template <typename TAllMessages, typename TMsg, typename THandler>
179-
static auto dispatch(howto1::MsgId id, TMsg& msg, THandler& handler) ->
178+
template <typename TAllMessages, typename TId, typename TMsg, typename THandler>
179+
static auto dispatch(TId id, TMsg& msg, THandler& handler) ->
180180
decltype(dispatch(id, msg, handler))
181181
{
182182
return dispatch(id, msg, handler);

howtos/howto1/include/howto1/frame/Frame.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ struct FrameLayers
204204
typename TOpt::frame::FrameLayers::SizeWithFlags
205205
>;
206206

207-
/// @brief Final protocol stack definition.
207+
/// @brief Final framing layers stack definition.
208208
template<typename TMessage, typename TAllMessages>
209209
using Stack = SizeWithFlags<TMessage, TAllMessages>;
210210
};

howtos/howto10/include/howto10/dispatch/DispatchClientInputMessage.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ struct ClientInputMsgDispatcher
147147
/// @param[in] msg Reference to message object.
148148
/// @param[in] handler Reference to handler object.
149149
/// @return What the @ref dispatchClientInputMessage() function returns.
150-
template <typename TMsg, typename THandler>
151-
static auto dispatch(howto10::MsgId id, std::size_t idx, TMsg& msg, THandler& handler) ->
150+
template <typename TId, typename TMsg, typename THandler>
151+
static auto dispatch(TId id, std::size_t idx, TMsg& msg, THandler& handler) ->
152152
decltype(howto10::dispatch::dispatchClientInputMessage<TProtOptions>(id, idx, msg, handler))
153153
{
154154
return howto10::dispatch::dispatchClientInputMessage<TProtOptions>(id, idx, msg, handler);
@@ -157,8 +157,8 @@ struct ClientInputMsgDispatcher
157157
/// @brief Complementary dispatch function.
158158
/// @details Same as other dispatch without @b TAllMessages template parameter,
159159
/// used by @b comms::processAllWithDispatchViaDispatcher().
160-
template <typename TAllMessages, typename TMsg, typename THandler>
161-
static auto dispatch(howto10::MsgId id, std::size_t idx, TMsg& msg, THandler& handler) ->
160+
template <typename TAllMessages, typename TId, typename TMsg, typename THandler>
161+
static auto dispatch(TId id, std::size_t idx, TMsg& msg, THandler& handler) ->
162162
decltype(dispatch(id, idx, msg, handler))
163163
{
164164
return dispatch(id, idx, msg, handler);
@@ -170,8 +170,8 @@ struct ClientInputMsgDispatcher
170170
/// @param[in] msg Reference to message object.
171171
/// @param[in] handler Reference to handler object.
172172
/// @return What the @ref dispatchClientInputMessage() function returns.
173-
template <typename TMsg, typename THandler>
174-
static auto dispatch(howto10::MsgId id, TMsg& msg, THandler& handler) ->
173+
template <typename TId, typename TMsg, typename THandler>
174+
static auto dispatch(TId id, TMsg& msg, THandler& handler) ->
175175
decltype(howto10::dispatch::dispatchClientInputMessage<TProtOptions>(id, msg, handler))
176176
{
177177
return howto10::dispatch::dispatchClientInputMessage<TProtOptions>(id, msg, handler);
@@ -180,8 +180,8 @@ struct ClientInputMsgDispatcher
180180
/// @brief Complementary dispatch function.
181181
/// @details Same as other dispatch without @b TAllMessages template parameter,
182182
/// used by @b comms::processAllWithDispatchViaDispatcher().
183-
template <typename TAllMessages, typename TMsg, typename THandler>
184-
static auto dispatch(howto10::MsgId id, TMsg& msg, THandler& handler) ->
183+
template <typename TAllMessages, typename TId, typename TMsg, typename THandler>
184+
static auto dispatch(TId id, TMsg& msg, THandler& handler) ->
185185
decltype(dispatch(id, msg, handler))
186186
{
187187
return dispatch(id, msg, handler);

howtos/howto10/include/howto10/dispatch/DispatchMessage.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ struct MsgDispatcher
147147
/// @param[in] msg Reference to message object.
148148
/// @param[in] handler Reference to handler object.
149149
/// @return What the @ref dispatchMessage() function returns.
150-
template <typename TMsg, typename THandler>
151-
static auto dispatch(howto10::MsgId id, std::size_t idx, TMsg& msg, THandler& handler) ->
150+
template <typename TId, typename TMsg, typename THandler>
151+
static auto dispatch(TId id, std::size_t idx, TMsg& msg, THandler& handler) ->
152152
decltype(howto10::dispatch::dispatchMessage<TProtOptions>(id, idx, msg, handler))
153153
{
154154
return howto10::dispatch::dispatchMessage<TProtOptions>(id, idx, msg, handler);
@@ -157,8 +157,8 @@ struct MsgDispatcher
157157
/// @brief Complementary dispatch function.
158158
/// @details Same as other dispatch without @b TAllMessages template parameter,
159159
/// used by @b comms::processAllWithDispatchViaDispatcher().
160-
template <typename TAllMessages, typename TMsg, typename THandler>
161-
static auto dispatch(howto10::MsgId id, std::size_t idx, TMsg& msg, THandler& handler) ->
160+
template <typename TAllMessages, typename TId, typename TMsg, typename THandler>
161+
static auto dispatch(TId id, std::size_t idx, TMsg& msg, THandler& handler) ->
162162
decltype(dispatch(id, idx, msg, handler))
163163
{
164164
return dispatch(id, idx, msg, handler);
@@ -170,8 +170,8 @@ struct MsgDispatcher
170170
/// @param[in] msg Reference to message object.
171171
/// @param[in] handler Reference to handler object.
172172
/// @return What the @ref dispatchMessage() function returns.
173-
template <typename TMsg, typename THandler>
174-
static auto dispatch(howto10::MsgId id, TMsg& msg, THandler& handler) ->
173+
template <typename TId, typename TMsg, typename THandler>
174+
static auto dispatch(TId id, TMsg& msg, THandler& handler) ->
175175
decltype(howto10::dispatch::dispatchMessage<TProtOptions>(id, msg, handler))
176176
{
177177
return howto10::dispatch::dispatchMessage<TProtOptions>(id, msg, handler);
@@ -180,8 +180,8 @@ struct MsgDispatcher
180180
/// @brief Complementary dispatch function.
181181
/// @details Same as other dispatch without @b TAllMessages template parameter,
182182
/// used by @b comms::processAllWithDispatchViaDispatcher().
183-
template <typename TAllMessages, typename TMsg, typename THandler>
184-
static auto dispatch(howto10::MsgId id, TMsg& msg, THandler& handler) ->
183+
template <typename TAllMessages, typename TId, typename TMsg, typename THandler>
184+
static auto dispatch(TId id, TMsg& msg, THandler& handler) ->
185185
decltype(dispatch(id, msg, handler))
186186
{
187187
return dispatch(id, msg, handler);

howtos/howto10/include/howto10/dispatch/DispatchServerInputMessage.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ struct ServerInputMsgDispatcher
147147
/// @param[in] msg Reference to message object.
148148
/// @param[in] handler Reference to handler object.
149149
/// @return What the @ref dispatchServerInputMessage() function returns.
150-
template <typename TMsg, typename THandler>
151-
static auto dispatch(howto10::MsgId id, std::size_t idx, TMsg& msg, THandler& handler) ->
150+
template <typename TId, typename TMsg, typename THandler>
151+
static auto dispatch(TId id, std::size_t idx, TMsg& msg, THandler& handler) ->
152152
decltype(howto10::dispatch::dispatchServerInputMessage<TProtOptions>(id, idx, msg, handler))
153153
{
154154
return howto10::dispatch::dispatchServerInputMessage<TProtOptions>(id, idx, msg, handler);
@@ -157,8 +157,8 @@ struct ServerInputMsgDispatcher
157157
/// @brief Complementary dispatch function.
158158
/// @details Same as other dispatch without @b TAllMessages template parameter,
159159
/// used by @b comms::processAllWithDispatchViaDispatcher().
160-
template <typename TAllMessages, typename TMsg, typename THandler>
161-
static auto dispatch(howto10::MsgId id, std::size_t idx, TMsg& msg, THandler& handler) ->
160+
template <typename TAllMessages, typename TId, typename TMsg, typename THandler>
161+
static auto dispatch(TId id, std::size_t idx, TMsg& msg, THandler& handler) ->
162162
decltype(dispatch(id, idx, msg, handler))
163163
{
164164
return dispatch(id, idx, msg, handler);
@@ -170,8 +170,8 @@ struct ServerInputMsgDispatcher
170170
/// @param[in] msg Reference to message object.
171171
/// @param[in] handler Reference to handler object.
172172
/// @return What the @ref dispatchServerInputMessage() function returns.
173-
template <typename TMsg, typename THandler>
174-
static auto dispatch(howto10::MsgId id, TMsg& msg, THandler& handler) ->
173+
template <typename TId, typename TMsg, typename THandler>
174+
static auto dispatch(TId id, TMsg& msg, THandler& handler) ->
175175
decltype(howto10::dispatch::dispatchServerInputMessage<TProtOptions>(id, msg, handler))
176176
{
177177
return howto10::dispatch::dispatchServerInputMessage<TProtOptions>(id, msg, handler);
@@ -180,8 +180,8 @@ struct ServerInputMsgDispatcher
180180
/// @brief Complementary dispatch function.
181181
/// @details Same as other dispatch without @b TAllMessages template parameter,
182182
/// used by @b comms::processAllWithDispatchViaDispatcher().
183-
template <typename TAllMessages, typename TMsg, typename THandler>
184-
static auto dispatch(howto10::MsgId id, TMsg& msg, THandler& handler) ->
183+
template <typename TAllMessages, typename TId, typename TMsg, typename THandler>
184+
static auto dispatch(TId id, TMsg& msg, THandler& handler) ->
185185
decltype(dispatch(id, msg, handler))
186186
{
187187
return dispatch(id, msg, handler);

howtos/howto10/include/howto10/frame/Frame.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ struct FrameLayers
232232
Size<TMessage, TAllMessages>
233233
>;
234234

235-
/// @brief Final protocol stack definition.
235+
/// @brief Final framing layers stack definition.
236236
template<typename TMessage, typename TAllMessages>
237237
using Stack = Sync<TMessage, TAllMessages>;
238238
};

howtos/howto2/include/howto2/dispatch/DispatchClientInputMessage.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ struct ClientInputMsgDispatcher
152152
/// @param[in] msg Reference to message object.
153153
/// @param[in] handler Reference to handler object.
154154
/// @return What the @ref dispatchClientInputMessage() function returns.
155-
template <typename TMsg, typename THandler>
156-
static auto dispatch(howto2::MsgId id, std::size_t idx, TMsg& msg, THandler& handler) ->
155+
template <typename TId, typename TMsg, typename THandler>
156+
static auto dispatch(TId id, std::size_t idx, TMsg& msg, THandler& handler) ->
157157
decltype(howto2::dispatch::dispatchClientInputMessage<TProtOptions>(id, idx, msg, handler))
158158
{
159159
return howto2::dispatch::dispatchClientInputMessage<TProtOptions>(id, idx, msg, handler);
@@ -162,8 +162,8 @@ struct ClientInputMsgDispatcher
162162
/// @brief Complementary dispatch function.
163163
/// @details Same as other dispatch without @b TAllMessages template parameter,
164164
/// used by @b comms::processAllWithDispatchViaDispatcher().
165-
template <typename TAllMessages, typename TMsg, typename THandler>
166-
static auto dispatch(howto2::MsgId id, std::size_t idx, TMsg& msg, THandler& handler) ->
165+
template <typename TAllMessages, typename TId, typename TMsg, typename THandler>
166+
static auto dispatch(TId id, std::size_t idx, TMsg& msg, THandler& handler) ->
167167
decltype(dispatch(id, idx, msg, handler))
168168
{
169169
return dispatch(id, idx, msg, handler);
@@ -175,8 +175,8 @@ struct ClientInputMsgDispatcher
175175
/// @param[in] msg Reference to message object.
176176
/// @param[in] handler Reference to handler object.
177177
/// @return What the @ref dispatchClientInputMessage() function returns.
178-
template <typename TMsg, typename THandler>
179-
static auto dispatch(howto2::MsgId id, TMsg& msg, THandler& handler) ->
178+
template <typename TId, typename TMsg, typename THandler>
179+
static auto dispatch(TId id, TMsg& msg, THandler& handler) ->
180180
decltype(howto2::dispatch::dispatchClientInputMessage<TProtOptions>(id, msg, handler))
181181
{
182182
return howto2::dispatch::dispatchClientInputMessage<TProtOptions>(id, msg, handler);
@@ -185,8 +185,8 @@ struct ClientInputMsgDispatcher
185185
/// @brief Complementary dispatch function.
186186
/// @details Same as other dispatch without @b TAllMessages template parameter,
187187
/// used by @b comms::processAllWithDispatchViaDispatcher().
188-
template <typename TAllMessages, typename TMsg, typename THandler>
189-
static auto dispatch(howto2::MsgId id, TMsg& msg, THandler& handler) ->
188+
template <typename TAllMessages, typename TId, typename TMsg, typename THandler>
189+
static auto dispatch(TId id, TMsg& msg, THandler& handler) ->
190190
decltype(dispatch(id, msg, handler))
191191
{
192192
return dispatch(id, msg, handler);

0 commit comments

Comments
 (0)