messagehandler.h

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Updated the Copyright with the current year and replaced tabs with 4 spaces

  1. … 52 more files in changeset.
DEN-1090 : UI Message Handler / Error Handler

- renamed MessageHandler to FrameInterface to understand easier in SDD.

  1. … 9 more files in changeset.
DEN-1090 : UI Message Handler / Error Handler

- Documented the code

- Added gcc flag to use all the warning as errors and don't let the application compile.

- Modified the build frame structure to return bool true as of successful build message and moved the frame list into the function parameter list.

This way by using __attribute_warn_unused_result__ we can force the code who uses this method to check for the return value of successful build.

- Same has been done for some other methods.

  1. … 14 more files in changeset.
DEN-1090 : UI Message Handler / Error Handler

- Fixed application close which wasn't closing Can Device connection.

- Changed to date to 2019 in copyright section.

- In MessageInterpreter, named getBloodFlowData method parameters to the meaningful data names.

- Moved fromVariant method to Format utility class.

- Added Code documentation and description.

  1. … 61 more files in changeset.
DEN-1090 : UI Message Handler / Error Handler

- Modified enum to be enum class for clarification of the code.

- Added Message Interpreter

- Updated Message Builder to check CRC as a placeholder.

- Fixed Message Builder for messages with exactly 255 data length.

- Updated Message Builder methods scope for clarification of the code.

- Updated Message (Model) isComplete method.

- Updated Message Dispatcher to accept only command which has been defined for channel.

- Updated Message Dispatcher to remove the message from model when it has been transmitted.

  1. … 18 more files in changeset.
DEN-1090 : UI Message Handler / Error Handler

- Changed the datatype interface between Message Interface and from Byte Array to Variant List for different type of parameter support. Also it gives the flexibility to have a Message Interpreter as messaging interface level.

- Added basic classes for Message interface.

- Moved Gui Actions in Gui Globals for simplicity.

  1. … 18 more files in changeset.
DEN-1090 : UI Message Handler / Error Handler

- Added Message Dispatcher class basic empty class

- Renamed Message Partitioner to Message Builder

- Removed Message namespace from MessageGlobals

  1. … 9 more files in changeset.
DEN-1090 : UI Message Handler / Error Handler

- Add Message Partitioner to handle building and stripping can frames.

  1. … 6 more files in changeset.
DEN-1090 : UI Message Handler / Error Handler

- Adding multi message transmit capability.

- [only transmit for now]

  1. … 8 more files in changeset.
DEN-1090 : UI Message Handler / Error Handler

  1. … 9 more files in changeset.
DEN-1090 : UI Message Handler / Error Handler

  1. … 1 more file in changeset.
DEN-1090 : UI Message Handler / Error Handler

- Removed the :

. Command/Perform

. Request/Confirm

To :

. Receive

. Transmit

  1. … 13 more files in changeset.
DEN-1090 : UI Message Handler / Error Handler

- Implemented on read [Partial]

  1. … 1 more file in changeset.
DEN-1090 : UI Message Handler / Error Handler

- Message Handler Implementation

  1. … 13 more files in changeset.
Updated the Copyright with the current year and replaced tabs with 4 spaces

  1. … 52 more files in changeset.
DEN-704 +review UI-DEN-704_HomeScreen

- Made code ready for QtTest

- Commented out qDebugs for now to be removed from QtTest output

- cleaned up the code after running unit tests.

  1. … 16 more files in changeset.
DEN-608 : CAN Integration on UI

- Redesigned the code to be thread safe

- Implemented signal slots to connect all the classes from can to GUI and vice versa.

  1. … 25 more files in changeset.