From db8583483517265e9d6b0fdb3add2cad2cdbcca9 Mon Sep 17 00:00:00 2001 From: Christian Linke Date: Mon, 9 Sep 2013 18:40:19 +0200 Subject: * some naming adoptions & review for GENIVI Signed-off-by: Christian Linke --- .../genivi/am/RoutingControlDBusStubAdapter.cpp | 225 +++++++++++++++++++++ 1 file changed, 225 insertions(+) create mode 100644 PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlDBusStubAdapter.cpp (limited to 'PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlDBusStubAdapter.cpp') diff --git a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlDBusStubAdapter.cpp b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlDBusStubAdapter.cpp new file mode 100644 index 0000000..fe14623 --- /dev/null +++ b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlDBusStubAdapter.cpp @@ -0,0 +1,225 @@ +/* +* This file was generated by the CommonAPI Generators. +* + * Copyright (C) 2013, BMW AG + * + * \author Christian Linke, christian.linke@bmw.de BMW 2012,2013 +*/ +#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 } +}; -- cgit v1.2.1