diff options
author | christian mueller <christian.ei.mueller@bmw.de> | 2011-12-28 15:55:32 +0100 |
---|---|---|
committer | christian mueller <christian.ei.mueller@bmw.de> | 2011-12-29 15:43:02 +0100 |
commit | b7e748007bbe0b16fa8a8a089c6cc8fe43bc7aac (patch) | |
tree | e93f5912113ad4d611944648d7f9746e009a0d9b /AudioManagerDaemon/src/RoutingSender.cpp | |
parent | 6b583365d1f0f5c7ff613ecfc323c4d1eba1699d (diff) | |
download | audiomanager-b7e748007bbe0b16fa8a8a089c6cc8fe43bc7aac.tar.gz |
* assert on empty busname (routinginterface)ver-0.0.1
* added busname for DbusroutingSender
* rework of sockethandlertests
* small changes on compilerflags
* new default error messages on dummy controller plugin
* new plugin Asynchronous including tests
Diffstat (limited to 'AudioManagerDaemon/src/RoutingSender.cpp')
-rw-r--r-- | AudioManagerDaemon/src/RoutingSender.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/AudioManagerDaemon/src/RoutingSender.cpp b/AudioManagerDaemon/src/RoutingSender.cpp index a6de266..3b5bdad 100644 --- a/AudioManagerDaemon/src/RoutingSender.cpp +++ b/AudioManagerDaemon/src/RoutingSender.cpp @@ -27,6 +27,7 @@ #include <dirent.h> #include <dlfcn.h> #include <dlt/dlt.h> +#include <assert.h> #include "PluginTemplate.h" using namespace am; @@ -123,6 +124,7 @@ RoutingSender::RoutingSender(const std::vector<std::string>& listOfPluginDirecto //here, the busname is saved together with the interface. Later The domains will register with the name and sinks, sources etc with the domain.... router->returnBusName(routerInterface.busName); + assert(!routerInterface.busName.empty()); mListInterfaces.push_back(routerInterface); mListLibraryHandles.push_back(tempLibHandle); } |