summaryrefslogtreecommitdiff
path: root/src/test/commonapi/tests/managed/RootInterfaceStubDefault.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/commonapi/tests/managed/RootInterfaceStubDefault.h')
-rw-r--r--src/test/commonapi/tests/managed/RootInterfaceStubDefault.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/commonapi/tests/managed/RootInterfaceStubDefault.h b/src/test/commonapi/tests/managed/RootInterfaceStubDefault.h
index 6fdba46..1379a82 100644
--- a/src/test/commonapi/tests/managed/RootInterfaceStubDefault.h
+++ b/src/test/commonapi/tests/managed/RootInterfaceStubDefault.h
@@ -1,6 +1,6 @@
/*
* This file was generated by the CommonAPI Generators.
-* Used org.genivi.commonapi.core 2.1.3.qualifier.
+* Used org.genivi.commonapi.core 2.1.4.qualifier.
* Used org.franca.core 0.8.10.201309262002.
*
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
@@ -10,6 +10,7 @@
#ifndef COMMONAPI_TESTS_MANAGED_Root_Interface_STUB_DEFAULT_H_
#define COMMONAPI_TESTS_MANAGED_Root_Interface_STUB_DEFAULT_H_
+
#include <commonapi/tests/managed/RootInterfaceStub.h>
#include <sstream>
@@ -27,8 +28,8 @@ namespace managed {
* that would be defined for this service, and/or if you do not need any non-default
* behaviour.
*/
-class RootInterfaceStubDefault : public RootInterfaceStub {
- public:
+class RootInterfaceStubDefault : public virtual RootInterfaceStub {
+public:
RootInterfaceStubDefault();
RootInterfaceStubRemoteEvent* initStubAdapter(const std::shared_ptr<RootInterfaceStubAdapter>& stubAdapter);
@@ -48,9 +49,8 @@ class RootInterfaceStubDefault : public RootInterfaceStub {
bool deregisterManagedStubBranchInterface(const std::string&);
std::set<std::string>& getBranchInterfaceInstances();
- protected:
- std::shared_ptr<RootInterfaceStubAdapter> stubAdapter_;
- private:
+protected:
+private:
class RemoteEventHandler: public RootInterfaceStubRemoteEvent {
public:
RemoteEventHandler(RootInterfaceStubDefault* defaultStub);