summaryrefslogtreecommitdiffstats
path: root/example/asio-example.cpp
diff options
context:
space:
mode:
authorAdriana Kobylak <anoo@us.ibm.com>2018-08-17 13:55:19 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-08-21 21:27:26 +0000
commit69425eb7d30816c03f88962c44b12b6de5b3cc71 (patch)
tree43b81342259cc37737ed630e203ab3cc306bb452 /example/asio-example.cpp
parent31a4b13701c2084bcf3ec19fde7be29808205ab4 (diff)
downloadsdbusplus-69425eb7d30816c03f88962c44b12b6de5b3cc71.tar.gz
sdbusplus-69425eb7d30816c03f88962c44b12b6de5b3cc71.zip
property: Add support for const (read-only) values
There is already support for setting a property as const (see vtable.hpp and corresponding test cases). Implement this in the generated code by adding support for a new yaml flag. Closes openbmc/openbmc#2028 Tested: Added the const flag to the Software Priority property, and changing the value via REST and busctl would fail with "org.freedesktop.DBus.Error.PropertyReadOnly", but the code update app was able to set its value. Change-Id: I8534753233080366503fd4f1a0c224c2946e8764 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Diffstat (limited to 'example/asio-example.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud