/* * This file was generated by the CommonAPI Generators. * * This file was generated by the CommonAPI Generators. * * This file was generated by the CommonAPI Generators. * * Copyright (C) 2012, BMW AG * * This file is part of GENIVI Project AudioManager. * * Contributions are licensed to the GENIVI Alliance under one or more * Contribution License Agreements. * * \copyright * This Source Code Form is subject to the terms of the * Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with * this file, You can obtain one at http://mozilla.org/MPL/2.0/. * * * \author Aleksandar Donchev, aleksander.donchev@partner.bmw.de BMW 2013 * \author Christian Linke christian.linke@bmw.de BMW 2013 * * For further information see http://www.genivi.org/. */ #include "RoutingControlDBusStubAdapter.h" #include namespace org { namespace genivi { namespace am { std::shared_ptr createRoutingControlDBusStubAdapter( const std::string& commonApiAddress, const std::string& interfaceName, const std::string& busName, const std::string& objectPath, const std::shared_ptr& dbusProxyConnection, const std::shared_ptr& stubBase) { return std::make_shared(commonApiAddress, interfaceName, busName, objectPath, dbusProxyConnection, stubBase); } __attribute__((constructor)) void registerRoutingControlDBusStubAdapter(void) { CommonAPI::DBus::DBusFactory::registerAdapterFactoryMethod(RoutingControl::getInterfaceId(), &createRoutingControlDBusStubAdapter); } RoutingControlDBusStubAdapter::RoutingControlDBusStubAdapter( const std::string& commonApiAddress, const std::string& dbusInterfaceName, const std::string& dbusBusName, const std::string& dbusObjectPath, const std::shared_ptr& dbusConnection, const std::shared_ptr& stub): RoutingControlDBusStubAdapterHelper(commonApiAddress, dbusInterfaceName, dbusBusName, dbusObjectPath, dbusConnection, std::dynamic_pointer_cast(stub)) { } const char* RoutingControlDBusStubAdapter::getMethodsDBusIntrospectionXmlData() const { return "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" ; } static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher< RoutingControlStub, std::tuple, std::tuple<> > asyncAbortStubDispatcher(&RoutingControlStub::asyncAbort, ""); static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher< RoutingControlStub, std::tuple, std::tuple<> > asyncConnectStubDispatcher(&RoutingControlStub::asyncConnect, ""); static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher< RoutingControlStub, std::tuple, std::tuple<> > asyncDisconnectStubDispatcher(&RoutingControlStub::asyncDisconnect, ""); static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher< RoutingControlStub, std::tuple, std::tuple<> > asyncSetSinkVolumeStubDispatcher(&RoutingControlStub::asyncSetSinkVolume, ""); static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher< RoutingControlStub, std::tuple, std::tuple<> > asyncSetSourceVolumeStubDispatcher(&RoutingControlStub::asyncSetSourceVolume, ""); static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher< RoutingControlStub, std::tuple, std::tuple<> > asyncSetSourceStateStubDispatcher(&RoutingControlStub::asyncSetSourceState, ""); static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher< RoutingControlStub, std::tuple, std::tuple<> > asyncSetSinkSoundPropertiesStubDispatcher(&RoutingControlStub::asyncSetSinkSoundProperties, ""); static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher< RoutingControlStub, std::tuple, std::tuple<> > asyncSetSinkSoundPropertyStubDispatcher(&RoutingControlStub::asyncSetSinkSoundProperty, ""); static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher< RoutingControlStub, std::tuple, std::tuple<> > asyncSetSourceSoundPropertiesStubDispatcher(&RoutingControlStub::asyncSetSourceSoundProperties, ""); static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher< RoutingControlStub, std::tuple, std::tuple<> > asyncSetSourceSoundPropertyStubDispatcher(&RoutingControlStub::asyncSetSourceSoundProperty, ""); static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher< RoutingControlStub, std::tuple, std::tuple<> > asyncCrossFadeStubDispatcher(&RoutingControlStub::asyncCrossFade, ""); static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher< RoutingControlStub, std::tuple, std::tuple > setDomainStateStubDispatcher(&RoutingControlStub::setDomainState, "i"); static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher< RoutingControlStub, std::tuple, std::tuple<> > asyncSetVolumesStubDispatcher(&RoutingControlStub::asyncSetVolumes, ""); static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher< RoutingControlStub, std::tuple, std::tuple<> > asyncSetSinkNotificationConfigurationStubDispatcher(&RoutingControlStub::asyncSetSinkNotificationConfiguration, ""); static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher< RoutingControlStub, std::tuple, std::tuple<> > asyncSetSourceNotificationConfigurationStubDispatcher(&RoutingControlStub::asyncSetSourceNotificationConfiguration, ""); } // namespace am } // namespace genivi } // namespace org template<> const org::genivi::am::RoutingControlDBusStubAdapterHelper::StubDispatcherTable org::genivi::am::RoutingControlDBusStubAdapterHelper::stubDispatcherTable_ = { { { "asyncAbort", "(iq)" }, &org::genivi::am::asyncAbortStubDispatcher }, { { "asyncConnect", "(iq)qqqq" }, &org::genivi::am::asyncConnectStubDispatcher }, { { "asyncDisconnect", "(iq)q" }, &org::genivi::am::asyncDisconnectStubDispatcher }, { { "asyncSetSinkVolume", "(iq)qnqn" }, &org::genivi::am::asyncSetSinkVolumeStubDispatcher }, { { "asyncSetSourceVolume", "(iq)qnqn" }, &org::genivi::am::asyncSetSourceVolumeStubDispatcher }, { { "asyncSetSourceState", "(iq)qi" }, &org::genivi::am::asyncSetSourceStateStubDispatcher }, { { "asyncSetSinkSoundProperties", "(iq)qa(qn)" }, &org::genivi::am::asyncSetSinkSoundPropertiesStubDispatcher }, { { "asyncSetSinkSoundProperty", "(iq)q(qn)" }, &org::genivi::am::asyncSetSinkSoundPropertyStubDispatcher }, { { "asyncSetSourceSoundProperties", "(iq)qa(qn)" }, &org::genivi::am::asyncSetSourceSoundPropertiesStubDispatcher }, { { "asyncSetSourceSoundProperty", "(iq)q(qn)" }, &org::genivi::am::asyncSetSourceSoundPropertyStubDispatcher }, { { "asyncCrossFade", "(iq)qiqn" }, &org::genivi::am::asyncCrossFadeStubDispatcher }, { { "setDomainState", "qi" }, &org::genivi::am::setDomainStateStubDispatcher }, { { "asyncSetVolumes", "(iq)a(i(yv)nqn)" }, &org::genivi::am::asyncSetVolumesStubDispatcher }, { { "asyncSetSinkNotificationConfiguration", "(iq)q(qin)" }, &org::genivi::am::asyncSetSinkNotificationConfigurationStubDispatcher }, { { "asyncSetSourceNotificationConfiguration", "(iq)q(qin)" }, &org::genivi::am::asyncSetSourceNotificationConfigurationStubDispatcher } };