/* * 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/. */ #ifndef COMMONAPI_TESTS_Test_Freedesktop_Interface_PROXY_HPP_ #define COMMONAPI_TESTS_Test_Freedesktop_Interface_PROXY_HPP_ #include #if !defined (COMMONAPI_INTERNAL_COMPILATION) #define COMMONAPI_INTERNAL_COMPILATION #endif #include #include #undef COMMONAPI_INTERNAL_COMPILATION namespace v1_0 { namespace commonapi { namespace tests { template class TestFreedesktopInterfaceProxy : virtual public TestFreedesktopInterface, virtual public TestFreedesktopInterfaceProxyBase, public _AttributeExtensions... { public: TestFreedesktopInterfaceProxy(std::shared_ptr delegate); ~TestFreedesktopInterfaceProxy(); typedef TestFreedesktopInterface InterfaceType; /** * Returns the wrapper class that provides access to the attribute TestPredefinedTypeAttribute. */ virtual TestPredefinedTypeAttributeAttribute& getTestPredefinedTypeAttributeAttribute() { return delegate_->getTestPredefinedTypeAttributeAttribute(); } /** * Returns the wrapper class that provides access to the attribute TestReadonlyAttribute. */ virtual TestReadonlyAttributeAttribute& getTestReadonlyAttributeAttribute() { return delegate_->getTestReadonlyAttributeAttribute(); } /** * Returns the wrapper class that provides access to the attribute TestDerivedStructAttribute. */ virtual TestDerivedStructAttributeAttribute& getTestDerivedStructAttributeAttribute() { return delegate_->getTestDerivedStructAttributeAttribute(); } /** * Returns the wrapper class that provides access to the attribute TestDerivedArrayAttribute. */ virtual TestDerivedArrayAttributeAttribute& getTestDerivedArrayAttributeAttribute() { return delegate_->getTestDerivedArrayAttributeAttribute(); } /** * Returns the CommonAPI address of the remote partner this proxy communicates with. */ virtual const CommonAPI::Address &getAddress() const; /** * Returns true if the remote partner for this proxy is currently known to be available. */ virtual bool isAvailable() const; /** * Returns true if the remote partner for this proxy is available. */ virtual bool isAvailableBlocking() const; /** * Returns the wrapper class that is used to (de-)register for notifications about * the availability of the remote partner of this proxy. */ virtual CommonAPI::ProxyStatusEvent& getProxyStatusEvent(); /** * Returns the wrapper class that is used to access version information of the remote * partner of this proxy. */ virtual CommonAPI::InterfaceVersionAttribute& getInterfaceVersionAttribute(); private: std::shared_ptr delegate_; }; typedef TestFreedesktopInterfaceProxy<> TestFreedesktopInterfaceProxyDefault; namespace TestFreedesktopInterfaceExtensions { template