Skip to content

Emits-Change flag on property #249

Answered by Oxymoron79
fwilmsh asked this question in Q&A
Discussion options

You must be logged in to vote

There is a small section about the usage of DBus Standard Interfaces in the documentation: https://github.com/Kistler-Group/sdbus-cpp/blob/master/docs/using-sdbus-c%2B%2B.md#standard-d-bus-interfaces

The short summary for properties interface is: In your adaptor implementation, you need to add the sdbus::Properties_adaptor to the template parameters of sdbus::AdaptorInterfaces. This adds the emitPropertiesChangedSignal method to your adaptor that you can call to emit the signal on the org.freedesktop.DBus.Properties interface.

I hope that helps.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fwilmsh
Comment options

Answer selected by fwilmsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants