Index: sources/canbus/MessageInterpreter.h =================================================================== diff -u -r80b8371f1a93481e05302cef6e474db802fda153 -rc0b30f1fa82d0121706351057ab52b3bb1141459 --- sources/canbus/MessageInterpreter.h (.../MessageInterpreter.h) (revision 80b8371f1a93481e05302cef6e474db802fda153) +++ sources/canbus/MessageInterpreter.h (.../MessageInterpreter.h) (revision c0b30f1fa82d0121706351057ab52b3bb1141459) @@ -44,17 +44,13 @@ { Q_OBJECT - // friend - friend class ::tst_messaging; - friend class ::tst_logging; - // list of the unhandled messages with their definition to be able to log them like the ones which are not unhandled and have models. // it is the quickest to add them to support the V&V team. QMap _messageList {}; - bool isType (const Message &vMessage) const; - bool isPayloadLenValid (const Message &vMessage) const; - bool isValidMessage (const Message &vMessage) const; + bool isType (const Message &vMessage ) const; + bool isPayloadLenValid (const Message &vMessage ) const; + bool isValidMessage (const Message &vMessage ) const; void logInvalidLength (); @@ -66,8 +62,13 @@ // ----- Debug bool canbusFaultCountData (const Message &vMessage, QVariantList &vData) __attribute_warn_unused_result__; + // ----- Adjustments + bool adjustUltrafiltrationEdit (const Message &vMessage, QVariantList &vData) __attribute_warn_unused_result__; + bool adjustUltrafiltrationConfirm (const Message &vMessage, QVariantList &vData) __attribute_warn_unused_result__; + template bool notify (const Message &vMessage, QVariantList &vData) __attribute_warn_unused_result__; + bool logUnhandledMessage (const Message &vMessage) const; public: @@ -81,8 +82,5 @@ static Can_Source identifySource (Can_Id vCanId, QString *vText = nullptr); static Can_Id identifyDestination(Can_Id vCanId, QString *vText = nullptr); - -signals: - //ACTION_RECEIVE_SIGNALS }; }