Wip/9838 error reporting concept (#73)
* concept for error reporting to set_error
- destination is DOOCS EqFct::set_error(code, message)
- StatusMonitor variables and/or Device status variables as input
- configuration per location via xml
- only single data source for set_error
- consistent updates of error code and error message, to remove
duplicate log lines
this depends on changes in ApplicationCore/DeviceModule!
* remove deprecated use of boost/test/test_case_template.hpp
* make configuration of status message input unneccesary
it will be found from the naming convention
* some refactoring
which was neccesary because Status definitions moved to
ControlSystemAdapter
* add docu for set_error
* add basic test for set_error tag
Co-authored-by:
Dietrich Rothe <dietrich.rothe@desy.de>
Showing
- doc/mainpage.dox 12 additions, 2 deletionsdoc/mainpage.dox
- include/CSAdapterEqFct.h 6 additions, 7 deletionsinclude/CSAdapterEqFct.h
- include/PropertyDescription.h 7 additions, 0 deletionsinclude/PropertyDescription.h
- include/StatusHandler.h 37 additions, 0 deletionsinclude/StatusHandler.h
- include/VariableMapper.h 5 additions, 0 deletionsinclude/VariableMapper.h
- src/CSAdapterEqFct.cc 17 additions, 0 deletionssrc/CSAdapterEqFct.cc
- src/StatusHandler.cc 65 additions, 0 deletionssrc/StatusHandler.cc
- src/VariableMapper.cc 21 additions, 0 deletionssrc/VariableMapper.cc
- tests/serverTestSetError-DoocsVariableConfig.xml 9 additions, 0 deletionstests/serverTestSetError-DoocsVariableConfig.xml
- tests/serverTestSetError.conf 17 additions, 0 deletionstests/serverTestSetError.conf
- tests/src/serverTestSetError.cpp 49 additions, 0 deletionstests/src/serverTestSetError.cpp
- tests/src/testDoocsPVFactory.cpp 1 addition, 1 deletiontests/src/testDoocsPVFactory.cpp
- tests/src/testDoocsProcessScalar.cpp 1 addition, 1 deletiontests/src/testDoocsProcessScalar.cpp
- tests/src/testDoocsSpectrum.cpp 1 addition, 1 deletiontests/src/testDoocsSpectrum.cpp
Loading
Please register or sign in to comment