* Bug #100 - removed projecttypes.h which causes compiling conflicts
[profile/ivi/genivi/genivi-audio-manager.git] / AudioManagerDaemon / src-gen / org / genivi / NodeStateManager / LifeCycleConsumerProxyBase.h
1 /*
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.
5 *
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/.
9 */
10 /**
11  * @author Christian Linke
12  */
13 #ifndef ORG_GENIVI_NODESTATEMANAGER_Life_Cycle_Consumer_PROXY_BASE_H_
14 #define ORG_GENIVI_NODESTATEMANAGER_Life_Cycle_Consumer_PROXY_BASE_H_
15
16 #include "LifeCycleConsumer.h"
17
18
19
20 #if !defined (COMMONAPI_INTERNAL_COMPILATION)
21 #define COMMONAPI_INTERNAL_COMPILATION
22 #endif
23
24 #include <vector>
25
26 #include <CommonAPI/Proxy.h>
27 #include <functional>
28 #include <future>
29
30 #undef COMMONAPI_INTERNAL_COMPILATION
31
32 namespace org {
33 namespace genivi {
34 namespace NodeStateManager {
35
36 class LifeCycleConsumerProxyBase: virtual public CommonAPI::Proxy {
37  public:
38
39     typedef std::function<void(const CommonAPI::CallStatus&, const int32_t&)> LifecycleRequestAsyncCallback;
40
41
42
43     virtual void LifecycleRequest(const uint32_t& Request, const uint32_t& RequestId, CommonAPI::CallStatus& callStatus, int32_t& ErrorCode) = 0;
44     virtual std::future<CommonAPI::CallStatus> LifecycleRequestAsync(const uint32_t& Request, const uint32_t& RequestId, LifecycleRequestAsyncCallback callback) = 0;
45 };
46
47 } // namespace NodeStateManager
48 } // namespace genivi
49 } // namespace org
50
51 #endif // ORG_GENIVI_NODESTATEMANAGER_Life_Cycle_Consumer_PROXY_BASE_H_