diff options
author | Aleksandar Donchev <Aleksandar.Donchev@telemotive.de> | 2017-02-10 11:12:42 +0100 |
---|---|---|
committer | Christian Linke <christian.linke@bmw.de> | 2017-02-20 08:49:44 -0800 |
commit | b616ca1e864f7530b9dfce4c38f9d24a9f0809c9 (patch) | |
tree | 5ae3ea6b3de0be38ecbe41e221beccefe64b9629 /AudioManagerCore/include/CAmRouter.h | |
parent | 728b43a9289716e62871e21d58c33595e091eef8 (diff) | |
download | audiomanager-b616ca1e864f7530b9dfce4c38f9d24a9f0809c9.tar.gz |
* many database observers can be registred now by the database handler.
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Diffstat (limited to 'AudioManagerCore/include/CAmRouter.h')
-rw-r--r-- | AudioManagerCore/include/CAmRouter.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/AudioManagerCore/include/CAmRouter.h b/AudioManagerCore/include/CAmRouter.h index 1242824..7543abc 100644 --- a/AudioManagerCore/include/CAmRouter.h +++ b/AudioManagerCore/include/CAmRouter.h @@ -31,7 +31,7 @@ #include <functional> #include "audiomanagertypes.h" #include "CAmGraph.h" -#include "IAmDatabaseHandler.h" +#include "CAmDatabaseHandlerMap.h" namespace am @@ -151,7 +151,7 @@ class CAmControlSender; /** * Implements an autorouting algorithm for connecting sinks and sources via different audio domains. */ -class CAmRouter +class CAmRouter: public CAmDatabaseHandlerMap::AmDatabaseObserverCallbacks { IAmDatabaseHandler* mpDatabaseHandler; //!< pointer to database handler CAmControlSender* mpControlSender; //!< pointer the controlsender - is used to retrieve information for the optimal route @@ -281,7 +281,7 @@ public: /** * Find the shortest path between given source and sink. This method should be called only after 'load' has been called. - * This method do not pay attention on the parameter mMaxAllowedCycles and go through all possible paths. + * This method do not pay attention on the parameter mMaxAllowedCycles and goes through all possible paths. * * @param source start point. * @param sink end point. |