summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/src-gen/org/genivi/NodeStateManager/ConsumerProxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'AudioManagerDaemon/src-gen/org/genivi/NodeStateManager/ConsumerProxy.h')
-rw-r--r--AudioManagerDaemon/src-gen/org/genivi/NodeStateManager/ConsumerProxy.h43
1 files changed, 37 insertions, 6 deletions
diff --git a/AudioManagerDaemon/src-gen/org/genivi/NodeStateManager/ConsumerProxy.h b/AudioManagerDaemon/src-gen/org/genivi/NodeStateManager/ConsumerProxy.h
index bd473f1..c94aec7 100644
--- a/AudioManagerDaemon/src-gen/org/genivi/NodeStateManager/ConsumerProxy.h
+++ b/AudioManagerDaemon/src-gen/org/genivi/NodeStateManager/ConsumerProxy.h
@@ -1,11 +1,24 @@
/*
* This file was generated by the CommonAPI Generators.
-* Used org.genivi.commonapi.core 2.1.5.201312121915.
+* Used org.genivi.commonapi.core 2.1.6.v20140519.
* Used org.franca.core 0.8.11.201401091023.
*
-* 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/.
+* Copyright (C) 2012, BMW AG
+*
+* This file is part of GENIVI Project AudioManager.
+*
+* Contributions are licensed to the GENIVI Alliance under one or more
+* Contribution License Agreements.
+*
+* \copyright
+* 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/.
+*
+*
+* \author Aleksandar Donchev, aleksander.donchev@partner.bmw.de BMW 2013
+*
+* For further information see http://www.genivi.org/.
*/
/**
* @author Christian Linke
@@ -358,6 +371,12 @@ public:
std::shared_ptr<ConsumerProxyBase> delegate_;
};
+#ifdef WIN32
+ typedef ConsumerProxy<CommonAPI::WINDummyAttributeExtension<CommonAPI::WINDummyAttribute>> ConsumerProxyDefault;
+#else
+ typedef ConsumerProxy<> ConsumerProxyDefault;
+#endif
+
namespace ConsumerExtensions {
template <template <typename > class _ExtensionType>
class BootModeAttributeExtension {
@@ -366,6 +385,9 @@ namespace ConsumerExtensions {
static_assert(std::is_base_of<typename CommonAPI::AttributeExtension<ConsumerProxyBase::BootModeAttribute>, extension_type>::value,
"Not CommonAPI Attribute Extension!");
+ #ifdef WIN32
+ BootModeAttributeExtension() {}
+ #endif
BootModeAttributeExtension(ConsumerProxyBase& proxy): attributeExtension_(proxy.getBootModeAttribute()) {
}
@@ -385,6 +407,9 @@ namespace ConsumerExtensions {
static_assert(std::is_base_of<typename CommonAPI::AttributeExtension<ConsumerProxyBase::RestartReasonAttribute>, extension_type>::value,
"Not CommonAPI Attribute Extension!");
+ #ifdef WIN32
+ RestartReasonAttributeExtension() {}
+ #endif
RestartReasonAttributeExtension(ConsumerProxyBase& proxy): attributeExtension_(proxy.getRestartReasonAttribute()) {
}
@@ -404,6 +429,9 @@ namespace ConsumerExtensions {
static_assert(std::is_base_of<typename CommonAPI::AttributeExtension<ConsumerProxyBase::ShutdownReasonAttribute>, extension_type>::value,
"Not CommonAPI Attribute Extension!");
+ #ifdef WIN32
+ ShutdownReasonAttributeExtension() {}
+ #endif
ShutdownReasonAttributeExtension(ConsumerProxyBase& proxy): attributeExtension_(proxy.getShutdownReasonAttribute()) {
}
@@ -423,6 +451,9 @@ namespace ConsumerExtensions {
static_assert(std::is_base_of<typename CommonAPI::AttributeExtension<ConsumerProxyBase::WakeUpReasonAttribute>, extension_type>::value,
"Not CommonAPI Attribute Extension!");
+ #ifdef WIN32
+ WakeUpReasonAttributeExtension() {}
+ #endif
WakeUpReasonAttributeExtension(ConsumerProxyBase& proxy): attributeExtension_(proxy.getWakeUpReasonAttribute()) {
}
@@ -442,8 +473,8 @@ namespace ConsumerExtensions {
//
template <typename ... _AttributeExtensions>
ConsumerProxy<_AttributeExtensions...>::ConsumerProxy(std::shared_ptr<CommonAPI::Proxy> delegate):
- delegate_(std::dynamic_pointer_cast<ConsumerProxyBase>(delegate)),
- _AttributeExtensions(*(std::dynamic_pointer_cast<ConsumerProxyBase>(delegate)))... {
+ _AttributeExtensions(*(std::dynamic_pointer_cast<ConsumerProxyBase>(delegate)))...,
+ delegate_(std::dynamic_pointer_cast<ConsumerProxyBase>(delegate)) {
}
template <typename ... _AttributeExtensions>