diff options
Diffstat (limited to 'src/test/src-gen/core/v1/commonapi/tests/managed/BranchInterfaceStubDefault.hpp')
-rw-r--r-- | src/test/src-gen/core/v1/commonapi/tests/managed/BranchInterfaceStubDefault.hpp | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/src/test/src-gen/core/v1/commonapi/tests/managed/BranchInterfaceStubDefault.hpp b/src/test/src-gen/core/v1/commonapi/tests/managed/BranchInterfaceStubDefault.hpp deleted file mode 100644 index 4913639..0000000 --- a/src/test/src-gen/core/v1/commonapi/tests/managed/BranchInterfaceStubDefault.hpp +++ /dev/null @@ -1,71 +0,0 @@ -/* -* This file was generated by the CommonAPI Generators. -* Used org.genivi.commonapi.core 3.1.5.v201512091035. -* Used org.franca.core 0.9.1.201412191134. -* -* 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/. -*/ -#ifndef V1_COMMONAPI_TESTS_MANAGED_Branch_Interface_STUB_DEFAULT_HPP_ -#define V1_COMMONAPI_TESTS_MANAGED_Branch_Interface_STUB_DEFAULT_HPP_ - - -#include <v1/commonapi/tests/managed/BranchInterfaceStub.hpp> -#include <sstream> - -namespace v1 { -namespace commonapi { -namespace tests { -namespace managed { - -/** - * Provides a default implementation for BranchInterfaceStubRemoteEvent and - * BranchInterfaceStub. Method callbacks have an empty implementation, - * remote set calls on attributes will always change the value of the attribute - * to the one received. - * - * Override this stub if you only want to provide a subset of the functionality - * that would be defined for this service, and/or if you do not need any non-default - * behaviour. - */ -class BranchInterfaceStubDefault - : public virtual BranchInterfaceStub { -public: - BranchInterfaceStubDefault(); - - BranchInterfaceStubRemoteEvent* initStubAdapter(const std::shared_ptr<BranchInterfaceStubAdapter> &_adapter); - - const CommonAPI::Version& getInterfaceVersion(std::shared_ptr<CommonAPI::ClientId> _client); - - - virtual void testBranchMethod(const std::shared_ptr<CommonAPI::ClientId> _client, int32_t _inInt, std::string _inString, testBranchMethodReply_t _reply); - - - -protected: - class RemoteEventHandler: public virtual BranchInterfaceStubRemoteEvent { - public: - RemoteEventHandler(BranchInterfaceStubDefault *_defaultStub); - - - private: - BranchInterfaceStubDefault *defaultStub_; - }; -private: - BranchInterfaceStubDefault::RemoteEventHandler remoteEventHandler_; - - - CommonAPI::Version interfaceVersion_; -}; - -} // namespace managed -} // namespace tests -} // namespace commonapi -} // namespace v1 - - -// Compatibility -namespace v1_0 = v1; - -#endif // V1_COMMONAPI_TESTS_MANAGED_Branch_Interface_STUB_DEFAULT |