From aa93713377d28a8ce7821466ef828f79a18e982d Mon Sep 17 00:00:00 2001 From: christian mueller Date: Mon, 27 Feb 2012 10:11:08 +0100 Subject: * [GAM-4] updated interfaces * shifted mainpage doxygen from EA generated to mainpage.h * added logo to doxygen documentation * fixed compile bug in cmakelists when no plugins are build * [ GAM-23 ]fixed plugin version recognition in cmake * first working CAmSerializer with DatabaseObserver --- PluginRoutingInterfaceAsync/src/RoutingSenderAsync.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'PluginRoutingInterfaceAsync/src/RoutingSenderAsync.cpp') diff --git a/PluginRoutingInterfaceAsync/src/RoutingSenderAsync.cpp b/PluginRoutingInterfaceAsync/src/RoutingSenderAsync.cpp index 4993f76..1a1ee70 100644 --- a/PluginRoutingInterfaceAsync/src/RoutingSenderAsync.cpp +++ b/PluginRoutingInterfaceAsync/src/RoutingSenderAsync.cpp @@ -278,7 +278,7 @@ AsyncRoutingSender::~AsyncRoutingSender() { } -void AsyncRoutingSender::startupRoutingInterface(RoutingReceiveInterface *routingreceiveinterface) +am_Error_e AsyncRoutingSender::startupInterface(RoutingReceiveInterface *routingreceiveinterface) { //first, create the Shadow: assert(routingreceiveinterface!=0); @@ -286,8 +286,9 @@ void AsyncRoutingSender::startupRoutingInterface(RoutingReceiveInterface *routin mShadow.setRoutingInterface(routingreceiveinterface); } -void AsyncRoutingSender::routingInterfacesReady() +void AsyncRoutingSender::setRoutingReady(const uint16_t handle) { + //todo: implement handle ! assert(mReceiveInterface!=0); am_Error_e eCode; //first register the domains @@ -348,7 +349,7 @@ void AsyncRoutingSender::routingInterfacesReady() //pthread_create(&mInterruptThread,NULL,&AsyncRoutingSender::InterruptEvents,&mShadow); } -void AsyncRoutingSender::routingInterfacesRundown() +void AsyncRoutingSender::setRoutingRundown(const uint16_t handle) { assert(mReceiveInterface!=0); } @@ -952,9 +953,9 @@ void am::AsyncRoutingSender::updateDomainstateSafe(am_domainID_t domainID, am_Do pthread_mutex_unlock(&mDomainsMutex); } -uint16_t AsyncRoutingSender::getInterfaceVersion() const +void AsyncRoutingSender::getInterfaceVersion(std::string & version) const { - return (RoutingSendVersion); + version = RoutingSendVersion; } am_Error_e AsyncRoutingSender::asyncSetSourceSoundProperties(const am_Handle_s handle, const am_sourceID_t sourceID, const std::vector & listSoundProperties) -- cgit v1.2.1