From: Theodore A. R. <ta...@gm...> - 2010-12-03 23:23:16
|
I've been trying to figure out how to register a timeout callback with the dispatcher so that my callback function will be invoked periodically by the dispatcher main loop. The BusDispatcher::add_timeout() method seems to take an internal timeout object as an argument which leads me to believe that I can't use that. I'm still in the learning dbus-c++ phase and my app is a rather simple server based on the echo demo, but I've stripped it down to only a Hello method and a single signal. My goal is to invoked the signal in the timeout. None of the examples in the source repo show how to do what I what, and google hasn't been too helpful. If someone has a link to an example of this, I would be most appreciative. Thanks. Ted Roth |