Index: sources/model/MModel.h =================================================================== diff -u -r12e7b6dda53cf8db7707c7fa55dcf6137e7d6997 -r84c5373209a1a488c00917995f5553d442d159a4 --- sources/model/MModel.h (.../MModel.h) (revision 12e7b6dda53cf8db7707c7fa55dcf6137e7d6997) +++ sources/model/MModel.h (.../MModel.h) (revision 84c5373209a1a488c00917995f5553d442d159a4) @@ -75,16 +75,14 @@ * MessageInterpreter -> MessageBuilder [dir="both" ]; * } * user -> QML [dir="both" ]; - * QML -> { GuiView, } [dir="both" ]; + * QML -> { GuiView } [dir="both" ]; * { GuiView, } -> GuiController [dir="both" ]; * GuiController -> ApplicationController [dir="both" ]; * ApplicationController -> MessageDispatcher [dir="both" ]; * MessageDispatcher -> FrameInterface [dir="both" ]; * FrameInterface -> CanInterface [dir="both" ]; * CanInterface -> CANBus [dir="both" ]; * } - * - * * \enddot * * \note @@ -216,6 +214,14 @@ REGISTER_METATYPE( AdjustSalineResponseData ) \ //===============================================================================// +/*! + \def ACTION_RECEIVE_MODEL_BRIDGE_CONNECTIONS + \details This macro connects the source object vSource to the models defined in the list for received messages. + It connects source didActionReceive() signal to the this pointer of the class object + onActionReceive(). + This macro should be used in the header file of the class. + This macro should be used with its counterpart macro \ref ACTION_RECEIVE_MODEL_BRIDGE_DEFINITIONS + */ #define ACTION_RECEIVE_MODEL_BRIDGE_CONNECTIONS(vSOURCE) \ \ ACTION_RECEIVE_BRIDGE_CONNECTION(vSOURCE, BloodFlowData ) \ @@ -263,6 +269,14 @@ ADJUST_TRANSMT_BRIDGE_CONNECTION(vSOURCE, AdjustSalineRequestData ) \ //===============================================================================// +/*! + \def ACTION_RECEIVE_MODEL_BRIDGE_DEFINITIONS + \details This macro connects the source object vSource to the models defined in the list for received messages. + It connects source didActionReceive() signal to the this pointer of the class object + onActionReceive(). + This macro should be used in the header file of the class. + This macro should be used with its counterpart macro \ref ACTION_RECEIVE_MODEL_BRIDGE_DEFINITIONS + */ #define ACTION_RECEIVE_MODEL_BRIDGE_DEFINITIONS \ \ ACTION_RECEIVE_BRIDGE_DEFINITION( BloodFlowData ) \