2 * This file was generated by the CommonAPI Generators.
3 * Used org.genivi.commonapi.core 2.1.5.qualifier.
4 * Used org.franca.core 0.8.10.201309262002.
6 * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
7 * If a copy of the MPL was not distributed with this file, You can obtain one at
8 * http://mozilla.org/MPL/2.0/.
10 #include "ExtendedInterfaceDBusProxy.h"
15 std::shared_ptr<CommonAPI::DBus::DBusProxy> createExtendedInterfaceDBusProxy(
16 const std::shared_ptr<CommonAPI::DBus::DBusFactory>& factory,
17 const std::string& commonApiAddress,
18 const std::string& interfaceName,
19 const std::string& busName,
20 const std::string& objectPath,
21 const std::shared_ptr<CommonAPI::DBus::DBusProxyConnection>& dbusProxyConnection) {
22 return std::make_shared<ExtendedInterfaceDBusProxy>(factory, commonApiAddress, interfaceName, busName, objectPath, dbusProxyConnection);
25 __attribute__((constructor)) void registerExtendedInterfaceDBusProxy(void) {
26 CommonAPI::DBus::DBusFactory::registerProxyFactoryMethod(ExtendedInterface::getInterfaceId(),
27 &createExtendedInterfaceDBusProxy);
30 ExtendedInterfaceDBusProxy::ExtendedInterfaceDBusProxy(
31 const std::shared_ptr<CommonAPI::DBus::DBusFactory>& factory,
32 const std::string& commonApiAddress,
33 const std::string& interfaceName,
34 const std::string& busName,
35 const std::string& objectPath,
36 const std::shared_ptr<CommonAPI::DBus::DBusProxyConnection>& dbusProxyconnection):
37 TestInterfaceDBusProxy(
44 CommonAPI::DBus::DBusProxy(factory, commonApiAddress, interfaceName, busName, objectPath, dbusProxyconnection)
50 void ExtendedInterfaceDBusProxy::TestIntMethodExtended(const uint32_t& inInt, CommonAPI::CallStatus& callStatus) {
51 CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<uint32_t>,
52 CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
54 "TestIntMethodExtended",
60 std::future<CommonAPI::CallStatus> ExtendedInterfaceDBusProxy::TestIntMethodExtendedAsync(const uint32_t& inInt, TestIntMethodExtendedAsyncCallback callback) {
61 return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<uint32_t>,
62 CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
64 "TestIntMethodExtended",
72 void ExtendedInterfaceDBusProxy::getOwnVersion(uint16_t& ownVersionMajor, uint16_t& ownVersionMinor) const {
78 } // namespace commonapi