I have been accessing exposed member functions, corresponding to an object exposed over D-Bus. Is there any way by which I can access the (public)data members as well ? If so, how?
Also I read here-
[ http://www.qtcentre.org/archive/index.php/t-24238.html ]
that it is not possible to pass pointers over D-Bus. Just wanted to confirm the same.
Whether you can access the data members of the object depends on whether they are declared
publicorprivate. Look at the class (or struct) definition in the header file. This is true independent of the fact that the class maps to something on the D-Bus, though it is hypothetically possible that the class is written incorrectly and allows you to do something that the D-Bus doesn’t support, in which case I can’t know from the information provided what will happen.I judge it probable that the class is written correctly and will prevent you from attempting the impossible.