Skip to content

Dynamically adding callbacks and or functionality? #497

Answered by sangelovic
Iuliean asked this question in Q&A
Discussion options

You must be logged in to vote

You can add and remove vtables of objects dynamically at runtime. That is safe and supported behavior. See addVTable() function in headers as well in the sdbus-c++ tutorial. This means you can add or remove interfaces of the object (each interface has one vtable), or change interface's vtable (by removing the old one and adding a new -- modified -- one for that given interface).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Iuliean
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