summaryrefslogtreecommitdiff
path: root/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverStubDefault.h
diff options
context:
space:
mode:
Diffstat (limited to 'PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverStubDefault.h')
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverStubDefault.h39
1 files changed, 16 insertions, 23 deletions
diff --git a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverStubDefault.h b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverStubDefault.h
index 69eb2ce..0d19077 100644
--- a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverStubDefault.h
+++ b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverStubDefault.h
@@ -1,22 +1,11 @@
/*
-* This file was generated by the CommonAPI Generators.
-* Used org.genivi.commonapi.core 2.1.2.201309301424.
-* Used org.franca.core 0.8.9.201308271211.
+* This file was generated by the CommonAPI Generators.
+* Used org.genivi.commonapi.core 2.1.5.201312121915.
+* Used org.franca.core 0.8.11.201401091023.
*
-* Copyright (c) 2012 BMW
-*
-* \author Aleksandar Donchev, aleksander.donchev@partner.bmw.de BMW 2013
-*
-* \copyright
-* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction,
-* including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
-* subject to the following conditions:
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
-* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-* For further information see http://www.genivi.org/.
-*
+* 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/.
*/
/**
* Routing Receive sendInterface description.
@@ -25,6 +14,7 @@
#ifndef ORG_GENIVI_AM_Routing_Control_Observer_STUB_DEFAULT_H_
#define ORG_GENIVI_AM_Routing_Control_Observer_STUB_DEFAULT_H_
+
#include <org/genivi/am/RoutingControlObserverStub.h>
#include <sstream>
@@ -42,12 +32,14 @@ namespace am {
* that would be defined for this service, and/or if you do not need any non-default
* behaviour.
*/
-class RoutingControlObserverStubDefault : public RoutingControlObserverStub {
- public:
+class RoutingControlObserverStubDefault : public virtual RoutingControlObserverStub {
+public:
RoutingControlObserverStubDefault();
RoutingControlObserverStubRemoteEvent* initStubAdapter(const std::shared_ptr<RoutingControlObserverStubAdapter>& stubAdapter);
+ const CommonAPI::Version& getInterfaceVersion(std::shared_ptr<CommonAPI::ClientId> clientId);
+
virtual const am_RoutingReady_e& getRoutingReadyAttribute();
virtual const am_RoutingReady_e& getRoutingReadyAttribute(const std::shared_ptr<CommonAPI::ClientId> clientId);
virtual void setRoutingReadyAttribute(am_RoutingReady_e value);
@@ -371,9 +363,9 @@ class RoutingControlObserverStubDefault : public RoutingControlObserverStub {
virtual void confirmRoutingRundown(std::string domainName);
-
- protected:
+
+protected:
/**
* This attribute signals to the clients the current routing state.
A client
@@ -382,8 +374,7 @@ class RoutingControlObserverStubDefault : public RoutingControlObserverStub {
*/
virtual bool trySetRoutingReadyAttribute(am_RoutingReady_e value);
virtual bool validateRoutingReadyAttributeRequestedValue(const am_RoutingReady_e& value);
- std::shared_ptr<RoutingControlObserverStubAdapter> stubAdapter_;
- private:
+private:
class RemoteEventHandler: public RoutingControlObserverStubRemoteEvent {
public:
RemoteEventHandler(RoutingControlObserverStubDefault* defaultStub);
@@ -409,6 +400,8 @@ class RoutingControlObserverStubDefault : public RoutingControlObserverStub {
* act accordingly.
*/
am_RoutingReady_e routingReadyAttributeValue_;
+
+ CommonAPI::Version interfaceVersion_;
};
} // namespace am