From 5b59601418432b61cf675f92de6d16b4e2d25ca4 Mon Sep 17 00:00:00 2001 From: kianwasabi Date: Fri, 17 Nov 2023 19:27:33 +0000 Subject: [PATCH] check if automation still works 2 --- car_control/fidl/carcontrol.fidl | 2 +- .../src-gen/core/v0/commonapi/CarControl.hpp | 58 ----- .../core/v0/commonapi/CarControlProxy.hpp | 228 ------------------ .../core/v0/commonapi/CarControlProxyBase.hpp | 60 ----- .../core/v0/commonapi/CarControlStub.hpp | 165 ------------- .../v0/commonapi/CarControlStubDefault.hpp | 171 ------------- .../commonapi/CarControlSomeIPDeployment.cpp | 27 --- .../commonapi/CarControlSomeIPDeployment.hpp | 44 ---- .../v0/commonapi/CarControlSomeIPProxy.cpp | 135 ----------- .../v0/commonapi/CarControlSomeIPProxy.hpp | 80 ------ .../commonapi/CarControlSomeIPStubAdapter.cpp | 49 ---- .../commonapi/CarControlSomeIPStubAdapter.hpp | 199 --------------- 12 files changed, 1 insertion(+), 1217 deletions(-) delete mode 100644 car_control/src-gen/core/v0/commonapi/CarControl.hpp delete mode 100644 car_control/src-gen/core/v0/commonapi/CarControlProxy.hpp delete mode 100644 car_control/src-gen/core/v0/commonapi/CarControlProxyBase.hpp delete mode 100644 car_control/src-gen/core/v0/commonapi/CarControlStub.hpp delete mode 100644 car_control/src-gen/core/v0/commonapi/CarControlStubDefault.hpp delete mode 100644 car_control/src-gen/someip/v0/commonapi/CarControlSomeIPDeployment.cpp delete mode 100644 car_control/src-gen/someip/v0/commonapi/CarControlSomeIPDeployment.hpp delete mode 100644 car_control/src-gen/someip/v0/commonapi/CarControlSomeIPProxy.cpp delete mode 100644 car_control/src-gen/someip/v0/commonapi/CarControlSomeIPProxy.hpp delete mode 100644 car_control/src-gen/someip/v0/commonapi/CarControlSomeIPStubAdapter.cpp delete mode 100644 car_control/src-gen/someip/v0/commonapi/CarControlSomeIPStubAdapter.hpp diff --git a/car_control/fidl/carcontrol.fidl b/car_control/fidl/carcontrol.fidl index bf64a6f..41cfc18 100644 --- a/car_control/fidl/carcontrol.fidl +++ b/car_control/fidl/carcontrol.fidl @@ -14,4 +14,4 @@ interface CarControl { Boolean accepted } } -} +} \ No newline at end of file diff --git a/car_control/src-gen/core/v0/commonapi/CarControl.hpp b/car_control/src-gen/core/v0/commonapi/CarControl.hpp deleted file mode 100644 index 342df62..0000000 --- a/car_control/src-gen/core/v0/commonapi/CarControl.hpp +++ /dev/null @@ -1,58 +0,0 @@ -/* -* This file was generated by the CommonAPI Generators. -* Used org.genivi.commonapi.core 3.2.0.v202012010850. -* Used org.franca.core 0.13.1.201807231814. -* -* 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 V0_COMMONAPI_CAR_CONTROL_HPP_ -#define V0_COMMONAPI_CAR_CONTROL_HPP_ - - - - -#if !defined (COMMONAPI_INTERNAL_COMPILATION) -#define COMMONAPI_INTERNAL_COMPILATION -#define HAS_DEFINED_COMMONAPI_INTERNAL_COMPILATION_HERE -#endif - -#include - -#if defined (HAS_DEFINED_COMMONAPI_INTERNAL_COMPILATION_HERE) -#undef COMMONAPI_INTERNAL_COMPILATION -#undef HAS_DEFINED_COMMONAPI_INTERNAL_COMPILATION_HERE -#endif - -namespace v0 { -namespace commonapi { - -class CarControl { -public: - virtual ~CarControl() { } - - static inline const char* getInterface(); - static inline CommonAPI::Version getInterfaceVersion(); -}; - -const char* CarControl::getInterface() { - return ("commonapi.CarControl:v0_1"); -} - -CommonAPI::Version CarControl::getInterfaceVersion() { - return CommonAPI::Version(0, 1); -} - - -} // namespace commonapi -} // namespace v0 - -namespace CommonAPI { -} - - -// Compatibility -namespace v0_1 = v0; - -#endif // V0_COMMONAPI_CAR_CONTROL_HPP_ diff --git a/car_control/src-gen/core/v0/commonapi/CarControlProxy.hpp b/car_control/src-gen/core/v0/commonapi/CarControlProxy.hpp deleted file mode 100644 index eb4c284..0000000 --- a/car_control/src-gen/core/v0/commonapi/CarControlProxy.hpp +++ /dev/null @@ -1,228 +0,0 @@ -/* -* This file was generated by the CommonAPI Generators. -* Used org.genivi.commonapi.core 3.2.0.v202012010850. -* Used org.franca.core 0.13.1.201807231814. -* -* 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 V0_COMMONAPI_Car_Control_PROXY_HPP_ -#define V0_COMMONAPI_Car_Control_PROXY_HPP_ - -#include - - -#if !defined (COMMONAPI_INTERNAL_COMPILATION) -#define COMMONAPI_INTERNAL_COMPILATION -#define HAS_DEFINED_COMMONAPI_INTERNAL_COMPILATION_HERE -#endif - -#include -#include - -#if defined (HAS_DEFINED_COMMONAPI_INTERNAL_COMPILATION_HERE) -#undef COMMONAPI_INTERNAL_COMPILATION -#undef HAS_DEFINED_COMMONAPI_INTERNAL_COMPILATION_HERE -#endif - -namespace v0 { -namespace commonapi { - -template -class CarControlProxy - : virtual public CarControl, - virtual public CarControlProxyBase, - virtual public _AttributeExtensions... { -public: - CarControlProxy(std::shared_ptr delegate); - ~CarControlProxy(); - - typedef CarControl InterfaceType; - - - /** - * Returns the CommonAPI address of the remote partner this proxy communicates with. - */ - virtual const CommonAPI::Address &getAddress() const; - - /** - * Returns true if the remote partner for this proxy is currently known to be available. - */ - virtual bool isAvailable() const; - - /** - * Returns true if the remote partner for this proxy is available. - */ - virtual bool isAvailableBlocking() const; - - /** - * Returns the wrapper class that is used to (de-)register for notifications about - * the availability of the remote partner of this proxy. - */ - virtual CommonAPI::ProxyStatusEvent& getProxyStatusEvent(); - - /** - * Returns the wrapper class that is used to access version information of the remote - * partner of this proxy. - */ - virtual CommonAPI::InterfaceVersionAttribute& getInterfaceVersionAttribute(); - - virtual std::future getCompletionFuture(); - - /** - * Returns the wrapper class that provides access to the attribute indicator. - */ - virtual IndicatorAttribute& getIndicatorAttribute() { - return delegate_->getIndicatorAttribute(); - } - /** - * Returns the wrapper class that provides access to the attribute gear. - */ - virtual GearAttribute& getGearAttribute() { - return delegate_->getGearAttribute(); - } - /** - * Calls gearSelectionHeadUnit with synchronous semantics. - * - * All const parameters are input parameters to this method. - * All non-const parameters will be filled with the returned values. - * The CallStatus will be filled when the method returns and indicate either - * "SUCCESS" or which type of error has occurred. In case of an error, ONLY the CallStatus - * will be set. - */ - virtual void gearSelectionHeadUnit(std::string _selectedGear, CommonAPI::CallStatus &_internalCallStatus, bool &_accepted, const CommonAPI::CallInfo *_info = nullptr); - /** - * Calls gearSelectionHeadUnit with asynchronous semantics. - * - * The provided callback will be called when the reply to this call arrives or - * an error occurs during the call. The CallStatus will indicate either "SUCCESS" - * or which type of error has occurred. In case of any error, ONLY the CallStatus - * will have a defined value. - * The std::future returned by this method will be fulfilled at arrival of the reply. - * It will provide the same value for CallStatus as will be handed to the callback. - */ - virtual std::future gearSelectionHeadUnitAsync(const std::string &_selectedGear, GearSelectionHeadUnitAsyncCallback _callback = nullptr, const CommonAPI::CallInfo *_info = nullptr); - - - - private: - std::shared_ptr< CarControlProxyBase> delegate_; -}; - -typedef CarControlProxy<> CarControlProxyDefault; - -namespace CarControlExtensions { - template