summaryrefslogtreecommitdiffstats
path: root/dbus/dbuswrite.hpp
Commit message (Collapse)AuthorAgeFilesLines
* Consolidate all util.hppJames Feist2019-05-081-1/+1
| | | | | | | | This deletes all lower level util.hpp and cats them into the top level util.hpp to avoid name conflicts. Change-Id: Ia11e4a08053a3970b0aadf21d1156ab26def36bd Signed-off-by: James Feist <james.feist@linux.intel.com>
* dbus: dbuswrite: use factory to catch errorsPatrick Venture2018-10-301-12/+13
| | | | | | | | Add factories for creating DbusWrite and DbusWritePercent objects and use these factories. Change-Id: Iad222d4bf6c1fdf561daa4ba9d88a6644c0a5965 Signed-off-by: Patrick Venture <venture@google.com>
* dbus: util: add missing try/catch blockPatrick Venture2018-10-301-0/+2
| | | | | | | Add try/catch block around ObjectMapper call failures. Change-Id: I5a2a7a8c1049ea16cebe8b87a509bf5104e432ab Signed-off-by: Patrick Venture <venture@google.com>
* style: member functions should be lower camelPatrick Venture2018-10-301-2/+2
| | | | | | | Rename member functions to be lower camel instead of snake case. Change-Id: Ib227fd3dadb6d9607290277205223a4324cd4ce5 Signed-off-by: Patrick Venture <venture@google.com>
* [dbus-writer] limit d-bus trafficJames Feist2018-10-081-0/+2
| | | | | | | | | | | Limit d-bus traffic by only sending updates, instead of every value. Tested-by: used d-bus monitor and noticed significantly reduced messages. Change-Id: Ie677feaedab4e9ebb14950392b9588d4d82c0058 Signed-off-by: James Feist <james.feist@linux.intel.com>
* clang-format: fix pointer alignment, sort usingPatrick Venture2018-09-041-5/+5
| | | | | Change-Id: Id433d0ecc10c62807594b3a637e591045223faa6 Signed-off-by: Patrick Venture <venture@google.com>
* add .clang-formatPatrick Venture2018-08-311-3/+3
| | | | | Change-Id: I6627b5569c2e0f730be7331403218b823a2c622f Signed-off-by: Patrick Venture <venture@google.com>
* Add ability to configure from dbusJames Feist2018-07-231-0/+63
This allows configuration of PID control from dbus using entity manager. Sample configuration will be pushed to entity-manager repo shortly. Tested-by: Used yaml configuration and dbus / entity-manager based configuration and pid seemed to work the same. Verified printout of configuration matched generated cpp files. Change-Id: Ia7b016e53262791ffcccdb9b21c1ccddae2926bc Signed-off-by: James Feist <james.feist@linux.intel.com>
OpenPOWER on IntegriCloud