2 * This file was generated by the CommonAPI Generators.
3 * Used org.genivi.commonapi.core 2.1.5.201312121915.
4 * Used org.franca.core 0.8.11.201401091023.
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/.
11 * @author Christian Linke
13 #ifndef ORG_GENIVI_NODESTATEMANAGER_Life_Cycle_Consumer_DBUS_PROXY_H_
14 #define ORG_GENIVI_NODESTATEMANAGER_Life_Cycle_Consumer_DBUS_PROXY_H_
16 #include <org/genivi/NodeStateManager/LifeCycleConsumerProxyBase.h>
18 #if !defined (COMMONAPI_INTERNAL_COMPILATION)
19 #define COMMONAPI_INTERNAL_COMPILATION
22 #include <CommonAPI/DBus/DBusFactory.h>
23 #include <CommonAPI/DBus/DBusProxy.h>
25 #undef COMMONAPI_INTERNAL_COMPILATION
31 namespace NodeStateManager {
33 class LifeCycleConsumerDBusProxy: virtual public LifeCycleConsumerProxyBase, virtual public CommonAPI::DBus::DBusProxy {
35 LifeCycleConsumerDBusProxy(
36 const std::shared_ptr<CommonAPI::DBus::DBusFactory>& factory,
37 const std::string& commonApiAddress,
38 const std::string& interfaceName,
39 const std::string& busName,
40 const std::string& objectPath,
41 const std::shared_ptr<CommonAPI::DBus::DBusProxyConnection>& dbusProxyconnection);
43 virtual ~LifeCycleConsumerDBusProxy() { }
47 virtual void LifecycleRequest(const uint32_t& Request, const uint32_t& RequestId, CommonAPI::CallStatus& callStatus, int32_t& ErrorCode);
48 virtual std::future<CommonAPI::CallStatus> LifecycleRequestAsync(const uint32_t& Request, const uint32_t& RequestId, LifecycleRequestAsyncCallback callback);
51 virtual void getOwnVersion(uint16_t& ownVersionMajor, uint16_t& ownVersionMinor) const;
60 } // namespace NodeStateManager
64 #endif // ORG_GENIVI_NODESTATEMANAGER_Life_Cycle_Consumer_DBUS_PROXY_H_