usbwatcher.cpp

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Code Review Comments

- Dara also mentioned I need to have copyright at the beginning of the scripts.

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

  1. … 13 more files in changeset.
DEN-1714 : Implementation

- Added cppcheck output.

- Added Linux signal handler to quit the application gracefully.

- Added manual coco validation. // coco begin validated:

  1. … 25 more files in changeset.
DEN-1714 : Implementation

  1. … 10 more files in changeset.
DEN-1714 : Implementation

  1. … 30 more files in changeset.
DEN-1714 : Implementation

  1. … 18 more files in changeset.
DEN-1617 : Implementation - Alarm Logging and Acknowledgment

- Ooooooopppps !

- Forgot a not in some classes.

  1. … 4 more files in changeset.
DEN-1617 : Implementation - Alarm Logging and Acknowledgment

- Added threading to other classes (Application / Gui controller, ...) and restructured the threading to meed the Qt limitation.

- Documented the code

- Ran cppCheck again

- Cleaned the includes and using namespace (They have left after so many changes and some were useless.)

- Added _init flag for init methods so not to be able to call them twice.

- Added another init method with the thread parameter to be able to pass the thread of the class and also be able to use the class without any thread for unit tests.

- Created a Threads namespace to gather all the threads in one place.

- Update the unit tests as well. [to make it work with the new structure/threading.]

  1. … 35 more files in changeset.
DEN-1617 : Implementation - Alarm Logging and Acknowledgment

- Added Threading for :

. Can Frame

. Can Message

. USB Watcher

- Changed the File Handler implementation

- Changed the Singleton from pointer to static reference

// TODO :

- We still need to work on threading on other classes

- We need to have a singleton parent class

- Some code has been added to debug can interface (We still have swap frames)

- Thread Objects need to be gathered all together in one place to be handled easily.

  1. … 21 more files in changeset.
DEN-1617 : Implementation - Alarm Logging and Acknowledgment

- Added Threading structure for USBWatcher and FileHandler

  1. … 11 more files in changeset.
DEN-1617 : Implementation - Alarm Logging and Acknowledgment

- Alarm Logging has been added

- Some other changes has been done to the code and messaging.

- Acknowledgment is not done [ Had an agreement with Sean for design but needs more time and we need to do it all together.]

  1. … 36 more files in changeset.