/* * This file was generated by the CommonAPI Generators. * Used org.genivi.commonapi.core 3.1.2.v201507021046. * Used org.franca.core 0.9.1.201412191134. * * 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/. */ #include namespace v1_0 { namespace commonapi { namespace tests { std::shared_ptr createTestInterfaceDBusProxy( const CommonAPI::DBus::DBusAddress &_address, const std::shared_ptr &_connection) { return std::make_shared(_address, _connection); } INITIALIZER(registerTestInterfaceDBusProxy) { CommonAPI::DBus::Factory::get()->registerProxyCreateMethod( TestInterface::getInterface(), &createTestInterfaceDBusProxy); } TestInterfaceDBusProxy::TestInterfaceDBusProxy( const CommonAPI::DBus::DBusAddress &_address, const std::shared_ptr &_connection) : CommonAPI::DBus::DBusProxy(_address, _connection) , testPredefinedTypeAttribute_(*this, "onTestPredefinedTypeAttributeAttributeChanged", "setTestPredefinedTypeAttributeAttribute", "u", "getTestPredefinedTypeAttributeAttribute", static_cast(nullptr)), testDerivedStructAttribute_(*this, "onTestDerivedStructAttributeAttributeChanged", "setTestDerivedStructAttributeAttribute", "(sqi)", "getTestDerivedStructAttributeAttribute", static_cast<::commonapi::tests::DerivedTypeCollection_::TestStructExtendedDeployment_t*>(nullptr)), testDerivedArrayAttribute_(*this, "onTestDerivedArrayAttributeAttributeChanged", "setTestDerivedArrayAttributeAttribute", "at", "getTestDerivedArrayAttributeAttribute", static_cast<::commonapi::tests::DerivedTypeCollection_::TestArrayUInt64Deployment_t*>(nullptr)) , testPredefinedTypeBroadcast_(*this, "TestPredefinedTypeBroadcast", "us", std::make_tuple(static_cast(nullptr), static_cast(nullptr))), testSelectiveBroadcastSelective_(*this, "TestSelectiveBroadcast", "", std::make_tuple()), testBroadcastWithOutArgsSelective_(*this, "TestBroadcastWithOutArgs", "us", std::make_tuple(static_cast(nullptr), static_cast(nullptr))) { } TestInterfaceDBusProxy::TestPredefinedTypeAttributeAttribute& TestInterfaceDBusProxy::getTestPredefinedTypeAttributeAttribute() { return testPredefinedTypeAttribute_; } TestInterfaceDBusProxy::TestDerivedStructAttributeAttribute& TestInterfaceDBusProxy::getTestDerivedStructAttributeAttribute() { return testDerivedStructAttribute_; } TestInterfaceDBusProxy::TestDerivedArrayAttributeAttribute& TestInterfaceDBusProxy::getTestDerivedArrayAttributeAttribute() { return testDerivedArrayAttribute_; } TestInterfaceDBusProxy::TestPredefinedTypeBroadcastEvent& TestInterfaceDBusProxy::getTestPredefinedTypeBroadcastEvent() { return testPredefinedTypeBroadcast_; } TestInterfaceDBusProxy::TestSelectiveBroadcastSelectiveEvent& TestInterfaceDBusProxy::getTestSelectiveBroadcastSelectiveEvent() { return testSelectiveBroadcastSelective_; } TestInterfaceDBusProxy::TestBroadcastWithOutArgsSelectiveEvent& TestInterfaceDBusProxy::getTestBroadcastWithOutArgsSelectiveEvent() { return testBroadcastWithOutArgsSelective_; } void TestInterfaceDBusProxy::testEmptyMethod(CommonAPI::CallStatus &_internalCallStatus, const CommonAPI::CallInfo *_info) { CommonAPI::DBus::DBusProxyHelper< CommonAPI::DBus::DBusSerializableArguments< >, CommonAPI::DBus::DBusSerializableArguments< > >::callMethodWithReply( *this, "testEmptyMethod", "", (_info ? _info : &CommonAPI::DBus::defaultCallInfo), _internalCallStatus); } std::future TestInterfaceDBusProxy::testEmptyMethodAsync(TestEmptyMethodAsyncCallback _callback, const CommonAPI::CallInfo *_info) { return CommonAPI::DBus::DBusProxyHelper< CommonAPI::DBus::DBusSerializableArguments< >, CommonAPI::DBus::DBusSerializableArguments< > >::callMethodAsync( *this, "testEmptyMethod", "", (_info ? _info : &CommonAPI::DBus::defaultCallInfo), [_callback] (CommonAPI::CallStatus _status) { _callback(_status); }, std::make_tuple()); } void TestInterfaceDBusProxy::testVoidPredefinedTypeMethod(const uint32_t &_uint32Value, const std::string &_stringValue, CommonAPI::CallStatus &_internalCallStatus, const CommonAPI::CallInfo *_info) { CommonAPI::Deployable deploy_uint32Value(_uint32Value, static_cast(nullptr)); CommonAPI::Deployable deploy_stringValue(_stringValue, static_cast(nullptr)); CommonAPI::DBus::DBusProxyHelper< CommonAPI::DBus::DBusSerializableArguments< CommonAPI::Deployable, CommonAPI::Deployable >, CommonAPI::DBus::DBusSerializableArguments< > >::callMethodWithReply( *this, "testVoidPredefinedTypeMethod", "us", (_info ? _info : &CommonAPI::DBus::defaultCallInfo), deploy_uint32Value, deploy_stringValue, _internalCallStatus); } std::future TestInterfaceDBusProxy::testVoidPredefinedTypeMethodAsync(const uint32_t &_uint32Value, const std::string &_stringValue, TestVoidPredefinedTypeMethodAsyncCallback _callback, const CommonAPI::CallInfo *_info) { CommonAPI::Deployable deploy_uint32Value(_uint32Value, static_cast(nullptr)); CommonAPI::Deployable deploy_stringValue(_stringValue, static_cast(nullptr)); return CommonAPI::DBus::DBusProxyHelper< CommonAPI::DBus::DBusSerializableArguments< CommonAPI::Deployable, CommonAPI::Deployable >, CommonAPI::DBus::DBusSerializableArguments< > >::callMethodAsync( *this, "testVoidPredefinedTypeMethod", "us", (_info ? _info : &CommonAPI::DBus::defaultCallInfo), deploy_uint32Value, deploy_stringValue, [_callback] (CommonAPI::CallStatus _status) { _callback(_status); }, std::make_tuple()); } void TestInterfaceDBusProxy::testPredefinedTypeMethod(const uint32_t &_uint32InValue, const std::string &_stringInValue, CommonAPI::CallStatus &_internalCallStatus, uint32_t &_uint32OutValue, std::string &_stringOutValue, const CommonAPI::CallInfo *_info) { CommonAPI::Deployable deploy_uint32InValue(_uint32InValue, static_cast(nullptr)); CommonAPI::Deployable deploy_stringInValue(_stringInValue, static_cast(nullptr)); CommonAPI::Deployable deploy_uint32OutValue(static_cast(nullptr)); CommonAPI::Deployable deploy_stringOutValue(static_cast(nullptr)); CommonAPI::DBus::DBusProxyHelper< CommonAPI::DBus::DBusSerializableArguments< CommonAPI::Deployable, CommonAPI::Deployable >, CommonAPI::DBus::DBusSerializableArguments< CommonAPI::Deployable, CommonAPI::Deployable > >::callMethodWithReply( *this, "testPredefinedTypeMethod", "us", (_info ? _info : &CommonAPI::DBus::defaultCallInfo), deploy_uint32InValue, deploy_stringInValue, _internalCallStatus, deploy_uint32OutValue, deploy_stringOutValue); _uint32OutValue = deploy_uint32OutValue.getValue(); _stringOutValue = deploy_stringOutValue.getValue(); } std::future TestInterfaceDBusProxy::testPredefinedTypeMethodAsync(const uint32_t &_uint32InValue, const std::string &_stringInValue, TestPredefinedTypeMethodAsyncCallback _callback, const CommonAPI::CallInfo *_info) { CommonAPI::Deployable deploy_uint32InValue(_uint32InValue, static_cast(nullptr)); CommonAPI::Deployable deploy_stringInValue(_stringInValue, static_cast(nullptr)); CommonAPI::Deployable deploy_uint32OutValue(static_cast(nullptr)); CommonAPI::Deployable deploy_stringOutValue(static_cast(nullptr)); return CommonAPI::DBus::DBusProxyHelper< CommonAPI::DBus::DBusSerializableArguments< CommonAPI::Deployable, CommonAPI::Deployable >, CommonAPI::DBus::DBusSerializableArguments< CommonAPI::Deployable, CommonAPI::Deployable > >::callMethodAsync( *this, "testPredefinedTypeMethod", "us", (_info ? _info : &CommonAPI::DBus::defaultCallInfo), deploy_uint32InValue, deploy_stringInValue, [_callback] (CommonAPI::CallStatus _status, CommonAPI::Deployable _uint32OutValue, CommonAPI::Deployable _stringOutValue) { _callback(_status, _uint32OutValue.getValue(), _stringOutValue.getValue()); }, std::make_tuple(deploy_uint32OutValue, deploy_stringOutValue)); } void TestInterfaceDBusProxy::testVoidDerivedTypeMethod(const ::commonapi::tests::DerivedTypeCollection::TestEnumExtended2 &_testEnumExtended2Value, const ::commonapi::tests::DerivedTypeCollection::TestMap &_testMapValue, CommonAPI::CallStatus &_internalCallStatus, const CommonAPI::CallInfo *_info) { CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::TestEnumExtended2, CommonAPI::EmptyDeployment> deploy_testEnumExtended2Value(_testEnumExtended2Value, static_cast(nullptr)); CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::TestMap, ::commonapi::tests::DerivedTypeCollection_::TestMapDeployment_t> deploy_testMapValue(_testMapValue, static_cast<::commonapi::tests::DerivedTypeCollection_::TestMapDeployment_t*>(nullptr)); CommonAPI::DBus::DBusProxyHelper< CommonAPI::DBus::DBusSerializableArguments< CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::TestEnumExtended2, CommonAPI::EmptyDeployment >, CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::TestMap, ::commonapi::tests::DerivedTypeCollection_::TestMapDeployment_t > >, CommonAPI::DBus::DBusSerializableArguments< > >::callMethodWithReply( *this, "testVoidDerivedTypeMethod", "ia{ua(sq)}", (_info ? _info : &CommonAPI::DBus::defaultCallInfo), deploy_testEnumExtended2Value, deploy_testMapValue, _internalCallStatus); } std::future TestInterfaceDBusProxy::testVoidDerivedTypeMethodAsync(const ::commonapi::tests::DerivedTypeCollection::TestEnumExtended2 &_testEnumExtended2Value, const ::commonapi::tests::DerivedTypeCollection::TestMap &_testMapValue, TestVoidDerivedTypeMethodAsyncCallback _callback, const CommonAPI::CallInfo *_info) { CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::TestEnumExtended2, CommonAPI::EmptyDeployment> deploy_testEnumExtended2Value(_testEnumExtended2Value, static_cast(nullptr)); CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::TestMap, ::commonapi::tests::DerivedTypeCollection_::TestMapDeployment_t> deploy_testMapValue(_testMapValue, static_cast<::commonapi::tests::DerivedTypeCollection_::TestMapDeployment_t*>(nullptr)); return CommonAPI::DBus::DBusProxyHelper< CommonAPI::DBus::DBusSerializableArguments< CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::TestEnumExtended2, CommonAPI::EmptyDeployment >, CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::TestMap, ::commonapi::tests::DerivedTypeCollection_::TestMapDeployment_t > >, CommonAPI::DBus::DBusSerializableArguments< > >::callMethodAsync( *this, "testVoidDerivedTypeMethod", "ia{ua(sq)}", (_info ? _info : &CommonAPI::DBus::defaultCallInfo), deploy_testEnumExtended2Value, deploy_testMapValue, [_callback] (CommonAPI::CallStatus _status) { _callback(_status); }, std::make_tuple()); } void TestInterfaceDBusProxy::testDerivedTypeMethod(const ::commonapi::tests::DerivedTypeCollection::TestEnumExtended2 &_testEnumExtended2InValue, const ::commonapi::tests::DerivedTypeCollection::TestMap &_testMapInValue, CommonAPI::CallStatus &_internalCallStatus, ::commonapi::tests::DerivedTypeCollection::TestEnumExtended2 &_testEnumExtended2OutValue, ::commonapi::tests::DerivedTypeCollection::TestMap &_testMapOutValue, const CommonAPI::CallInfo *_info) { CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::TestEnumExtended2, CommonAPI::EmptyDeployment> deploy_testEnumExtended2InValue(_testEnumExtended2InValue, static_cast(nullptr)); CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::TestMap, ::commonapi::tests::DerivedTypeCollection_::TestMapDeployment_t> deploy_testMapInValue(_testMapInValue, static_cast<::commonapi::tests::DerivedTypeCollection_::TestMapDeployment_t*>(nullptr)); CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::TestEnumExtended2, CommonAPI::EmptyDeployment> deploy_testEnumExtended2OutValue(static_cast(nullptr)); CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::TestMap, ::commonapi::tests::DerivedTypeCollection_::TestMapDeployment_t> deploy_testMapOutValue(static_cast<::commonapi::tests::DerivedTypeCollection_::TestMapDeployment_t*>(nullptr)); CommonAPI::DBus::DBusProxyHelper< CommonAPI::DBus::DBusSerializableArguments< CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::TestEnumExtended2, CommonAPI::EmptyDeployment >, CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::TestMap, ::commonapi::tests::DerivedTypeCollection_::TestMapDeployment_t > >, CommonAPI::DBus::DBusSerializableArguments< CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::TestEnumExtended2,CommonAPI::EmptyDeployment>, CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::TestMap,::commonapi::tests::DerivedTypeCollection_::TestMapDeployment_t> > >::callMethodWithReply( *this, "testDerivedTypeMethod", "ia{ua(sq)}", (_info ? _info : &CommonAPI::DBus::defaultCallInfo), deploy_testEnumExtended2InValue, deploy_testMapInValue, _internalCallStatus, deploy_testEnumExtended2OutValue, deploy_testMapOutValue); _testEnumExtended2OutValue = deploy_testEnumExtended2OutValue.getValue(); _testMapOutValue = deploy_testMapOutValue.getValue(); } std::future TestInterfaceDBusProxy::testDerivedTypeMethodAsync(const ::commonapi::tests::DerivedTypeCollection::TestEnumExtended2 &_testEnumExtended2InValue, const ::commonapi::tests::DerivedTypeCollection::TestMap &_testMapInValue, TestDerivedTypeMethodAsyncCallback _callback, const CommonAPI::CallInfo *_info) { CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::TestEnumExtended2, CommonAPI::EmptyDeployment> deploy_testEnumExtended2InValue(_testEnumExtended2InValue, static_cast(nullptr)); CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::TestMap, ::commonapi::tests::DerivedTypeCollection_::TestMapDeployment_t> deploy_testMapInValue(_testMapInValue, static_cast<::commonapi::tests::DerivedTypeCollection_::TestMapDeployment_t*>(nullptr)); CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::TestEnumExtended2, CommonAPI::EmptyDeployment> deploy_testEnumExtended2OutValue(static_cast(nullptr)); CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::TestMap, ::commonapi::tests::DerivedTypeCollection_::TestMapDeployment_t> deploy_testMapOutValue(static_cast<::commonapi::tests::DerivedTypeCollection_::TestMapDeployment_t*>(nullptr)); return CommonAPI::DBus::DBusProxyHelper< CommonAPI::DBus::DBusSerializableArguments< CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::TestEnumExtended2, CommonAPI::EmptyDeployment >, CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::TestMap, ::commonapi::tests::DerivedTypeCollection_::TestMapDeployment_t > >, CommonAPI::DBus::DBusSerializableArguments< CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::TestEnumExtended2,CommonAPI::EmptyDeployment>, CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::TestMap,::commonapi::tests::DerivedTypeCollection_::TestMapDeployment_t> > >::callMethodAsync( *this, "testDerivedTypeMethod", "ia{ua(sq)}", (_info ? _info : &CommonAPI::DBus::defaultCallInfo), deploy_testEnumExtended2InValue, deploy_testMapInValue, [_callback] (CommonAPI::CallStatus _status, CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::TestEnumExtended2, CommonAPI::EmptyDeployment> _testEnumExtended2OutValue, CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::TestMap, ::commonapi::tests::DerivedTypeCollection_::TestMapDeployment_t> _testMapOutValue) { _callback(_status, _testEnumExtended2OutValue.getValue(), _testMapOutValue.getValue()); }, std::make_tuple(deploy_testEnumExtended2OutValue, deploy_testMapOutValue)); } void TestInterfaceDBusProxy::TestArrayOfPolymorphicStructMethod(const std::vector> &_inArray, CommonAPI::CallStatus &_internalCallStatus, const CommonAPI::CallInfo *_info) { CommonAPI::Deployable>, CommonAPI::DBus::ArrayDeployment<::commonapi::tests::DerivedTypeCollection_::TestPolymorphicStructDeployment_t>> deploy_inArray(_inArray, static_cast*>(nullptr)); CommonAPI::DBus::DBusProxyHelper< CommonAPI::DBus::DBusSerializableArguments< CommonAPI::Deployable>, CommonAPI::DBus::ArrayDeployment<::commonapi::tests::DerivedTypeCollection_::TestPolymorphicStructDeployment_t> > >, CommonAPI::DBus::DBusSerializableArguments< > >::callMethodWithReply( *this, "TestArrayOfPolymorphicStructMethod", "a(uv)", (_info ? _info : &CommonAPI::DBus::defaultCallInfo), deploy_inArray, _internalCallStatus); } std::future TestInterfaceDBusProxy::TestArrayOfPolymorphicStructMethodAsync(const std::vector> &_inArray, TestArrayOfPolymorphicStructMethodAsyncCallback _callback, const CommonAPI::CallInfo *_info) { CommonAPI::Deployable>, CommonAPI::DBus::ArrayDeployment<::commonapi::tests::DerivedTypeCollection_::TestPolymorphicStructDeployment_t>> deploy_inArray(_inArray, static_cast*>(nullptr)); return CommonAPI::DBus::DBusProxyHelper< CommonAPI::DBus::DBusSerializableArguments< CommonAPI::Deployable>, CommonAPI::DBus::ArrayDeployment<::commonapi::tests::DerivedTypeCollection_::TestPolymorphicStructDeployment_t> > >, CommonAPI::DBus::DBusSerializableArguments< > >::callMethodAsync( *this, "TestArrayOfPolymorphicStructMethod", "a(uv)", (_info ? _info : &CommonAPI::DBus::defaultCallInfo), deploy_inArray, [_callback] (CommonAPI::CallStatus _status) { _callback(_status); }, std::make_tuple()); } void TestInterfaceDBusProxy::TestMapOfPolymorphicStructMethod(const ::commonapi::tests::DerivedTypeCollection::MapIntToPolymorphic &_inMap, CommonAPI::CallStatus &_internalCallStatus, const CommonAPI::CallInfo *_info) { CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::MapIntToPolymorphic, ::commonapi::tests::DerivedTypeCollection_::MapIntToPolymorphicDeployment_t> deploy_inMap(_inMap, static_cast<::commonapi::tests::DerivedTypeCollection_::MapIntToPolymorphicDeployment_t*>(nullptr)); CommonAPI::DBus::DBusProxyHelper< CommonAPI::DBus::DBusSerializableArguments< CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::MapIntToPolymorphic, ::commonapi::tests::DerivedTypeCollection_::MapIntToPolymorphicDeployment_t > >, CommonAPI::DBus::DBusSerializableArguments< > >::callMethodWithReply( *this, "TestMapOfPolymorphicStructMethod", "a{y(uv)}", (_info ? _info : &CommonAPI::DBus::defaultCallInfo), deploy_inMap, _internalCallStatus); } std::future TestInterfaceDBusProxy::TestMapOfPolymorphicStructMethodAsync(const ::commonapi::tests::DerivedTypeCollection::MapIntToPolymorphic &_inMap, TestMapOfPolymorphicStructMethodAsyncCallback _callback, const CommonAPI::CallInfo *_info) { CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::MapIntToPolymorphic, ::commonapi::tests::DerivedTypeCollection_::MapIntToPolymorphicDeployment_t> deploy_inMap(_inMap, static_cast<::commonapi::tests::DerivedTypeCollection_::MapIntToPolymorphicDeployment_t*>(nullptr)); return CommonAPI::DBus::DBusProxyHelper< CommonAPI::DBus::DBusSerializableArguments< CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::MapIntToPolymorphic, ::commonapi::tests::DerivedTypeCollection_::MapIntToPolymorphicDeployment_t > >, CommonAPI::DBus::DBusSerializableArguments< > >::callMethodAsync( *this, "TestMapOfPolymorphicStructMethod", "a{y(uv)}", (_info ? _info : &CommonAPI::DBus::defaultCallInfo), deploy_inMap, [_callback] (CommonAPI::CallStatus _status) { _callback(_status); }, std::make_tuple()); } void TestInterfaceDBusProxy::TestStructWithPolymorphicMemberMethod(const ::commonapi::tests::DerivedTypeCollection::StructWithPolymorphicMember &_inStruct, CommonAPI::CallStatus &_internalCallStatus, const CommonAPI::CallInfo *_info) { CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::StructWithPolymorphicMember, ::commonapi::tests::DerivedTypeCollection_::StructWithPolymorphicMemberDeployment_t> deploy_inStruct(_inStruct, static_cast<::commonapi::tests::DerivedTypeCollection_::StructWithPolymorphicMemberDeployment_t*>(nullptr)); CommonAPI::DBus::DBusProxyHelper< CommonAPI::DBus::DBusSerializableArguments< CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::StructWithPolymorphicMember, ::commonapi::tests::DerivedTypeCollection_::StructWithPolymorphicMemberDeployment_t > >, CommonAPI::DBus::DBusSerializableArguments< > >::callMethodWithReply( *this, "TestStructWithPolymorphicMemberMethod", "(u(uv))", (_info ? _info : &CommonAPI::DBus::defaultCallInfo), deploy_inStruct, _internalCallStatus); } std::future TestInterfaceDBusProxy::TestStructWithPolymorphicMemberMethodAsync(const ::commonapi::tests::DerivedTypeCollection::StructWithPolymorphicMember &_inStruct, TestStructWithPolymorphicMemberMethodAsyncCallback _callback, const CommonAPI::CallInfo *_info) { CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::StructWithPolymorphicMember, ::commonapi::tests::DerivedTypeCollection_::StructWithPolymorphicMemberDeployment_t> deploy_inStruct(_inStruct, static_cast<::commonapi::tests::DerivedTypeCollection_::StructWithPolymorphicMemberDeployment_t*>(nullptr)); return CommonAPI::DBus::DBusProxyHelper< CommonAPI::DBus::DBusSerializableArguments< CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::StructWithPolymorphicMember, ::commonapi::tests::DerivedTypeCollection_::StructWithPolymorphicMemberDeployment_t > >, CommonAPI::DBus::DBusSerializableArguments< > >::callMethodAsync( *this, "TestStructWithPolymorphicMemberMethod", "(u(uv))", (_info ? _info : &CommonAPI::DBus::defaultCallInfo), deploy_inStruct, [_callback] (CommonAPI::CallStatus _status) { _callback(_status); }, std::make_tuple()); } void TestInterfaceDBusProxy::TestStructWithEnumKeyMapMember(const ::commonapi::tests::DerivedTypeCollection::StructWithEnumKeyMap &_inStruct, CommonAPI::CallStatus &_internalCallStatus, const CommonAPI::CallInfo *_info) { CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::StructWithEnumKeyMap, ::commonapi::tests::DerivedTypeCollection_::StructWithEnumKeyMapDeployment_t> deploy_inStruct(_inStruct, static_cast<::commonapi::tests::DerivedTypeCollection_::StructWithEnumKeyMapDeployment_t*>(nullptr)); CommonAPI::DBus::DBusProxyHelper< CommonAPI::DBus::DBusSerializableArguments< CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::StructWithEnumKeyMap, ::commonapi::tests::DerivedTypeCollection_::StructWithEnumKeyMapDeployment_t > >, CommonAPI::DBus::DBusSerializableArguments< > >::callMethodWithReply( *this, "TestStructWithEnumKeyMapMember", "(a{is})", (_info ? _info : &CommonAPI::DBus::defaultCallInfo), deploy_inStruct, _internalCallStatus); } std::future TestInterfaceDBusProxy::TestStructWithEnumKeyMapMemberAsync(const ::commonapi::tests::DerivedTypeCollection::StructWithEnumKeyMap &_inStruct, TestStructWithEnumKeyMapMemberAsyncCallback _callback, const CommonAPI::CallInfo *_info) { CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::StructWithEnumKeyMap, ::commonapi::tests::DerivedTypeCollection_::StructWithEnumKeyMapDeployment_t> deploy_inStruct(_inStruct, static_cast<::commonapi::tests::DerivedTypeCollection_::StructWithEnumKeyMapDeployment_t*>(nullptr)); return CommonAPI::DBus::DBusProxyHelper< CommonAPI::DBus::DBusSerializableArguments< CommonAPI::Deployable<::commonapi::tests::DerivedTypeCollection::StructWithEnumKeyMap, ::commonapi::tests::DerivedTypeCollection_::StructWithEnumKeyMapDeployment_t > >, CommonAPI::DBus::DBusSerializableArguments< > >::callMethodAsync( *this, "TestStructWithEnumKeyMapMember", "(a{is})", (_info ? _info : &CommonAPI::DBus::defaultCallInfo), deploy_inStruct, [_callback] (CommonAPI::CallStatus _status) { _callback(_status); }, std::make_tuple()); } void TestInterfaceDBusProxy::getOwnVersion(uint16_t& ownVersionMajor, uint16_t& ownVersionMinor) const { ownVersionMajor = 1; ownVersionMinor = 0; } } // namespace tests } // namespace commonapi } // namespace v1_0