Index: sources/model/MAbstract.h =================================================================== diff -u -r6cad9b004e904200b71de7431c745795256080df -r7077e38c74db9cccb5496ffefcf8936c0916de76 --- sources/model/MAbstract.h (.../MAbstract.h) (revision 6cad9b004e904200b71de7431c745795256080df) +++ sources/model/MAbstract.h (.../MAbstract.h) (revision 7077e38c74db9cccb5496ffefcf8936c0916de76) @@ -99,24 +99,31 @@ * \details type of the model which can be Data or Event which is mostly used in logging. * \return Enum of Types */ - virtual Type_Enum typeText ( ) const = 0; + virtual Type_Enum typeText () const = 0; /*! * \brief unitText * \details the unit which UI communicates with by using this model and is used in Logging mostly * \return Enum of Units */ - virtual Unit_Enum unitText ( ) const = 0; + virtual Unit_Enum unitText () const = 0; /*! * \brief infoText * \details the text description of the model which will be used in the logging. * \return QString */ - virtual QString infoText ( ) const = 0; + virtual QString infoText () const = 0; /*! * \brief parameters * \return current data values of the models. */ - virtual QVariantList parameters ( ) const = 0; + virtual QVariantList parameters () const = 0; + /*! + * \brief size + * \return This has to be implemented in each child to return the message payload length. + */ + // TODO : The message length can be get from the model itself but currently we have an enum for that. + // It needs work and will be done later. + // virtual quint32 size () const = 0; // Non-virtual methods which working with parameters virtual method. void toVariantList(QVariantList &vData) const;