mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 16:55:36 +08:00
Decouple flightloop processing from DBus
There are needs to not only run DBus tasks, but also different generic tasks during the processing loop.
This commit is contained in:
committed by
Klaus Basan
parent
41ac858df8
commit
cfc9c3166e
@@ -35,9 +35,6 @@ namespace XSwiftBus
|
||||
//! \warning Before calling this method, make sure that a valid DBus connection was set.
|
||||
void registerDBusObjectPath(const std::string &interfaceName, const std::string &objectPath);
|
||||
|
||||
//! Process DBus messages. Needs to be implemented by deriving classes
|
||||
virtual int processDBus() = 0;
|
||||
|
||||
protected:
|
||||
//! DBus message handler
|
||||
virtual DBusHandlerResult dbusMessageHandler(const CDBusMessage &message) = 0;
|
||||
|
||||
Reference in New Issue
Block a user