diff options
author | Jacob Keeler <jacob.keeler@livioradio.com> | 2018-07-10 13:57:52 -0400 |
---|---|---|
committer | Jacob Keeler <jacob.keeler@livioradio.com> | 2018-07-10 13:57:52 -0400 |
commit | c6fbf117ee4bdee6743d0fe35a189104f47efd17 (patch) | |
tree | c333082ef2aa24469bdbb6bf3c4ae5bf4e882072 | |
parent | 97f0ac31e229dfd4d3b73c439b096761fa3a9403 (diff) | |
download | sdl_core-c6fbf117ee4bdee6743d0fe35a189104f47efd17.tar.gz |
Remove DBus from project
64 files changed, 379 insertions, 17578 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 97bda27c53..51029d8c7b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -112,9 +112,6 @@ if (HMI_ADAPTER_OPTION) if (${HMI_ADAPTER_OPTION} STREQUAL "MESSAGEBROKER") message(STATUS "Jenkins integration: selected HMI adapter MESSAGEBROKER") set (HMIADAPTER "messagebroker") - elseif (${HMI_ADAPTER_OPTION} STREQUAL "DBUS") - message(STATUS "Jenkins integration: selected HMI adapter DBUS") - set (HMIADAPTER "dbus") endif() endif() @@ -381,15 +378,6 @@ if (HMI STREQUAL "web" AND NOT DEFINED HMIADAPTER) set(HMIADAPTER "messagebroker") endif() -if (HMIADAPTER STREQUAL "dbus") - set(HMI_DBUS_API ON) - add_definitions(-DDBUS_HMIADAPTER) - add_definitions(-DHMI_DBUS_API) - - find_package(DBus REQUIRED) - set(DBUS_LIBS_DIRECTORY ${DBUS_LIBRARY_DIRS} PARENT_SCOPE) - message(${DBUS_INCLUDE_DIRS}) -endif() if (HMIADAPTER STREQUAL "messagebroker") set(HMI_JSON_API ON) add_definitions(-DMESSAGEBROKER_HMIADAPTER) @@ -65,7 +65,6 @@ The dependencies for SDL Core vary based on the configuration. You can change SD | Flag | Description | Dependencies | |------|-------------|--------------| |Web HMI|Use HTML5 HMI|chromium-browser| -|DBus|Use DBus HMI Adapter|dbus-1-dev| |EXTENDED_MEDIA_MODE|Support Video and Audio Streaming|Opengl es2, gstreamer1.0*| |Bluetooth|Enable bluetooth transport adapter|libbluetooth3, libbluetooth-dev, bluez-tools| |USB|Enable USB transport adapter|libusb-dev| diff --git a/src/3rd_party/CMakeLists.txt b/src/3rd_party/CMakeLists.txt index 6f1e3dc353..ae9267e5bb 100644 --- a/src/3rd_party/CMakeLists.txt +++ b/src/3rd_party/CMakeLists.txt @@ -44,17 +44,14 @@ if(FORCE_3RD_PARTY) message(FATAL_ERROR "Please don't turn on both FORCE_3RD_PARTY and NO_REBUILD_3RD_PARTY at the same time.") else() set(FORCE_3RD_PARTY_LOGGER ON) - set(FORCE_3RD_PARTY_DBUS ON) endif() endif() -if(ENABLE_LOG OR HMI_DBUS_API) +if(ENABLE_LOG) # --- libexpat add_subdirectory(expat-2.1.0) set(EXPAT_LIBS_DIRECTORY ${3RD_PARTY_INSTALL_PREFIX_ARCH}/lib PARENT_SCOPE) -endif() -if(ENABLE_LOG) if(NO_REBUILD_3RD_PARTY_LOGGER) message(STATUS "Not rebuilding logger.") else() diff --git a/src/appMain/CMakeLists.txt b/src/appMain/CMakeLists.txt index e82d95f904..a05f4f97a1 100644 --- a/src/appMain/CMakeLists.txt +++ b/src/appMain/CMakeLists.txt @@ -62,7 +62,6 @@ include_directories( ${POLICY_GLOBAL_INCLUDE_PATH}/ ${COMPONENTS_DIR}/rpc_base/include ${COMPONENTS_DIR}/resumption/include - ${COMPONENTS_DIR}/dbus/include ${CMAKE_BINARY_DIR}/src/components ${JSONCPP_INCLUDE_DIRECTORY} ${LOG4CXX_INCLUDE_DIRECTORY} diff --git a/src/appMain/life_cycle.cc b/src/appMain/life_cycle.cc index e42032a5cb..b9623d080a 100644 --- a/src/appMain/life_cycle.cc +++ b/src/appMain/life_cycle.cc @@ -70,10 +70,6 @@ LifeCycle::LifeCycle(const profile::Profile& profile) #ifdef TELEMETRY_MONITOR , telemetry_monitor_(NULL) #endif // TELEMETRY_MONITOR -#ifdef DBUS_HMIADAPTER - , dbus_adapter_(NULL) - , dbus_adapter_thread_(NULL) -#endif // DBUS_HMIADAPTER #ifdef MESSAGEBROKER_HMIADAPTER , mb_adapter_(NULL) , mb_adapter_thread_(NULL) @@ -189,30 +185,6 @@ bool LifeCycle::InitMessageSystem() { } #endif // MESSAGEBROKER_HMIADAPTER -#ifdef DBUS_HMIADAPTER -/** - * Initialize DBus component - * @return true if success otherwise false. - */ -bool LifeCycle::InitMessageSystem() { - dbus_adapter_ = new hmi_message_handler::DBusMessageAdapter(hmi_handler_); - - hmi_handler_->AddHMIMessageAdapter(dbus_adapter_); - if (!dbus_adapter_->Init()) { - LOG4CXX_FATAL(logger_, "Cannot init DBus service!"); - return false; - } - - dbus_adapter_->SubscribeTo(); - - LOG4CXX_INFO(logger_, "Start DBusMessageAdapter thread!"); - dbus_adapter_thread_ = new std::thread( - &hmi_message_handler::DBusMessageAdapter::Run, dbus_adapter_); - - return true; -} -#endif // DBUS_HMIADAPTER - namespace { void sig_handler(int sig) { switch (sig) { @@ -315,21 +287,6 @@ void LifeCycle::StopComponents() { LOG4CXX_INFO(logger_, "Destroying HMI Message Handler and MB adapter."); -#ifdef DBUS_HMIADAPTER - if (dbus_adapter_) { - DCHECK_OR_RETURN_VOID(hmi_handler_); - hmi_handler_->RemoveHMIMessageAdapter(dbus_adapter_); - dbus_adapter_->Shutdown(); - if (dbus_adapter_thread_ != NULL) { - dbus_adapter_thread_->join(); - } - delete dbus_adapter_; - dbus_adapter_ = NULL; - delete dbus_adapter_thread_; - dbus_adapter_thread_ = NULL; - } -#endif // DBUS_HMIADAPTER - #ifdef MESSAGEBROKER_HMIADAPTER if (mb_adapter_) { DCHECK_OR_RETURN_VOID(hmi_handler_); diff --git a/src/appMain/life_cycle.h b/src/appMain/life_cycle.h index 69f4b987f5..0ac2f4047b 100644 --- a/src/appMain/life_cycle.h +++ b/src/appMain/life_cycle.h @@ -39,9 +39,6 @@ #include "config_profile/profile.h" #include "hmi_message_handler/hmi_message_handler_impl.h" -#ifdef DBUS_HMIADAPTER -#include "hmi_message_handler/dbus_message_adapter.h" -#endif // DBUS_HMIADAPTER #if (defined(MESSAGEBROKER_HMIADAPTER) || defined(PASA_HMI)) #include "hmi_message_handler/messagebroker_adapter.h" #endif // #if ( defined (MESSAGEBROKER_HMIADAPTER) || defined(PASA_HMI) ) @@ -99,10 +96,6 @@ class LifeCycle { #ifdef TELEMETRY_MONITOR telemetry_monitor::TelemetryMonitor* telemetry_monitor_; #endif // TELEMETRY_MONITOR -#ifdef DBUS_HMIADAPTER - hmi_message_handler::DBusMessageAdapter* dbus_adapter_; - std::thread* dbus_adapter_thread_; -#endif // DBUS_HMIADAPTER #ifdef MESSAGEBROKER_HMIADAPTER hmi_message_handler::MessageBrokerAdapter* mb_adapter_; diff --git a/src/components/CMakeLists.txt b/src/components/CMakeLists.txt index 4f984bb3a8..f262f201c2 100644 --- a/src/components/CMakeLists.txt +++ b/src/components/CMakeLists.txt @@ -91,8 +91,3 @@ add_subdirectory(./media_manager) if(TELEMETRY_MONITOR) add_subdirectory(./telemetry_monitor) endif() - -# --- DBus -if(HMI_DBUS_API) - add_subdirectory(./dbus) -endif() diff --git a/src/components/application_manager/include/application_manager/message_helper.h b/src/components/application_manager/include/application_manager/message_helper.h index 6590098a01..85960a7982 100644 --- a/src/components/application_manager/include/application_manager/message_helper.h +++ b/src/components/application_manager/include/application_manager/message_helper.h @@ -72,7 +72,7 @@ typedef std::map<std::string, mobile_apis::VehicleDataType::eType> VehicleData; class MessageHelper { public: /** - * @brief Creates request for different interfaces(JSON, DBUS) + * @brief Creates request for different interfaces(JSON) * @param correlation_id unique ID * @param params Vector of arguments that we need in GetVehicleData request * (e.g. gps, odometer, fuel_level) diff --git a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/include/sdl_rpc_plugin/commands/hmi/vi_get_vehicle_data_request_template.h b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/include/sdl_rpc_plugin/commands/hmi/vi_get_vehicle_data_request_template.h deleted file mode 100644 index 0c3c63c32c..0000000000 --- a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/include/sdl_rpc_plugin/commands/hmi/vi_get_vehicle_data_request_template.h +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright (c) 2018, Ford Motor Company - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following - * disclaimer in the documentation and/or other materials provided with the - * distribution. - * - * Neither the name of the Ford Motor Company nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -#ifndef SRC_COMPONENTS_APPLICATION_MANAGER_RPC_PLUGINS_SDL_RPC_PLUGIN_INCLUDE_SDL_RPC_PLUGIN_COMMANDS_HMI_VI_GET_VEHICLE_DATA_REQUEST_TEMPLATE_H_ -#define SRC_COMPONENTS_APPLICATION_MANAGER_RPC_PLUGINS_SDL_RPC_PLUGIN_INCLUDE_SDL_RPC_PLUGIN_COMMANDS_HMI_VI_GET_VEHICLE_DATA_REQUEST_TEMPLATE_H_ - -#include "application_manager/event_engine/event.h" -#include "application_manager/commands/request_to_hmi.h" - -namespace sdl_rpc_plugin { -namespace app_mngr = application_manager; -namespace commands { - -/** - * @brief VIGetVehicleDataRequestTemplate command class - * - * Template class for sending 1 subscribe thin request - **/ -template <event_engine::Event::EventID eventID> -class VIGetVehicleDataRequestTemplate - : public app_mngr::commands::RequestToHMI { - public: - /** - * @brief VIGetVehicleDataRequestTemplate class constructor - * - * @param message Incoming SmartObject message - **/ - VIGetVehicleDataRequestTemplate( - const app_mngr::commands::MessageSharedPtr& message, - app_mngr::ApplicationManager& application_manager, - app_mngr::rpc_service::RPCService& rpc_service, - app_mngr::HMICapabilities& hmi_capabilities, - policy::PolicyHandlerInterface& policy_handle) - : RequestToHMI(message, - application_manager, - rpc_service, - hmi_capabilities, - policy_handle) {} - - /** - * @brief Execute command with sending DBus thin request to HMI - **/ - virtual void Run() { - LOG4CXX_AUTO_TRACE(logger_); - SendRequest(); - } - - private: - DISALLOW_COPY_AND_ASSIGN(VIGetVehicleDataRequestTemplate<eventID>); -}; - -} // namespace commands -} // namespace application_manager -#endif // SRC_COMPONENTS_APPLICATION_MANAGER_RPC_PLUGINS_SDL_RPC_PLUGIN_INCLUDE_SDL_RPC_PLUGIN_COMMANDS_HMI_VI_GET_VEHICLE_DATA_REQUEST_TEMPLATE_H_ diff --git a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/include/sdl_rpc_plugin/commands/hmi/vi_get_vehicle_data_response_template.h b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/include/sdl_rpc_plugin/commands/hmi/vi_get_vehicle_data_response_template.h deleted file mode 100644 index e28c55ba12..0000000000 --- a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/include/sdl_rpc_plugin/commands/hmi/vi_get_vehicle_data_response_template.h +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright (c) 2018, Ford Motor Company - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following - * disclaimer in the documentation and/or other materials provided with the - * distribution. - * - * Neither the name of the Ford Motor Company nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -#ifndef SRC_COMPONENTS_APPLICATION_MANAGER_RPC_PLUGINS_SDL_RPC_PLUGIN_INCLUDE_SDL_RPC_PLUGIN_COMMANDS_HMI_VI_GET_VEHICLE_DATA_RESPONSE_TEMPLATE_H_ -#define SRC_COMPONENTS_APPLICATION_MANAGER_RPC_PLUGINS_SDL_RPC_PLUGIN_INCLUDE_SDL_RPC_PLUGIN_COMMANDS_HMI_VI_GET_VEHICLE_DATA_RESPONSE_TEMPLATE_H_ - -#include "application_manager/event_engine/event.h" -#include "application_manager/commands/response_from_hmi.h" -#include "application_manager/application_manager.h" - -namespace sdl_rpc_plugin { -namespace app_mngr = application_manager; -namespace commands { - -/** - * @brief VIGetVehicleDataResponseTemplate command class - **/ -template <event_engine::Event::EventID eventID> -class VIGetVehicleDataResponseTemplate : public ResponseFromHMI { - public: - /** - * @brief VIGetVehicleDataResponseTemplate class constructor - * - * @param message Incoming SmartObject message - **/ - VIGetVehicleDataResponseTemplate( - const app_mngr::commands::MessageSharedPtr& message, - app_mngr::ApplicationManager& application_manager, - app_mngr::rpc_service::RPCService& rpc_service, - app_mngr::HMICapabilities& hmi_capabilities, - policy::PolicyHandlerInterface& policy_handle) - : ResponseFromHMI(message, - application_manager, - rpc_service, - hmi_capabilities, - policy_handle) {} - - /** - * @brief Execute command - **/ - virtual void Run() { - LOG4CXX_AUTO_TRACE(logger_); - event_engine::Event event(eventID); - event.set_smart_object(*message_); - event.raise(application_manager_.event_dispatcher()); - } - - private: - DISALLOW_COPY_AND_ASSIGN(VIGetVehicleDataResponseTemplate<eventID>); -}; - -} // namespace commands -} // namespace application_manager -#endif // SRC_COMPONENTS_APPLICATION_MANAGER_RPC_PLUGINS_SDL_RPC_PLUGIN_INCLUDE_SDL_RPC_PLUGIN_COMMANDS_HMI_VI_GET_VEHICLE_DATA_RESPONSE_TEMPLATE_H_ diff --git a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/include/sdl_rpc_plugin/commands/hmi/vi_subscribe_vehicle_data_request_template.h b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/include/sdl_rpc_plugin/commands/hmi/vi_subscribe_vehicle_data_request_template.h deleted file mode 100644 index b74d013a82..0000000000 --- a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/include/sdl_rpc_plugin/commands/hmi/vi_subscribe_vehicle_data_request_template.h +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright (c) 2018, Ford Motor Company - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following - * disclaimer in the documentation and/or other materials provided with the - * distribution. - * - * Neither the name of the Ford Motor Company nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -#ifndef SRC_COMPONENTS_APPLICATION_MANAGER_RPC_PLUGINS_SDL_RPC_PLUGIN_INCLUDE_SDL_RPC_PLUGIN_COMMANDS_HMI_VI_SUBSCRIBE_VEHICLE_DATA_REQUEST_TEMPLATE_H_ -#define SRC_COMPONENTS_APPLICATION_MANAGER_RPC_PLUGINS_SDL_RPC_PLUGIN_INCLUDE_SDL_RPC_PLUGIN_COMMANDS_HMI_VI_SUBSCRIBE_VEHICLE_DATA_REQUEST_TEMPLATE_H_ - -#include "application_manager/event_engine/event.h" -#include "application_manager/commands/request_to_hmi.h" - -namespace sdl_rpc_plugin { -namespace app_mngr = application_manager; -namespace commands { - -/** - * @brief VISubscriveVehicleDataRequestTemplate command class - * - * Template class for sending 1 subscribe thin request - **/ -template <event_engine::Event::EventID eventID> -class VISubscribeVehicleDataRequestTemplate - : public app_mngr::commands::RequestToHMI { - public: - /** - * @brief VISubscriveVehicleDataRequestTemplate class constructor - * - * @param message Incoming SmartObject message - **/ - VISubscribeVehicleDataRequestTemplate( - const app_mngr::commands::MessageSharedPtr& message, - app_mngr::ApplicationManager& application_manager, - app_mngr::rpc_service::RPCService& rpc_service, - app_mngr::HMICapabilities& hmi_capabilities, - policy::PolicyHandlerInterface& policy_handle) - : RequestToHMI(message, - application_manager, - rpc_service, - hmi_capabilities, - policy_handle) {} - - /** - * @brief Execute command with sending DBus thin request to HMI - **/ - virtual void Run() { - LOG4CXX_AUTO_TRACE(logger_); - SendRequest(); - } - - private: - DISALLOW_COPY_AND_ASSIGN(VISubscribeVehicleDataRequestTemplate<eventID>); -}; - -} // namespace commands -} // namespace application_manager -#endif // SRC_COMPONENTS_APPLICATION_MANAGER_RPC_PLUGINS_SDL_RPC_PLUGIN_INCLUDE_SDL_RPC_PLUGIN_COMMANDS_HMI_VI_SUBSCRIBE_VEHICLE_DATA_REQUEST_TEMPLATE_H_ diff --git a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/include/sdl_rpc_plugin/commands/hmi/vi_subscribe_vehicle_data_response_template.h b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/include/sdl_rpc_plugin/commands/hmi/vi_subscribe_vehicle_data_response_template.h deleted file mode 100644 index 42dba56345..0000000000 --- a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/include/sdl_rpc_plugin/commands/hmi/vi_subscribe_vehicle_data_response_template.h +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright (c) 2018, Ford Motor Company - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following - * disclaimer in the documentation and/or other materials provided with the - * distribution. - * - * Neither the name of the Ford Motor Company nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -#ifndef SRC_COMPONENTS_APPLICATION_MANAGER_RPC_PLUGINS_SDL_RPC_PLUGIN_INCLUDE_SDL_RPC_PLUGIN_COMMANDS_HMI_VI_SUBSCRIBE_VEHICLE_DATA_RESPONSE_TEMPLATE_H_ -#define SRC_COMPONENTS_APPLICATION_MANAGER_RPC_PLUGINS_SDL_RPC_PLUGIN_INCLUDE_SDL_RPC_PLUGIN_COMMANDS_HMI_VI_SUBSCRIBE_VEHICLE_DATA_RESPONSE_TEMPLATE_H_ - -#include "application_manager/event_engine/event.h" -#include "application_manager/commands/response_from_hmi.h" -#include "application_manager/application_manager.h" - -namespace sdl_rpc_plugin { -namespace app_mngr = application_manager; -namespace commands { -/** - * @brief VISubscriveVehicleDataResponseTemplate command class - **/ -template <event_engine::Event::EventID eventID> -class VISubscribeVehicleDataResponseTemplate : public ResponseFromHMI { - public: - /** - * @brief VISubscriveVehicleDataResponseTemplate class constructor - * - * @param message Incoming SmartObject message - **/ - VISubscribeVehicleDataResponseTemplate( - const app_mngr::commands::MessageSharedPtr& message, - app_mngr::ApplicationManager& application_manager, - app_mngr::rpc_service::RPCService& rpc_service, - app_mngr::HMICapabilities& hmi_capabilities, - policy::PolicyHandlerInterface& policy_handle) - : ResponseFromHMI(message, - application_manager, - rpc_service, - hmi_capabilities, - policy_handle) {} - - /** - * @brief Execute command - **/ - virtual void Run() { - LOG4CXX_AUTO_TRACE(logger_); - event_engine::Event event(eventID); - event.set_smart_object(*message_); - event.raise(application_manager_.event_dispatcher()); - } - - private: - DISALLOW_COPY_AND_ASSIGN(VISubscribeVehicleDataResponseTemplate<eventID>); -}; - -} // namespace commands -} // namespace application_manager -#endif // SRC_COMPONENTS_APPLICATION_MANAGER_RPC_PLUGINS_SDL_RPC_PLUGIN_INCLUDE_SDL_RPC_PLUGIN_COMMANDS_HMI_VI_SUBSCRIBE_VEHICLE_DATA_RESPONSE_TEMPLATE_H_ diff --git a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/include/sdl_rpc_plugin/commands/hmi/vi_unsubscribe_vehicle_data_request_template.h b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/include/sdl_rpc_plugin/commands/hmi/vi_unsubscribe_vehicle_data_request_template.h deleted file mode 100644 index 2cb5d622b1..0000000000 --- a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/include/sdl_rpc_plugin/commands/hmi/vi_unsubscribe_vehicle_data_request_template.h +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright (c) 2018, Ford Motor Company - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following - * disclaimer in the documentation and/or other materials provided with the - * distribution. - * - * Neither the name of the Ford Motor Company nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -#ifndef SRC_COMPONENTS_APPLICATION_MANAGER_RPC_PLUGINS_SDL_RPC_PLUGIN_INCLUDE_SDL_RPC_PLUGIN_COMMANDS_HMI_VI_UNSUBSCRIBE_VEHICLE_DATA_REQUEST_TEMPLATE_H_ -#define SRC_COMPONENTS_APPLICATION_MANAGER_RPC_PLUGINS_SDL_RPC_PLUGIN_INCLUDE_SDL_RPC_PLUGIN_COMMANDS_HMI_VI_UNSUBSCRIBE_VEHICLE_DATA_REQUEST_TEMPLATE_H_ - -#include "application_manager/event_engine/event.h" -#include "application_manager/commands/request_to_hmi.h" - -namespace sdl_rpc_plugin { -namespace app_mngr = application_manager; -namespace commands { - -/** - * @brief VIUnsubscriveVehicleDataRequestTemplate command class - * - * Template class for sending 1 unsubscribe thin request - **/ -template <event_engine::Event::EventID eventID> -class VIUnsubscribeVehicleDataRequestTemplate - : public app_mngr::commands::RequestToHMI { - public: - /** - * @brief VIUnsubscriveVehicleDataRequestTemplate class constructor - * - * @param message Incoming SmartObject message - **/ - VIUnsubscribeVehicleDataRequestTemplate( - const app_mngr::commands::MessageSharedPtr& message, - app_mngr::ApplicationManager& application_manager, - app_mngr::rpc_service::RPCService& rpc_service, - app_mngr::HMICapabilities& hmi_capabilities, - policy::PolicyHandlerInterface& policy_handle) - : RequestToHMI(message, - application_manager, - rpc_service, - hmi_capabilities, - policy_handle) {} - - /** - * @brief Execute command with sending DBus thin request to HMI - **/ - virtual void Run() { - LOG4CXX_AUTO_TRACE(logger_); - SendRequest(); - } - - private: - DISALLOW_COPY_AND_ASSIGN(VIUnsubscribeVehicleDataRequestTemplate<eventID>); -}; - -} // namespace commands -} // namespace application_manager -#endif // SRC_COMPONENTS_APPLICATION_MANAGER_RPC_PLUGINS_SDL_RPC_PLUGIN_INCLUDE_SDL_RPC_PLUGIN_COMMANDS_HMI_VI_UNSUBSCRIBE_VEHICLE_DATA_REQUEST_TEMPLATE_H_ diff --git a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/include/sdl_rpc_plugin/commands/hmi/vi_unsubscribe_vehicle_data_response_template.h b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/include/sdl_rpc_plugin/commands/hmi/vi_unsubscribe_vehicle_data_response_template.h deleted file mode 100644 index 6138aa59fb..0000000000 --- a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/include/sdl_rpc_plugin/commands/hmi/vi_unsubscribe_vehicle_data_response_template.h +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright (c) 2018, Ford Motor Company - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following - * disclaimer in the documentation and/or other materials provided with the - * distribution. - * - * Neither the name of the Ford Motor Company nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -#ifndef SRC_COMPONENTS_APPLICATION_MANAGER_RPC_PLUGINS_SDL_RPC_PLUGIN_INCLUDE_SDL_RPC_PLUGIN_COMMANDS_HMI_VI_UNSUBSCRIBE_VEHICLE_DATA_RESPONSE_TEMPLATE_H_ -#define SRC_COMPONENTS_APPLICATION_MANAGER_RPC_PLUGINS_SDL_RPC_PLUGIN_INCLUDE_SDL_RPC_PLUGIN_COMMANDS_HMI_VI_UNSUBSCRIBE_VEHICLE_DATA_RESPONSE_TEMPLATE_H_ - -#include "application_manager/event_engine/event.h" -#include "application_manager/commands/response_from_hmi.h" -#include "application_manager/application_manager.h" - -namespace sdl_rpc_plugin { -namespace app_mngr = application_manager; -namespace commands { - -/** - * @brief VIUnsubscriveVehicleDataResponseTemplate command class - **/ -template <event_engine::Event::EventID eventID> -class VIUnsubscribeVehicleDataResponseTemplate : public ResponseFromHMI { - public: - /** - * @brief VISubscriveVehicleDataResponseTemplate class constructor - * - * @param message Incoming SmartObject message - **/ - VIUnsubscribeVehicleDataResponseTemplate( - const app_mngr::commands::MessageSharedPtr& message, - app_mngr::ApplicationManager& application_manager, - app_mngr::rpc_service::RPCService& rpc_service, - app_mngr::HMICapabilities& hmi_capabilities, - policy::PolicyHandlerInterface& policy_handle) - : ResponseFromHMI(message, - application_manager, - rpc_service, - hmi_capabilities, - policy_handle) {} - - /** - * @brief Execute command - **/ - virtual void Run() { - LOG4CXX_AUTO_TRACE(logger_); - event_engine::Event event(eventID); - event.set_smart_object(*message_); - event.raise(application_manager_.event_dispatcher()); - } - - private: - DISALLOW_COPY_AND_ASSIGN(VIUnsubscribeVehicleDataResponseTemplate<eventID>); -}; - -} // namespace commands -} // namespace application_manager - -#endif // SRC_COMPONENTS_APPLICATION_MANAGER_RPC_PLUGINS_SDL_RPC_PLUGIN_INCLUDE_SDL_RPC_PLUGIN_COMMANDS_HMI_VI_UNSUBSCRIBE_VEHICLE_DATA_RESPONSE_TEMPLATE_H_ diff --git a/src/components/application_manager/src/application_manager_impl.cc b/src/components/application_manager/src/application_manager_impl.cc index 35deddfc8d..981dbfc237 100644 --- a/src/components/application_manager/src/application_manager_impl.cc +++ b/src/components/application_manager/src/application_manager_impl.cc @@ -2283,15 +2283,11 @@ void ApplicationManagerImpl::SendOnSDLClose() { logger_, "Attached schema to message, result if valid: " << msg->isValid()); -#ifdef HMI_DBUS_API - message_to_send->set_smart_object(*msg); -#else if (!ConvertSOtoMessage(*msg, *message_to_send)) { LOG4CXX_WARN(logger_, "Cannot send message to HMI: failed to create string"); return; } -#endif // HMI_DBUS_API if (!hmi_handler_) { LOG4CXX_WARN(logger_, "No HMI Handler set"); diff --git a/src/components/application_manager/src/rpc_handler_impl.cc b/src/components/application_manager/src/rpc_handler_impl.cc index 5cf5500709..42894a36a8 100644 --- a/src/components/application_manager/src/rpc_handler_impl.cc +++ b/src/components/application_manager/src/rpc_handler_impl.cc @@ -100,9 +100,6 @@ void RPCHandlerImpl::ProcessMessageFromHMI( return; } -#ifdef HMI_DBUS_API - *smart_object = message->smart_object(); -#else if (!ConvertMessageToSO(*message, *smart_object)) { if (application_manager::MessageType::kResponse == (*smart_object)[strings::params][strings::message_type].asInt()) { @@ -116,7 +113,6 @@ void RPCHandlerImpl::ProcessMessageFromHMI( return; } } -#endif // HMI_DBUS_API LOG4CXX_DEBUG(logger_, "Converted message, trying to create hmi command"); if (!app_manager_.GetRPCService().ManageHMICommand(smart_object)) { diff --git a/src/components/application_manager/src/rpc_service_impl.cc b/src/components/application_manager/src/rpc_service_impl.cc index 7d930d1432..11a98fc970 100644 --- a/src/components/application_manager/src/rpc_service_impl.cc +++ b/src/components/application_manager/src/rpc_service_impl.cc @@ -498,15 +498,11 @@ void RPCServiceImpl::SendMessageToHMI( logger_, "Attached schema to message, result if valid: " << message->isValid()); -#ifdef HMI_DBUS_API - message_to_send->set_smart_object(*message); -#else if (!ConvertSOtoMessage(*message, *message_to_send)) { LOG4CXX_WARN(logger_, "Cannot send message to HMI: failed to create string"); return; } -#endif // HMI_DBUS_API messages_to_hmi_.PostMessage(impl::MessageToHmi(message_to_send)); } diff --git a/src/components/dbus/CMakeLists.txt b/src/components/dbus/CMakeLists.txt deleted file mode 100644 index 7679153a0c..0000000000 --- a/src/components/dbus/CMakeLists.txt +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright (c) 2016, Ford Motor Company -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the -# distribution. -# -# Neither the name of the Ford Motor Company nor the names of its contributors -# may be used to endorse or promote products derived from this software -# without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. - -include(${CMAKE_SOURCE_DIR}/tools/cmake/helpers/sources.cmake) - -include_directories ( - ${DBUS_INCLUDE_DIRS} - ${CMAKE_CURRENT_SOURCE_DIR}/include/ - ${CMAKE_SOURCE_DIR}/ - ${COMPONENTS_DIR} - ${COMPONENTS_DIR}/formatters/include/ - ${COMPONENTS_DIR}/smart_objects/include/ - ${COMPONENTS_DIR}/utils/include/ - ${CMAKE_BINARY_DIR}/src/components/ -) - -set(PATHS - ${CMAKE_CURRENT_SOURCE_DIR}/include - ${CMAKE_CURRENT_SOURCE_DIR}/src - ${CMAKE_CURRENT_SOURCE_DIR}/src/introspection_xml.cc - ${CMAKE_CURRENT_BINARY_DIR}/message_descriptions.cc -) -collect_sources(SOURCES "${PATHS}") - -set(LIBRARIES - HMI_API - Utils - dbus-1 -) - -add_library("DBus" ${SOURCES}) - -target_link_libraries("DBus" "${LIBRARIES}") - -if(BUILD_TESTS) - add_subdirectory(test) -endif() diff --git a/src/components/dbus/codegen/introspection_xml.cc b/src/components/dbus/codegen/introspection_xml.cc deleted file mode 100644 index 210c232a4d..0000000000 --- a/src/components/dbus/codegen/introspection_xml.cc +++ /dev/null @@ -1,327 +0,0 @@ -// Warning! This file is generated by 'make_introspection_c.py'. Edit at your -// own risk. -/** - * @file instrospections_xml.cc - * @brief D-Bus introspection XML as C-string - * - * This file is a part of HMI D-Bus layer. - */ -// Copyright (c) 2013, Ford Motor Company -// All rights reserved. -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are met: -// -// Redistributions of source code must retain the above copyright notice, this -// list of conditions and the following disclaimer. -// -// Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following -// disclaimer in the documentation and/or other materials provided with the -// distribution. -// -// Neither the name of the Ford Motor Company nor the names of its contributors -// may be used to endorse or promote products derived from this software -// without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 'A PARTICULAR PURPOSE -// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -// POSSIBILITY OF SUCH DAMAGE. - -char introspection_xml[] = { - 0x3c, 0x21, 0x44, 0x4f, 0x43, 0x54, 0x59, 0x50, 0x45, 0x20, 0x6e, 0x6f, - 0x64, 0x65, 0x20, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, 0x20, 0x22, 0x2d, - 0x2f, 0x2f, 0x66, 0x72, 0x65, 0x65, 0x64, 0x65, 0x73, 0x6b, 0x74, 0x6f, - 0x70, 0x2f, 0x2f, 0x44, 0x54, 0x44, 0x20, 0x44, 0x2d, 0x42, 0x55, 0x53, - 0x20, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x49, 0x6e, 0x74, 0x72, - 0x6f, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x31, 0x2e, - 0x30, 0x2f, 0x2f, 0x45, 0x4e, 0x22, 0x20, 0x22, 0x68, 0x74, 0x74, 0x70, - 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x66, 0x72, 0x65, 0x65, 0x64, - 0x65, 0x73, 0x6b, 0x74, 0x6f, 0x70, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x73, - 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x64, 0x62, 0x75, - 0x73, 0x2f, 0x31, 0x2e, 0x30, 0x2f, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x73, - 0x70, 0x65, 0x63, 0x74, 0x2e, 0x64, 0x74, 0x64, 0x22, 0x3e, 0x0a, 0x3c, - 0x6e, 0x6f, 0x64, 0x65, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x2f, - 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6f, 0x72, 0x64, 0x2f, 0x68, 0x6d, 0x69, - 0x22, 0x3e, 0x3c, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, - 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x66, - 0x6f, 0x72, 0x64, 0x2e, 0x68, 0x6d, 0x69, 0x2e, 0x73, 0x64, 0x6c, 0x2e, - 0x42, 0x61, 0x73, 0x69, 0x63, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3e, 0x3c, 0x73, 0x69, 0x67, - 0x6e, 0x61, 0x6c, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x4f, 0x6e, - 0x52, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x53, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, - 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x61, 0x70, 0x70, 0x49, 0x44, 0x22, - 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x69, 0x22, 0x20, 0x2f, 0x3e, - 0x3c, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x3e, 0x3c, 0x73, 0x69, - 0x67, 0x6e, 0x61, 0x6c, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x4f, - 0x6e, 0x53, 0x44, 0x4c, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, - 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x22, - 0x20, 0x2f, 0x3e, 0x3c, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x20, 0x6e, - 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x4f, 0x6e, 0x46, 0x69, 0x6c, 0x65, 0x52, - 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x22, 0x3e, 0x3c, 0x61, 0x72, 0x67, - 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x66, 0x69, 0x6c, 0x65, 0x4e, - 0x61, 0x6d, 0x65, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x73, - 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, 0x6d, - 0x65, 0x3d, 0x22, 0x66, 0x69, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, - 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x69, 0x22, 0x20, 0x2f, 0x3e, - 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x61, - 0x70, 0x70, 0x49, 0x44, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, - 0x69, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x61, - 0x6c, 0x3e, 0x3c, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x20, 0x6e, 0x61, - 0x6d, 0x65, 0x3d, 0x22, 0x4f, 0x6e, 0x41, 0x70, 0x70, 0x52, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x22, 0x3e, 0x3c, 0x61, 0x72, - 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x61, 0x70, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x20, 0x74, 0x79, 0x70, - 0x65, 0x3d, 0x22, 0x28, 0x73, 0x28, 0x62, 0x73, 0x29, 0x28, 0x62, 0x73, - 0x29, 0x28, 0x73, 0x73, 0x28, 0x62, 0x69, 0x29, 0x28, 0x62, 0x62, 0x29, - 0x29, 0x73, 0x28, 0x62, 0x61, 0x28, 0x73, 0x69, 0x29, 0x29, 0x28, 0x62, - 0x61, 0x73, 0x29, 0x69, 0x69, 0x62, 0x28, 0x62, 0x61, 0x69, 0x29, 0x28, - 0x62, 0x62, 0x29, 0x28, 0x62, 0x61, 0x69, 0x29, 0x29, 0x22, 0x20, 0x2f, - 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, - 0x74, 0x74, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x20, 0x74, 0x79, 0x70, - 0x65, 0x3d, 0x22, 0x28, 0x62, 0x61, 0x28, 0x73, 0x69, 0x29, 0x29, 0x22, - 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, - 0x3d, 0x22, 0x76, 0x72, 0x53, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x73, - 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x28, 0x62, 0x61, 0x73, - 0x29, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, - 0x6d, 0x65, 0x3d, 0x22, 0x72, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x56, 0x72, - 0x47, 0x72, 0x61, 0x6d, 0x6d, 0x61, 0x72, 0x73, 0x22, 0x20, 0x74, 0x79, - 0x70, 0x65, 0x3d, 0x22, 0x28, 0x62, 0x62, 0x29, 0x22, 0x20, 0x2f, 0x3e, - 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x70, - 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x20, 0x74, 0x79, 0x70, - 0x65, 0x3d, 0x22, 0x28, 0x62, 0x69, 0x29, 0x22, 0x20, 0x2f, 0x3e, 0x3c, - 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x3e, 0x3c, 0x73, 0x69, 0x67, - 0x6e, 0x61, 0x6c, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x4f, 0x6e, - 0x41, 0x70, 0x70, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, - 0x72, 0x65, 0x64, 0x22, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, - 0x6d, 0x65, 0x3d, 0x22, 0x75, 0x6e, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, - 0x65, 0x64, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, - 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x62, 0x22, 0x20, 0x2f, - 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, - 0x61, 0x70, 0x70, 0x49, 0x44, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, - 0x22, 0x69, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x2f, 0x73, 0x69, 0x67, 0x6e, - 0x61, 0x6c, 0x3e, 0x3c, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x20, 0x6e, - 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x50, 0x6c, 0x61, 0x79, 0x54, 0x6f, 0x6e, - 0x65, 0x22, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, - 0x3d, 0x22, 0x61, 0x70, 0x70, 0x49, 0x44, 0x22, 0x20, 0x74, 0x79, 0x70, - 0x65, 0x3d, 0x22, 0x69, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, - 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x6d, 0x65, 0x74, 0x68, 0x6f, - 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, - 0x22, 0x69, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x2f, 0x73, 0x69, 0x67, 0x6e, - 0x61, 0x6c, 0x3e, 0x3c, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x20, 0x6e, - 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x4f, 0x6e, 0x53, 0x44, 0x4c, 0x43, 0x6c, - 0x6f, 0x73, 0x65, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x73, 0x69, 0x67, 0x6e, - 0x61, 0x6c, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x4f, 0x6e, 0x50, - 0x75, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x22, 0x3e, 0x3c, 0x61, 0x72, 0x67, - 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x6f, 0x66, 0x66, 0x73, 0x65, - 0x74, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x28, 0x62, 0x69, - 0x29, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, - 0x6d, 0x65, 0x3d, 0x22, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x22, 0x20, - 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x28, 0x62, 0x69, 0x29, 0x22, 0x20, - 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, - 0x22, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x20, 0x74, - 0x79, 0x70, 0x65, 0x3d, 0x22, 0x28, 0x62, 0x69, 0x29, 0x22, 0x20, 0x2f, - 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, - 0x46, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x20, 0x74, 0x79, - 0x70, 0x65, 0x3d, 0x22, 0x73, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, - 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x73, 0x79, 0x6e, 0x63, - 0x46, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x20, 0x74, 0x79, - 0x70, 0x65, 0x3d, 0x22, 0x73, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, - 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x66, 0x69, 0x6c, 0x65, - 0x54, 0x79, 0x70, 0x65, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, - 0x69, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, - 0x6d, 0x65, 0x3d, 0x22, 0x70, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, - 0x6e, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, - 0x3d, 0x22, 0x28, 0x62, 0x62, 0x29, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x2f, - 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x3e, 0x3c, 0x2f, 0x69, 0x6e, 0x74, - 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x3e, 0x3c, 0x69, 0x6e, 0x74, 0x65, - 0x72, 0x66, 0x61, 0x63, 0x65, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, - 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6f, 0x72, 0x64, 0x2e, 0x68, 0x6d, 0x69, - 0x2e, 0x73, 0x64, 0x6c, 0x2e, 0x55, 0x49, 0x22, 0x3e, 0x3c, 0x73, 0x69, - 0x67, 0x6e, 0x61, 0x6c, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x4f, - 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x53, 0x74, 0x61, 0x72, 0x74, - 0x22, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, - 0x22, 0x61, 0x70, 0x70, 0x49, 0x44, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, - 0x3d, 0x22, 0x69, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x2f, 0x73, 0x69, 0x67, - 0x6e, 0x61, 0x6c, 0x3e, 0x3c, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, - 0x61, 0x63, 0x65, 0x3e, 0x3c, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, - 0x63, 0x65, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x63, 0x6f, 0x6d, - 0x2e, 0x66, 0x6f, 0x72, 0x64, 0x2e, 0x68, 0x6d, 0x69, 0x2e, 0x73, 0x64, - 0x6c, 0x2e, 0x53, 0x44, 0x4c, 0x22, 0x3e, 0x3c, 0x6d, 0x65, 0x74, 0x68, - 0x6f, 0x64, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x41, 0x63, 0x74, - 0x69, 0x76, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x22, 0x3e, 0x3c, 0x61, - 0x72, 0x67, 0x20, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x3d, 0x22, 0x69, 0x6e, 0x22, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, - 0x61, 0x70, 0x70, 0x49, 0x44, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, - 0x22, 0x69, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x64, - 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x6f, 0x75, - 0x74, 0x22, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x72, 0x65, 0x74, - 0x43, 0x6f, 0x64, 0x65, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, - 0x69, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x64, 0x69, - 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x6f, 0x75, 0x74, - 0x22, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x69, 0x73, 0x53, 0x44, - 0x4c, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x22, 0x20, 0x74, 0x79, - 0x70, 0x65, 0x3d, 0x22, 0x62, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, - 0x67, 0x20, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, - 0x22, 0x6f, 0x75, 0x74, 0x22, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, - 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, - 0x3d, 0x22, 0x28, 0x62, 0x28, 0x73, 0x73, 0x28, 0x62, 0x69, 0x29, 0x28, - 0x62, 0x62, 0x29, 0x29, 0x29, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, - 0x67, 0x20, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, - 0x22, 0x6f, 0x75, 0x74, 0x22, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, - 0x69, 0x73, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x73, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x74, 0x4e, 0x65, 0x65, 0x64, - 0x65, 0x64, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x62, 0x22, - 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x64, 0x69, 0x72, 0x65, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x6f, 0x75, 0x74, 0x22, 0x20, - 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x69, 0x73, 0x41, 0x70, 0x70, 0x50, - 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, - 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, - 0x22, 0x62, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x64, - 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x6f, 0x75, - 0x74, 0x22, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x61, 0x70, 0x70, - 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, - 0x3d, 0x22, 0x28, 0x62, 0x61, 0x28, 0x73, 0x69, 0x28, 0x62, 0x62, 0x29, - 0x29, 0x29, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x64, - 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x6f, 0x75, - 0x74, 0x22, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x69, 0x73, 0x41, - 0x70, 0x70, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x22, 0x20, 0x74, - 0x79, 0x70, 0x65, 0x3d, 0x22, 0x62, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, - 0x72, 0x67, 0x20, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x3d, 0x22, 0x6f, 0x75, 0x74, 0x22, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, - 0x22, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x20, 0x74, - 0x79, 0x70, 0x65, 0x3d, 0x22, 0x28, 0x62, 0x69, 0x29, 0x22, 0x20, 0x2f, - 0x3e, 0x3c, 0x2f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x3e, 0x3c, 0x6d, - 0x65, 0x74, 0x68, 0x6f, 0x64, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, - 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x46, 0x72, 0x69, 0x65, 0x6e, - 0x64, 0x6c, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x3e, - 0x3c, 0x61, 0x72, 0x67, 0x20, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x3d, 0x22, 0x69, 0x6e, 0x22, 0x20, 0x6e, 0x61, 0x6d, 0x65, - 0x3d, 0x22, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, - 0x65, 0x73, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x61, 0x73, - 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x64, 0x69, 0x72, - 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x69, 0x6e, 0x22, 0x20, - 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, - 0x67, 0x65, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x28, 0x62, - 0x69, 0x29, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x64, - 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x6f, 0x75, - 0x74, 0x22, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x72, 0x65, 0x74, - 0x43, 0x6f, 0x64, 0x65, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, - 0x69, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x64, 0x69, - 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x6f, 0x75, 0x74, - 0x22, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x6d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x73, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, - 0x28, 0x62, 0x61, 0x28, 0x73, 0x28, 0x62, 0x73, 0x29, 0x28, 0x62, 0x73, - 0x29, 0x28, 0x62, 0x73, 0x29, 0x28, 0x62, 0x73, 0x29, 0x28, 0x62, 0x73, - 0x29, 0x29, 0x29, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x2f, 0x6d, 0x65, 0x74, - 0x68, 0x6f, 0x64, 0x3e, 0x3c, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x20, - 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, - 0x74, 0x4f, 0x66, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x73, 0x22, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x64, 0x69, 0x72, - 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x69, 0x6e, 0x22, 0x20, - 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x61, 0x70, 0x70, 0x49, 0x44, 0x22, - 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x28, 0x62, 0x69, 0x29, 0x22, - 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x64, 0x69, 0x72, 0x65, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x6f, 0x75, 0x74, 0x22, 0x20, - 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x72, 0x65, 0x74, 0x43, 0x6f, 0x64, - 0x65, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x69, 0x22, 0x20, - 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x64, 0x69, 0x72, 0x65, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x6f, 0x75, 0x74, 0x22, 0x20, 0x6e, - 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, - 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x20, 0x74, - 0x79, 0x70, 0x65, 0x3d, 0x22, 0x61, 0x28, 0x73, 0x69, 0x28, 0x62, 0x62, - 0x29, 0x29, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x2f, 0x6d, 0x65, 0x74, 0x68, - 0x6f, 0x64, 0x3e, 0x3c, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x20, 0x6e, - 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, - 0x44, 0x4c, 0x22, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x64, 0x69, 0x72, - 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x6f, 0x75, 0x74, 0x22, - 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x72, 0x65, 0x74, 0x43, 0x6f, - 0x64, 0x65, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x69, 0x22, - 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x64, 0x69, 0x72, 0x65, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x6f, 0x75, 0x74, 0x22, 0x20, - 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x69, 0x22, 0x20, 0x2f, - 0x3e, 0x3c, 0x2f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x3e, 0x3c, 0x6d, - 0x65, 0x74, 0x68, 0x6f, 0x64, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, - 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x22, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x64, 0x69, - 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x6f, 0x75, 0x74, - 0x22, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x72, 0x65, 0x74, 0x43, - 0x6f, 0x64, 0x65, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x69, - 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x64, 0x69, 0x72, - 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x6f, 0x75, 0x74, 0x22, - 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x73, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x69, 0x22, 0x20, - 0x2f, 0x3e, 0x3c, 0x2f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x3e, 0x3c, - 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, - 0x22, 0x47, 0x65, 0x74, 0x55, 0x52, 0x4c, 0x53, 0x22, 0x3e, 0x3c, 0x61, - 0x72, 0x67, 0x20, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x3d, 0x22, 0x69, 0x6e, 0x22, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x20, 0x74, 0x79, 0x70, - 0x65, 0x3d, 0x22, 0x69, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, - 0x20, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, - 0x6f, 0x75, 0x74, 0x22, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x72, - 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, - 0x3d, 0x22, 0x69, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, - 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x6f, - 0x75, 0x74, 0x22, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x75, 0x72, - 0x6c, 0x73, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x28, 0x62, - 0x61, 0x28, 0x73, 0x28, 0x62, 0x73, 0x29, 0x29, 0x29, 0x22, 0x20, 0x2f, - 0x3e, 0x3c, 0x2f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x3e, 0x3c, 0x73, - 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, - 0x4f, 0x6e, 0x41, 0x70, 0x70, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x22, 0x3e, - 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x61, - 0x70, 0x70, 0x49, 0x44, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, - 0x69, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, - 0x6d, 0x65, 0x3d, 0x22, 0x69, 0x73, 0x41, 0x70, 0x70, 0x50, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x76, 0x6f, - 0x6b, 0x65, 0x64, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x28, - 0x62, 0x62, 0x29, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, - 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x61, 0x70, 0x70, 0x52, 0x65, 0x76, - 0x6f, 0x6b, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x73, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x28, - 0x62, 0x61, 0x28, 0x73, 0x69, 0x28, 0x62, 0x62, 0x29, 0x29, 0x29, 0x22, - 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, - 0x3d, 0x22, 0x61, 0x70, 0x70, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, - 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x28, 0x62, 0x62, 0x29, - 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, 0x6d, - 0x65, 0x3d, 0x22, 0x61, 0x70, 0x70, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x74, - 0x4e, 0x65, 0x65, 0x64, 0x65, 0x64, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, - 0x3d, 0x22, 0x28, 0x62, 0x62, 0x29, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, - 0x72, 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x61, 0x70, 0x70, - 0x55, 0x6e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, - 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x28, 0x62, 0x62, 0x29, - 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, 0x6d, - 0x65, 0x3d, 0x22, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, - 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x28, 0x62, 0x69, 0x29, 0x22, - 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, - 0x3d, 0x22, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x79, 0x70, - 0x65, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x28, 0x62, 0x61, - 0x69, 0x29, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x2f, 0x73, 0x69, 0x67, 0x6e, - 0x61, 0x6c, 0x3e, 0x3c, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x20, 0x6e, - 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x4f, 0x6e, 0x53, 0x44, 0x4c, 0x43, 0x6f, - 0x6e, 0x73, 0x65, 0x6e, 0x74, 0x4e, 0x65, 0x65, 0x64, 0x65, 0x64, 0x22, - 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, - 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, - 0x3d, 0x22, 0x28, 0x73, 0x73, 0x28, 0x62, 0x69, 0x29, 0x28, 0x62, 0x62, - 0x29, 0x29, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x2f, 0x73, 0x69, 0x67, 0x6e, - 0x61, 0x6c, 0x3e, 0x3c, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x20, 0x6e, - 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x4f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x22, 0x3e, 0x3c, 0x61, 0x72, - 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x73, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x69, 0x22, - 0x20, 0x2f, 0x3e, 0x3c, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x3e, - 0x3c, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x3e, - 0x3c, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x3e, 0x00};
\ No newline at end of file diff --git a/src/components/dbus/include/dbus/dbus_adapter.h b/src/components/dbus/include/dbus/dbus_adapter.h deleted file mode 100644 index 42a2ac1140..0000000000 --- a/src/components/dbus/include/dbus/dbus_adapter.h +++ /dev/null @@ -1,375 +0,0 @@ -/* - * Copyright (c) 2013-2014, Ford Motor Company - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following - * disclaimer in the documentation and/or other materials provided with the - * distribution. - * - * Neither the name of the Ford Motor Company nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ -#ifndef SRC_COMPONENTS_DBUS_INCLUDE_DBUS_DBUS_ADAPTER_H_ -#define SRC_COMPONENTS_DBUS_INCLUDE_DBUS_DBUS_ADAPTER_H_ - -#include <string> -#include "smart_objects/smart_object.h" -#include "dbus/schema.h" -#include "dbus/message_descriptions.h" - -struct DBusConnection; -struct DBusMessage; -struct DBusMessageIter; - -namespace dbus { - -/** - * \brief class for work with DBus - */ -class DBusAdapter { - public: - /** - * \brief constructs DBus adapter - * \param sdlServiceName core service name - * \param sdlObjectPath core object path - * \param hmiServiceName hmi service name - */ - DBusAdapter(const std::string& sdlServiceName, - const std::string& sdlObjectPath, - const std::string& hmiServiceName, - const std::string& hmiObjectPath); - - /** - * \brief destructs DBus adapter - */ - virtual ~DBusAdapter(); - - /** - * \brief inits service - * \return true if success - */ - bool Init(); - - /** - * \brief return schema messages for DBus - * \return schema - */ - const DBusSchema& get_schema() const; - - protected: - /** - * \brief calls method on HMI - * \param id id message - * \param func_id id function in Ford protocol - * \param name pair interface and name of method for call - * \param obj params for call - */ - void MethodCall(uint id, - const MessageId func_id, - const MessageName& name, - const smart_objects::SmartObject& obj); - - /** - * \brief sends signal - * \param id id message - * \param func_id id function in Ford protocol - * \param name pair interface and name of signal for call - * \param obj params for signal - */ - void Signal(const MessageId func_id, - const MessageName& name, - const smart_objects::SmartObject& obj); - - /** - * \brief returns result of call method to HMI - * \param id id message - * \param obj params for return - */ - void MethodReturn(uint id, - const MessageId func_id, - const MessageName& name, - const smart_objects::SmartObject& obj); - - /** - * \brief sends error on message from HMI - * \param id id message - * \param msg message from HMI - * \param name name of error - * \param description description of error - */ - void Error(uint id, const std::string& name, const std::string& description); - - /** - * \brief adds a match rule - * \param rule string rule in the DBus specification - */ - void AddMatch(const std::string& rule); - - /** - * \brief processes incoming message from DBus if queue isn't empty - * and fill obj - * \param obj object for send to core - * \return true if message processed - */ - bool Process(smart_objects::SmartObject& obj); - - /** - * \brief saves link D-Bus serial to Ford message id - * \param serial D-Bus message serial - * \param ids pair correlation id and Ford message id - */ - inline void SaveRequestToHMI(uint32_t serial, - const std::pair<uint, MessageId>& ids); - - /** - * \brief gets Ford message id by serial - * \param serial D-Bus message serial - * \return pair correlation id and Ford message id - */ - inline std::pair<uint, MessageId> GetRequestToHMI(uint32_t serial); - - /** - * \brief saves link D-Bus serial to Ford message id - * \param serial D-Bus message serial - * \param request D-Bus message from HMI - */ - inline void SaveRequestFromHMI(uint32_t serial, DBusMessage* request); - - /** - * \brief gets D-Bus message id by serial - * \param serial DBus message serial - * \return D-Bus message from HMI - */ - inline DBusMessage* GetRequestFromHMI(uint32_t serial); - - std::string sdl_service_name_; - std::string sdl_object_path_; - std::string hmi_service_name_; - std::string hmi_object_path_; - DBusConnection* conn_; - - private: - /** - * \brief schema messages and arguments for DBus - */ - const DBusSchema* schema_; - - /** - * \brief mapping serial message DBus on message id Ford protocol - */ - std::map<uint32_t, std::pair<uint, MessageId> > requests_to_hmi_; - - /** - * \brief mapping message id Ford protocol on message DBus - */ - std::map<uint32_t, DBusMessage*> requests_from_hmi_; - - /** - * \brief processes incoming call of method and fill obj - * \param msg message from DBus - * \param obj object for send to core - * \return true if success - */ - bool ProcessMethodCall(DBusMessage* msg, smart_objects::SmartObject& obj); - - /** - * \brief processes incoming return of method and fill obj - * \param msg message from DBus - * \param obj object for send to core - * \return true if success - */ - bool ProcessMethodReturn(DBusMessage* msg, smart_objects::SmartObject& obj); - - /** - * \brief processes incoming error and fill obj - * \param msg message from DBus - * \param obj object for send to core - * \return true if success - */ - bool ProcessError(DBusMessage* msg, smart_objects::SmartObject& obj); - - /** - * \brief processes incoming signal and fill obj - * \param msg message from DBus - * \param obj object for send to core - * \return true if success - */ - bool ProcessSignal(DBusMessage* msg, smart_objects::SmartObject& obj); - - /** - * \brief sets arguments to message - * \param msg DBus message - * \param rules list of rules for arguments - * \param args map of arguments - * \return true if success - */ - bool SetArguments(DBusMessage* msg, - const ListArgs& rules, - const smart_objects::SmartObject& args); - - /** - * \brief Sets one argument to message - * \param iter DBus message iterator - * \param rules description for argument - * \param param value of argument - * \return true if success - */ - bool SetOneArgument( - DBusMessageIter* iter, - const ford_message_descriptions::ParameterDescription* rules, - const smart_objects::SmartObject& param); - - /** - * \brief sets value for argument - * \param iter DBus message iterator - * \param rules description for argument - * \param param value of argument - * \return true if success - */ - bool SetValue(DBusMessageIter* iter, - const ford_message_descriptions::ParameterDescription* rules, - const smart_objects::SmartObject& param); - - /** - * \brief sets value for every element of argument - * \param iter DBus message iterator - * \param rules description for argument - * \param param array values of argument - * \return true if success - */ - bool SetArrayValue(DBusMessageIter* iter, - const ford_message_descriptions::ArrayDescription* rules, - const smart_objects::SmartObject& param); - - /** - * \brief sets struct value for argument - * \param iter DBus message iter - * \param rules description for argument - * \param param structure - * \return true if success - */ - bool SetStructValue(DBusMessageIter* iter, - const ford_message_descriptions::StructDescription* rules, - const smart_objects::SmartObject& param); - - /** - * \brief sets optional value for argument. - * Optional param is struct bool, value - * \param iter DBus message iterator - * \param rules description for argument - * \param param value of optional argument - * \return true if success - */ - bool SetOptionalValue( - DBusMessageIter* iter, - const ford_message_descriptions::ParameterDescription* rules, - const smart_objects::SmartObject& param); - - /** - * \brief gets arguments from message - * \param iter DBus message iterator - * \param code response code (output) - * \param message response message (output) - * \return true if success - */ - bool GetHeader(DBusMessageIter* iter, int* code, std::string* message); - - /** - * \brief gets arguments from message with header - * \param iter DBus message iterator - * \param rules list of rules for arguments - * \param args map of arguments - * \return true if success - */ - bool GetArguments(DBusMessageIter* iter, - const ListArgs& rules, - smart_objects::SmartObject& args); - - /** - * \brief gets one argument from message - * \param iter DBus message iterator - * \param rules description for argument - * \param args map of arguments - * \return true if success - */ - bool GetOneArgument( - DBusMessageIter* iter, - const ford_message_descriptions::ParameterDescription* rules, - smart_objects::SmartObject& args); - - /** - * \brief gets value for argument - * \param iter DBus message iterator - * \param rules description for argument - * \param param value of argument - * \return true if success - */ - bool GetValue(DBusMessageIter* iter, - const ford_message_descriptions::ParameterDescription* rules, - smart_objects::SmartObject& param); - - /** - * \brief gets value for every element of argument - * \param iter DBus message iterator - * \param rules description for argument - * \param param array values of argument - * \return true if success - */ - bool GetArrayValue(DBusMessageIter* iter, - const ford_message_descriptions::ArrayDescription* rules, - smart_objects::SmartObject& param); - - /** - * \brief gets struct value for argument - * \param iter DBus message iterator - * \param rules description for argument - * \param param structure - * \return true if success - */ - bool GetStructValue(DBusMessageIter* iter, - const ford_message_descriptions::StructDescription* rules, - smart_objects::SmartObject& param); - - /** - * \brief gets optional value for argument. - * Optional param is struct bool, value - * \param iter DBus message iterator - * \param rules description for argument - * \param param value of optional argument - * \return true if success - */ - bool GetOptionalValue( - DBusMessageIter* iter, - const ford_message_descriptions::ParameterDescription* rules, - smart_objects::SmartObject& param); - - /** - * \brief processes request on introspect - * \param msg DBus message - */ - void Introspect(DBusMessage* msg); -}; - -} // namespace dbus - -#endif // SRC_COMPONENTS_DBUS_INCLUDE_DBUS_DBUS_ADAPTER_H_ diff --git a/src/components/dbus/include/dbus/dbus_message.h b/src/components/dbus/include/dbus/dbus_message.h deleted file mode 100644 index 23e672d0fc..0000000000 --- a/src/components/dbus/include/dbus/dbus_message.h +++ /dev/null @@ -1,179 +0,0 @@ -/* Copyright (c) 2014, Ford Motor Company - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following - * disclaimer in the documentation and/or other materials provided with the - * distribution. - * - * Neither the name of the Ford Motor Company nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -#ifndef SRC_COMPONENTS_DBUS_INCLUDE_DBUS_DBUS_MESSAGE_H_ -#define SRC_COMPONENTS_DBUS_INCLUDE_DBUS_DBUS_MESSAGE_H_ - -#include <stdint.h> -#include <string> - -#include <dbus/dbus.h> - -namespace dbus { - -enum ContainerType { - kArray = DBUS_TYPE_ARRAY, - kStruct = DBUS_TYPE_STRUCT, - kDictEntry = DBUS_TYPE_DICT_ENTRY -}; - -class MessageRefKeeper { - public: - MessageRefKeeper(); - MessageRefKeeper(DBusMessage* message); - ~MessageRefKeeper(); - MessageRefKeeper(const MessageRefKeeper& other); - MessageRefKeeper& operator=(MessageRefKeeper other); - DBusMessage* get() const; - DBusMessage* Pass(); - void swap(MessageRefKeeper& other); - - private: - DBusMessage* raw_message_; -}; - -class MessageRef { - public: - MessageRef(DBusMessage* message); - ~MessageRef(); - std::string GetInterface() const; - std::string GetMember() const; - - protected: - MessageRefKeeper raw_message_ref_; - friend class MessageReader; - friend class MessageWriter; -}; - -class MessageReader { - public: - // Main constructor - MessageReader(const MessageRef& message); - bool has_failed() const; - bool IsAtLastElement() const; - bool HasNext() const; - - // Type checkers - bool NextIsInvalid() const; - bool NextIsBool() const; - bool NextIsByte() const; - bool NextIsInt16() const; - bool NextIsUint16() const; - bool NextIsInt32() const; - bool NextIsUint32() const; - bool NextIsInt64() const; - bool NextIsUint64() const; - bool NextIsDouble() const; - bool NextIsString() const; - bool NextIsArray() const; - bool NextIsStruct() const; - bool NextIsDictEntry() const; - - // Readers - bool TakeBool(); - uint8_t TakeByte(); - int16_t TakeInt16(); - uint16_t TakeUint16(); - int32_t TakeInt32(); - uint32_t TakeUint32(); - int64_t TakeInt64(); - uint64_t TakeUint64(); - double TakeDouble(); - std::string TakeString(); - - MessageReader TakeArrayReader(); - MessageReader TakeStructReader(); - MessageReader TakeDictEntryReader(); - - private: - typedef int DataType; - // Container reader constructor - MessageReader(MessageReader* reader, DataType container_data_type); - void MoveToNext(); - void MarkFailed(); - DataType NextValueType() const; - void ReadNextValue(DataType type, void* value); - - private: - // Fields - MessageReader* parent_reader_; - bool failed_; - DBusMessageIter iterator_; -}; - -class MessageWriter { - public: - // Methods - // Main appending constructor - MessageWriter(const MessageRef& message); - // Container writer constructor - MessageWriter(MessageWriter* parent, - ContainerType type, - const char* array_signature); - ~MessageWriter(); - void PutBool(bool value); - void PutByte(uint8_t value); - void PutInt16(int16_t value); - void PutUint16(uint16_t value); - void PutInt32(int32_t value); - void PutUint32(uint32_t value); - void PutInt64(int64_t value); - void PutUint64(uint64_t value); - void PutDouble(double value); - void PutString(const std::string& value); - - private: - typedef int DataType; - // Main constructor - void WriteAndCheck(DataType value_type, const void* value); - void CloseWriter(); - - private: - // Fields - bool has_opened_subcontainer_; - MessageWriter* parent_writer_; - DBusMessageIter iterator_; - - // Disallow copy and assign - MessageWriter(const MessageWriter& other); - MessageWriter& operator=(const MessageWriter& other); -}; - -MessageRef MethodCall(const char* bus_name, - const char* path, - const char* interface, - const char* method); -MessageRef Signal(const char* path, const char* interface, const char* name); -} // namespace dbus - -#include "dbus/dbus_message_inl.h" - -#endif // SRC_COMPONENTS_DBUS_INCLUDE_DBUS_DBUS_MESSAGE_H_ diff --git a/src/components/dbus/include/dbus/dbus_message_controller.h b/src/components/dbus/include/dbus/dbus_message_controller.h deleted file mode 100644 index a4a3718ce3..0000000000 --- a/src/components/dbus/include/dbus/dbus_message_controller.h +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright (c) 2013, Ford Motor Company - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following - * disclaimer in the documentation and/or other materials provided with the - * distribution. - * - * Neither the name of the Ford Motor Company nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -#ifndef SRC_COMPONENTS_DBUS_INCLUDE_DBUS_DBUS_MESSAGE_CONTROLLER_H_ -#define SRC_COMPONENTS_DBUS_INCLUDE_DBUS_DBUS_MESSAGE_CONTROLLER_H_ - -#include <string> -#include <map> -#include "dbus/dbus_adapter.h" -#include "smart_objects/smart_object.h" - -namespace dbus { - -class DBusMessageController : public DBusAdapter { - public: - /** - * @brief constructs DBus message controller - * @param sdlServiceName name of service SDL - * @param sdlObjectPath path of object SDL - * @param hmiServiceName name of service HMI - * @param hmiObjectPath path of object HMI - */ - DBusMessageController(const std::string& sdlServiceName, - const std::string& sdlObjectPath, - const std::string& hmiServiceName, - const std::string& hmiObjectPath); - - /** - * @brief destructs DBus message controller - */ - virtual ~DBusMessageController(); - - /** - * @brief subscribes to the DBus signal. - * @param interface name of interface in HMI - * @param signal name of signal - */ - void SubscribeTo(const std::string& interface, const std::string& signal); - - /** - * @brief Method for receiving thread. - */ - void* MethodForReceiverThread(void*); - - /** - * @brief Main thread loop. - */ - bool Run(); - - /** - * @brief Signal shutdown for thread loop. - */ - void Shutdown(); - - protected: - /** - * @brief sends message to core - * @param obj - */ - virtual void SendMessageToCore(const smart_objects::SmartObject& obj) = 0; - - private: - bool shutdown_; -}; - -} // namespace dbus - -#endif // SRC_COMPONENTS_DBUS_INCLUDE_DBUS_DBUS_MESSAGE_CONTROLLER_H_ diff --git a/src/components/dbus/include/dbus/dbus_message_inl.h b/src/components/dbus/include/dbus/dbus_message_inl.h deleted file mode 100644 index ba9bfaa78d..0000000000 --- a/src/components/dbus/include/dbus/dbus_message_inl.h +++ /dev/null @@ -1,214 +0,0 @@ -/* Copyright (c) 2014, Ford Motor Company - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following - * disclaimer in the documentation and/or other materials provided with the - * distribution. - * - * Neither the name of the Ford Motor Company nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -#ifndef SRC_COMPONENTS_DBUS_INCLUDE_DBUS_DBUS_MESSAGE_INL_H_ -#define SRC_COMPONENTS_DBUS_INCLUDE_DBUS_DBUS_MESSAGE_INL_H_ - -#include "dbus/dbus_message.h" - -namespace dbus { -// MessageReader -inline bool MessageReader::has_failed() const { - return failed_; -} - -inline bool MessageReader::IsAtLastElement() const { - DBusMessageIter* iter = const_cast<DBusMessageIter*>(&iterator_); - return dbus_message_iter_has_next(iter) == 0; -} - -inline bool MessageReader::HasNext() const { - return !failed_ && NextValueType() != DBUS_TYPE_INVALID; -} - -inline bool MessageReader::NextIsInvalid() const { - return NextValueType() == DBUS_TYPE_INVALID; -} - -inline bool MessageReader::NextIsBool() const { - return NextValueType() == DBUS_TYPE_BOOLEAN; -} - -inline bool MessageReader::NextIsByte() const { - return NextValueType() == DBUS_TYPE_BYTE; -} - -inline bool MessageReader::NextIsInt16() const { - return NextValueType() == DBUS_TYPE_INT16; -} - -inline bool MessageReader::NextIsUint16() const { - return NextValueType() == DBUS_TYPE_UINT16; -} - -inline bool MessageReader::NextIsInt32() const { - return NextValueType() == DBUS_TYPE_INT32; -} - -inline bool MessageReader::NextIsUint32() const { - return NextValueType() == DBUS_TYPE_UINT32; -} - -inline bool MessageReader::NextIsInt64() const { - return NextValueType() == DBUS_TYPE_INT64; -} - -inline bool MessageReader::NextIsUint64() const { - return NextValueType() == DBUS_TYPE_UINT64; -} - -inline bool MessageReader::NextIsDouble() const { - return NextValueType() == DBUS_TYPE_DOUBLE; -} - -inline bool MessageReader::NextIsString() const { - return NextValueType() == DBUS_TYPE_STRING; -} - -inline bool MessageReader::NextIsArray() const { - return NextValueType() == DBUS_TYPE_ARRAY; -} - -inline bool MessageReader::NextIsStruct() const { - return NextValueType() == DBUS_TYPE_STRUCT; -} - -inline bool MessageReader::TakeBool() { - dbus_bool_t value = 0; - ReadNextValue(DBUS_TYPE_BOOLEAN, &value); - return value != 0; -} - -inline uint8_t MessageReader::TakeByte() { - uint8_t value = 0; - ReadNextValue(DBUS_TYPE_BYTE, &value); - return value; -} - -inline int16_t MessageReader::TakeInt16() { - int16_t value = 0; - ReadNextValue(DBUS_TYPE_INT16, &value); - return value; -} - -inline uint16_t MessageReader::TakeUint16() { - uint16_t value = 0; - ReadNextValue(DBUS_TYPE_UINT16, &value); - return value; -} - -inline int32_t MessageReader::TakeInt32() { - int32_t value = 0; - ReadNextValue(DBUS_TYPE_INT32, &value); - return value; -} - -inline uint32_t MessageReader::TakeUint32() { - uint32_t value = 0; - ReadNextValue(DBUS_TYPE_UINT32, &value); - return value; -} - -inline int64_t MessageReader::TakeInt64() { - int64_t value = 0; - ReadNextValue(DBUS_TYPE_INT64, &value); - return value; -} - -inline uint64_t MessageReader::TakeUint64() { - uint64_t value = 0; - ReadNextValue(DBUS_TYPE_UINT64, &value); - return value; -} - -inline double MessageReader::TakeDouble() { - double value = 0.; - ReadNextValue(DBUS_TYPE_DOUBLE, &value); - return value; -} - -inline std::string MessageReader::TakeString() { - const char* value = ""; - ReadNextValue(DBUS_TYPE_STRING, &value); - return value; -} - -inline MessageReader::DataType MessageReader::NextValueType() const { - DBusMessageIter* iter = const_cast<DBusMessageIter*>(&iterator_); - return failed_ ? DBUS_TYPE_INVALID : dbus_message_iter_get_arg_type(iter); -} - -// Message writer methods -inline void MessageWriter::PutBool(bool value) { - dbus_bool_t dbus_value = value; - WriteAndCheck(DBUS_TYPE_BOOLEAN, &dbus_value); -} - -inline void MessageWriter::PutByte(uint8_t value) { - WriteAndCheck(DBUS_TYPE_BYTE, &value); -} - -inline void MessageWriter::PutInt16(int16_t value) { - WriteAndCheck(DBUS_TYPE_INT16, &value); -} - -inline void MessageWriter::PutUint16(uint16_t value) { - WriteAndCheck(DBUS_TYPE_UINT16, &value); -} - -inline void MessageWriter::PutInt32(int32_t value) { - WriteAndCheck(DBUS_TYPE_INT32, &value); -} - -inline void MessageWriter::PutUint32(uint32_t value) { - WriteAndCheck(DBUS_TYPE_UINT32, &value); -} - -inline void MessageWriter::PutInt64(int64_t value) { - WriteAndCheck(DBUS_TYPE_INT64, &value); -} - -inline void MessageWriter::PutUint64(uint64_t value) { - WriteAndCheck(DBUS_TYPE_UINT64, &value); -} - -inline void MessageWriter::PutDouble(double value) { - WriteAndCheck(DBUS_TYPE_DOUBLE, &value); -} - -inline void MessageWriter::PutString(const std::string& value) { - const char* pointer = value.c_str(); - WriteAndCheck(DBUS_TYPE_STRING, &pointer); -} - -} // namespace dbus - -#endif // SRC_COMPONENTS_DBUS_INCLUDE_DBUS_DBUS_MESSAGE_INL_H_ diff --git a/src/components/dbus/include/dbus/message_descriptions.h b/src/components/dbus/include/dbus/message_descriptions.h deleted file mode 100644 index a9e7a5e141..0000000000 --- a/src/components/dbus/include/dbus/message_descriptions.h +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright (c) 2013, Ford Motor Company - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following - * disclaimer in the documentation and/or other materials provided with the - * distribution. - * - * Neither the name of the Ford Motor Company nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ -#ifndef SRC_COMPONENTS_DBUS_INCLUDE_DBUS_MESSAGE_DESCRIPTIONS_H_ -#define SRC_COMPONENTS_DBUS_INCLUDE_DBUS_MESSAGE_DESCRIPTIONS_H_ - -#include <stdint.h> -#include <stdlib.h> -#include "interfaces/HMI_API.h" - -namespace ford_message_descriptions { - -enum ParameterType { Integer, Boolean, Float, String, Struct, Enum, Array }; - -struct ParameterDescription { - const char* name; - const ParameterType type; - const bool obligatory; // TODO (dchmerev@luxoft.com): rename to 'mandatory' - // as in HMI API description -}; - -struct ArrayDescription { - const ParameterDescription base; - const ParameterDescription* element; - const char* element_dbus_signature; -}; - -struct StructDescription { - const ParameterDescription base; - const ParameterDescription** parameters; -}; - -struct MessageDescription { - const char* interface; - const char* name; - const hmi_apis::messageType::eType message_type; - const hmi_apis::FunctionID::eType function_id; - const ParameterDescription** parameters; -}; - -extern const MessageDescription* message_descriptions[]; - -} // namespace ford_message_descriptions - -#endif // SRC_COMPONENTS_DBUS_INCLUDE_DBUS_MESSAGE_DESCRIPTIONS_H_ diff --git a/src/components/dbus/include/dbus/schema.h b/src/components/dbus/include/dbus/schema.h deleted file mode 100644 index 3dfe49cc95..0000000000 --- a/src/components/dbus/include/dbus/schema.h +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright (c) 2013, Ford Motor Company - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following - * disclaimer in the documentation and/or other materials provided with the - * distribution. - * - * Neither the name of the Ford Motor Company nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ -#ifndef SRC_COMPONENTS_DBUS_INCLUDE_DBUS_SCHEMA_H_ -#define SRC_COMPONENTS_DBUS_INCLUDE_DBUS_SCHEMA_H_ - -#include <string> -#include <vector> -#include <utility> - -#include "dbus/message_descriptions.h" -#include "interfaces/HMI_API.h" - -namespace dbus { - -using ford_message_descriptions::ParameterDescription; -using ford_message_descriptions::MessageDescription; - -struct Description; - -typedef hmi_apis::FunctionID::eType MessageId; -typedef hmi_apis::messageType::eType MessageType; -typedef std::pair<std::string, std::string> MessageName; // interface, message -typedef std::vector<const ParameterDescription*> ListArgs; -typedef std::vector<const Description*> Messages; - -/** - * \brief Wrapper class for message description - */ -class DBusSchema { - public: - explicit DBusSchema(const MessageDescription** array); - - /** - * \brief gets message name by message id - * \param id id message - * \return name message - */ - MessageName getMessageName(MessageId id) const; - - /** - * \brief gets message id by message name - * \param name name message - * \return id message - */ - MessageId getMessageId(const MessageName& name) const; - - /** - * \brief gets list rules for arguments - * \param id id message - * \param type type message - * \return list rules - */ - ListArgs getListArgs(MessageId id, MessageType type) const; - - /** - * \brief gets list rules for arguments - * @param name name message - * @param type type message - * @return list rules - */ - ListArgs getListArgs(const MessageName& name, MessageType type) const; - - private: - Messages msgs_; -}; - -} // namespace dbus - -#endif // SRC_COMPONENTS_DBUS_INCLUDE_DBUS_SCHEMA_H_ diff --git a/src/components/dbus/src/dbus_adapter.cc b/src/components/dbus/src/dbus_adapter.cc deleted file mode 100644 index 33d05a728b..0000000000 --- a/src/components/dbus/src/dbus_adapter.cc +++ /dev/null @@ -1,937 +0,0 @@ -/* - * Copyright (c) 2013-2014, Ford Motor Company - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following - * disclaimer in the documentation and/or other materials provided with the - * distribution. - * - * Neither the name of the Ford Motor Company nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -#include "dbus/dbus_adapter.h" -#include <dbus/dbus.h> -#include <sstream> -#include "formatters/CSmartFactory.h" -#include "utils/logger.h" -#include "smart_objects/smart_object.h" -#include "introspection_xml.cc" -#include "message_descriptions.cc" - -using ford_message_descriptions::ParameterDescription; -namespace sos = NsSmartDeviceLink::NsJSONHandler::strings; - -extern char introspection_xml[]; - -namespace dbus { - -CREATE_LOGGERPTR_GLOBAL(logger_, "HMIMessageHandler") - -std::vector<std::string>& split(const std::string& s, - char delim, - std::vector<std::string>& elems) { - std::stringstream ss(s); - std::string item; - while (std::getline(ss, item, delim)) { - elems.push_back(item); - } - return elems; -} - -DBusAdapter::DBusAdapter(const std::string& sdlServiceName, - const std::string& sdlObjectPath, - const std::string& hmiServiceName, - const std::string& hmiObjectPath) - : sdl_service_name_(sdlServiceName) - , sdl_object_path_(sdlObjectPath) - , hmi_service_name_(hmiServiceName) - , hmi_object_path_(hmiObjectPath) - , conn_(NULL) - , schema_(new DBusSchema(ford_message_descriptions::message_descriptions)) { -} - -DBusAdapter::~DBusAdapter() { - dbus_shutdown(); - delete schema_; -} - -bool DBusAdapter::Init() { - DBusError err; - int ret; - dbus_error_init(&err); - if (!dbus_threads_init_default()) { - LOG4CXX_ERROR(logger_, "DBus: Can't initializes threads"); - return false; - } - conn_ = dbus_bus_get(DBUS_BUS_SESSION, &err); - if (dbus_error_is_set(&err)) { - LOG4CXX_ERROR(logger_, "DBus: Connection Error " << err.message); - dbus_error_free(&err); - return false; - } - ret = dbus_bus_request_name( - conn_, sdl_service_name_.c_str(), DBUS_NAME_FLAG_DO_NOT_QUEUE, &err); - if (ret == -1 || dbus_error_is_set(&err)) { - LOG4CXX_ERROR(logger_, "DBus: Can't request name " << err.name); - dbus_error_free(&err); - return false; - } - if (DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER != ret) { - LOG4CXX_ERROR(logger_, - "DBus: Service '" << sdl_service_name_ - << "' is already running"); - return false; - } - - LOG4CXX_INFO(logger_, "DBus: Success init dbus adaptor"); - return true; -} - -bool DBusAdapter::Process(smart_objects::SmartObject& obj) { - if (conn_ == NULL) { - LOG4CXX_ERROR(logger_, "DBus: DBusAdaptor isn't initialized"); - return false; - } - DBusMessage* msg = dbus_connection_pop_message(conn_); - if (msg != NULL) { - switch (dbus_message_get_type(msg)) { - case DBUS_MESSAGE_TYPE_METHOD_CALL: - return ProcessMethodCall(msg, obj); - case DBUS_MESSAGE_TYPE_METHOD_RETURN: - return ProcessMethodReturn(msg, obj); - case DBUS_MESSAGE_TYPE_ERROR: - return ProcessError(msg, obj); - case DBUS_MESSAGE_TYPE_SIGNAL: - return ProcessSignal(msg, obj); - default: - return false; - } - } else { - dbus_connection_read_write(conn_, 50); - } - return false; -} - -void DBusAdapter::MethodReturn(uint id, - const MessageId func_id, - const MessageName& name, - const smart_objects::SmartObject& obj) { - LOG4CXX_DEBUG(logger_, "Method return " << name.first << "." << name.second); - if (conn_ == NULL) { - LOG4CXX_ERROR(logger_, "DBus: DBusAdaptor isn't init"); - return; - } - - if (func_id == hmi_apis::FunctionID::INVALID_ENUM) { - LOG4CXX_ERROR(logger_, "DBus: Invalid name method"); - return; - } - - DBusMessage* msg = GetRequestFromHMI(id); - if (!msg) { - LOG4CXX_WARN(logger_, "DBus: request from HMI is not found"); - return; - } - - DBusMessage* reply; - reply = dbus_message_new_method_return(msg); - if (NULL == reply) { - LOG4CXX_WARN(logger_, "DBus: Failed call method (Message Null)"); - return; - } - - const ListArgs& args = - schema_->getListArgs(func_id, hmi_apis::messageType::response); - if (!SetArguments(reply, args, obj)) { - LOG4CXX_ERROR(logger_, "DBus: Failed call method (Signature is wrong)"); - dbus_message_unref(reply); - dbus_message_unref(msg); - return; - } - - dbus_uint32_t serial; - if (!dbus_connection_send(conn_, reply, &serial)) { - LOG4CXX_ERROR(logger_, "DBus: Failed call method (Can't send message)"); - dbus_message_unref(reply); - dbus_message_unref(msg); - return; - } - dbus_connection_flush(conn_); - dbus_message_unref(reply); - dbus_message_unref(msg); - LOG4CXX_INFO(logger_, "DBus: Success return method"); -} - -void DBusAdapter::Error(uint id, - const std::string& name, - const std::string& description) { - LOG4CXX_DEBUG(logger_, "Error " << name << ": " << description); - if (conn_ == NULL) { - LOG4CXX_ERROR(logger_, "DBus: DBusAdaptor isn't init"); - return; - } - - DBusMessage* msg = GetRequestFromHMI(id); - if (!msg) { - LOG4CXX_WARN(logger_, "DBus: request from HMI is not found"); - return; - } - - DBusMessage* error; - error = dbus_message_new_error(msg, name.c_str(), description.c_str()); - if (NULL == error) { - LOG4CXX_WARN(logger_, "DBus: Failed call method (Message Null)"); - return; - } - - dbus_uint32_t serial; - if (!dbus_connection_send(conn_, error, &serial)) { - LOG4CXX_ERROR(logger_, "DBus: Failed call method (Can't send message)"); - dbus_message_unref(error); - dbus_message_unref(msg); - return; - } - dbus_connection_flush(conn_); - dbus_message_unref(error); - dbus_message_unref(msg); - LOG4CXX_INFO(logger_, "DBus: Success error"); -} - -void DBusAdapter::MethodCall(uint id, - const MessageId func_id, - const MessageName& name, - const smart_objects::SmartObject& obj) { - LOG4CXX_DEBUG(logger_, "Method call " << name.first << "." << name.second); - if (conn_ == NULL) { - LOG4CXX_ERROR(logger_, "DBus: DBusAdaptor isn't init"); - return; - } - - if (func_id == hmi_apis::FunctionID::INVALID_ENUM) { - LOG4CXX_ERROR(logger_, "DBus: Invalid name method"); - return; - } - - DBusMessage* msg; - msg = dbus_message_new_method_call( - hmi_service_name_.c_str(), - hmi_object_path_.c_str(), - (hmi_service_name_ + "." + name.first).c_str(), - name.second.c_str()); - if (NULL == msg) { - LOG4CXX_WARN(logger_, "DBus: Failed call method (Message Null)"); - return; - } - - const ListArgs& args = - schema_->getListArgs(func_id, hmi_apis::messageType::request); - if (!SetArguments(msg, args, obj)) { - LOG4CXX_ERROR(logger_, "DBus: Failed call method (Signature is wrong)"); - dbus_message_unref(msg); - return; - } - - dbus_uint32_t serial; - if (!dbus_connection_send(conn_, msg, &serial)) { - LOG4CXX_ERROR(logger_, "DBus: Failed call method (Can't send message)"); - dbus_message_unref(msg); - return; - } - SaveRequestToHMI(serial, std::make_pair(id, func_id)); - dbus_message_unref(msg); - LOG4CXX_INFO(logger_, "DBus: Success call method"); -} - -void DBusAdapter::Signal(const MessageId func_id, - const MessageName& name, - const smart_objects::SmartObject& obj) { - LOG4CXX_DEBUG(logger_, "Signal " << name.first << "." << name.second); - if (conn_ == NULL) { - LOG4CXX_ERROR(logger_, "DBus: DBusAdaptor isn't init"); - return; - } - - if (func_id == hmi_apis::FunctionID::INVALID_ENUM) { - LOG4CXX_ERROR(logger_, "DBus: Invalid name method"); - return; - } - - DBusMessage* msg; - msg = dbus_message_new_signal(sdl_object_path_.c_str(), - (sdl_service_name_ + "." + name.first).c_str(), - name.second.c_str()); - if (NULL == msg) { - LOG4CXX_WARN(logger_, "DBus: Failed emit signal (Message Null)"); - return; - } - - const ListArgs& args = - schema_->getListArgs(func_id, hmi_apis::messageType::notification); - if (!SetArguments(msg, args, obj)) { - LOG4CXX_ERROR(logger_, "DBus: Failed call method (Signature is wrong)"); - dbus_message_unref(msg); - return; - } - - if (!dbus_connection_send(conn_, msg, NULL)) { // serial isn't required - LOG4CXX_WARN(logger_, "DBus: Failed emit signal (Out Of Memory)"); - dbus_message_unref(msg); - return; - } - dbus_message_unref(msg); - LOG4CXX_INFO(logger_, "DBus: Success emit signal"); -} - -void DBusAdapter::AddMatch(const std::string& rule) { - LOG4CXX_INFO(logger_, "Subscription: " << rule); - dbus_bus_add_match(conn_, rule.c_str(), NULL); -} - -bool DBusAdapter::ProcessMethodCall(DBusMessage* msg, - smart_objects::SmartObject& obj) { - std::string method = dbus_message_get_member(msg); - std::string interface = dbus_message_get_interface(msg); - LOG4CXX_INFO(logger_, "DBus: name of method " << interface << " " << method); - - if (interface == "org.freedesktop.DBus.Introspectable" && - method == "Introspect") { - LOG4CXX_INFO(logger_, "DBus: INTROSPECT"); - Introspect(msg); - return false; - } - - std::vector<std::string> elems; - split(interface, '.', elems); - MessageName name(elems.back(), method); - MessageId m_id = schema_->getMessageId(name); - if (m_id == hmi_apis::FunctionID::INVALID_ENUM) { - LOG4CXX_ERROR(logger_, "DBus: Invalid name method call from hmi"); - return false; - } - - uint32_t serial = dbus_message_get_serial(msg); - if (!serial) { - LOG4CXX_ERROR(logger_, "DBus: Serial of request from HMI isn't defined"); - return false; - } - - obj[sos::S_PARAMS][sos::S_CORRELATION_ID] = serial; - obj[sos::S_PARAMS][sos::S_FUNCTION_ID] = m_id; - obj[sos::S_PARAMS][sos::S_MESSAGE_TYPE] = hmi_apis::messageType::request; - obj[sos::S_MSG_PARAMS] = - smart_objects::SmartObject(smart_objects::SmartType_Map); - - const ListArgs args = - schema_->getListArgs(name, hmi_apis::messageType::request); - - DBusMessageIter iter; - dbus_message_iter_init(msg, &iter); - if (GetArguments(&iter, args, obj[sos::S_MSG_PARAMS])) { - SaveRequestFromHMI(serial, msg); - return true; - } - return false; -} - -bool DBusAdapter::ProcessMethodReturn(DBusMessage* msg, - smart_objects::SmartObject& obj) { - LOG4CXX_AUTO_TRACE(logger_); - dbus_uint32_t reply_serial = dbus_message_get_reply_serial(msg); - std::pair<uint, MessageId> ids = GetRequestToHMI(reply_serial); - if (ids.second == hmi_apis::FunctionID::INVALID_ENUM) { - LOG4CXX_ERROR(logger_, "DBus: Invalid name method"); - return false; - } - - obj[sos::S_MSG_PARAMS] = - smart_objects::SmartObject(smart_objects::SmartType_Map); - - ListArgs args = - schema_->getListArgs(ids.second, hmi_apis::messageType::response); - DBusMessageIter iter; - dbus_message_iter_init(msg, &iter); - int code = 0; - std::string message; - smart_objects::SmartObject description(smart_objects::SmartType_Map); - bool ret = GetHeader(&iter, &code, &message) && - GetArguments(&iter, args, description); - - if (ret) { - obj[sos::S_PARAMS][sos::S_CORRELATION_ID] = ids.first; - obj[sos::S_PARAMS][sos::S_FUNCTION_ID] = ids.second; - obj[sos::S_PARAMS][sos::S_MESSAGE_TYPE] = hmi_apis::messageType::response; - obj[sos::S_PARAMS][sos::kCode] = code; - obj[sos::S_PARAMS][sos::kMessage] = message; - if (code != hmi_apis::Common_Result::SUCCESS) { - MessageName name = schema_->getMessageName(ids.second); - description["method"] = name.first + "." + name.second; - obj[sos::S_PARAMS]["data"] = description; - } else { - obj[sos::S_MSG_PARAMS] = description; - } - } - - dbus_message_unref(msg); - return ret; -} - -bool DBusAdapter::ProcessError(DBusMessage* msg, - smart_objects::SmartObject& obj) { - dbus_uint32_t reply_serial = dbus_message_get_reply_serial(msg); - std::pair<uint, MessageId> ids = GetRequestToHMI(reply_serial); - if (ids.second == hmi_apis::FunctionID::INVALID_ENUM) { - LOG4CXX_ERROR(logger_, "DBus: Invalid name method"); - return false; - } - - const char* error_name; - bool ret = false; - if ((error_name = dbus_message_get_error_name(msg)) != NULL) { - smart_objects::SmartObject name(smart_objects::SmartType_String); - name = error_name; - ford_message_descriptions::ParameterDescription rule = { - "description", ford_message_descriptions::String, true}; - ListArgs args; - args.push_back(&rule); - smart_objects::SmartObject description(smart_objects::SmartType_Map); - description[rule.name] = - smart_objects::SmartObject(smart_objects::SmartType_String); - - DBusMessageIter iter; - dbus_message_iter_init(msg, &iter); - ret = GetArguments(&iter, args, description); - MessageName method = schema_->getMessageName(ids.second); - - obj[sos::S_PARAMS][sos::S_CORRELATION_ID] = ids.first; - obj[sos::S_PARAMS][sos::S_FUNCTION_ID] = ids.second; - obj[sos::S_PARAMS][sos::S_MESSAGE_TYPE] = - hmi_apis::messageType::error_response; - obj[sos::S_PARAMS][sos::kCode] = name.asInt(); - obj[sos::S_PARAMS][sos::kMessage] = description[rule.name].asString(); - obj[sos::S_MSG_PARAMS] = - smart_objects::SmartObject(smart_objects::SmartType_Map); - obj[sos::S_PARAMS]["data"]["method"] = method.first + "." + method.second; - - LOG4CXX_WARN(logger_, - "DBus: Call of method " << method.first << "." << method.second - << " returned error " << name.asInt() - << ": " - << description[rule.name].asString()); - } else { - LOG4CXX_ERROR(logger_, "DBus: Type message isn't error"); - } - - dbus_message_unref(msg); - return ret; -} - -bool DBusAdapter::ProcessSignal(DBusMessage* msg, - smart_objects::SmartObject& obj) { - std::string method = dbus_message_get_member(msg); - std::string interface = dbus_message_get_interface(msg); - LOG4CXX_INFO(logger_, "DBus: name of signal " << method); - - std::vector<std::string> elems; - split(interface, '.', elems); - MessageName name(elems.back(), method); - MessageId m_id = schema_->getMessageId(name); - if (m_id == hmi_apis::FunctionID::INVALID_ENUM) { - LOG4CXX_ERROR(logger_, "DBus: Invalid name signal"); - return false; - } - - obj[sos::S_PARAMS][sos::S_FUNCTION_ID] = m_id; - obj[sos::S_PARAMS][sos::S_MESSAGE_TYPE] = hmi_apis::messageType::notification; - obj[sos::S_MSG_PARAMS] = - smart_objects::SmartObject(smart_objects::SmartType_Map); - - const ListArgs args = - schema_->getListArgs(name, hmi_apis::messageType::notification); - - DBusMessageIter iter; - dbus_message_iter_init(msg, &iter); - bool ret = GetArguments(&iter, args, obj[sos::S_MSG_PARAMS]); - dbus_message_unref(msg); - return ret; -} - -bool DBusAdapter::SetArguments(DBusMessage* msg, - const ListArgs& rules, - const smart_objects::SmartObject& args) { - DBusMessageIter iter; - dbus_message_iter_init_append(msg, &iter); - size_t size = rules.size(); - for (size_t i = 0; i < size; ++i) { - const smart_objects::SmartObject& param = args.getElement(rules[i]->name); - if (!SetOneArgument(&iter, rules[i], param)) { - return false; - } - } - return true; -} - -bool DBusAdapter::SetOneArgument(DBusMessageIter* iter, - const ParameterDescription* rules, - const smart_objects::SmartObject& param) { - if (rules->obligatory) { - if (param.isValid()) { - return SetValue(iter, rules, param); - } else { - LOG4CXX_WARN(logger_, - "DBus: Argument '" << rules->name << "' is obligatory!"); - return false; - } - } else { - return SetOptionalValue(iter, rules, param); - } -} - -bool DBusAdapter::SetValue( - DBusMessageIter* iter, - const ford_message_descriptions::ParameterDescription* rules, - const smart_objects::SmartObject& param) { - // LOG4CXX_DEBUG(logger_, "DBus: Set param " << rules->name << " = " << - // param.asString()); - int type = 0; - void* value = 0; - dbus_int32_t integerValue = 0; - double floatValue = 0; - dbus_bool_t booleanValue = false; - std::string stringValue; - const char* cStringValue; - switch (rules->type) { - case ford_message_descriptions::ParameterType::Array: - return SetArrayValue( - iter, - reinterpret_cast<const ford_message_descriptions::ArrayDescription*>( - rules), - param); - break; - case ford_message_descriptions::ParameterType::Struct: - return SetStructValue( - iter, - reinterpret_cast<const ford_message_descriptions::StructDescription*>( - rules), - param); - break; - case ford_message_descriptions::ParameterType::Enum: - case ford_message_descriptions::ParameterType::Integer: - type = DBUS_TYPE_INT32; - integerValue = param.asInt(); - value = &integerValue; - break; - case ford_message_descriptions::ParameterType::Float: - type = DBUS_TYPE_DOUBLE; - floatValue = param.asDouble(); - value = &floatValue; - break; - case ford_message_descriptions::ParameterType::Boolean: - type = DBUS_TYPE_BOOLEAN; - booleanValue = param.asBool(); - value = &booleanValue; - break; - case ford_message_descriptions::ParameterType::String: - type = DBUS_TYPE_STRING; - stringValue = param.asString(); - cStringValue = stringValue.c_str(); - value = &cStringValue; - break; - default: - LOG4CXX_ERROR(logger_, "DBus: Unknown type of argument"); - return false; - } - return dbus_message_iter_append_basic(iter, type, value); -} - -bool DBusAdapter::SetOptionalValue( - DBusMessageIter* iter, - const ford_message_descriptions::ParameterDescription* rules, - const smart_objects::SmartObject& param) { - DBusMessageIter sub_iter; - if (!dbus_message_iter_open_container( - iter, DBUS_TYPE_STRUCT, NULL, &sub_iter)) { - LOG4CXX_ERROR( - logger_, - "DBus: Can't open container type (STRUCT) for optional parameter"); - return false; - } - - ford_message_descriptions::ParameterDescription flagRules = { - "flag", ford_message_descriptions::Boolean, true}; - smart_objects::SmartObject flag(param.getType() != - smart_objects::SmartType_Invalid); - if (!SetValue(&sub_iter, &flagRules, flag) || - !SetValue(&sub_iter, rules, param)) { - return false; - } - - if (!dbus_message_iter_close_container(iter, &sub_iter)) { - LOG4CXX_ERROR( - logger_, - "DBus: Can't close container type (STRUCT) for optional parameter"); - return false; - } - return true; -} - -bool DBusAdapter::SetArrayValue( - DBusMessageIter* iter, - const ford_message_descriptions::ArrayDescription* rules, - const smart_objects::SmartObject& param) { - smart_objects::SmartType type = param.getType(); - if (type != smart_objects::SmartType_Array && - type != smart_objects::SmartType_Invalid) { - LOG4CXX_ERROR(logger_, "DBus: SmartObject is not a map"); - return false; - } - DBusMessageIter sub_iter; - if (!dbus_message_iter_open_container( - iter, DBUS_TYPE_ARRAY, rules->element_dbus_signature, &sub_iter)) { - LOG4CXX_ERROR(logger_, "DBus: Can't open container type (ARRAY)"); - return false; - } - size_t size = param.length(); - for (size_t i = 0; i < size; ++i) { - if (!SetValue(&sub_iter, rules->element, param[i])) { - return false; - } - } - if (!dbus_message_iter_close_container(iter, &sub_iter)) { - LOG4CXX_ERROR(logger_, "DBus: Can't close container type (ARRAY)"); - return false; - } - return true; -} - -bool DBusAdapter::SetStructValue( - DBusMessageIter* iter, - const ford_message_descriptions::StructDescription* rules, - const smart_objects::SmartObject& structure) { - smart_objects::SmartType type = structure.getType(); - if (type != smart_objects::SmartType_Map && - type != smart_objects::SmartType_Invalid) { - LOG4CXX_ERROR(logger_, "DBus: SmartObject is not a map"); - return false; - } - DBusMessageIter sub_iter; - if (!dbus_message_iter_open_container( - iter, DBUS_TYPE_STRUCT, NULL, &sub_iter)) { - LOG4CXX_ERROR(logger_, "DBus: Can't open container type (STRUCT)"); - return false; - } - const ParameterDescription** entry; - entry = rules->parameters; - while (*entry != NULL) { - const smart_objects::SmartObject& param = - structure.getElement((*entry)->name); - if (!SetOneArgument(&sub_iter, *entry, param)) { - return false; - } - entry++; - } - if (!dbus_message_iter_close_container(iter, &sub_iter)) { - LOG4CXX_ERROR(logger_, "DBus: Can't close container type (STRUCT)"); - return false; - } - return true; -} - -bool DBusAdapter::GetHeader(DBusMessageIter* iter, - int* code, - std::string* message) { - // Get code of response - dbus_int32_t intValue; - int type = dbus_message_iter_get_arg_type(iter); - if (type != DBUS_TYPE_INT32) { - LOG4CXX_ERROR(logger_, "DBus: Unknown format of header"); - return false; - } - dbus_message_iter_get_basic(iter, &intValue); - *code = intValue; - LOG4CXX_DEBUG(logger_, "DBus: Code of response " << *code); - - dbus_message_iter_next(iter); - - // Get message of response - type = dbus_message_iter_get_arg_type(iter); - if (type != DBUS_TYPE_STRING) { - LOG4CXX_ERROR(logger_, "DBus: Unknown format of header"); - return false; - } - const char* stringValue; - dbus_message_iter_get_basic(iter, &stringValue); - *message = stringValue; - LOG4CXX_DEBUG(logger_, "DBus: message of response " << *message); - - dbus_message_iter_next(iter); - return true; -} - -bool DBusAdapter::GetArguments(DBusMessageIter* iter, - const ListArgs& rules, - smart_objects::SmartObject& args) { - LOG4CXX_AUTO_TRACE(logger_); - - size_t size = rules.size(); - for (size_t i = 0; i < size; ++i) { - if (!GetOneArgument(iter, rules[i], args)) { - return false; - } - dbus_message_iter_next(iter); - } - return true; -} - -const DBusSchema& DBusAdapter::get_schema() const { - return *schema_; -} - -bool DBusAdapter::GetOneArgument( - DBusMessageIter* iter, - const ford_message_descriptions::ParameterDescription* rules, - smart_objects::SmartObject& args) { - if (rules->obligatory) { - return GetValue(iter, rules, args[rules->name]); - } else { - return GetOptionalValue(iter, rules, args); - } -} - -bool DBusAdapter::GetValue( - DBusMessageIter* iter, - const ford_message_descriptions::ParameterDescription* rules, - smart_objects::SmartObject& param) { - LOG4CXX_DEBUG(logger_, "DBus: Get param " << rules->name); - int type = dbus_message_iter_get_arg_type(iter); - switch (rules->type) { - case ford_message_descriptions::ParameterType::Array: - if (type == DBUS_TYPE_ARRAY) { - return GetArrayValue( - iter, - // FIXME (dchmerev@luxoft.com): not portable, danger cast. - reinterpret_cast< - const ford_message_descriptions::ArrayDescription*>(rules), - param); - } else { - LOG4CXX_ERROR(logger_, "DBus: Not expected type of argument"); - return false; - } - break; - case ford_message_descriptions::ParameterType::Struct: - if (type == DBUS_TYPE_STRUCT) { - return GetStructValue( - iter, - reinterpret_cast< - const ford_message_descriptions::StructDescription*>(rules), - param); - } else { - LOG4CXX_ERROR(logger_, "DBus: Not expected type of argument"); - return false; - } - break; - case ford_message_descriptions::ParameterType::Enum: - case ford_message_descriptions::ParameterType::Integer: - if (type == DBUS_TYPE_INT32) { - dbus_int32_t integerValue; - dbus_message_iter_get_basic(iter, &integerValue); - smart_objects::SmartObject value(integerValue); - param = value; - LOG4CXX_DEBUG(logger_, - "DBus: " << rules->name << " = " << integerValue); - } else { - LOG4CXX_ERROR(logger_, "DBus: Not expected type of argument"); - return false; - } - break; - case ford_message_descriptions::ParameterType::Float: - if (type == DBUS_TYPE_DOUBLE) { - double floatValue; - dbus_message_iter_get_basic(iter, &floatValue); - smart_objects::SmartObject value(floatValue); - param = value; - LOG4CXX_DEBUG(logger_, "DBus: " << rules->name << " = " << floatValue); - } else { - LOG4CXX_ERROR(logger_, "DBus: Not expected type of argument"); - return false; - } - break; - case ford_message_descriptions::ParameterType::Boolean: - if (type == DBUS_TYPE_BOOLEAN) { - dbus_bool_t booleanValue; - dbus_message_iter_get_basic(iter, &booleanValue); - smart_objects::SmartObject value(static_cast<bool>(booleanValue)); - param = value; - LOG4CXX_DEBUG(logger_, - "DBus: " << rules->name << " = " << std::boolalpha - << booleanValue); - } else { - LOG4CXX_ERROR(logger_, "DBus: Not expected type of argument"); - return false; - } - break; - case ford_message_descriptions::ParameterType::String: - if (type == DBUS_TYPE_STRING) { - const char* stringValue; - dbus_message_iter_get_basic(iter, &stringValue); - std::string strValue = stringValue; - smart_objects::SmartObject value(strValue); - param = value; - LOG4CXX_DEBUG(logger_, - "DBus: " << rules->name << " = \"" << strValue << "\""); - } else { - LOG4CXX_ERROR(logger_, "DBus: Not expected type of argument"); - return false; - } - break; - default: - LOG4CXX_ERROR(logger_, "DBus: Unknown type of argument"); - return false; - } - return true; -} - -bool DBusAdapter::GetArrayValue( - DBusMessageIter* iter, - const ford_message_descriptions::ArrayDescription* rules, - smart_objects::SmartObject& param) { - smart_objects::SmartObject array(smart_objects::SmartType_Array); - - int i = 0; - DBusMessageIter sub_iter; - dbus_message_iter_recurse(iter, &sub_iter); - while (dbus_message_iter_get_arg_type(&sub_iter) != DBUS_TYPE_INVALID) { - if (!GetValue(&sub_iter, rules->element, array[i])) { - return false; - } - dbus_message_iter_next(&sub_iter); - i++; - } - param = array; - return true; -} - -bool DBusAdapter::GetStructValue( - DBusMessageIter* iter, - const ford_message_descriptions::StructDescription* rules, - smart_objects::SmartObject& param) { - DBusMessageIter sub_iter; - dbus_message_iter_recurse(iter, &sub_iter); - const ParameterDescription** entry; - entry = rules->parameters; - smart_objects::SmartObject structure(smart_objects::SmartType_Map); - while (*entry != NULL) { - if (!GetOneArgument(&sub_iter, *entry, structure)) { - return false; - } - dbus_message_iter_next(&sub_iter); - entry++; - } - param = structure; - return true; -} - -bool DBusAdapter::GetOptionalValue( - DBusMessageIter* iter, - const ford_message_descriptions::ParameterDescription* rules, - smart_objects::SmartObject& param) { - int type = dbus_message_iter_get_arg_type(iter); - if (type != DBUS_TYPE_STRUCT) { - LOG4CXX_WARN( - logger_, - "DBus: Not expected type of argument. It is not optional parameter."); - return false; - } - - DBusMessageIter sub_iter; - dbus_message_iter_recurse(iter, &sub_iter); - ford_message_descriptions::ParameterDescription flagRules = { - "flag", ford_message_descriptions::Boolean, true}; - smart_objects::SmartObject flag; - if (!GetValue(&sub_iter, &flagRules, flag)) { - return false; - } - if (flag.asBool()) { - dbus_message_iter_next(&sub_iter); - return GetValue(&sub_iter, rules, param[rules->name]); - } else { - return true; - } -} - -std::pair<uint, MessageId> DBusAdapter::GetRequestToHMI(uint32_t serial) { - std::map<uint32_t, std::pair<uint, MessageId> >::iterator it; - it = requests_to_hmi_.find(serial); - if (it != requests_to_hmi_.end()) { - std::pair<uint, MessageId> ids = it->second; - requests_to_hmi_.erase(it); - return ids; - } - return std::make_pair(0, hmi_apis::FunctionID::INVALID_ENUM); -} - -void DBusAdapter::SaveRequestToHMI(uint32_t serial, - const std::pair<uint, MessageId>& ids) { - requests_to_hmi_.insert(std::make_pair(serial, ids)); -} - -void DBusAdapter::Introspect(DBusMessage* msg) { - DBusMessage* reply; - - dbus_uint32_t serial = dbus_message_get_serial(msg); - reply = dbus_message_new_method_return(msg); - if (!reply) { - LOG4CXX_WARN(logger_, "DBus: Failed return method for introspection"); - return; - } - - DBusMessageIter iter; - dbus_message_iter_init_append(reply, &iter); - char* value = introspection_xml; - dbus_message_iter_append_basic(&iter, DBUS_TYPE_STRING, &value); - dbus_connection_send(conn_, reply, &serial); - dbus_connection_flush(conn_); - dbus_message_unref(reply); - dbus_message_unref(msg); -} - -void DBusAdapter::SaveRequestFromHMI(uint32_t serial, DBusMessage* request) { - LOG4CXX_DEBUG(logger_, "Save correlation id (serial id) : " << serial); - LOG4CXX_DEBUG(logger_, "D-Bus message: " << request); - requests_from_hmi_.insert(std::make_pair(serial, request)); -} - -DBusMessage* DBusAdapter::GetRequestFromHMI(uint32_t serial) { - LOG4CXX_DEBUG(logger_, "Get correlation id (serial id) : " << serial); - std::map<uint32_t, DBusMessage*>::iterator it; - it = requests_from_hmi_.find(serial); - if (it != requests_from_hmi_.end()) { - DBusMessage* msg = it->second; - requests_from_hmi_.erase(it); - LOG4CXX_DEBUG(logger_, "D-Bus message: " << msg); - return msg; - } - return 0; -} - -} // namespace dbus diff --git a/src/components/dbus/src/dbus_message.cc b/src/components/dbus/src/dbus_message.cc deleted file mode 100644 index b8a55896ce..0000000000 --- a/src/components/dbus/src/dbus_message.cc +++ /dev/null @@ -1,217 +0,0 @@ -/* Copyright (c) 2014, Ford Motor Company - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following - * disclaimer in the documentation and/or other materials provided with the - * distribution. - * - * Neither the name of the Ford Motor Company nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -#include "dbus/dbus_message.h" - -#include <algorithm> -#include <cassert> - -#include <dbus/dbus.h> - -namespace dbus { - -MessageRefKeeper::MessageRefKeeper() : raw_message_(NULL) {} - -MessageRefKeeper::MessageRefKeeper(DBusMessage* message) - : raw_message_(message) { - assert(raw_message_); - dbus_message_ref(raw_message_); -} - -MessageRefKeeper::~MessageRefKeeper() { - if (raw_message_) { - dbus_message_unref(raw_message_); - } -} - -MessageRefKeeper::MessageRefKeeper(const MessageRefKeeper& other) - : raw_message_(other.raw_message_) { - assert(raw_message_); - dbus_message_ref(raw_message_); -} - -MessageRefKeeper& MessageRefKeeper::operator=(MessageRefKeeper other) { - other.swap(*this); - return *this; -} - -DBusMessage* MessageRefKeeper::get() const { - return raw_message_; -} - -DBusMessage* MessageRefKeeper::Pass() { - DBusMessage* message = raw_message_; - raw_message_ = NULL; - return message; -} - -void MessageRefKeeper::swap(MessageRefKeeper& other) { - std::swap(raw_message_, other.raw_message_); -} - -MessageRef::MessageRef(DBusMessage* message) : raw_message_ref_(message) {} - -MessageRef::~MessageRef() {} - -std::string MessageRef::GetInterface() const { - return dbus_message_get_interface(raw_message_ref_.get()); -} - -std::string MessageRef::GetMember() const { - return dbus_message_get_member(raw_message_ref_.get()); -} - -// Message writer -MessageReader::MessageReader(const MessageRef& message) - : parent_reader_(NULL), failed_(false) { - dbus_bool_t success = - dbus_message_iter_init(message.raw_message_ref_.get(), &iterator_); - if (!success) { - MarkFailed(); - } -} - -MessageReader::MessageReader(MessageReader* reader, - DataType container_data_type) - : parent_reader_(reader), failed_(reader->has_failed()) { - assert(parent_reader_); - if (!failed_) { - if (reader->NextValueType() != container_data_type) { - MarkFailed(); - } else { - dbus_message_iter_recurse(&reader->iterator_, &iterator_); - reader->MoveToNext(); - } - } -} - -bool MessageReader::NextIsDictEntry() const { - return NextValueType() == DBUS_TYPE_DICT_ENTRY; -} - -MessageReader MessageReader::TakeArrayReader() { - return MessageReader(this, DBUS_TYPE_ARRAY); -} - -MessageReader MessageReader::TakeStructReader() { - return MessageReader(this, DBUS_TYPE_STRUCT); -} - -MessageReader MessageReader::TakeDictEntryReader() { - return MessageReader(this, DBUS_TYPE_DICT_ENTRY); -} - -void MessageReader::MoveToNext() { - if (!HasNext()) { - MarkFailed(); - } - dbus_message_iter_next(&iterator_); -} - -void MessageReader::MarkFailed() { - if (!failed_) { - failed_ = true; - if (parent_reader_) { - parent_reader_->MarkFailed(); - } - } -} - -void MessageReader::ReadNextValue(MessageReader::DataType type, void* value) { - assert(value); - if (NextValueType() != type) { - MarkFailed(); - } else if (!failed_) { - dbus_message_iter_get_basic(&iterator_, value); - MoveToNext(); - } -} - -// DbusMessageWriter -MessageWriter::MessageWriter(const MessageRef& message) - : has_opened_subcontainer_(false), parent_writer_(NULL) { - dbus_message_iter_init_append(message.raw_message_ref_.get(), &iterator_); -} - -MessageWriter::MessageWriter(MessageWriter* parent, - ContainerType container_type, - const char* array_signature) - : has_opened_subcontainer_(false), parent_writer_(parent) { - assert(parent_writer_); - // Only array writers require array_signature - assert((container_type == kArray && array_signature != NULL) || - (container_type != kArray && array_signature == NULL)); - assert(!parent_writer_->has_opened_subcontainer_); - bool enough_memory = dbus_message_iter_open_container( - &parent_writer_->iterator_, container_type, array_signature, &iterator_); - assert(enough_memory); - parent_writer_->has_opened_subcontainer_ = true; -} - -MessageWriter::~MessageWriter() { - assert(!has_opened_subcontainer_); - if (parent_writer_ != NULL) { - CloseWriter(); - } -} - -void MessageWriter::WriteAndCheck(MessageWriter::DataType value_type, - const void* value) { - assert(!has_opened_subcontainer_); - dbus_bool_t enough_memory = - dbus_message_iter_append_basic(&iterator_, value_type, value); - assert(enough_memory); -} - -void MessageWriter::CloseWriter() { - assert(parent_writer_); - assert(parent_writer_->has_opened_subcontainer_); - dbus_bool_t enough_memory = - dbus_message_iter_close_container(&parent_writer_->iterator_, &iterator_); - assert(enough_memory); - parent_writer_->has_opened_subcontainer_ = false; -} - -// Construction functions - -MessageRef MethodCall(const char* bus_name, - const char* path, - const char* interface, - const char* method) { - return MessageRef( - dbus_message_new_method_call(bus_name, path, interface, method)); -} - -MessageRef Signal(const char* path, const char* interface, const char* name) { - return MessageRef(dbus_message_new_signal(path, interface, name)); -} - -} // namespace dbus diff --git a/src/components/dbus/src/dbus_message_controller.cc b/src/components/dbus/src/dbus_message_controller.cc deleted file mode 100644 index 59f08d6695..0000000000 --- a/src/components/dbus/src/dbus_message_controller.cc +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright (c) 2013, Ford Motor Company - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following - * disclaimer in the documentation and/or other materials provided with the - * distribution. - * - * Neither the name of the Ford Motor Company nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -#include "dbus/dbus_message_controller.h" -#include "formatters/CSmartFactory.h" - -namespace sos = NsSmartDeviceLink::NsJSONHandler::strings; - -namespace dbus { - -DBusMessageController::DBusMessageController(const std::string& sdlServiceName, - const std::string& sdlObjectPath, - const std::string& hmiServiceName, - const std::string& hmiObjectPath) - : DBusAdapter(sdlServiceName, sdlObjectPath, hmiServiceName, hmiObjectPath) - , shutdown_(false) {} - -void DBusMessageController::SubscribeTo(const std::string& interface, - const std::string& signal) { - std::string rule = "type='signal'"; - rule.append(", sender='") - .append(hmi_service_name_) - .append("'") - .append(", path='") - .append(hmi_object_path_) - .append("'") - .append(", interface='") - .append(hmi_service_name_) - .append(".") - .append(interface) - .append("'") - .append(", member='") - .append(signal) - .append("'"); - DBusAdapter::AddMatch(rule); -} - -DBusMessageController::~DBusMessageController() {} - -void* DBusMessageController::MethodForReceiverThread(void*) { - Run(); - return NULL; -} - -bool DBusMessageController::Run() { - while (!shutdown_) { - smart_objects::SmartObject obj(smart_objects::SmartType_Map); - obj[sos::S_PARAMS][sos::S_PROTOCOL_VERSION] = 2; - obj[sos::S_PARAMS][sos::S_PROTOCOL_TYPE] = 1; - if (DBusAdapter::Process(obj)) { - SendMessageToCore(obj); - } - } - return true; -} - -void DBusMessageController::Shutdown() { - shutdown_ = true; -} - -} // namespace dbus diff --git a/src/components/dbus/src/introspection_xml.cc b/src/components/dbus/src/introspection_xml.cc deleted file mode 100644 index 210c232a4d..0000000000 --- a/src/components/dbus/src/introspection_xml.cc +++ /dev/null @@ -1,327 +0,0 @@ -// Warning! This file is generated by 'make_introspection_c.py'. Edit at your -// own risk. -/** - * @file instrospections_xml.cc - * @brief D-Bus introspection XML as C-string - * - * This file is a part of HMI D-Bus layer. - */ -// Copyright (c) 2013, Ford Motor Company -// All rights reserved. -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are met: -// -// Redistributions of source code must retain the above copyright notice, this -// list of conditions and the following disclaimer. -// -// Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following -// disclaimer in the documentation and/or other materials provided with the -// distribution. -// -// Neither the name of the Ford Motor Company nor the names of its contributors -// may be used to endorse or promote products derived from this software -// without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 'A PARTICULAR PURPOSE -// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -// POSSIBILITY OF SUCH DAMAGE. - -char introspection_xml[] = { - 0x3c, 0x21, 0x44, 0x4f, 0x43, 0x54, 0x59, 0x50, 0x45, 0x20, 0x6e, 0x6f, - 0x64, 0x65, 0x20, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, 0x20, 0x22, 0x2d, - 0x2f, 0x2f, 0x66, 0x72, 0x65, 0x65, 0x64, 0x65, 0x73, 0x6b, 0x74, 0x6f, - 0x70, 0x2f, 0x2f, 0x44, 0x54, 0x44, 0x20, 0x44, 0x2d, 0x42, 0x55, 0x53, - 0x20, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x49, 0x6e, 0x74, 0x72, - 0x6f, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x31, 0x2e, - 0x30, 0x2f, 0x2f, 0x45, 0x4e, 0x22, 0x20, 0x22, 0x68, 0x74, 0x74, 0x70, - 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x66, 0x72, 0x65, 0x65, 0x64, - 0x65, 0x73, 0x6b, 0x74, 0x6f, 0x70, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x73, - 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x64, 0x62, 0x75, - 0x73, 0x2f, 0x31, 0x2e, 0x30, 0x2f, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x73, - 0x70, 0x65, 0x63, 0x74, 0x2e, 0x64, 0x74, 0x64, 0x22, 0x3e, 0x0a, 0x3c, - 0x6e, 0x6f, 0x64, 0x65, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x2f, - 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6f, 0x72, 0x64, 0x2f, 0x68, 0x6d, 0x69, - 0x22, 0x3e, 0x3c, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, - 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x66, - 0x6f, 0x72, 0x64, 0x2e, 0x68, 0x6d, 0x69, 0x2e, 0x73, 0x64, 0x6c, 0x2e, - 0x42, 0x61, 0x73, 0x69, 0x63, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3e, 0x3c, 0x73, 0x69, 0x67, - 0x6e, 0x61, 0x6c, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x4f, 0x6e, - 0x52, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x53, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, - 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x61, 0x70, 0x70, 0x49, 0x44, 0x22, - 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x69, 0x22, 0x20, 0x2f, 0x3e, - 0x3c, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x3e, 0x3c, 0x73, 0x69, - 0x67, 0x6e, 0x61, 0x6c, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x4f, - 0x6e, 0x53, 0x44, 0x4c, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, - 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x22, - 0x20, 0x2f, 0x3e, 0x3c, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x20, 0x6e, - 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x4f, 0x6e, 0x46, 0x69, 0x6c, 0x65, 0x52, - 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x22, 0x3e, 0x3c, 0x61, 0x72, 0x67, - 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x66, 0x69, 0x6c, 0x65, 0x4e, - 0x61, 0x6d, 0x65, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x73, - 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, 0x6d, - 0x65, 0x3d, 0x22, 0x66, 0x69, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, - 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x69, 0x22, 0x20, 0x2f, 0x3e, - 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x61, - 0x70, 0x70, 0x49, 0x44, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, - 0x69, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x61, - 0x6c, 0x3e, 0x3c, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x20, 0x6e, 0x61, - 0x6d, 0x65, 0x3d, 0x22, 0x4f, 0x6e, 0x41, 0x70, 0x70, 0x52, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x22, 0x3e, 0x3c, 0x61, 0x72, - 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x61, 0x70, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x20, 0x74, 0x79, 0x70, - 0x65, 0x3d, 0x22, 0x28, 0x73, 0x28, 0x62, 0x73, 0x29, 0x28, 0x62, 0x73, - 0x29, 0x28, 0x73, 0x73, 0x28, 0x62, 0x69, 0x29, 0x28, 0x62, 0x62, 0x29, - 0x29, 0x73, 0x28, 0x62, 0x61, 0x28, 0x73, 0x69, 0x29, 0x29, 0x28, 0x62, - 0x61, 0x73, 0x29, 0x69, 0x69, 0x62, 0x28, 0x62, 0x61, 0x69, 0x29, 0x28, - 0x62, 0x62, 0x29, 0x28, 0x62, 0x61, 0x69, 0x29, 0x29, 0x22, 0x20, 0x2f, - 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, - 0x74, 0x74, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x20, 0x74, 0x79, 0x70, - 0x65, 0x3d, 0x22, 0x28, 0x62, 0x61, 0x28, 0x73, 0x69, 0x29, 0x29, 0x22, - 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, - 0x3d, 0x22, 0x76, 0x72, 0x53, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x73, - 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x28, 0x62, 0x61, 0x73, - 0x29, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, - 0x6d, 0x65, 0x3d, 0x22, 0x72, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x56, 0x72, - 0x47, 0x72, 0x61, 0x6d, 0x6d, 0x61, 0x72, 0x73, 0x22, 0x20, 0x74, 0x79, - 0x70, 0x65, 0x3d, 0x22, 0x28, 0x62, 0x62, 0x29, 0x22, 0x20, 0x2f, 0x3e, - 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x70, - 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x20, 0x74, 0x79, 0x70, - 0x65, 0x3d, 0x22, 0x28, 0x62, 0x69, 0x29, 0x22, 0x20, 0x2f, 0x3e, 0x3c, - 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x3e, 0x3c, 0x73, 0x69, 0x67, - 0x6e, 0x61, 0x6c, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x4f, 0x6e, - 0x41, 0x70, 0x70, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, - 0x72, 0x65, 0x64, 0x22, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, - 0x6d, 0x65, 0x3d, 0x22, 0x75, 0x6e, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, - 0x65, 0x64, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, - 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x62, 0x22, 0x20, 0x2f, - 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, - 0x61, 0x70, 0x70, 0x49, 0x44, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, - 0x22, 0x69, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x2f, 0x73, 0x69, 0x67, 0x6e, - 0x61, 0x6c, 0x3e, 0x3c, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x20, 0x6e, - 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x50, 0x6c, 0x61, 0x79, 0x54, 0x6f, 0x6e, - 0x65, 0x22, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, - 0x3d, 0x22, 0x61, 0x70, 0x70, 0x49, 0x44, 0x22, 0x20, 0x74, 0x79, 0x70, - 0x65, 0x3d, 0x22, 0x69, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, - 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x6d, 0x65, 0x74, 0x68, 0x6f, - 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, - 0x22, 0x69, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x2f, 0x73, 0x69, 0x67, 0x6e, - 0x61, 0x6c, 0x3e, 0x3c, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x20, 0x6e, - 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x4f, 0x6e, 0x53, 0x44, 0x4c, 0x43, 0x6c, - 0x6f, 0x73, 0x65, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x73, 0x69, 0x67, 0x6e, - 0x61, 0x6c, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x4f, 0x6e, 0x50, - 0x75, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x22, 0x3e, 0x3c, 0x61, 0x72, 0x67, - 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x6f, 0x66, 0x66, 0x73, 0x65, - 0x74, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x28, 0x62, 0x69, - 0x29, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, - 0x6d, 0x65, 0x3d, 0x22, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x22, 0x20, - 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x28, 0x62, 0x69, 0x29, 0x22, 0x20, - 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, - 0x22, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x20, 0x74, - 0x79, 0x70, 0x65, 0x3d, 0x22, 0x28, 0x62, 0x69, 0x29, 0x22, 0x20, 0x2f, - 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, - 0x46, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x20, 0x74, 0x79, - 0x70, 0x65, 0x3d, 0x22, 0x73, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, - 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x73, 0x79, 0x6e, 0x63, - 0x46, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x20, 0x74, 0x79, - 0x70, 0x65, 0x3d, 0x22, 0x73, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, - 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x66, 0x69, 0x6c, 0x65, - 0x54, 0x79, 0x70, 0x65, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, - 0x69, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, - 0x6d, 0x65, 0x3d, 0x22, 0x70, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, - 0x6e, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, - 0x3d, 0x22, 0x28, 0x62, 0x62, 0x29, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x2f, - 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x3e, 0x3c, 0x2f, 0x69, 0x6e, 0x74, - 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x3e, 0x3c, 0x69, 0x6e, 0x74, 0x65, - 0x72, 0x66, 0x61, 0x63, 0x65, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, - 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6f, 0x72, 0x64, 0x2e, 0x68, 0x6d, 0x69, - 0x2e, 0x73, 0x64, 0x6c, 0x2e, 0x55, 0x49, 0x22, 0x3e, 0x3c, 0x73, 0x69, - 0x67, 0x6e, 0x61, 0x6c, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x4f, - 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x53, 0x74, 0x61, 0x72, 0x74, - 0x22, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, - 0x22, 0x61, 0x70, 0x70, 0x49, 0x44, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, - 0x3d, 0x22, 0x69, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x2f, 0x73, 0x69, 0x67, - 0x6e, 0x61, 0x6c, 0x3e, 0x3c, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, - 0x61, 0x63, 0x65, 0x3e, 0x3c, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, - 0x63, 0x65, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x63, 0x6f, 0x6d, - 0x2e, 0x66, 0x6f, 0x72, 0x64, 0x2e, 0x68, 0x6d, 0x69, 0x2e, 0x73, 0x64, - 0x6c, 0x2e, 0x53, 0x44, 0x4c, 0x22, 0x3e, 0x3c, 0x6d, 0x65, 0x74, 0x68, - 0x6f, 0x64, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x41, 0x63, 0x74, - 0x69, 0x76, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x22, 0x3e, 0x3c, 0x61, - 0x72, 0x67, 0x20, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x3d, 0x22, 0x69, 0x6e, 0x22, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, - 0x61, 0x70, 0x70, 0x49, 0x44, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, - 0x22, 0x69, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x64, - 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x6f, 0x75, - 0x74, 0x22, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x72, 0x65, 0x74, - 0x43, 0x6f, 0x64, 0x65, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, - 0x69, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x64, 0x69, - 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x6f, 0x75, 0x74, - 0x22, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x69, 0x73, 0x53, 0x44, - 0x4c, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x22, 0x20, 0x74, 0x79, - 0x70, 0x65, 0x3d, 0x22, 0x62, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, - 0x67, 0x20, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, - 0x22, 0x6f, 0x75, 0x74, 0x22, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, - 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, - 0x3d, 0x22, 0x28, 0x62, 0x28, 0x73, 0x73, 0x28, 0x62, 0x69, 0x29, 0x28, - 0x62, 0x62, 0x29, 0x29, 0x29, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, - 0x67, 0x20, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, - 0x22, 0x6f, 0x75, 0x74, 0x22, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, - 0x69, 0x73, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x73, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x74, 0x4e, 0x65, 0x65, 0x64, - 0x65, 0x64, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x62, 0x22, - 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x64, 0x69, 0x72, 0x65, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x6f, 0x75, 0x74, 0x22, 0x20, - 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x69, 0x73, 0x41, 0x70, 0x70, 0x50, - 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, - 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, - 0x22, 0x62, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x64, - 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x6f, 0x75, - 0x74, 0x22, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x61, 0x70, 0x70, - 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, - 0x3d, 0x22, 0x28, 0x62, 0x61, 0x28, 0x73, 0x69, 0x28, 0x62, 0x62, 0x29, - 0x29, 0x29, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x64, - 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x6f, 0x75, - 0x74, 0x22, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x69, 0x73, 0x41, - 0x70, 0x70, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x22, 0x20, 0x74, - 0x79, 0x70, 0x65, 0x3d, 0x22, 0x62, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, - 0x72, 0x67, 0x20, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x3d, 0x22, 0x6f, 0x75, 0x74, 0x22, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, - 0x22, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x20, 0x74, - 0x79, 0x70, 0x65, 0x3d, 0x22, 0x28, 0x62, 0x69, 0x29, 0x22, 0x20, 0x2f, - 0x3e, 0x3c, 0x2f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x3e, 0x3c, 0x6d, - 0x65, 0x74, 0x68, 0x6f, 0x64, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, - 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x46, 0x72, 0x69, 0x65, 0x6e, - 0x64, 0x6c, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x3e, - 0x3c, 0x61, 0x72, 0x67, 0x20, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x3d, 0x22, 0x69, 0x6e, 0x22, 0x20, 0x6e, 0x61, 0x6d, 0x65, - 0x3d, 0x22, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, - 0x65, 0x73, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x61, 0x73, - 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x64, 0x69, 0x72, - 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x69, 0x6e, 0x22, 0x20, - 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, - 0x67, 0x65, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x28, 0x62, - 0x69, 0x29, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x64, - 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x6f, 0x75, - 0x74, 0x22, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x72, 0x65, 0x74, - 0x43, 0x6f, 0x64, 0x65, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, - 0x69, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x64, 0x69, - 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x6f, 0x75, 0x74, - 0x22, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x6d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x73, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, - 0x28, 0x62, 0x61, 0x28, 0x73, 0x28, 0x62, 0x73, 0x29, 0x28, 0x62, 0x73, - 0x29, 0x28, 0x62, 0x73, 0x29, 0x28, 0x62, 0x73, 0x29, 0x28, 0x62, 0x73, - 0x29, 0x29, 0x29, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x2f, 0x6d, 0x65, 0x74, - 0x68, 0x6f, 0x64, 0x3e, 0x3c, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x20, - 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, - 0x74, 0x4f, 0x66, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x73, 0x22, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x64, 0x69, 0x72, - 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x69, 0x6e, 0x22, 0x20, - 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x61, 0x70, 0x70, 0x49, 0x44, 0x22, - 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x28, 0x62, 0x69, 0x29, 0x22, - 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x64, 0x69, 0x72, 0x65, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x6f, 0x75, 0x74, 0x22, 0x20, - 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x72, 0x65, 0x74, 0x43, 0x6f, 0x64, - 0x65, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x69, 0x22, 0x20, - 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x64, 0x69, 0x72, 0x65, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x6f, 0x75, 0x74, 0x22, 0x20, 0x6e, - 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, - 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x20, 0x74, - 0x79, 0x70, 0x65, 0x3d, 0x22, 0x61, 0x28, 0x73, 0x69, 0x28, 0x62, 0x62, - 0x29, 0x29, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x2f, 0x6d, 0x65, 0x74, 0x68, - 0x6f, 0x64, 0x3e, 0x3c, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x20, 0x6e, - 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, - 0x44, 0x4c, 0x22, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x64, 0x69, 0x72, - 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x6f, 0x75, 0x74, 0x22, - 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x72, 0x65, 0x74, 0x43, 0x6f, - 0x64, 0x65, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x69, 0x22, - 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x64, 0x69, 0x72, 0x65, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x6f, 0x75, 0x74, 0x22, 0x20, - 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x69, 0x22, 0x20, 0x2f, - 0x3e, 0x3c, 0x2f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x3e, 0x3c, 0x6d, - 0x65, 0x74, 0x68, 0x6f, 0x64, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, - 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x22, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x64, 0x69, - 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x6f, 0x75, 0x74, - 0x22, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x72, 0x65, 0x74, 0x43, - 0x6f, 0x64, 0x65, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x69, - 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x64, 0x69, 0x72, - 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x6f, 0x75, 0x74, 0x22, - 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x73, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x69, 0x22, 0x20, - 0x2f, 0x3e, 0x3c, 0x2f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x3e, 0x3c, - 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, - 0x22, 0x47, 0x65, 0x74, 0x55, 0x52, 0x4c, 0x53, 0x22, 0x3e, 0x3c, 0x61, - 0x72, 0x67, 0x20, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x3d, 0x22, 0x69, 0x6e, 0x22, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x20, 0x74, 0x79, 0x70, - 0x65, 0x3d, 0x22, 0x69, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, - 0x20, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, - 0x6f, 0x75, 0x74, 0x22, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x72, - 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, - 0x3d, 0x22, 0x69, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, - 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x6f, - 0x75, 0x74, 0x22, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x75, 0x72, - 0x6c, 0x73, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x28, 0x62, - 0x61, 0x28, 0x73, 0x28, 0x62, 0x73, 0x29, 0x29, 0x29, 0x22, 0x20, 0x2f, - 0x3e, 0x3c, 0x2f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x3e, 0x3c, 0x73, - 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, - 0x4f, 0x6e, 0x41, 0x70, 0x70, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x22, 0x3e, - 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x61, - 0x70, 0x70, 0x49, 0x44, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, - 0x69, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, - 0x6d, 0x65, 0x3d, 0x22, 0x69, 0x73, 0x41, 0x70, 0x70, 0x50, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x76, 0x6f, - 0x6b, 0x65, 0x64, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x28, - 0x62, 0x62, 0x29, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, - 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x61, 0x70, 0x70, 0x52, 0x65, 0x76, - 0x6f, 0x6b, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x73, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x28, - 0x62, 0x61, 0x28, 0x73, 0x69, 0x28, 0x62, 0x62, 0x29, 0x29, 0x29, 0x22, - 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, - 0x3d, 0x22, 0x61, 0x70, 0x70, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, - 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x28, 0x62, 0x62, 0x29, - 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, 0x6d, - 0x65, 0x3d, 0x22, 0x61, 0x70, 0x70, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x74, - 0x4e, 0x65, 0x65, 0x64, 0x65, 0x64, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, - 0x3d, 0x22, 0x28, 0x62, 0x62, 0x29, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, - 0x72, 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x61, 0x70, 0x70, - 0x55, 0x6e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, - 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x28, 0x62, 0x62, 0x29, - 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, 0x6d, - 0x65, 0x3d, 0x22, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, - 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x28, 0x62, 0x69, 0x29, 0x22, - 0x20, 0x2f, 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, - 0x3d, 0x22, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x79, 0x70, - 0x65, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x28, 0x62, 0x61, - 0x69, 0x29, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x2f, 0x73, 0x69, 0x67, 0x6e, - 0x61, 0x6c, 0x3e, 0x3c, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x20, 0x6e, - 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x4f, 0x6e, 0x53, 0x44, 0x4c, 0x43, 0x6f, - 0x6e, 0x73, 0x65, 0x6e, 0x74, 0x4e, 0x65, 0x65, 0x64, 0x65, 0x64, 0x22, - 0x3e, 0x3c, 0x61, 0x72, 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, - 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, - 0x3d, 0x22, 0x28, 0x73, 0x73, 0x28, 0x62, 0x69, 0x29, 0x28, 0x62, 0x62, - 0x29, 0x29, 0x22, 0x20, 0x2f, 0x3e, 0x3c, 0x2f, 0x73, 0x69, 0x67, 0x6e, - 0x61, 0x6c, 0x3e, 0x3c, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x20, 0x6e, - 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x4f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x22, 0x3e, 0x3c, 0x61, 0x72, - 0x67, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x73, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x69, 0x22, - 0x20, 0x2f, 0x3e, 0x3c, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x3e, - 0x3c, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x3e, - 0x3c, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x3e, 0x00};
\ No newline at end of file diff --git a/src/components/dbus/src/message_descriptions.cc b/src/components/dbus/src/message_descriptions.cc deleted file mode 100644 index 1a5e499a7f..0000000000 --- a/src/components/dbus/src/message_descriptions.cc +++ /dev/null @@ -1,10424 +0,0 @@ -// Warning! This file is generated by 'make_message_descriptions.py'. Edit at -// your own risk. -/** - * @file message_descriptions.cc - * @brief Generated HMI API message descriptions for D-Bus - * - * This file is a part of HMI D-Bus layer. - */ -// Copyright (c) 2013, Ford Motor Company -// All rights reserved. -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are met: -// -// Redistributions of source code must retain the above copyright notice, this -// list of conditions and the following disclaimer. -// -// Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following -// disclaimer in the documentation and/or other materials provided with the -// distribution. -// -// Neither the name of the Ford Motor Company nor the names of its contributors -// may be used to endorse or promote products derived from this software -// without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 'A PARTICULAR PURPOSE -// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -// POSSIBILITY OF SUCH DAMAGE. - -#include "dbus/message_descriptions.h" - -namespace { - -struct Structs { - static const ford_message_descriptions::ParameterDescription* - Common__Coordinate__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__DeviceInfo__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__UserFriendlyMessage__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__PermissionItem__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__ServiceInfo__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__TextField__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__ButtonCapabilities__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__VehicleDataResult__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__TouchCoord__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__TouchEvent__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__PresetBankCapabilities__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__Image__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__SoftButton__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__TTSChunk__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__HMIApplication__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__MenuParams__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__Choice__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__VrHelpItem__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__TimeFormat__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__TouchEventCapabilities__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__ImageResolution__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__ScreenParams__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__ImageField__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__VideoStreamingFormat__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__VideoConfig__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__DisplayCapabilities__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__SoftButtonCapabilities__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__HMICapabilities__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__AudioPassThruCapabilities__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__TextFieldStruct__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__KeyboardProperties__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__Turn__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__VehicleType__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__GPSData__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__SingleTireStatus__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__DIDResult__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__HeadLampStatus__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__TireStatus__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__BeltStatus__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__BodyInformation__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__DeviceStatus__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__ECallInfo__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__AirbagStatus__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__EmergencyEvent__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__ClusterModeStatus__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__MyKey__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__RdsData__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__RadioControlData__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__RadioControlCapabilities__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__Temperature__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__ClimateControlData__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__ClimateControlCapabilities__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__ModuleData__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__DateTime__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__OASISAddress__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__LocationDetails__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__NavigationCapability__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__PhoneCapability__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__VideoStreamingCapability__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__SystemCapabilities__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__RemoteControlCapabilities__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__Rectangle__parameters[]; - static const ford_message_descriptions::ParameterDescription* - Common__HapticRect__parameters[]; -}; - -const ford_message_descriptions::ParameterDescription - Common__Coordinate__parameter1 = { - "latitudeDegrees", ford_message_descriptions::Float, true}; -const ford_message_descriptions::ParameterDescription - Common__Coordinate__parameter2 = { - "longitudeDegrees", ford_message_descriptions::Float, true}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__Coordinate__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__Coordinate__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__Coordinate__parameter2, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__DeviceInfo__parameter1 = { - "name", ford_message_descriptions::String, true}; -const ford_message_descriptions::ParameterDescription - Common__DeviceInfo__parameter2 = { - "id", ford_message_descriptions::String, true}; -const ford_message_descriptions::ParameterDescription - Common__DeviceInfo__parameter3 = { - "transportType", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription - Common__DeviceInfo__parameter4 = { - "isSDLAllowed", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__DeviceInfo__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__DeviceInfo__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__DeviceInfo__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__DeviceInfo__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&Common__DeviceInfo__parameter4, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__UserFriendlyMessage__parameter1 = { - "messageCode", ford_message_descriptions::String, true}; -const ford_message_descriptions::ParameterDescription - Common__UserFriendlyMessage__parameter2 = { - "ttsString", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription - Common__UserFriendlyMessage__parameter3 = { - "label", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription - Common__UserFriendlyMessage__parameter4 = { - "line1", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription - Common__UserFriendlyMessage__parameter5 = { - "line2", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription - Common__UserFriendlyMessage__parameter6 = { - "textBody", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__UserFriendlyMessage__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__UserFriendlyMessage__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__UserFriendlyMessage__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__UserFriendlyMessage__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&Common__UserFriendlyMessage__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&Common__UserFriendlyMessage__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&Common__UserFriendlyMessage__parameter6, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__PermissionItem__parameter1 = { - "name", ford_message_descriptions::String, true}; -const ford_message_descriptions::ParameterDescription - Common__PermissionItem__parameter2 = { - "id", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - Common__PermissionItem__parameter3 = { - "allowed", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__PermissionItem__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__PermissionItem__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__PermissionItem__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__PermissionItem__parameter3, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__ServiceInfo__parameter1 = { - "url", ford_message_descriptions::String, true}; -const ford_message_descriptions::ParameterDescription - Common__ServiceInfo__parameter2 = { - "policyAppId", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__ServiceInfo__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__ServiceInfo__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ServiceInfo__parameter2, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__TextField__parameter1 = { - "name", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - Common__TextField__parameter2 = { - "characterSet", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - Common__TextField__parameter3 = { - "width", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - Common__TextField__parameter4 = { - "rows", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__TextField__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__TextField__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__TextField__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__TextField__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&Common__TextField__parameter4, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__ButtonCapabilities__parameter1 = { - "name", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - Common__ButtonCapabilities__parameter2 = { - "shortPressAvailable", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription - Common__ButtonCapabilities__parameter3 = { - "longPressAvailable", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription - Common__ButtonCapabilities__parameter4 = { - "upDownAvailable", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__ButtonCapabilities__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__ButtonCapabilities__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ButtonCapabilities__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ButtonCapabilities__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ButtonCapabilities__parameter4, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__VehicleDataResult__parameter1 = { - "dataType", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - Common__VehicleDataResult__parameter2 = { - "resultCode", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__VehicleDataResult__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__VehicleDataResult__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__VehicleDataResult__parameter2, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__TouchCoord__parameter1 = { - "x", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - Common__TouchCoord__parameter2 = { - "y", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__TouchCoord__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__TouchCoord__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__TouchCoord__parameter2, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__TouchEvent__parameter1 = { - "id", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - Common__TouchEvent__parameter2_array = { - "ts", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ArrayDescription - Common__TouchEvent__parameter2 = { - {"ts", ford_message_descriptions::Array, true}, - (const ford_message_descriptions:: - ParameterDescription*)&Common__TouchEvent__parameter2_array, - "i"}; -const ford_message_descriptions::StructDescription - Common__TouchEvent__parameter3_array = { - {"c", ford_message_descriptions::Struct, true}, - Structs::Common__TouchCoord__parameters}; -const ford_message_descriptions::ArrayDescription - Common__TouchEvent__parameter3 = { - {"c", ford_message_descriptions::Array, true}, - (const ford_message_descriptions:: - ParameterDescription*)&Common__TouchEvent__parameter3_array, - "(ii)"}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__TouchEvent__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__TouchEvent__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__TouchEvent__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__TouchEvent__parameter3, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__PresetBankCapabilities__parameter1 = { - "onScreenPresetsAvailable", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__PresetBankCapabilities__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__PresetBankCapabilities__parameter1, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__Image__parameter1 = { - "value", ford_message_descriptions::String, true}; -const ford_message_descriptions::ParameterDescription - Common__Image__parameter2 = { - "imageType", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__Image__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__Image__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__Image__parameter2, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__SoftButton__parameter1 = { - "type", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - Common__SoftButton__parameter2 = { - "text", ford_message_descriptions::String, false}; -const ford_message_descriptions::StructDescription - Common__SoftButton__parameter3 = { - {"image", ford_message_descriptions::Struct, false}, - Structs::Common__Image__parameters}; -const ford_message_descriptions::ParameterDescription - Common__SoftButton__parameter4 = { - "isHighlighted", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__SoftButton__parameter5 = { - "softButtonID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - Common__SoftButton__parameter6 = { - "systemAction", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__SoftButton__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__SoftButton__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__SoftButton__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__SoftButton__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&Common__SoftButton__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&Common__SoftButton__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&Common__SoftButton__parameter6, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__TTSChunk__parameter1 = { - "text", ford_message_descriptions::String, true}; -const ford_message_descriptions::ParameterDescription - Common__TTSChunk__parameter2 = { - "type", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__TTSChunk__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__TTSChunk__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__TTSChunk__parameter2, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__HMIApplication__parameter1 = { - "appName", ford_message_descriptions::String, true}; -const ford_message_descriptions::ParameterDescription - Common__HMIApplication__parameter2 = { - "ngnMediaScreenAppName", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription - Common__HMIApplication__parameter3 = { - "icon", ford_message_descriptions::String, false}; -const ford_message_descriptions::StructDescription - Common__HMIApplication__parameter4 = { - {"deviceInfo", ford_message_descriptions::Struct, true}, - Structs::Common__DeviceInfo__parameters}; -const ford_message_descriptions::ParameterDescription - Common__HMIApplication__parameter5 = { - "policyAppID", ford_message_descriptions::String, true}; -const ford_message_descriptions::StructDescription - Common__HMIApplication__parameter6_array = { - {"ttsName", ford_message_descriptions::Struct, true}, - Structs::Common__TTSChunk__parameters}; -const ford_message_descriptions::ArrayDescription - Common__HMIApplication__parameter6 = { - {"ttsName", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&Common__HMIApplication__parameter6_array, - "(si)"}; -const ford_message_descriptions::ParameterDescription - Common__HMIApplication__parameter7_array = { - "vrSynonyms", ford_message_descriptions::String, true}; -const ford_message_descriptions::ArrayDescription - Common__HMIApplication__parameter7 = { - {"vrSynonyms", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&Common__HMIApplication__parameter7_array, - "s"}; -const ford_message_descriptions::ParameterDescription - Common__HMIApplication__parameter8 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - Common__HMIApplication__parameter9 = { - "hmiDisplayLanguageDesired", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - Common__HMIApplication__parameter10 = { - "isMediaApplication", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription - Common__HMIApplication__parameter11_array = { - "appType", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ArrayDescription - Common__HMIApplication__parameter11 = { - {"appType", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&Common__HMIApplication__parameter11_array, - "i"}; -const ford_message_descriptions::ParameterDescription - Common__HMIApplication__parameter12 = { - "greyOut", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__HMIApplication__parameter13_array = { - "requestType", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ArrayDescription - Common__HMIApplication__parameter13 = { - {"requestType", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&Common__HMIApplication__parameter13_array, - "i"}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__HMIApplication__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__HMIApplication__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__HMIApplication__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__HMIApplication__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&Common__HMIApplication__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&Common__HMIApplication__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&Common__HMIApplication__parameter6, - (const ford_message_descriptions:: - ParameterDescription*)&Common__HMIApplication__parameter7, - (const ford_message_descriptions:: - ParameterDescription*)&Common__HMIApplication__parameter8, - (const ford_message_descriptions:: - ParameterDescription*)&Common__HMIApplication__parameter9, - (const ford_message_descriptions:: - ParameterDescription*)&Common__HMIApplication__parameter10, - (const ford_message_descriptions:: - ParameterDescription*)&Common__HMIApplication__parameter11, - (const ford_message_descriptions:: - ParameterDescription*)&Common__HMIApplication__parameter12, - (const ford_message_descriptions:: - ParameterDescription*)&Common__HMIApplication__parameter13, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__MenuParams__parameter1 = { - "parentID", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - Common__MenuParams__parameter2 = { - "position", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - Common__MenuParams__parameter3 = { - "menuName", ford_message_descriptions::String, true}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__MenuParams__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__MenuParams__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__MenuParams__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__MenuParams__parameter3, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__Choice__parameter1 = { - "choiceID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - Common__Choice__parameter2 = { - "menuName", ford_message_descriptions::String, false}; -const ford_message_descriptions::StructDescription Common__Choice__parameter3 = - {{"image", ford_message_descriptions::Struct, false}, - Structs::Common__Image__parameters}; -const ford_message_descriptions::ParameterDescription - Common__Choice__parameter4 = { - "secondaryText", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription - Common__Choice__parameter5 = { - "tertiaryText", ford_message_descriptions::String, false}; -const ford_message_descriptions::StructDescription Common__Choice__parameter6 = - {{"secondaryImage", ford_message_descriptions::Struct, false}, - Structs::Common__Image__parameters}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__Choice__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__Choice__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__Choice__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__Choice__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&Common__Choice__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&Common__Choice__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&Common__Choice__parameter6, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__VrHelpItem__parameter1 = { - "text", ford_message_descriptions::String, true}; -const ford_message_descriptions::StructDescription - Common__VrHelpItem__parameter2 = { - {"image", ford_message_descriptions::Struct, false}, - Structs::Common__Image__parameters}; -const ford_message_descriptions::ParameterDescription - Common__VrHelpItem__parameter3 = { - "position", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__VrHelpItem__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__VrHelpItem__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__VrHelpItem__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__VrHelpItem__parameter3, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__TimeFormat__parameter1 = { - "hours", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - Common__TimeFormat__parameter2 = { - "minutes", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - Common__TimeFormat__parameter3 = { - "seconds", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__TimeFormat__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__TimeFormat__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__TimeFormat__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__TimeFormat__parameter3, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__TouchEventCapabilities__parameter1 = { - "pressAvailable", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription - Common__TouchEventCapabilities__parameter2 = { - "multiTouchAvailable", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription - Common__TouchEventCapabilities__parameter3 = { - "doublePressAvailable", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__TouchEventCapabilities__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__TouchEventCapabilities__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__TouchEventCapabilities__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__TouchEventCapabilities__parameter3, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__ImageResolution__parameter1 = { - "resolutionWidth", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - Common__ImageResolution__parameter2 = { - "resolutionHeight", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__ImageResolution__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__ImageResolution__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ImageResolution__parameter2, - NULL}; - -const ford_message_descriptions::StructDescription - Common__ScreenParams__parameter1 = { - {"resolution", ford_message_descriptions::Struct, true}, - Structs::Common__ImageResolution__parameters}; -const ford_message_descriptions::StructDescription - Common__ScreenParams__parameter2 = { - {"touchEventAvailable", ford_message_descriptions::Struct, false}, - Structs::Common__TouchEventCapabilities__parameters}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__ScreenParams__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__ScreenParams__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ScreenParams__parameter2, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__ImageField__parameter1 = { - "name", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - Common__ImageField__parameter2_array = { - "imageTypeSupported", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ArrayDescription - Common__ImageField__parameter2 = { - {"imageTypeSupported", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ImageField__parameter2_array, - "i"}; -const ford_message_descriptions::StructDescription - Common__ImageField__parameter3 = { - {"imageResolution", ford_message_descriptions::Struct, false}, - Structs::Common__ImageResolution__parameters}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__ImageField__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__ImageField__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ImageField__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ImageField__parameter3, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__VideoStreamingFormat__parameter1 = { - "protocol", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - Common__VideoStreamingFormat__parameter2 = { - "codec", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__VideoStreamingFormat__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__VideoStreamingFormat__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__VideoStreamingFormat__parameter2, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__VideoConfig__parameter1 = { - "protocol", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription - Common__VideoConfig__parameter2 = { - "codec", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription - Common__VideoConfig__parameter3 = { - "width", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - Common__VideoConfig__parameter4 = { - "height", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__VideoConfig__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__VideoConfig__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__VideoConfig__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__VideoConfig__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&Common__VideoConfig__parameter4, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__DisplayCapabilities__parameter1 = { - "displayType", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::StructDescription - Common__DisplayCapabilities__parameter2_array = { - {"textFields", ford_message_descriptions::Struct, true}, - Structs::Common__TextField__parameters}; -const ford_message_descriptions::ArrayDescription - Common__DisplayCapabilities__parameter2 = { - {"textFields", ford_message_descriptions::Array, true}, - (const ford_message_descriptions:: - ParameterDescription*)&Common__DisplayCapabilities__parameter2_array, - "(iiii)"}; -const ford_message_descriptions::StructDescription - Common__DisplayCapabilities__parameter3_array = { - {"imageFields", ford_message_descriptions::Struct, true}, - Structs::Common__ImageField__parameters}; -const ford_message_descriptions::ArrayDescription - Common__DisplayCapabilities__parameter3 = { - {"imageFields", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&Common__DisplayCapabilities__parameter3_array, - "(i(bai)(b(ii)))"}; -const ford_message_descriptions::ParameterDescription - Common__DisplayCapabilities__parameter4_array = { - "mediaClockFormats", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ArrayDescription - Common__DisplayCapabilities__parameter4 = { - {"mediaClockFormats", ford_message_descriptions::Array, true}, - (const ford_message_descriptions:: - ParameterDescription*)&Common__DisplayCapabilities__parameter4_array, - "i"}; -const ford_message_descriptions::ParameterDescription - Common__DisplayCapabilities__parameter5_array = { - "imageCapabilities", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ArrayDescription - Common__DisplayCapabilities__parameter5 = { - {"imageCapabilities", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&Common__DisplayCapabilities__parameter5_array, - "i"}; -const ford_message_descriptions::ParameterDescription - Common__DisplayCapabilities__parameter6 = { - "graphicSupported", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription - Common__DisplayCapabilities__parameter7_array = { - "templatesAvailable", ford_message_descriptions::String, true}; -const ford_message_descriptions::ArrayDescription - Common__DisplayCapabilities__parameter7 = { - {"templatesAvailable", ford_message_descriptions::Array, true}, - (const ford_message_descriptions:: - ParameterDescription*)&Common__DisplayCapabilities__parameter7_array, - "s"}; -const ford_message_descriptions::StructDescription - Common__DisplayCapabilities__parameter8 = { - {"screenParams", ford_message_descriptions::Struct, false}, - Structs::Common__ScreenParams__parameters}; -const ford_message_descriptions::ParameterDescription - Common__DisplayCapabilities__parameter9 = { - "numCustomPresetsAvailable", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__DisplayCapabilities__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__DisplayCapabilities__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__DisplayCapabilities__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__DisplayCapabilities__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&Common__DisplayCapabilities__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&Common__DisplayCapabilities__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&Common__DisplayCapabilities__parameter6, - (const ford_message_descriptions:: - ParameterDescription*)&Common__DisplayCapabilities__parameter7, - (const ford_message_descriptions:: - ParameterDescription*)&Common__DisplayCapabilities__parameter8, - (const ford_message_descriptions:: - ParameterDescription*)&Common__DisplayCapabilities__parameter9, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__SoftButtonCapabilities__parameter1 = { - "shortPressAvailable", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription - Common__SoftButtonCapabilities__parameter2 = { - "longPressAvailable", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription - Common__SoftButtonCapabilities__parameter3 = { - "upDownAvailable", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription - Common__SoftButtonCapabilities__parameter4 = { - "imageSupported", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__SoftButtonCapabilities__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__SoftButtonCapabilities__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__SoftButtonCapabilities__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__SoftButtonCapabilities__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&Common__SoftButtonCapabilities__parameter4, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__HMICapabilities__parameter1 = { - "navigation", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__HMICapabilities__parameter2 = { - "phoneCall", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__HMICapabilities__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__HMICapabilities__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__HMICapabilities__parameter2, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__AudioPassThruCapabilities__parameter1 = { - "samplingRate", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - Common__AudioPassThruCapabilities__parameter2 = { - "bitsPerSample", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - Common__AudioPassThruCapabilities__parameter3 = { - "audioType", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__AudioPassThruCapabilities__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__AudioPassThruCapabilities__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__AudioPassThruCapabilities__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__AudioPassThruCapabilities__parameter3, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__TextFieldStruct__parameter1 = { - "fieldName", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - Common__TextFieldStruct__parameter2 = { - "fieldText", ford_message_descriptions::String, true}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__TextFieldStruct__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__TextFieldStruct__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__TextFieldStruct__parameter2, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__KeyboardProperties__parameter1 = { - "language", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription - Common__KeyboardProperties__parameter2 = { - "keyboardLayout", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription - Common__KeyboardProperties__parameter3 = { - "keypressMode", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription - Common__KeyboardProperties__parameter4_array = { - "limitedCharacterList", ford_message_descriptions::String, true}; -const ford_message_descriptions::ArrayDescription - Common__KeyboardProperties__parameter4 = { - {"limitedCharacterList", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&Common__KeyboardProperties__parameter4_array, - "s"}; -const ford_message_descriptions::ParameterDescription - Common__KeyboardProperties__parameter5 = { - "autoCompleteText", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__KeyboardProperties__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__KeyboardProperties__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__KeyboardProperties__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__KeyboardProperties__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&Common__KeyboardProperties__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&Common__KeyboardProperties__parameter5, - NULL}; - -const ford_message_descriptions::StructDescription Common__Turn__parameter1 = { - {"navigationText", ford_message_descriptions::Struct, false}, - Structs::Common__TextFieldStruct__parameters}; -const ford_message_descriptions::StructDescription Common__Turn__parameter2 = { - {"turnIcon", ford_message_descriptions::Struct, false}, - Structs::Common__Image__parameters}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__Turn__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__Turn__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__Turn__parameter2, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__VehicleType__parameter1 = { - "make", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription - Common__VehicleType__parameter2 = { - "model", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription - Common__VehicleType__parameter3 = { - "modelYear", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription - Common__VehicleType__parameter4 = { - "trim", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__VehicleType__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__VehicleType__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__VehicleType__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__VehicleType__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&Common__VehicleType__parameter4, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__GPSData__parameter1 = { - "longitudeDegrees", ford_message_descriptions::Float, false}; -const ford_message_descriptions::ParameterDescription - Common__GPSData__parameter2 = { - "latitudeDegrees", ford_message_descriptions::Float, false}; -const ford_message_descriptions::ParameterDescription - Common__GPSData__parameter3 = { - "utcYear", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - Common__GPSData__parameter4 = { - "utcMonth", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - Common__GPSData__parameter5 = { - "utcDay", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - Common__GPSData__parameter6 = { - "utcHours", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - Common__GPSData__parameter7 = { - "utcMinutes", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - Common__GPSData__parameter8 = { - "utcSeconds", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - Common__GPSData__parameter9 = { - "compassDirection", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription - Common__GPSData__parameter10 = { - "pdop", ford_message_descriptions::Float, false}; -const ford_message_descriptions::ParameterDescription - Common__GPSData__parameter11 = { - "hdop", ford_message_descriptions::Float, false}; -const ford_message_descriptions::ParameterDescription - Common__GPSData__parameter12 = { - "vdop", ford_message_descriptions::Float, false}; -const ford_message_descriptions::ParameterDescription - Common__GPSData__parameter13 = { - "actual", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__GPSData__parameter14 = { - "satellites", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - Common__GPSData__parameter15 = { - "dimension", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription - Common__GPSData__parameter16 = { - "altitude", ford_message_descriptions::Float, false}; -const ford_message_descriptions::ParameterDescription - Common__GPSData__parameter17 = { - "heading", ford_message_descriptions::Float, false}; -const ford_message_descriptions::ParameterDescription - Common__GPSData__parameter18 = { - "speed", ford_message_descriptions::Float, false}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__GPSData__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__GPSData__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__GPSData__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__GPSData__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&Common__GPSData__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&Common__GPSData__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&Common__GPSData__parameter6, - (const ford_message_descriptions:: - ParameterDescription*)&Common__GPSData__parameter7, - (const ford_message_descriptions:: - ParameterDescription*)&Common__GPSData__parameter8, - (const ford_message_descriptions:: - ParameterDescription*)&Common__GPSData__parameter9, - (const ford_message_descriptions:: - ParameterDescription*)&Common__GPSData__parameter10, - (const ford_message_descriptions:: - ParameterDescription*)&Common__GPSData__parameter11, - (const ford_message_descriptions:: - ParameterDescription*)&Common__GPSData__parameter12, - (const ford_message_descriptions:: - ParameterDescription*)&Common__GPSData__parameter13, - (const ford_message_descriptions:: - ParameterDescription*)&Common__GPSData__parameter14, - (const ford_message_descriptions:: - ParameterDescription*)&Common__GPSData__parameter15, - (const ford_message_descriptions:: - ParameterDescription*)&Common__GPSData__parameter16, - (const ford_message_descriptions:: - ParameterDescription*)&Common__GPSData__parameter17, - (const ford_message_descriptions:: - ParameterDescription*)&Common__GPSData__parameter18, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__SingleTireStatus__parameter1 = { - "status", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__SingleTireStatus__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__SingleTireStatus__parameter1, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__DIDResult__parameter1 = { - "resultCode", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - Common__DIDResult__parameter2 = { - "didLocation", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - Common__DIDResult__parameter3 = { - "data", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__DIDResult__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__DIDResult__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__DIDResult__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__DIDResult__parameter3, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__HeadLampStatus__parameter1 = { - "lowBeamsOn", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription - Common__HeadLampStatus__parameter2 = { - "highBeamsOn", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription - Common__HeadLampStatus__parameter3 = { - "ambientLightSensorStatus", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__HeadLampStatus__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__HeadLampStatus__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__HeadLampStatus__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__HeadLampStatus__parameter3, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__TireStatus__parameter1 = { - "pressureTelltale", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::StructDescription - Common__TireStatus__parameter2 = { - {"leftFront", ford_message_descriptions::Struct, false}, - Structs::Common__SingleTireStatus__parameters}; -const ford_message_descriptions::StructDescription - Common__TireStatus__parameter3 = { - {"rightFront", ford_message_descriptions::Struct, false}, - Structs::Common__SingleTireStatus__parameters}; -const ford_message_descriptions::StructDescription - Common__TireStatus__parameter4 = { - {"leftRear", ford_message_descriptions::Struct, false}, - Structs::Common__SingleTireStatus__parameters}; -const ford_message_descriptions::StructDescription - Common__TireStatus__parameter5 = { - {"rightRear", ford_message_descriptions::Struct, false}, - Structs::Common__SingleTireStatus__parameters}; -const ford_message_descriptions::StructDescription - Common__TireStatus__parameter6 = { - {"innerLeftRear", ford_message_descriptions::Struct, false}, - Structs::Common__SingleTireStatus__parameters}; -const ford_message_descriptions::StructDescription - Common__TireStatus__parameter7 = { - {"innerRightRear", ford_message_descriptions::Struct, false}, - Structs::Common__SingleTireStatus__parameters}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__TireStatus__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__TireStatus__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__TireStatus__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__TireStatus__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&Common__TireStatus__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&Common__TireStatus__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&Common__TireStatus__parameter6, - (const ford_message_descriptions:: - ParameterDescription*)&Common__TireStatus__parameter7, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__BeltStatus__parameter1 = { - "driverBeltDeployed", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription - Common__BeltStatus__parameter2 = { - "passengerBeltDeployed", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription - Common__BeltStatus__parameter3 = { - "passengerBuckleBelted", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription - Common__BeltStatus__parameter4 = { - "driverBuckleBelted", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription - Common__BeltStatus__parameter5 = { - "leftRow2BuckleBelted", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription - Common__BeltStatus__parameter6 = { - "passengerChildDetected", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription - Common__BeltStatus__parameter7 = { - "rightRow2BuckleBelted", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription - Common__BeltStatus__parameter8 = { - "middleRow2BuckleBelted", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription - Common__BeltStatus__parameter9 = { - "middleRow3BuckleBelted", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription - Common__BeltStatus__parameter10 = { - "leftRow3BuckleBelted", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription - Common__BeltStatus__parameter11 = { - "rightRow3BuckleBelted", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription - Common__BeltStatus__parameter12 = { - "leftRearInflatableBelted", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription - Common__BeltStatus__parameter13 = { - "rightRearInflatableBelted", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription - Common__BeltStatus__parameter14 = { - "middleRow1BeltDeployed", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription - Common__BeltStatus__parameter15 = { - "middleRow1BuckleBelted", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__BeltStatus__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__BeltStatus__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__BeltStatus__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__BeltStatus__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&Common__BeltStatus__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&Common__BeltStatus__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&Common__BeltStatus__parameter6, - (const ford_message_descriptions:: - ParameterDescription*)&Common__BeltStatus__parameter7, - (const ford_message_descriptions:: - ParameterDescription*)&Common__BeltStatus__parameter8, - (const ford_message_descriptions:: - ParameterDescription*)&Common__BeltStatus__parameter9, - (const ford_message_descriptions:: - ParameterDescription*)&Common__BeltStatus__parameter10, - (const ford_message_descriptions:: - ParameterDescription*)&Common__BeltStatus__parameter11, - (const ford_message_descriptions:: - ParameterDescription*)&Common__BeltStatus__parameter12, - (const ford_message_descriptions:: - ParameterDescription*)&Common__BeltStatus__parameter13, - (const ford_message_descriptions:: - ParameterDescription*)&Common__BeltStatus__parameter14, - (const ford_message_descriptions:: - ParameterDescription*)&Common__BeltStatus__parameter15, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__BodyInformation__parameter1 = { - "parkBrakeActive", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription - Common__BodyInformation__parameter2 = { - "ignitionStableStatus", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - Common__BodyInformation__parameter3 = { - "ignitionStatus", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - Common__BodyInformation__parameter4 = { - "driverDoorAjar", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__BodyInformation__parameter5 = { - "passengerDoorAjar", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__BodyInformation__parameter6 = { - "rearLeftDoorAjar", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__BodyInformation__parameter7 = { - "rearRightDoorAjar", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__BodyInformation__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__BodyInformation__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__BodyInformation__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__BodyInformation__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&Common__BodyInformation__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&Common__BodyInformation__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&Common__BodyInformation__parameter6, - (const ford_message_descriptions:: - ParameterDescription*)&Common__BodyInformation__parameter7, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__DeviceStatus__parameter1 = { - "voiceRecOn", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__DeviceStatus__parameter2 = { - "btIconOn", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__DeviceStatus__parameter3 = { - "callActive", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__DeviceStatus__parameter4 = { - "phoneRoaming", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__DeviceStatus__parameter5 = { - "textMsgAvailable", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__DeviceStatus__parameter6 = { - "battLevelStatus", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription - Common__DeviceStatus__parameter7 = { - "stereoAudioOutputMuted", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__DeviceStatus__parameter8 = { - "monoAudioOutputMuted", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__DeviceStatus__parameter9 = { - "signalLevelStatus", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription - Common__DeviceStatus__parameter10 = { - "primaryAudioSource", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription - Common__DeviceStatus__parameter11 = { - "eCallEventActive", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__DeviceStatus__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__DeviceStatus__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__DeviceStatus__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__DeviceStatus__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&Common__DeviceStatus__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&Common__DeviceStatus__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&Common__DeviceStatus__parameter6, - (const ford_message_descriptions:: - ParameterDescription*)&Common__DeviceStatus__parameter7, - (const ford_message_descriptions:: - ParameterDescription*)&Common__DeviceStatus__parameter8, - (const ford_message_descriptions:: - ParameterDescription*)&Common__DeviceStatus__parameter9, - (const ford_message_descriptions:: - ParameterDescription*)&Common__DeviceStatus__parameter10, - (const ford_message_descriptions:: - ParameterDescription*)&Common__DeviceStatus__parameter11, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__ECallInfo__parameter1 = { - "eCallNotificationStatus", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - Common__ECallInfo__parameter2 = { - "auxECallNotificationStatus", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - Common__ECallInfo__parameter3 = { - "eCallConfirmationStatus", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__ECallInfo__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__ECallInfo__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ECallInfo__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ECallInfo__parameter3, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__AirbagStatus__parameter1 = { - "driverAirbagDeployed", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - Common__AirbagStatus__parameter2 = { - "driverSideAirbagDeployed", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - Common__AirbagStatus__parameter3 = { - "driverCurtainAirbagDeployed", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - Common__AirbagStatus__parameter4 = { - "passengerAirbagDeployed", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - Common__AirbagStatus__parameter5 = {"passengerCurtainAirbagDeployed", - ford_message_descriptions::Enum, - true}; -const ford_message_descriptions::ParameterDescription - Common__AirbagStatus__parameter6 = { - "driverKneeAirbagDeployed", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - Common__AirbagStatus__parameter7 = { - "passengerSideAirbagDeployed", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - Common__AirbagStatus__parameter8 = { - "passengerKneeAirbagDeployed", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__AirbagStatus__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__AirbagStatus__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__AirbagStatus__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__AirbagStatus__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&Common__AirbagStatus__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&Common__AirbagStatus__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&Common__AirbagStatus__parameter6, - (const ford_message_descriptions:: - ParameterDescription*)&Common__AirbagStatus__parameter7, - (const ford_message_descriptions:: - ParameterDescription*)&Common__AirbagStatus__parameter8, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__EmergencyEvent__parameter1 = { - "emergencyEventType", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - Common__EmergencyEvent__parameter2 = { - "fuelCutoffStatus", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - Common__EmergencyEvent__parameter3 = { - "rolloverEvent", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - Common__EmergencyEvent__parameter4 = { - "maximumChangeVelocity", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - Common__EmergencyEvent__parameter5 = { - "multipleEvents", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__EmergencyEvent__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__EmergencyEvent__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__EmergencyEvent__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__EmergencyEvent__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&Common__EmergencyEvent__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&Common__EmergencyEvent__parameter5, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__ClusterModeStatus__parameter1 = { - "powerModeActive", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription - Common__ClusterModeStatus__parameter2 = { - "powerModeQualificationStatus", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - Common__ClusterModeStatus__parameter3 = { - "carModeStatus", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - Common__ClusterModeStatus__parameter4 = { - "powerModeStatus", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__ClusterModeStatus__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__ClusterModeStatus__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ClusterModeStatus__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ClusterModeStatus__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ClusterModeStatus__parameter4, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__MyKey__parameter1 = { - "e911Override", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__MyKey__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__MyKey__parameter1, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__RdsData__parameter1 = { - "PS", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription - Common__RdsData__parameter2 = { - "RT", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription - Common__RdsData__parameter3 = { - "CT", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription - Common__RdsData__parameter4 = { - "PI", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription - Common__RdsData__parameter5 = { - "PTY", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - Common__RdsData__parameter6 = { - "TP", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__RdsData__parameter7 = { - "TA", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__RdsData__parameter8 = { - "REG", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__RdsData__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__RdsData__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__RdsData__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__RdsData__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&Common__RdsData__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&Common__RdsData__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&Common__RdsData__parameter6, - (const ford_message_descriptions:: - ParameterDescription*)&Common__RdsData__parameter7, - (const ford_message_descriptions:: - ParameterDescription*)&Common__RdsData__parameter8, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__RadioControlData__parameter1 = { - "frequencyInteger", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - Common__RadioControlData__parameter2 = { - "frequencyFraction", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - Common__RadioControlData__parameter3 = { - "band", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::StructDescription - Common__RadioControlData__parameter4 = { - {"rdsData", ford_message_descriptions::Struct, false}, - Structs::Common__RdsData__parameters}; -const ford_message_descriptions::ParameterDescription - Common__RadioControlData__parameter5 = { - "availableHDs", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - Common__RadioControlData__parameter6 = { - "hdChannel", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - Common__RadioControlData__parameter7 = { - "signalStrength", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - Common__RadioControlData__parameter8 = { - "signalChangeThreshold", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - Common__RadioControlData__parameter9 = { - "radioEnable", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__RadioControlData__parameter10 = { - "state", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__RadioControlData__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__RadioControlData__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__RadioControlData__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__RadioControlData__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&Common__RadioControlData__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&Common__RadioControlData__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&Common__RadioControlData__parameter6, - (const ford_message_descriptions:: - ParameterDescription*)&Common__RadioControlData__parameter7, - (const ford_message_descriptions:: - ParameterDescription*)&Common__RadioControlData__parameter8, - (const ford_message_descriptions:: - ParameterDescription*)&Common__RadioControlData__parameter9, - (const ford_message_descriptions:: - ParameterDescription*)&Common__RadioControlData__parameter10, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__RadioControlCapabilities__parameter1 = { - "moduleName", ford_message_descriptions::String, true}; -const ford_message_descriptions::ParameterDescription - Common__RadioControlCapabilities__parameter2 = { - "radioEnableAvailable", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__RadioControlCapabilities__parameter3 = { - "radioBandAvailable", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__RadioControlCapabilities__parameter4 = { - "radioFrequencyAvailable", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__RadioControlCapabilities__parameter5 = { - "hdChannelAvailable", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__RadioControlCapabilities__parameter6 = { - "rdsDataAvailable", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__RadioControlCapabilities__parameter7 = { - "availableHDsAvailable", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__RadioControlCapabilities__parameter8 = { - "stateAvailable", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__RadioControlCapabilities__parameter9 = { - "signalStrengthAvailable", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__RadioControlCapabilities__parameter10 = { - "signalChangeThresholdAvailable", - ford_message_descriptions::Boolean, - false}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__RadioControlCapabilities__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__RadioControlCapabilities__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__RadioControlCapabilities__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__RadioControlCapabilities__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&Common__RadioControlCapabilities__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&Common__RadioControlCapabilities__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&Common__RadioControlCapabilities__parameter6, - (const ford_message_descriptions:: - ParameterDescription*)&Common__RadioControlCapabilities__parameter7, - (const ford_message_descriptions:: - ParameterDescription*)&Common__RadioControlCapabilities__parameter8, - (const ford_message_descriptions:: - ParameterDescription*)&Common__RadioControlCapabilities__parameter9, - (const ford_message_descriptions:: - ParameterDescription*)&Common__RadioControlCapabilities__parameter10, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__Temperature__parameter1 = { - "unit", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - Common__Temperature__parameter2 = { - "value", ford_message_descriptions::Float, true}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__Temperature__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__Temperature__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__Temperature__parameter2, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__ClimateControlData__parameter1 = { - "fanSpeed", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::StructDescription - Common__ClimateControlData__parameter2 = { - {"currentTemperature", ford_message_descriptions::Struct, false}, - Structs::Common__Temperature__parameters}; -const ford_message_descriptions::StructDescription - Common__ClimateControlData__parameter3 = { - {"desiredTemperature", ford_message_descriptions::Struct, false}, - Structs::Common__Temperature__parameters}; -const ford_message_descriptions::ParameterDescription - Common__ClimateControlData__parameter4 = { - "acEnable", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__ClimateControlData__parameter5 = { - "circulateAirEnable", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__ClimateControlData__parameter6 = { - "autoModeEnable", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__ClimateControlData__parameter7 = { - "defrostZone", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription - Common__ClimateControlData__parameter8 = { - "dualModeEnable", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__ClimateControlData__parameter9 = { - "acMaxEnable", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__ClimateControlData__parameter10 = { - "ventilationMode", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__ClimateControlData__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__ClimateControlData__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ClimateControlData__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ClimateControlData__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ClimateControlData__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ClimateControlData__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ClimateControlData__parameter6, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ClimateControlData__parameter7, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ClimateControlData__parameter8, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ClimateControlData__parameter9, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ClimateControlData__parameter10, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__ClimateControlCapabilities__parameter1 = { - "moduleName", ford_message_descriptions::String, true}; -const ford_message_descriptions::ParameterDescription - Common__ClimateControlCapabilities__parameter2 = { - "currentTemperatureAvailable", - ford_message_descriptions::Boolean, - false}; -const ford_message_descriptions::ParameterDescription - Common__ClimateControlCapabilities__parameter3 = { - "fanSpeedAvailable", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__ClimateControlCapabilities__parameter4 = { - "desiredTemperatureAvailable", - ford_message_descriptions::Boolean, - false}; -const ford_message_descriptions::ParameterDescription - Common__ClimateControlCapabilities__parameter5 = { - "acEnableAvailable", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__ClimateControlCapabilities__parameter6 = { - "acMaxEnableAvailable", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__ClimateControlCapabilities__parameter7 = { - "circulateAirEnableAvailable", - ford_message_descriptions::Boolean, - false}; -const ford_message_descriptions::ParameterDescription - Common__ClimateControlCapabilities__parameter8 = { - "autoModeEnableAvailable", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__ClimateControlCapabilities__parameter9 = { - "dualModeEnableAvailable", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__ClimateControlCapabilities__parameter10 = { - "defrostZoneAvailable", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__ClimateControlCapabilities__parameter11_array = { - "defrostZone", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ArrayDescription - Common__ClimateControlCapabilities__parameter11 = { - {"defrostZone", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ClimateControlCapabilities__parameter11_array, - "i"}; -const ford_message_descriptions::ParameterDescription - Common__ClimateControlCapabilities__parameter12 = { - "ventilationModeAvailable", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__ClimateControlCapabilities__parameter13_array = { - "ventilationMode", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ArrayDescription - Common__ClimateControlCapabilities__parameter13 = { - {"ventilationMode", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ClimateControlCapabilities__parameter13_array, - "i"}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__ClimateControlCapabilities__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__ClimateControlCapabilities__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ClimateControlCapabilities__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ClimateControlCapabilities__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ClimateControlCapabilities__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ClimateControlCapabilities__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ClimateControlCapabilities__parameter6, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ClimateControlCapabilities__parameter7, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ClimateControlCapabilities__parameter8, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ClimateControlCapabilities__parameter9, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ClimateControlCapabilities__parameter10, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ClimateControlCapabilities__parameter11, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ClimateControlCapabilities__parameter12, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ClimateControlCapabilities__parameter13, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__ModuleData__parameter1 = { - "moduleType", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::StructDescription - Common__ModuleData__parameter2 = { - {"radioControlData", ford_message_descriptions::Struct, false}, - Structs::Common__RadioControlData__parameters}; -const ford_message_descriptions::StructDescription - Common__ModuleData__parameter3 = { - {"climateControlData", ford_message_descriptions::Struct, false}, - Structs::Common__ClimateControlData__parameters}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__ModuleData__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__ModuleData__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ModuleData__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__ModuleData__parameter3, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__DateTime__parameter1 = { - "millisecond", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - Common__DateTime__parameter2 = { - "second", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - Common__DateTime__parameter3 = { - "minute", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - Common__DateTime__parameter4 = { - "hour", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - Common__DateTime__parameter5 = { - "day", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - Common__DateTime__parameter6 = { - "month", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - Common__DateTime__parameter7 = { - "year", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - Common__DateTime__parameter8 = { - "tz_hour", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - Common__DateTime__parameter9 = { - "tz_minute", ford_message_descriptions::Integer, false}; -/*const ford_message_descriptions::ParameterDescription* - Structs::Common__DateTime__parameters[] = { - (const - ford_message_descriptions::ParameterDescription*)&Common__DateTime__parameter1, - (const - ford_message_descriptions::ParameterDescription*)&Common__DateTime__parameter2, - (const - ford_message_descriptions::ParameterDescription*)&Common__DateTime__parameter3, - (const - ford_message_descriptions::ParameterDescription*)&Common__DateTime__parameter4, - (const - ford_message_descriptions::ParameterDescription*)&Common__DateTime__parameter5, - (const - ford_message_descriptions::ParameterDescription*)&Common__DateTime__parameter6, - (const - ford_message_descriptions::ParameterDescription*)&Common__DateTime__parameter7, - (const - ford_message_descriptions::ParameterDescription*)&Common__DateTime__parameter8, - (const - ford_message_descriptions::ParameterDescription*)&Common__DateTime__parameter9, - NULL };*/ - -const ford_message_descriptions::ParameterDescription - Common__OASISAddress__parameter1 = { - "countryName", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription - Common__OASISAddress__parameter2 = { - "countryCode", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription - Common__OASISAddress__parameter3 = { - "postalCode", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription - Common__OASISAddress__parameter4 = { - "administrativeArea", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription - Common__OASISAddress__parameter5 = { - "subAdministrativeArea", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription - Common__OASISAddress__parameter6 = { - "locality", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription - Common__OASISAddress__parameter7 = { - "subLocality", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription - Common__OASISAddress__parameter8 = { - "thoroughfare", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription - Common__OASISAddress__parameter9 = { - "subThoroughfare", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__OASISAddress__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__OASISAddress__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__OASISAddress__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__OASISAddress__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&Common__OASISAddress__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&Common__OASISAddress__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&Common__OASISAddress__parameter6, - (const ford_message_descriptions:: - ParameterDescription*)&Common__OASISAddress__parameter7, - (const ford_message_descriptions:: - ParameterDescription*)&Common__OASISAddress__parameter8, - (const ford_message_descriptions:: - ParameterDescription*)&Common__OASISAddress__parameter9, - NULL}; - -const ford_message_descriptions::StructDescription - Common__LocationDetails__parameter1 = { - {"coordinate", ford_message_descriptions::Struct, false}, - Structs::Common__Coordinate__parameters}; -const ford_message_descriptions::ParameterDescription - Common__LocationDetails__parameter2 = { - "locationName", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription - Common__LocationDetails__parameter3_array = { - "addressLines", ford_message_descriptions::String, true}; -const ford_message_descriptions::ArrayDescription - Common__LocationDetails__parameter3 = { - {"addressLines", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&Common__LocationDetails__parameter3_array, - "s"}; -const ford_message_descriptions::ParameterDescription - Common__LocationDetails__parameter4 = { - "locationDescription", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription - Common__LocationDetails__parameter5 = { - "phoneNumber", ford_message_descriptions::String, false}; -const ford_message_descriptions::StructDescription - Common__LocationDetails__parameter6 = { - {"locationImage", ford_message_descriptions::Struct, false}, - Structs::Common__Image__parameters}; -const ford_message_descriptions::StructDescription - Common__LocationDetails__parameter7 = { - {"searchAddress", ford_message_descriptions::Struct, false}, - Structs::Common__OASISAddress__parameters}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__LocationDetails__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__LocationDetails__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__LocationDetails__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__LocationDetails__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&Common__LocationDetails__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&Common__LocationDetails__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&Common__LocationDetails__parameter6, - (const ford_message_descriptions:: - ParameterDescription*)&Common__LocationDetails__parameter7, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__NavigationCapability__parameter1 = { - "sendLocationEnabled", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - Common__NavigationCapability__parameter2 = { - "getWayPointsEnabled", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__NavigationCapability__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__NavigationCapability__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__NavigationCapability__parameter2, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__PhoneCapability__parameter1 = { - "dialNumberEnabled", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__PhoneCapability__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__PhoneCapability__parameter1, - NULL}; - -const ford_message_descriptions::StructDescription - Common__VideoStreamingCapability__parameter1 = { - {"preferredResolution", ford_message_descriptions::Struct, false}, - Structs::Common__ImageResolution__parameters}; -const ford_message_descriptions::ParameterDescription - Common__VideoStreamingCapability__parameter2 = { - "maxBitrate", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::StructDescription - Common__VideoStreamingCapability__parameter3_array = { - {"supportedFormats", ford_message_descriptions::Struct, true}, - Structs::Common__VideoStreamingFormat__parameters}; -const ford_message_descriptions::ArrayDescription - Common__VideoStreamingCapability__parameter3 = { - {"supportedFormats", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&Common__VideoStreamingCapability__parameter3_array, - "(ii)"}; -const ford_message_descriptions::ParameterDescription - Common__VideoStreamingCapability__parameter4 = { - "hapticSpatialDataSupported", - ford_message_descriptions::Boolean, - false}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__VideoStreamingCapability__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__VideoStreamingCapability__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__VideoStreamingCapability__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__VideoStreamingCapability__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&Common__VideoStreamingCapability__parameter4, - NULL}; - -const ford_message_descriptions::StructDescription - Common__SystemCapabilities__parameter1 = { - {"navigationCapability", ford_message_descriptions::Struct, false}, - Structs::Common__NavigationCapability__parameters}; -const ford_message_descriptions::StructDescription - Common__SystemCapabilities__parameter2 = { - {"phoneCapability", ford_message_descriptions::Struct, false}, - Structs::Common__PhoneCapability__parameters}; -const ford_message_descriptions::StructDescription - Common__SystemCapabilities__parameter3 = { - {"videoStreamingCapability", ford_message_descriptions::Struct, false}, - Structs::Common__VideoStreamingCapability__parameters}; -/*const ford_message_descriptions::ParameterDescription* - Structs::Common__SystemCapabilities__parameters[] = { - (const - ford_message_descriptions::ParameterDescription*)&Common__SystemCapabilities__parameter1, - (const - ford_message_descriptions::ParameterDescription*)&Common__SystemCapabilities__parameter2, - (const - ford_message_descriptions::ParameterDescription*)&Common__SystemCapabilities__parameter3, - NULL };*/ - -const ford_message_descriptions::StructDescription - Common__RemoteControlCapabilities__parameter1_array = { - {"climateControlCapabilities", ford_message_descriptions::Struct, true}, - Structs::Common__ClimateControlCapabilities__parameters}; -const ford_message_descriptions::ArrayDescription - Common__RemoteControlCapabilities__parameter1 = { - {"climateControlCapabilities", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&Common__RemoteControlCapabilities__parameter1_array, - "(s(bb)(bb)(bb)(bb)(bb)(bb)(bb)(bb)(bb)(bai)(bb)(bai))"}; -const ford_message_descriptions::StructDescription - Common__RemoteControlCapabilities__parameter2_array = { - {"radioControlCapabilities", ford_message_descriptions::Struct, true}, - Structs::Common__RadioControlCapabilities__parameters}; -const ford_message_descriptions::ArrayDescription - Common__RemoteControlCapabilities__parameter2 = { - {"radioControlCapabilities", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&Common__RemoteControlCapabilities__parameter2_array, - "(s(bb)(bb)(bb)(bb)(bb)(bb)(bb)(bb)(bb))"}; -const ford_message_descriptions::StructDescription - Common__RemoteControlCapabilities__parameter3_array = { - {"buttonCapabilities", ford_message_descriptions::Struct, true}, - Structs::Common__ButtonCapabilities__parameters}; -const ford_message_descriptions::ArrayDescription - Common__RemoteControlCapabilities__parameter3 = { - {"buttonCapabilities", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&Common__RemoteControlCapabilities__parameter3_array, - "(ibbb)"}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__RemoteControlCapabilities__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__RemoteControlCapabilities__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__RemoteControlCapabilities__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__RemoteControlCapabilities__parameter3, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__Rectangle__parameter1 = { - "x", ford_message_descriptions::Float, true}; -const ford_message_descriptions::ParameterDescription - Common__Rectangle__parameter2 = { - "y", ford_message_descriptions::Float, true}; -const ford_message_descriptions::ParameterDescription - Common__Rectangle__parameter3 = { - "width", ford_message_descriptions::Float, true}; -const ford_message_descriptions::ParameterDescription - Common__Rectangle__parameter4 = { - "height", ford_message_descriptions::Float, true}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__Rectangle__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__Rectangle__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__Rectangle__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Common__Rectangle__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&Common__Rectangle__parameter4, - NULL}; - -const ford_message_descriptions::ParameterDescription - Common__HapticRect__parameter1 = { - "id", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::StructDescription - Common__HapticRect__parameter2 = { - {"rect", ford_message_descriptions::Struct, true}, - Structs::Common__Rectangle__parameters}; -const ford_message_descriptions::ParameterDescription* - Structs::Common__HapticRect__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Common__HapticRect__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Common__HapticRect__parameter2, - NULL}; - -const ford_message_descriptions::ParameterDescription* - Buttons__GetCapabilities__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - Buttons__GetCapabilities__request = { - "Buttons", - "GetCapabilities", - hmi_apis::messageType::request, - hmi_apis::FunctionID::Buttons_GetCapabilities, - Buttons__GetCapabilities__request__parameters}; - -const ford_message_descriptions::StructDescription - Buttons__GetCapabilities__response__parameter1_array = { - {"capabilities", ford_message_descriptions::Struct, true}, - Structs::Common__ButtonCapabilities__parameters}; -const ford_message_descriptions::ArrayDescription - Buttons__GetCapabilities__response__parameter1 = { - {"capabilities", ford_message_descriptions::Array, true}, - (const ford_message_descriptions:: - ParameterDescription*)&Buttons__GetCapabilities__response__parameter1_array, - "(ibbb)"}; -const ford_message_descriptions::StructDescription - Buttons__GetCapabilities__response__parameter2 = { - {"presetBankCapabilities", ford_message_descriptions::Struct, false}, - Structs::Common__PresetBankCapabilities__parameters}; -const ford_message_descriptions::ParameterDescription* - Buttons__GetCapabilities__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Buttons__GetCapabilities__response__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Buttons__GetCapabilities__response__parameter2, - NULL}; -const ford_message_descriptions::MessageDescription - Buttons__GetCapabilities__response = { - "Buttons", - "GetCapabilities", - hmi_apis::messageType::response, - hmi_apis::FunctionID::Buttons_GetCapabilities, - Buttons__GetCapabilities__response__parameters}; - -const ford_message_descriptions::ParameterDescription - Buttons__OnButtonEvent__notification__parameter1 = { - "name", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - Buttons__OnButtonEvent__notification__parameter2 = { - "mode", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - Buttons__OnButtonEvent__notification__parameter3 = { - "customButtonID", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - Buttons__OnButtonEvent__notification__parameter4 = { - "appID", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription* - Buttons__OnButtonEvent__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Buttons__OnButtonEvent__notification__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Buttons__OnButtonEvent__notification__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Buttons__OnButtonEvent__notification__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&Buttons__OnButtonEvent__notification__parameter4, - NULL}; -const ford_message_descriptions::MessageDescription - Buttons__OnButtonEvent__notification = { - "Buttons", - "OnButtonEvent", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::Buttons_OnButtonEvent, - Buttons__OnButtonEvent__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - Buttons__OnButtonPress__notification__parameter1 = { - "name", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - Buttons__OnButtonPress__notification__parameter2 = { - "mode", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - Buttons__OnButtonPress__notification__parameter3 = { - "customButtonID", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - Buttons__OnButtonPress__notification__parameter4 = { - "appID", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription* - Buttons__OnButtonPress__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Buttons__OnButtonPress__notification__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Buttons__OnButtonPress__notification__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Buttons__OnButtonPress__notification__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&Buttons__OnButtonPress__notification__parameter4, - NULL}; -const ford_message_descriptions::MessageDescription - Buttons__OnButtonPress__notification = { - "Buttons", - "OnButtonPress", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::Buttons_OnButtonPress, - Buttons__OnButtonPress__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - Buttons__OnButtonSubscription__notification__parameter1 = { - "name", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - Buttons__OnButtonSubscription__notification__parameter2 = { - "isSubscribed", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription - Buttons__OnButtonSubscription__notification__parameter3 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - Buttons__OnButtonSubscription__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Buttons__OnButtonSubscription__notification__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Buttons__OnButtonSubscription__notification__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Buttons__OnButtonSubscription__notification__parameter3, - NULL}; -const ford_message_descriptions::MessageDescription - Buttons__OnButtonSubscription__notification = { - "Buttons", - "OnButtonSubscription", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::Buttons_OnButtonSubscription, - Buttons__OnButtonSubscription__notification__parameters}; - -const ford_message_descriptions::ParameterDescription* - BasicCommunication__OnReady__notification__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__OnReady__notification = { - "BasicCommunication", - "OnReady", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::BasicCommunication_OnReady, - BasicCommunication__OnReady__notification__parameters}; - -const ford_message_descriptions::ParameterDescription* - BasicCommunication__OnStartDeviceDiscovery__notification__parameters[] = { - NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__OnStartDeviceDiscovery__notification = { - "BasicCommunication", - "OnStartDeviceDiscovery", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::BasicCommunication_OnStartDeviceDiscovery, - BasicCommunication__OnStartDeviceDiscovery__notification__parameters}; - -const ford_message_descriptions::ParameterDescription* - BasicCommunication__OnUpdateDeviceList__notification__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__OnUpdateDeviceList__notification = { - "BasicCommunication", - "OnUpdateDeviceList", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::BasicCommunication_OnUpdateDeviceList, - BasicCommunication__OnUpdateDeviceList__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - BasicCommunication__OnPhoneCall__notification__parameter1 = { - "isActive", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription* - BasicCommunication__OnPhoneCall__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnPhoneCall__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__OnPhoneCall__notification = { - "BasicCommunication", - "OnPhoneCall", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::BasicCommunication_OnPhoneCall, - BasicCommunication__OnPhoneCall__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - BasicCommunication__OnEmergencyEvent__notification__parameter1 = { - "enabled", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription* - BasicCommunication__OnEmergencyEvent__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnEmergencyEvent__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__OnEmergencyEvent__notification = { - "BasicCommunication", - "OnEmergencyEvent", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::BasicCommunication_OnEmergencyEvent, - BasicCommunication__OnEmergencyEvent__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - BasicCommunication__OnResumeAudioSource__notification__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - BasicCommunication__OnResumeAudioSource__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnResumeAudioSource__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__OnResumeAudioSource__notification = { - "BasicCommunication", - "OnResumeAudioSource", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::BasicCommunication_OnResumeAudioSource, - BasicCommunication__OnResumeAudioSource__notification__parameters}; - -const ford_message_descriptions::ParameterDescription* - BasicCommunication__OnSDLPersistenceComplete__notification__parameters[] = { - NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__OnSDLPersistenceComplete__notification = { - "BasicCommunication", - "OnSDLPersistenceComplete", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::BasicCommunication_OnSDLPersistenceComplete, - BasicCommunication__OnSDLPersistenceComplete__notification__parameters}; - -const ford_message_descriptions::StructDescription - BasicCommunication__UpdateAppList__request__parameter1_array = { - {"applications", ford_message_descriptions::Struct, true}, - Structs::Common__HMIApplication__parameters}; -const ford_message_descriptions::ArrayDescription - BasicCommunication__UpdateAppList__request__parameter1 = { - {"applications", ford_message_descriptions::Array, true}, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__UpdateAppList__request__parameter1_array, - "(s(bs)(bs)(ss(bi)(bb))s(ba(si))(bas)iib(bai)(bb)(bai))"}; -const ford_message_descriptions::ParameterDescription* - BasicCommunication__UpdateAppList__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__UpdateAppList__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__UpdateAppList__request = { - "BasicCommunication", - "UpdateAppList", - hmi_apis::messageType::request, - hmi_apis::FunctionID::BasicCommunication_UpdateAppList, - BasicCommunication__UpdateAppList__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - BasicCommunication__UpdateAppList__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__UpdateAppList__response = { - "BasicCommunication", - "UpdateAppList", - hmi_apis::messageType::response, - hmi_apis::FunctionID::BasicCommunication_UpdateAppList, - BasicCommunication__UpdateAppList__response__parameters}; - -const ford_message_descriptions::StructDescription - BasicCommunication__UpdateDeviceList__request__parameter1_array = { - {"deviceList", ford_message_descriptions::Struct, true}, - Structs::Common__DeviceInfo__parameters}; -const ford_message_descriptions::ArrayDescription - BasicCommunication__UpdateDeviceList__request__parameter1 = { - {"deviceList", ford_message_descriptions::Array, true}, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__UpdateDeviceList__request__parameter1_array, - "(ss(bi)(bb))"}; -const ford_message_descriptions::ParameterDescription* - BasicCommunication__UpdateDeviceList__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__UpdateDeviceList__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__UpdateDeviceList__request = { - "BasicCommunication", - "UpdateDeviceList", - hmi_apis::messageType::request, - hmi_apis::FunctionID::BasicCommunication_UpdateDeviceList, - BasicCommunication__UpdateDeviceList__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - BasicCommunication__UpdateDeviceList__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__UpdateDeviceList__response = { - "BasicCommunication", - "UpdateDeviceList", - hmi_apis::messageType::response, - hmi_apis::FunctionID::BasicCommunication_UpdateDeviceList, - BasicCommunication__UpdateDeviceList__response__parameters}; - -const ford_message_descriptions::ParameterDescription - BasicCommunication__OnFileRemoved__notification__parameter1 = { - "fileName", ford_message_descriptions::String, true}; -const ford_message_descriptions::ParameterDescription - BasicCommunication__OnFileRemoved__notification__parameter2 = { - "fileType", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - BasicCommunication__OnFileRemoved__notification__parameter3 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - BasicCommunication__OnFileRemoved__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnFileRemoved__notification__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnFileRemoved__notification__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnFileRemoved__notification__parameter3, - NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__OnFileRemoved__notification = { - "BasicCommunication", - "OnFileRemoved", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::BasicCommunication_OnFileRemoved, - BasicCommunication__OnFileRemoved__notification__parameters}; - -const ford_message_descriptions::StructDescription - BasicCommunication__AllowDeviceToConnect__request__parameter1 = { - {"device", ford_message_descriptions::Struct, true}, - Structs::Common__DeviceInfo__parameters}; -const ford_message_descriptions::ParameterDescription* - BasicCommunication__AllowDeviceToConnect__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__AllowDeviceToConnect__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__AllowDeviceToConnect__request = { - "BasicCommunication", - "AllowDeviceToConnect", - hmi_apis::messageType::request, - hmi_apis::FunctionID::BasicCommunication_AllowDeviceToConnect, - BasicCommunication__AllowDeviceToConnect__request__parameters}; - -const ford_message_descriptions::ParameterDescription - BasicCommunication__AllowDeviceToConnect__response__parameter1 = { - "allow", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription* - BasicCommunication__AllowDeviceToConnect__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__AllowDeviceToConnect__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__AllowDeviceToConnect__response = { - "BasicCommunication", - "AllowDeviceToConnect", - hmi_apis::messageType::response, - hmi_apis::FunctionID::BasicCommunication_AllowDeviceToConnect, - BasicCommunication__AllowDeviceToConnect__response__parameters}; - -const ford_message_descriptions::StructDescription - BasicCommunication__OnDeviceChosen__notification__parameter1 = { - {"deviceInfo", ford_message_descriptions::Struct, true}, - Structs::Common__DeviceInfo__parameters}; -const ford_message_descriptions::ParameterDescription* - BasicCommunication__OnDeviceChosen__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnDeviceChosen__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__OnDeviceChosen__notification = { - "BasicCommunication", - "OnDeviceChosen", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::BasicCommunication_OnDeviceChosen, - BasicCommunication__OnDeviceChosen__notification__parameters}; - -const ford_message_descriptions::StructDescription - BasicCommunication__OnFindApplications__notification__parameter1 = { - {"deviceInfo", ford_message_descriptions::Struct, false}, - Structs::Common__DeviceInfo__parameters}; -const ford_message_descriptions::ParameterDescription* - BasicCommunication__OnFindApplications__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnFindApplications__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__OnFindApplications__notification = { - "BasicCommunication", - "OnFindApplications", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::BasicCommunication_OnFindApplications, - BasicCommunication__OnFindApplications__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - BasicCommunication__ActivateApp__request__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - BasicCommunication__ActivateApp__request__parameter2 = { - "priority", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription - BasicCommunication__ActivateApp__request__parameter3 = { - "level", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription* - BasicCommunication__ActivateApp__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__ActivateApp__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__ActivateApp__request__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__ActivateApp__request__parameter3, - NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__ActivateApp__request = { - "BasicCommunication", - "ActivateApp", - hmi_apis::messageType::request, - hmi_apis::FunctionID::BasicCommunication_ActivateApp, - BasicCommunication__ActivateApp__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - BasicCommunication__ActivateApp__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__ActivateApp__response = { - "BasicCommunication", - "ActivateApp", - hmi_apis::messageType::response, - hmi_apis::FunctionID::BasicCommunication_ActivateApp, - BasicCommunication__ActivateApp__response__parameters}; - -const ford_message_descriptions::ParameterDescription - BasicCommunication__OnAppActivated__notification__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - BasicCommunication__OnAppActivated__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnAppActivated__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__OnAppActivated__notification = { - "BasicCommunication", - "OnAppActivated", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::BasicCommunication_OnAppActivated, - BasicCommunication__OnAppActivated__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - BasicCommunication__OnAppDeactivated__notification__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - BasicCommunication__OnAppDeactivated__notification__parameter2 = { - "reason", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - BasicCommunication__OnAppDeactivated__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnAppDeactivated__notification__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnAppDeactivated__notification__parameter2, - NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__OnAppDeactivated__notification = { - "BasicCommunication", - "OnAppDeactivated", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::BasicCommunication_OnAppDeactivated, - BasicCommunication__OnAppDeactivated__notification__parameters}; - -const ford_message_descriptions::StructDescription - BasicCommunication__OnAppRegistered__notification__parameter1 = { - {"application", ford_message_descriptions::Struct, true}, - Structs::Common__HMIApplication__parameters}; -const ford_message_descriptions::StructDescription - BasicCommunication__OnAppRegistered__notification__parameter2_array = { - {"ttsName", ford_message_descriptions::Struct, true}, - Structs::Common__TTSChunk__parameters}; -const ford_message_descriptions::ArrayDescription - BasicCommunication__OnAppRegistered__notification__parameter2 = { - {"ttsName", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnAppRegistered__notification__parameter2_array, - "(si)"}; -const ford_message_descriptions::ParameterDescription - BasicCommunication__OnAppRegistered__notification__parameter3_array = { - "vrSynonyms", ford_message_descriptions::String, true}; -const ford_message_descriptions::ArrayDescription - BasicCommunication__OnAppRegistered__notification__parameter3 = { - {"vrSynonyms", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnAppRegistered__notification__parameter3_array, - "s"}; -const ford_message_descriptions::ParameterDescription - BasicCommunication__OnAppRegistered__notification__parameter4 = { - "resumeVrGrammars", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - BasicCommunication__OnAppRegistered__notification__parameter5 = { - "priority", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription* - BasicCommunication__OnAppRegistered__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnAppRegistered__notification__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnAppRegistered__notification__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnAppRegistered__notification__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnAppRegistered__notification__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnAppRegistered__notification__parameter5, - NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__OnAppRegistered__notification = { - "BasicCommunication", - "OnAppRegistered", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::BasicCommunication_OnAppRegistered, - BasicCommunication__OnAppRegistered__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - BasicCommunication__OnAppUnregistered__notification__parameter1 = { - "unexpectedDisconnect", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription - BasicCommunication__OnAppUnregistered__notification__parameter2 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - BasicCommunication__OnAppUnregistered__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnAppUnregistered__notification__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnAppUnregistered__notification__parameter2, - NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__OnAppUnregistered__notification = { - "BasicCommunication", - "OnAppUnregistered", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::BasicCommunication_OnAppUnregistered, - BasicCommunication__OnAppUnregistered__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - BasicCommunication__OnExitApplication__notification__parameter1 = { - "reason", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - BasicCommunication__OnExitApplication__notification__parameter2 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - BasicCommunication__OnExitApplication__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnExitApplication__notification__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnExitApplication__notification__parameter2, - NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__OnExitApplication__notification = { - "BasicCommunication", - "OnExitApplication", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::BasicCommunication_OnExitApplication, - BasicCommunication__OnExitApplication__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - BasicCommunication__OnExitAllApplications__notification__parameter1 = { - "reason", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - BasicCommunication__OnExitAllApplications__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnExitAllApplications__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__OnExitAllApplications__notification = { - "BasicCommunication", - "OnExitAllApplications", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::BasicCommunication_OnExitAllApplications, - BasicCommunication__OnExitAllApplications__notification__parameters}; - -const ford_message_descriptions::ParameterDescription* - BasicCommunication__OnAwakeSDL__notification__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__OnAwakeSDL__notification = { - "BasicCommunication", - "OnAwakeSDL", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::BasicCommunication_OnAwakeSDL, - BasicCommunication__OnAwakeSDL__notification__parameters}; - -const ford_message_descriptions::ParameterDescription* - BasicCommunication__MixingAudioSupported__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__MixingAudioSupported__request = { - "BasicCommunication", - "MixingAudioSupported", - hmi_apis::messageType::request, - hmi_apis::FunctionID::BasicCommunication_MixingAudioSupported, - BasicCommunication__MixingAudioSupported__request__parameters}; - -const ford_message_descriptions::ParameterDescription - BasicCommunication__MixingAudioSupported__response__parameter1 = { - "attenuatedSupported", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription* - BasicCommunication__MixingAudioSupported__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__MixingAudioSupported__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__MixingAudioSupported__response = { - "BasicCommunication", - "MixingAudioSupported", - hmi_apis::messageType::response, - hmi_apis::FunctionID::BasicCommunication_MixingAudioSupported, - BasicCommunication__MixingAudioSupported__response__parameters}; - -const ford_message_descriptions::ParameterDescription - BasicCommunication__PlayTone__notification__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - BasicCommunication__PlayTone__notification__parameter2 = { - "methodName", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - BasicCommunication__PlayTone__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__PlayTone__notification__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__PlayTone__notification__parameter2, - NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__PlayTone__notification = { - "BasicCommunication", - "PlayTone", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::BasicCommunication_PlayTone, - BasicCommunication__PlayTone__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - BasicCommunication__DialNumber__request__parameter1 = { - "number", ford_message_descriptions::String, true}; -const ford_message_descriptions::ParameterDescription - BasicCommunication__DialNumber__request__parameter2 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - BasicCommunication__DialNumber__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__DialNumber__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__DialNumber__request__parameter2, - NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__DialNumber__request = { - "BasicCommunication", - "DialNumber", - hmi_apis::messageType::request, - hmi_apis::FunctionID::BasicCommunication_DialNumber, - BasicCommunication__DialNumber__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - BasicCommunication__DialNumber__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__DialNumber__response = { - "BasicCommunication", - "DialNumber", - hmi_apis::messageType::response, - hmi_apis::FunctionID::BasicCommunication_DialNumber, - BasicCommunication__DialNumber__response__parameters}; - -const ford_message_descriptions::ParameterDescription - BasicCommunication__OnSystemRequest__notification__parameter1 = { - "requestType", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - BasicCommunication__OnSystemRequest__notification__parameter2 = { - "url", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription - BasicCommunication__OnSystemRequest__notification__parameter3 = { - "fileType", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription - BasicCommunication__OnSystemRequest__notification__parameter4 = { - "offset", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - BasicCommunication__OnSystemRequest__notification__parameter5 = { - "length", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - BasicCommunication__OnSystemRequest__notification__parameter6 = { - "timeout", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - BasicCommunication__OnSystemRequest__notification__parameter7 = { - "fileName", ford_message_descriptions::String, true}; -const ford_message_descriptions::ParameterDescription - BasicCommunication__OnSystemRequest__notification__parameter8 = { - "appID", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription* - BasicCommunication__OnSystemRequest__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnSystemRequest__notification__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnSystemRequest__notification__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnSystemRequest__notification__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnSystemRequest__notification__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnSystemRequest__notification__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnSystemRequest__notification__parameter6, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnSystemRequest__notification__parameter7, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnSystemRequest__notification__parameter8, - NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__OnSystemRequest__notification = { - "BasicCommunication", - "OnSystemRequest", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::BasicCommunication_OnSystemRequest, - BasicCommunication__OnSystemRequest__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - BasicCommunication__SystemRequest__request__parameter1 = { - "requestType", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - BasicCommunication__SystemRequest__request__parameter2 = { - "fileName", ford_message_descriptions::String, true}; -const ford_message_descriptions::ParameterDescription - BasicCommunication__SystemRequest__request__parameter3 = { - "appID", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription* - BasicCommunication__SystemRequest__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__SystemRequest__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__SystemRequest__request__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__SystemRequest__request__parameter3, - NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__SystemRequest__request = { - "BasicCommunication", - "SystemRequest", - hmi_apis::messageType::request, - hmi_apis::FunctionID::BasicCommunication_SystemRequest, - BasicCommunication__SystemRequest__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - BasicCommunication__SystemRequest__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__SystemRequest__response = { - "BasicCommunication", - "SystemRequest", - hmi_apis::messageType::response, - hmi_apis::FunctionID::BasicCommunication_SystemRequest, - BasicCommunication__SystemRequest__response__parameters}; - -const ford_message_descriptions::ParameterDescription - BasicCommunication__PolicyUpdate__request__parameter1 = { - "file", ford_message_descriptions::String, true}; -const ford_message_descriptions::ParameterDescription - BasicCommunication__PolicyUpdate__request__parameter2 = { - "timeout", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - BasicCommunication__PolicyUpdate__request__parameter3_array = { - "retry", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ArrayDescription - BasicCommunication__PolicyUpdate__request__parameter3 = { - {"retry", ford_message_descriptions::Array, true}, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__PolicyUpdate__request__parameter3_array, - "i"}; -const ford_message_descriptions::ParameterDescription* - BasicCommunication__PolicyUpdate__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__PolicyUpdate__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__PolicyUpdate__request__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__PolicyUpdate__request__parameter3, - NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__PolicyUpdate__request = { - "BasicCommunication", - "PolicyUpdate", - hmi_apis::messageType::request, - hmi_apis::FunctionID::BasicCommunication_PolicyUpdate, - BasicCommunication__PolicyUpdate__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - BasicCommunication__PolicyUpdate__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__PolicyUpdate__response = { - "BasicCommunication", - "PolicyUpdate", - hmi_apis::messageType::response, - hmi_apis::FunctionID::BasicCommunication_PolicyUpdate, - BasicCommunication__PolicyUpdate__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - BasicCommunication__OnSDLClose__notification__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__OnSDLClose__notification = { - "BasicCommunication", - "OnSDLClose", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::BasicCommunication_OnSDLClose, - BasicCommunication__OnSDLClose__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - BasicCommunication__OnPutFile__notification__parameter1 = { - "offset", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - BasicCommunication__OnPutFile__notification__parameter2 = { - "length", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - BasicCommunication__OnPutFile__notification__parameter3 = { - "fileSize", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - BasicCommunication__OnPutFile__notification__parameter4 = { - "FileName", ford_message_descriptions::String, true}; -const ford_message_descriptions::ParameterDescription - BasicCommunication__OnPutFile__notification__parameter5 = { - "syncFileName", ford_message_descriptions::String, true}; -const ford_message_descriptions::ParameterDescription - BasicCommunication__OnPutFile__notification__parameter6 = { - "fileType", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - BasicCommunication__OnPutFile__notification__parameter7 = { - "persistentFile", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription* - BasicCommunication__OnPutFile__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnPutFile__notification__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnPutFile__notification__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnPutFile__notification__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnPutFile__notification__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnPutFile__notification__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnPutFile__notification__parameter6, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnPutFile__notification__parameter7, - NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__OnPutFile__notification = { - "BasicCommunication", - "OnPutFile", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::BasicCommunication_OnPutFile, - BasicCommunication__OnPutFile__notification__parameters}; - -const ford_message_descriptions::ParameterDescription* - BasicCommunication__GetSystemInfo__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__GetSystemInfo__request = { - "BasicCommunication", - "GetSystemInfo", - hmi_apis::messageType::request, - hmi_apis::FunctionID::BasicCommunication_GetSystemInfo, - BasicCommunication__GetSystemInfo__request__parameters}; - -const ford_message_descriptions::ParameterDescription - BasicCommunication__GetSystemInfo__response__parameter1 = { - "ccpu_version", ford_message_descriptions::String, true}; -const ford_message_descriptions::ParameterDescription - BasicCommunication__GetSystemInfo__response__parameter2 = { - "language", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - BasicCommunication__GetSystemInfo__response__parameter3 = { - "wersCountryCode", ford_message_descriptions::String, true}; -const ford_message_descriptions::ParameterDescription* - BasicCommunication__GetSystemInfo__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__GetSystemInfo__response__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__GetSystemInfo__response__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__GetSystemInfo__response__parameter3, - NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__GetSystemInfo__response = { - "BasicCommunication", - "GetSystemInfo", - hmi_apis::messageType::response, - hmi_apis::FunctionID::BasicCommunication_GetSystemInfo, - BasicCommunication__GetSystemInfo__response__parameters}; - -const ford_message_descriptions::ParameterDescription - BasicCommunication__OnSystemInfoChanged__notification__parameter1 = { - "language", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - BasicCommunication__OnSystemInfoChanged__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnSystemInfoChanged__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__OnSystemInfoChanged__notification = { - "BasicCommunication", - "OnSystemInfoChanged", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::BasicCommunication_OnSystemInfoChanged, - BasicCommunication__OnSystemInfoChanged__notification__parameters}; - -const ford_message_descriptions::ParameterDescription* - BasicCommunication__OnIgnitionCycleOver__notification__parameters[] = { - NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__OnIgnitionCycleOver__notification = { - "BasicCommunication", - "OnIgnitionCycleOver", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::BasicCommunication_OnIgnitionCycleOver, - BasicCommunication__OnIgnitionCycleOver__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - BasicCommunication__DecryptCertificate__request__parameter1 = { - "fileName", ford_message_descriptions::String, true}; -const ford_message_descriptions::ParameterDescription* - BasicCommunication__DecryptCertificate__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__DecryptCertificate__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__DecryptCertificate__request = { - "BasicCommunication", - "DecryptCertificate", - hmi_apis::messageType::request, - hmi_apis::FunctionID::BasicCommunication_DecryptCertificate, - BasicCommunication__DecryptCertificate__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - BasicCommunication__DecryptCertificate__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__DecryptCertificate__response = { - "BasicCommunication", - "DecryptCertificate", - hmi_apis::messageType::response, - hmi_apis::FunctionID::BasicCommunication_DecryptCertificate, - BasicCommunication__DecryptCertificate__response__parameters}; - -const ford_message_descriptions::ParameterDescription - BasicCommunication__OnEventChanged__notification__parameter1 = { - "eventName", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - BasicCommunication__OnEventChanged__notification__parameter2 = { - "isActive", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription* - BasicCommunication__OnEventChanged__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnEventChanged__notification__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&BasicCommunication__OnEventChanged__notification__parameter2, - NULL}; -const ford_message_descriptions::MessageDescription - BasicCommunication__OnEventChanged__notification = { - "BasicCommunication", - "OnEventChanged", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::BasicCommunication_OnEventChanged, - BasicCommunication__OnEventChanged__notification__parameters}; - -const ford_message_descriptions::ParameterDescription* - VR__IsReady__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription VR__IsReady__request = { - "VR", - "IsReady", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VR_IsReady, - VR__IsReady__request__parameters}; - -const ford_message_descriptions::ParameterDescription - VR__IsReady__response__parameter1 = { - "available", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription* - VR__IsReady__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VR__IsReady__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription VR__IsReady__response = { - "VR", - "IsReady", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VR_IsReady, - VR__IsReady__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VR__Started__notification__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription VR__Started__notification = - {"VR", - "Started", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::VR_Started, - VR__Started__notification__parameters}; - -const ford_message_descriptions::ParameterDescription* - VR__Stopped__notification__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription VR__Stopped__notification = - {"VR", - "Stopped", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::VR_Stopped, - VR__Stopped__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - VR__AddCommand__request__parameter1 = { - "cmdID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - VR__AddCommand__request__parameter2_array = { - "vrCommands", ford_message_descriptions::String, true}; -const ford_message_descriptions::ArrayDescription - VR__AddCommand__request__parameter2 = { - {"vrCommands", ford_message_descriptions::Array, true}, - (const ford_message_descriptions:: - ParameterDescription*)&VR__AddCommand__request__parameter2_array, - "s"}; -const ford_message_descriptions::ParameterDescription - VR__AddCommand__request__parameter3 = { - "type", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - VR__AddCommand__request__parameter4 = { - "grammarID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - VR__AddCommand__request__parameter5 = { - "appID", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription* - VR__AddCommand__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VR__AddCommand__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&VR__AddCommand__request__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&VR__AddCommand__request__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&VR__AddCommand__request__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&VR__AddCommand__request__parameter5, - NULL}; -const ford_message_descriptions::MessageDescription VR__AddCommand__request = { - "VR", - "AddCommand", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VR_AddCommand, - VR__AddCommand__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - VR__AddCommand__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription VR__AddCommand__response = { - "VR", - "AddCommand", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VR_AddCommand, - VR__AddCommand__response__parameters}; - -const ford_message_descriptions::ParameterDescription - VR__DeleteCommand__request__parameter1 = { - "cmdID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - VR__DeleteCommand__request__parameter2 = { - "type", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - VR__DeleteCommand__request__parameter3 = { - "grammarID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - VR__DeleteCommand__request__parameter4 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - VR__DeleteCommand__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VR__DeleteCommand__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&VR__DeleteCommand__request__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&VR__DeleteCommand__request__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&VR__DeleteCommand__request__parameter4, - NULL}; -const ford_message_descriptions::MessageDescription VR__DeleteCommand__request = - {"VR", - "DeleteCommand", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VR_DeleteCommand, - VR__DeleteCommand__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - VR__DeleteCommand__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VR__DeleteCommand__response = {"VR", - "DeleteCommand", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VR_DeleteCommand, - VR__DeleteCommand__response__parameters}; - -const ford_message_descriptions::StructDescription - VR__PerformInteraction__request__parameter1_array = { - {"helpPrompt", ford_message_descriptions::Struct, true}, - Structs::Common__TTSChunk__parameters}; -const ford_message_descriptions::ArrayDescription - VR__PerformInteraction__request__parameter1 = { - {"helpPrompt", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&VR__PerformInteraction__request__parameter1_array, - "(si)"}; -const ford_message_descriptions::StructDescription - VR__PerformInteraction__request__parameter2_array = { - {"initialPrompt", ford_message_descriptions::Struct, true}, - Structs::Common__TTSChunk__parameters}; -const ford_message_descriptions::ArrayDescription - VR__PerformInteraction__request__parameter2 = { - {"initialPrompt", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&VR__PerformInteraction__request__parameter2_array, - "(si)"}; -const ford_message_descriptions::StructDescription - VR__PerformInteraction__request__parameter3_array = { - {"timeoutPrompt", ford_message_descriptions::Struct, true}, - Structs::Common__TTSChunk__parameters}; -const ford_message_descriptions::ArrayDescription - VR__PerformInteraction__request__parameter3 = { - {"timeoutPrompt", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&VR__PerformInteraction__request__parameter3_array, - "(si)"}; -const ford_message_descriptions::ParameterDescription - VR__PerformInteraction__request__parameter4 = { - "timeout", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - VR__PerformInteraction__request__parameter5_array = { - "grammarID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ArrayDescription - VR__PerformInteraction__request__parameter5 = { - {"grammarID", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&VR__PerformInteraction__request__parameter5_array, - "i"}; -const ford_message_descriptions::ParameterDescription* - VR__PerformInteraction__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VR__PerformInteraction__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&VR__PerformInteraction__request__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&VR__PerformInteraction__request__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&VR__PerformInteraction__request__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&VR__PerformInteraction__request__parameter5, - NULL}; -const ford_message_descriptions::MessageDescription - VR__PerformInteraction__request = { - "VR", - "PerformInteraction", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VR_PerformInteraction, - VR__PerformInteraction__request__parameters}; - -const ford_message_descriptions::ParameterDescription - VR__PerformInteraction__response__parameter1 = { - "choiceID", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription* - VR__PerformInteraction__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VR__PerformInteraction__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VR__PerformInteraction__response = { - "VR", - "PerformInteraction", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VR_PerformInteraction, - VR__PerformInteraction__response__parameters}; - -const ford_message_descriptions::ParameterDescription - VR__OnCommand__notification__parameter1 = { - "cmdID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - VR__OnCommand__notification__parameter2 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - VR__OnCommand__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VR__OnCommand__notification__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&VR__OnCommand__notification__parameter2, - NULL}; -const ford_message_descriptions::MessageDescription - VR__OnCommand__notification = {"VR", - "OnCommand", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::VR_OnCommand, - VR__OnCommand__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - VR__ChangeRegistration__request__parameter1_array = { - "vrSynonyms", ford_message_descriptions::String, true}; -const ford_message_descriptions::ArrayDescription - VR__ChangeRegistration__request__parameter1 = { - {"vrSynonyms", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&VR__ChangeRegistration__request__parameter1_array, - "s"}; -const ford_message_descriptions::ParameterDescription - VR__ChangeRegistration__request__parameter2 = { - "language", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - VR__ChangeRegistration__request__parameter3 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - VR__ChangeRegistration__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VR__ChangeRegistration__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&VR__ChangeRegistration__request__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&VR__ChangeRegistration__request__parameter3, - NULL}; -const ford_message_descriptions::MessageDescription - VR__ChangeRegistration__request = { - "VR", - "ChangeRegistration", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VR_ChangeRegistration, - VR__ChangeRegistration__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - VR__ChangeRegistration__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VR__ChangeRegistration__response = { - "VR", - "ChangeRegistration", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VR_ChangeRegistration, - VR__ChangeRegistration__response__parameters}; - -const ford_message_descriptions::ParameterDescription - VR__OnLanguageChange__notification__parameter1 = { - "language", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - VR__OnLanguageChange__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VR__OnLanguageChange__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VR__OnLanguageChange__notification = { - "VR", - "OnLanguageChange", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::VR_OnLanguageChange, - VR__OnLanguageChange__notification__parameters}; - -const ford_message_descriptions::ParameterDescription* - VR__GetSupportedLanguages__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VR__GetSupportedLanguages__request = { - "VR", - "GetSupportedLanguages", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VR_GetSupportedLanguages, - VR__GetSupportedLanguages__request__parameters}; - -const ford_message_descriptions::ParameterDescription - VR__GetSupportedLanguages__response__parameter1_array = { - "languages", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ArrayDescription - VR__GetSupportedLanguages__response__parameter1 = { - {"languages", ford_message_descriptions::Array, true}, - (const ford_message_descriptions:: - ParameterDescription*)&VR__GetSupportedLanguages__response__parameter1_array, - "i"}; -const ford_message_descriptions::ParameterDescription* - VR__GetSupportedLanguages__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VR__GetSupportedLanguages__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VR__GetSupportedLanguages__response = { - "VR", - "GetSupportedLanguages", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VR_GetSupportedLanguages, - VR__GetSupportedLanguages__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VR__GetLanguage__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription VR__GetLanguage__request = { - "VR", - "GetLanguage", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VR_GetLanguage, - VR__GetLanguage__request__parameters}; - -const ford_message_descriptions::ParameterDescription - VR__GetLanguage__response__parameter1 = { - "language", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - VR__GetLanguage__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VR__GetLanguage__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription VR__GetLanguage__response = - {"VR", - "GetLanguage", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VR_GetLanguage, - VR__GetLanguage__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VR__GetCapabilities__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VR__GetCapabilities__request = {"VR", - "GetCapabilities", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VR_GetCapabilities, - VR__GetCapabilities__request__parameters}; - -const ford_message_descriptions::ParameterDescription - VR__GetCapabilities__response__parameter1_array = { - "vrCapabilities", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ArrayDescription - VR__GetCapabilities__response__parameter1 = { - {"vrCapabilities", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&VR__GetCapabilities__response__parameter1_array, - "i"}; -const ford_message_descriptions::ParameterDescription* - VR__GetCapabilities__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VR__GetCapabilities__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VR__GetCapabilities__response = {"VR", - "GetCapabilities", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VR_GetCapabilities, - VR__GetCapabilities__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - TTS__GetCapabilities__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - TTS__GetCapabilities__request = {"TTS", - "GetCapabilities", - hmi_apis::messageType::request, - hmi_apis::FunctionID::TTS_GetCapabilities, - TTS__GetCapabilities__request__parameters}; - -const ford_message_descriptions::ParameterDescription - TTS__GetCapabilities__response__parameter1_array = { - "speechCapabilities", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ArrayDescription - TTS__GetCapabilities__response__parameter1 = { - {"speechCapabilities", ford_message_descriptions::Array, true}, - (const ford_message_descriptions:: - ParameterDescription*)&TTS__GetCapabilities__response__parameter1_array, - "i"}; -const ford_message_descriptions::ParameterDescription - TTS__GetCapabilities__response__parameter2_array = { - "prerecordedSpeechCapabilities", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ArrayDescription - TTS__GetCapabilities__response__parameter2 = { - {"prerecordedSpeechCapabilities", - ford_message_descriptions::Array, - true}, - (const ford_message_descriptions:: - ParameterDescription*)&TTS__GetCapabilities__response__parameter2_array, - "i"}; -const ford_message_descriptions::ParameterDescription* - TTS__GetCapabilities__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&TTS__GetCapabilities__response__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&TTS__GetCapabilities__response__parameter2, - NULL}; -const ford_message_descriptions::MessageDescription - TTS__GetCapabilities__response = { - "TTS", - "GetCapabilities", - hmi_apis::messageType::response, - hmi_apis::FunctionID::TTS_GetCapabilities, - TTS__GetCapabilities__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - TTS__Started__notification__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription TTS__Started__notification = - {"TTS", - "Started", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::TTS_Started, - TTS__Started__notification__parameters}; - -const ford_message_descriptions::ParameterDescription* - TTS__Stopped__notification__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription TTS__Stopped__notification = - {"TTS", - "Stopped", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::TTS_Stopped, - TTS__Stopped__notification__parameters}; - -const ford_message_descriptions::ParameterDescription* - TTS__IsReady__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription TTS__IsReady__request = { - "TTS", - "IsReady", - hmi_apis::messageType::request, - hmi_apis::FunctionID::TTS_IsReady, - TTS__IsReady__request__parameters}; - -const ford_message_descriptions::ParameterDescription - TTS__IsReady__response__parameter1 = { - "available", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription* - TTS__IsReady__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&TTS__IsReady__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription TTS__IsReady__response = { - "TTS", - "IsReady", - hmi_apis::messageType::response, - hmi_apis::FunctionID::TTS_IsReady, - TTS__IsReady__response__parameters}; - -const ford_message_descriptions::StructDescription - TTS__Speak__request__parameter1_array = { - {"ttsChunks", ford_message_descriptions::Struct, true}, - Structs::Common__TTSChunk__parameters}; -const ford_message_descriptions::ArrayDescription - TTS__Speak__request__parameter1 = { - {"ttsChunks", ford_message_descriptions::Array, true}, - (const ford_message_descriptions:: - ParameterDescription*)&TTS__Speak__request__parameter1_array, - "(si)"}; -const ford_message_descriptions::ParameterDescription - TTS__Speak__request__parameter2 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - TTS__Speak__request__parameter3 = { - "speakType", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription* - TTS__Speak__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&TTS__Speak__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&TTS__Speak__request__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&TTS__Speak__request__parameter3, - NULL}; -const ford_message_descriptions::MessageDescription TTS__Speak__request = { - "TTS", - "Speak", - hmi_apis::messageType::request, - hmi_apis::FunctionID::TTS_Speak, - TTS__Speak__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - TTS__Speak__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription TTS__Speak__response = { - "TTS", - "Speak", - hmi_apis::messageType::response, - hmi_apis::FunctionID::TTS_Speak, - TTS__Speak__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - TTS__StopSpeaking__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription TTS__StopSpeaking__request = - {"TTS", - "StopSpeaking", - hmi_apis::messageType::request, - hmi_apis::FunctionID::TTS_StopSpeaking, - TTS__StopSpeaking__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - TTS__StopSpeaking__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - TTS__StopSpeaking__response = {"TTS", - "StopSpeaking", - hmi_apis::messageType::response, - hmi_apis::FunctionID::TTS_StopSpeaking, - TTS__StopSpeaking__response__parameters}; - -const ford_message_descriptions::StructDescription - TTS__ChangeRegistration__request__parameter1_array = { - {"ttsName", ford_message_descriptions::Struct, true}, - Structs::Common__TTSChunk__parameters}; -const ford_message_descriptions::ArrayDescription - TTS__ChangeRegistration__request__parameter1 = { - {"ttsName", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&TTS__ChangeRegistration__request__parameter1_array, - "(si)"}; -const ford_message_descriptions::ParameterDescription - TTS__ChangeRegistration__request__parameter2 = { - "language", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - TTS__ChangeRegistration__request__parameter3 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - TTS__ChangeRegistration__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&TTS__ChangeRegistration__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&TTS__ChangeRegistration__request__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&TTS__ChangeRegistration__request__parameter3, - NULL}; -const ford_message_descriptions::MessageDescription - TTS__ChangeRegistration__request = { - "TTS", - "ChangeRegistration", - hmi_apis::messageType::request, - hmi_apis::FunctionID::TTS_ChangeRegistration, - TTS__ChangeRegistration__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - TTS__ChangeRegistration__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - TTS__ChangeRegistration__response = { - "TTS", - "ChangeRegistration", - hmi_apis::messageType::response, - hmi_apis::FunctionID::TTS_ChangeRegistration, - TTS__ChangeRegistration__response__parameters}; - -const ford_message_descriptions::ParameterDescription - TTS__OnLanguageChange__notification__parameter1 = { - "language", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - TTS__OnLanguageChange__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&TTS__OnLanguageChange__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - TTS__OnLanguageChange__notification = { - "TTS", - "OnLanguageChange", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::TTS_OnLanguageChange, - TTS__OnLanguageChange__notification__parameters}; - -const ford_message_descriptions::ParameterDescription* - TTS__GetSupportedLanguages__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - TTS__GetSupportedLanguages__request = { - "TTS", - "GetSupportedLanguages", - hmi_apis::messageType::request, - hmi_apis::FunctionID::TTS_GetSupportedLanguages, - TTS__GetSupportedLanguages__request__parameters}; - -const ford_message_descriptions::ParameterDescription - TTS__GetSupportedLanguages__response__parameter1_array = { - "languages", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ArrayDescription - TTS__GetSupportedLanguages__response__parameter1 = { - {"languages", ford_message_descriptions::Array, true}, - (const ford_message_descriptions:: - ParameterDescription*)&TTS__GetSupportedLanguages__response__parameter1_array, - "i"}; -const ford_message_descriptions::ParameterDescription* - TTS__GetSupportedLanguages__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&TTS__GetSupportedLanguages__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - TTS__GetSupportedLanguages__response = { - "TTS", - "GetSupportedLanguages", - hmi_apis::messageType::response, - hmi_apis::FunctionID::TTS_GetSupportedLanguages, - TTS__GetSupportedLanguages__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - TTS__GetLanguage__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription TTS__GetLanguage__request = - {"TTS", - "GetLanguage", - hmi_apis::messageType::request, - hmi_apis::FunctionID::TTS_GetLanguage, - TTS__GetLanguage__request__parameters}; - -const ford_message_descriptions::ParameterDescription - TTS__GetLanguage__response__parameter1 = { - "language", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - TTS__GetLanguage__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&TTS__GetLanguage__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription TTS__GetLanguage__response = - {"TTS", - "GetLanguage", - hmi_apis::messageType::response, - hmi_apis::FunctionID::TTS_GetLanguage, - TTS__GetLanguage__response__parameters}; - -const ford_message_descriptions::StructDescription - TTS__SetGlobalProperties__request__parameter1_array = { - {"helpPrompt", ford_message_descriptions::Struct, true}, - Structs::Common__TTSChunk__parameters}; -const ford_message_descriptions::ArrayDescription - TTS__SetGlobalProperties__request__parameter1 = { - {"helpPrompt", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&TTS__SetGlobalProperties__request__parameter1_array, - "(si)"}; -const ford_message_descriptions::StructDescription - TTS__SetGlobalProperties__request__parameter2_array = { - {"timeoutPrompt", ford_message_descriptions::Struct, true}, - Structs::Common__TTSChunk__parameters}; -const ford_message_descriptions::ArrayDescription - TTS__SetGlobalProperties__request__parameter2 = { - {"timeoutPrompt", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&TTS__SetGlobalProperties__request__parameter2_array, - "(si)"}; -const ford_message_descriptions::ParameterDescription - TTS__SetGlobalProperties__request__parameter3 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - TTS__SetGlobalProperties__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&TTS__SetGlobalProperties__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&TTS__SetGlobalProperties__request__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&TTS__SetGlobalProperties__request__parameter3, - NULL}; -const ford_message_descriptions::MessageDescription - TTS__SetGlobalProperties__request = { - "TTS", - "SetGlobalProperties", - hmi_apis::messageType::request, - hmi_apis::FunctionID::TTS_SetGlobalProperties, - TTS__SetGlobalProperties__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - TTS__SetGlobalProperties__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - TTS__SetGlobalProperties__response = { - "TTS", - "SetGlobalProperties", - hmi_apis::messageType::response, - hmi_apis::FunctionID::TTS_SetGlobalProperties, - TTS__SetGlobalProperties__response__parameters}; - -const ford_message_descriptions::ParameterDescription - TTS__OnResetTimeout__notification__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - TTS__OnResetTimeout__notification__parameter2 = { - "methodName", ford_message_descriptions::String, true}; -const ford_message_descriptions::ParameterDescription* - TTS__OnResetTimeout__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&TTS__OnResetTimeout__notification__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&TTS__OnResetTimeout__notification__parameter2, - NULL}; -const ford_message_descriptions::MessageDescription - TTS__OnResetTimeout__notification = { - "TTS", - "OnResetTimeout", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::TTS_OnResetTimeout, - TTS__OnResetTimeout__notification__parameters}; - -const ford_message_descriptions::StructDescription - UI__Alert__request__parameter1_array = { - {"alertStrings", ford_message_descriptions::Struct, true}, - Structs::Common__TextFieldStruct__parameters}; -const ford_message_descriptions::ArrayDescription - UI__Alert__request__parameter1 = { - {"alertStrings", ford_message_descriptions::Array, true}, - (const ford_message_descriptions:: - ParameterDescription*)&UI__Alert__request__parameter1_array, - "(is)"}; -const ford_message_descriptions::ParameterDescription - UI__Alert__request__parameter2 = { - "duration", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::StructDescription - UI__Alert__request__parameter3_array = { - {"softButtons", ford_message_descriptions::Struct, true}, - Structs::Common__SoftButton__parameters}; -const ford_message_descriptions::ArrayDescription - UI__Alert__request__parameter3 = { - {"softButtons", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&UI__Alert__request__parameter3_array, - "(i(bs)(b(si))(bb)ii)"}; -const ford_message_descriptions::ParameterDescription - UI__Alert__request__parameter4 = { - "progressIndicator", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - UI__Alert__request__parameter5 = { - "alertType", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - UI__Alert__request__parameter6 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - UI__Alert__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&UI__Alert__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&UI__Alert__request__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&UI__Alert__request__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&UI__Alert__request__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&UI__Alert__request__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&UI__Alert__request__parameter6, - NULL}; -const ford_message_descriptions::MessageDescription UI__Alert__request = { - "UI", - "Alert", - hmi_apis::messageType::request, - hmi_apis::FunctionID::UI_Alert, - UI__Alert__request__parameters}; - -const ford_message_descriptions::ParameterDescription - UI__Alert__response__parameter1 = { - "tryAgainTime", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription* - UI__Alert__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&UI__Alert__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription UI__Alert__response = { - "UI", - "Alert", - hmi_apis::messageType::response, - hmi_apis::FunctionID::UI_Alert, - UI__Alert__response__parameters}; - -const ford_message_descriptions::StructDescription - UI__Show__request__parameter1_array = { - {"showStrings", ford_message_descriptions::Struct, true}, - Structs::Common__TextFieldStruct__parameters}; -const ford_message_descriptions::ArrayDescription - UI__Show__request__parameter1 = { - {"showStrings", ford_message_descriptions::Array, true}, - (const ford_message_descriptions:: - ParameterDescription*)&UI__Show__request__parameter1_array, - "(is)"}; -const ford_message_descriptions::ParameterDescription - UI__Show__request__parameter2 = { - "alignment", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::StructDescription - UI__Show__request__parameter3 = { - {"graphic", ford_message_descriptions::Struct, false}, - Structs::Common__Image__parameters}; -const ford_message_descriptions::StructDescription - UI__Show__request__parameter4 = { - {"secondaryGraphic", ford_message_descriptions::Struct, false}, - Structs::Common__Image__parameters}; -const ford_message_descriptions::StructDescription - UI__Show__request__parameter5_array = { - {"softButtons", ford_message_descriptions::Struct, true}, - Structs::Common__SoftButton__parameters}; -const ford_message_descriptions::ArrayDescription - UI__Show__request__parameter5 = { - {"softButtons", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&UI__Show__request__parameter5_array, - "(i(bs)(b(si))(bb)ii)"}; -const ford_message_descriptions::ParameterDescription - UI__Show__request__parameter6_array = { - "customPresets", ford_message_descriptions::String, true}; -const ford_message_descriptions::ArrayDescription - UI__Show__request__parameter6 = { - {"customPresets", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&UI__Show__request__parameter6_array, - "s"}; -const ford_message_descriptions::ParameterDescription - UI__Show__request__parameter7 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - UI__Show__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&UI__Show__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&UI__Show__request__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&UI__Show__request__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&UI__Show__request__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&UI__Show__request__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&UI__Show__request__parameter6, - (const ford_message_descriptions:: - ParameterDescription*)&UI__Show__request__parameter7, - NULL}; -const ford_message_descriptions::MessageDescription UI__Show__request = { - "UI", - "Show", - hmi_apis::messageType::request, - hmi_apis::FunctionID::UI_Show, - UI__Show__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - UI__Show__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription UI__Show__response = { - "UI", - "Show", - hmi_apis::messageType::response, - hmi_apis::FunctionID::UI_Show, - UI__Show__response__parameters}; - -const ford_message_descriptions::ParameterDescription - UI__AddCommand__request__parameter1 = { - "cmdID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::StructDescription - UI__AddCommand__request__parameter2 = { - {"menuParams", ford_message_descriptions::Struct, false}, - Structs::Common__MenuParams__parameters}; -const ford_message_descriptions::StructDescription - UI__AddCommand__request__parameter3 = { - {"cmdIcon", ford_message_descriptions::Struct, false}, - Structs::Common__Image__parameters}; -const ford_message_descriptions::ParameterDescription - UI__AddCommand__request__parameter4 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - UI__AddCommand__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&UI__AddCommand__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&UI__AddCommand__request__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&UI__AddCommand__request__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&UI__AddCommand__request__parameter4, - NULL}; -const ford_message_descriptions::MessageDescription UI__AddCommand__request = { - "UI", - "AddCommand", - hmi_apis::messageType::request, - hmi_apis::FunctionID::UI_AddCommand, - UI__AddCommand__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - UI__AddCommand__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription UI__AddCommand__response = { - "UI", - "AddCommand", - hmi_apis::messageType::response, - hmi_apis::FunctionID::UI_AddCommand, - UI__AddCommand__response__parameters}; - -const ford_message_descriptions::ParameterDescription - UI__DeleteCommand__request__parameter1 = { - "cmdID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - UI__DeleteCommand__request__parameter2 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - UI__DeleteCommand__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&UI__DeleteCommand__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&UI__DeleteCommand__request__parameter2, - NULL}; -const ford_message_descriptions::MessageDescription UI__DeleteCommand__request = - {"UI", - "DeleteCommand", - hmi_apis::messageType::request, - hmi_apis::FunctionID::UI_DeleteCommand, - UI__DeleteCommand__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - UI__DeleteCommand__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - UI__DeleteCommand__response = {"UI", - "DeleteCommand", - hmi_apis::messageType::response, - hmi_apis::FunctionID::UI_DeleteCommand, - UI__DeleteCommand__response__parameters}; - -const ford_message_descriptions::ParameterDescription - UI__AddSubMenu__request__parameter1 = { - "menuID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::StructDescription - UI__AddSubMenu__request__parameter2 = { - {"menuParams", ford_message_descriptions::Struct, true}, - Structs::Common__MenuParams__parameters}; -const ford_message_descriptions::ParameterDescription - UI__AddSubMenu__request__parameter3 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - UI__AddSubMenu__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&UI__AddSubMenu__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&UI__AddSubMenu__request__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&UI__AddSubMenu__request__parameter3, - NULL}; -const ford_message_descriptions::MessageDescription UI__AddSubMenu__request = { - "UI", - "AddSubMenu", - hmi_apis::messageType::request, - hmi_apis::FunctionID::UI_AddSubMenu, - UI__AddSubMenu__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - UI__AddSubMenu__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription UI__AddSubMenu__response = { - "UI", - "AddSubMenu", - hmi_apis::messageType::response, - hmi_apis::FunctionID::UI_AddSubMenu, - UI__AddSubMenu__response__parameters}; - -const ford_message_descriptions::ParameterDescription - UI__DeleteSubMenu__request__parameter1 = { - "menuID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - UI__DeleteSubMenu__request__parameter2 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - UI__DeleteSubMenu__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&UI__DeleteSubMenu__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&UI__DeleteSubMenu__request__parameter2, - NULL}; -const ford_message_descriptions::MessageDescription UI__DeleteSubMenu__request = - {"UI", - "DeleteSubMenu", - hmi_apis::messageType::request, - hmi_apis::FunctionID::UI_DeleteSubMenu, - UI__DeleteSubMenu__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - UI__DeleteSubMenu__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - UI__DeleteSubMenu__response = {"UI", - "DeleteSubMenu", - hmi_apis::messageType::response, - hmi_apis::FunctionID::UI_DeleteSubMenu, - UI__DeleteSubMenu__response__parameters}; - -const ford_message_descriptions::StructDescription - UI__PerformInteraction__request__parameter1 = { - {"initialText", ford_message_descriptions::Struct, false}, - Structs::Common__TextFieldStruct__parameters}; -const ford_message_descriptions::StructDescription - UI__PerformInteraction__request__parameter2_array = { - {"choiceSet", ford_message_descriptions::Struct, true}, - Structs::Common__Choice__parameters}; -const ford_message_descriptions::ArrayDescription - UI__PerformInteraction__request__parameter2 = { - {"choiceSet", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&UI__PerformInteraction__request__parameter2_array, - "(i(bs)(b(si))(bs)(bs)(b(si)))"}; -const ford_message_descriptions::ParameterDescription - UI__PerformInteraction__request__parameter3 = { - "vrHelpTitle", ford_message_descriptions::String, false}; -const ford_message_descriptions::StructDescription - UI__PerformInteraction__request__parameter4_array = { - {"vrHelp", ford_message_descriptions::Struct, true}, - Structs::Common__VrHelpItem__parameters}; -const ford_message_descriptions::ArrayDescription - UI__PerformInteraction__request__parameter4 = { - {"vrHelp", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&UI__PerformInteraction__request__parameter4_array, - "(s(b(si))i)"}; -const ford_message_descriptions::ParameterDescription - UI__PerformInteraction__request__parameter5 = { - "timeout", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - UI__PerformInteraction__request__parameter6 = { - "interactionLayout", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription - UI__PerformInteraction__request__parameter7 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - UI__PerformInteraction__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&UI__PerformInteraction__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&UI__PerformInteraction__request__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&UI__PerformInteraction__request__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&UI__PerformInteraction__request__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&UI__PerformInteraction__request__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&UI__PerformInteraction__request__parameter6, - (const ford_message_descriptions:: - ParameterDescription*)&UI__PerformInteraction__request__parameter7, - NULL}; -const ford_message_descriptions::MessageDescription - UI__PerformInteraction__request = { - "UI", - "PerformInteraction", - hmi_apis::messageType::request, - hmi_apis::FunctionID::UI_PerformInteraction, - UI__PerformInteraction__request__parameters}; - -const ford_message_descriptions::ParameterDescription - UI__PerformInteraction__response__parameter1 = { - "choiceID", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - UI__PerformInteraction__response__parameter2 = { - "manualTextEntry", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription* - UI__PerformInteraction__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&UI__PerformInteraction__response__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&UI__PerformInteraction__response__parameter2, - NULL}; -const ford_message_descriptions::MessageDescription - UI__PerformInteraction__response = { - "UI", - "PerformInteraction", - hmi_apis::messageType::response, - hmi_apis::FunctionID::UI_PerformInteraction, - UI__PerformInteraction__response__parameters}; - -const ford_message_descriptions::StructDescription - UI__SetMediaClockTimer__request__parameter1 = { - {"startTime", ford_message_descriptions::Struct, false}, - Structs::Common__TimeFormat__parameters}; -const ford_message_descriptions::StructDescription - UI__SetMediaClockTimer__request__parameter2 = { - {"endTime", ford_message_descriptions::Struct, false}, - Structs::Common__TimeFormat__parameters}; -const ford_message_descriptions::ParameterDescription - UI__SetMediaClockTimer__request__parameter3 = { - "updateMode", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - UI__SetMediaClockTimer__request__parameter4 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - UI__SetMediaClockTimer__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&UI__SetMediaClockTimer__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&UI__SetMediaClockTimer__request__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&UI__SetMediaClockTimer__request__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&UI__SetMediaClockTimer__request__parameter4, - NULL}; -const ford_message_descriptions::MessageDescription - UI__SetMediaClockTimer__request = { - "UI", - "SetMediaClockTimer", - hmi_apis::messageType::request, - hmi_apis::FunctionID::UI_SetMediaClockTimer, - UI__SetMediaClockTimer__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - UI__SetMediaClockTimer__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - UI__SetMediaClockTimer__response = { - "UI", - "SetMediaClockTimer", - hmi_apis::messageType::response, - hmi_apis::FunctionID::UI_SetMediaClockTimer, - UI__SetMediaClockTimer__response__parameters}; - -const ford_message_descriptions::ParameterDescription - UI__SetGlobalProperties__request__parameter1 = { - "vrHelpTitle", ford_message_descriptions::String, false}; -const ford_message_descriptions::StructDescription - UI__SetGlobalProperties__request__parameter2_array = { - {"vrHelp", ford_message_descriptions::Struct, true}, - Structs::Common__VrHelpItem__parameters}; -const ford_message_descriptions::ArrayDescription - UI__SetGlobalProperties__request__parameter2 = { - {"vrHelp", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&UI__SetGlobalProperties__request__parameter2_array, - "(s(b(si))i)"}; -const ford_message_descriptions::ParameterDescription - UI__SetGlobalProperties__request__parameter3 = { - "menuTitle", ford_message_descriptions::String, false}; -const ford_message_descriptions::StructDescription - UI__SetGlobalProperties__request__parameter4 = { - {"menuIcon", ford_message_descriptions::Struct, false}, - Structs::Common__Image__parameters}; -const ford_message_descriptions::StructDescription - UI__SetGlobalProperties__request__parameter5 = { - {"keyboardProperties", ford_message_descriptions::Struct, false}, - Structs::Common__KeyboardProperties__parameters}; -const ford_message_descriptions::ParameterDescription - UI__SetGlobalProperties__request__parameter6 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - UI__SetGlobalProperties__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&UI__SetGlobalProperties__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&UI__SetGlobalProperties__request__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&UI__SetGlobalProperties__request__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&UI__SetGlobalProperties__request__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&UI__SetGlobalProperties__request__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&UI__SetGlobalProperties__request__parameter6, - NULL}; -const ford_message_descriptions::MessageDescription - UI__SetGlobalProperties__request = { - "UI", - "SetGlobalProperties", - hmi_apis::messageType::request, - hmi_apis::FunctionID::UI_SetGlobalProperties, - UI__SetGlobalProperties__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - UI__SetGlobalProperties__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - UI__SetGlobalProperties__response = { - "UI", - "SetGlobalProperties", - hmi_apis::messageType::response, - hmi_apis::FunctionID::UI_SetGlobalProperties, - UI__SetGlobalProperties__response__parameters}; - -const ford_message_descriptions::ParameterDescription - UI__OnCommand__notification__parameter1 = { - "cmdID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - UI__OnCommand__notification__parameter2 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - UI__OnCommand__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&UI__OnCommand__notification__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&UI__OnCommand__notification__parameter2, - NULL}; -const ford_message_descriptions::MessageDescription - UI__OnCommand__notification = {"UI", - "OnCommand", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::UI_OnCommand, - UI__OnCommand__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - UI__OnSystemContext__notification__parameter1 = { - "systemContext", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - UI__OnSystemContext__notification__parameter2 = { - "appID", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription* - UI__OnSystemContext__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&UI__OnSystemContext__notification__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&UI__OnSystemContext__notification__parameter2, - NULL}; -const ford_message_descriptions::MessageDescription - UI__OnSystemContext__notification = { - "UI", - "OnSystemContext", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::UI_OnSystemContext, - UI__OnSystemContext__notification__parameters}; - -const ford_message_descriptions::ParameterDescription* - UI__GetCapabilities__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - UI__GetCapabilities__request = {"UI", - "GetCapabilities", - hmi_apis::messageType::request, - hmi_apis::FunctionID::UI_GetCapabilities, - UI__GetCapabilities__request__parameters}; - -const ford_message_descriptions::StructDescription - UI__GetCapabilities__response__parameter1 = { - {"displayCapabilities", ford_message_descriptions::Struct, true}, - Structs::Common__DisplayCapabilities__parameters}; -const ford_message_descriptions::StructDescription - UI__GetCapabilities__response__parameter2 = { - {"audioPassThruCapabilities", ford_message_descriptions::Struct, true}, - Structs::Common__AudioPassThruCapabilities__parameters}; -const ford_message_descriptions::ParameterDescription - UI__GetCapabilities__response__parameter3 = { - "hmiZoneCapabilities", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::StructDescription - UI__GetCapabilities__response__parameter4_array = { - {"softButtonCapabilities", ford_message_descriptions::Struct, true}, - Structs::Common__SoftButtonCapabilities__parameters}; -const ford_message_descriptions::ArrayDescription - UI__GetCapabilities__response__parameter4 = { - {"softButtonCapabilities", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&UI__GetCapabilities__response__parameter4_array, - "(bbbb)"}; -const ford_message_descriptions::StructDescription - UI__GetCapabilities__response__parameter5 = { - {"hmiCapabilities", ford_message_descriptions::Struct, false}, - Structs::Common__HMICapabilities__parameters}; -const ford_message_descriptions::ParameterDescription* - UI__GetCapabilities__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&UI__GetCapabilities__response__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&UI__GetCapabilities__response__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&UI__GetCapabilities__response__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&UI__GetCapabilities__response__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&UI__GetCapabilities__response__parameter5, - NULL}; -const ford_message_descriptions::MessageDescription - UI__GetCapabilities__response = {"UI", - "GetCapabilities", - hmi_apis::messageType::response, - hmi_apis::FunctionID::UI_GetCapabilities, - UI__GetCapabilities__response__parameters}; - -const ford_message_descriptions::ParameterDescription - UI__ChangeRegistration__request__parameter1 = { - "appName", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription - UI__ChangeRegistration__request__parameter2 = { - "ngnMediaScreenAppName", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription - UI__ChangeRegistration__request__parameter3 = { - "language", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - UI__ChangeRegistration__request__parameter4_array = { - "appHMIType", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ArrayDescription - UI__ChangeRegistration__request__parameter4 = { - {"appHMIType", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&UI__ChangeRegistration__request__parameter4_array, - "i"}; -const ford_message_descriptions::ParameterDescription - UI__ChangeRegistration__request__parameter5 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - UI__ChangeRegistration__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&UI__ChangeRegistration__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&UI__ChangeRegistration__request__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&UI__ChangeRegistration__request__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&UI__ChangeRegistration__request__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&UI__ChangeRegistration__request__parameter5, - NULL}; -const ford_message_descriptions::MessageDescription - UI__ChangeRegistration__request = { - "UI", - "ChangeRegistration", - hmi_apis::messageType::request, - hmi_apis::FunctionID::UI_ChangeRegistration, - UI__ChangeRegistration__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - UI__ChangeRegistration__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - UI__ChangeRegistration__response = { - "UI", - "ChangeRegistration", - hmi_apis::messageType::response, - hmi_apis::FunctionID::UI_ChangeRegistration, - UI__ChangeRegistration__response__parameters}; - -const ford_message_descriptions::ParameterDescription - UI__OnLanguageChange__notification__parameter1 = { - "language", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - UI__OnLanguageChange__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&UI__OnLanguageChange__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - UI__OnLanguageChange__notification = { - "UI", - "OnLanguageChange", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::UI_OnLanguageChange, - UI__OnLanguageChange__notification__parameters}; - -const ford_message_descriptions::ParameterDescription* - UI__GetSupportedLanguages__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - UI__GetSupportedLanguages__request = { - "UI", - "GetSupportedLanguages", - hmi_apis::messageType::request, - hmi_apis::FunctionID::UI_GetSupportedLanguages, - UI__GetSupportedLanguages__request__parameters}; - -const ford_message_descriptions::ParameterDescription - UI__GetSupportedLanguages__response__parameter1_array = { - "languages", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ArrayDescription - UI__GetSupportedLanguages__response__parameter1 = { - {"languages", ford_message_descriptions::Array, true}, - (const ford_message_descriptions:: - ParameterDescription*)&UI__GetSupportedLanguages__response__parameter1_array, - "i"}; -const ford_message_descriptions::ParameterDescription* - UI__GetSupportedLanguages__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&UI__GetSupportedLanguages__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - UI__GetSupportedLanguages__response = { - "UI", - "GetSupportedLanguages", - hmi_apis::messageType::response, - hmi_apis::FunctionID::UI_GetSupportedLanguages, - UI__GetSupportedLanguages__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - UI__GetLanguage__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription UI__GetLanguage__request = { - "UI", - "GetLanguage", - hmi_apis::messageType::request, - hmi_apis::FunctionID::UI_GetLanguage, - UI__GetLanguage__request__parameters}; - -const ford_message_descriptions::ParameterDescription - UI__GetLanguage__response__parameter1 = { - "language", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - UI__GetLanguage__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&UI__GetLanguage__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription UI__GetLanguage__response = - {"UI", - "GetLanguage", - hmi_apis::messageType::response, - hmi_apis::FunctionID::UI_GetLanguage, - UI__GetLanguage__response__parameters}; - -const ford_message_descriptions::ParameterDescription - UI__OnDriverDistraction__notification__parameter1 = { - "state", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - UI__OnDriverDistraction__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&UI__OnDriverDistraction__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - UI__OnDriverDistraction__notification = { - "UI", - "OnDriverDistraction", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::UI_OnDriverDistraction, - UI__OnDriverDistraction__notification__parameters}; - -const ford_message_descriptions::StructDescription - UI__SetAppIcon__request__parameter1 = { - {"syncFileName", ford_message_descriptions::Struct, true}, - Structs::Common__Image__parameters}; -const ford_message_descriptions::ParameterDescription - UI__SetAppIcon__request__parameter2 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - UI__SetAppIcon__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&UI__SetAppIcon__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&UI__SetAppIcon__request__parameter2, - NULL}; -const ford_message_descriptions::MessageDescription UI__SetAppIcon__request = { - "UI", - "SetAppIcon", - hmi_apis::messageType::request, - hmi_apis::FunctionID::UI_SetAppIcon, - UI__SetAppIcon__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - UI__SetAppIcon__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription UI__SetAppIcon__response = { - "UI", - "SetAppIcon", - hmi_apis::messageType::response, - hmi_apis::FunctionID::UI_SetAppIcon, - UI__SetAppIcon__response__parameters}; - -const ford_message_descriptions::ParameterDescription - UI__SetDisplayLayout__request__parameter1 = { - "displayLayout", ford_message_descriptions::String, true}; -const ford_message_descriptions::ParameterDescription - UI__SetDisplayLayout__request__parameter2 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - UI__SetDisplayLayout__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&UI__SetDisplayLayout__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&UI__SetDisplayLayout__request__parameter2, - NULL}; -const ford_message_descriptions::MessageDescription - UI__SetDisplayLayout__request = {"UI", - "SetDisplayLayout", - hmi_apis::messageType::request, - hmi_apis::FunctionID::UI_SetDisplayLayout, - UI__SetDisplayLayout__request__parameters}; - -const ford_message_descriptions::StructDescription - UI__SetDisplayLayout__response__parameter1 = { - {"displayCapabilities", ford_message_descriptions::Struct, false}, - Structs::Common__DisplayCapabilities__parameters}; -const ford_message_descriptions::StructDescription - UI__SetDisplayLayout__response__parameter2_array = { - {"buttonCapabilities", ford_message_descriptions::Struct, true}, - Structs::Common__ButtonCapabilities__parameters}; -const ford_message_descriptions::ArrayDescription - UI__SetDisplayLayout__response__parameter2 = { - {"buttonCapabilities", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&UI__SetDisplayLayout__response__parameter2_array, - "(ibbb)"}; -const ford_message_descriptions::StructDescription - UI__SetDisplayLayout__response__parameter3_array = { - {"softButtonCapabilities", ford_message_descriptions::Struct, true}, - Structs::Common__SoftButtonCapabilities__parameters}; -const ford_message_descriptions::ArrayDescription - UI__SetDisplayLayout__response__parameter3 = { - {"softButtonCapabilities", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&UI__SetDisplayLayout__response__parameter3_array, - "(bbbb)"}; -const ford_message_descriptions::StructDescription - UI__SetDisplayLayout__response__parameter4 = { - {"presetBankCapabilities", ford_message_descriptions::Struct, false}, - Structs::Common__PresetBankCapabilities__parameters}; -const ford_message_descriptions::ParameterDescription* - UI__SetDisplayLayout__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&UI__SetDisplayLayout__response__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&UI__SetDisplayLayout__response__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&UI__SetDisplayLayout__response__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&UI__SetDisplayLayout__response__parameter4, - NULL}; -const ford_message_descriptions::MessageDescription - UI__SetDisplayLayout__response = { - "UI", - "SetDisplayLayout", - hmi_apis::messageType::response, - hmi_apis::FunctionID::UI_SetDisplayLayout, - UI__SetDisplayLayout__response__parameters}; - -const ford_message_descriptions::ParameterDescription - UI__ShowCustomForm__request__parameter1 = { - "customFormID", ford_message_descriptions::String, true}; -const ford_message_descriptions::ParameterDescription - UI__ShowCustomForm__request__parameter2 = { - "parentFormID", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription* - UI__ShowCustomForm__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&UI__ShowCustomForm__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&UI__ShowCustomForm__request__parameter2, - NULL}; -const ford_message_descriptions::MessageDescription - UI__ShowCustomForm__request = {"UI", - "ShowCustomForm", - hmi_apis::messageType::request, - hmi_apis::FunctionID::UI_ShowCustomForm, - UI__ShowCustomForm__request__parameters}; - -const ford_message_descriptions::ParameterDescription - UI__ShowCustomForm__response__parameter1 = { - "info", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription* - UI__ShowCustomForm__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&UI__ShowCustomForm__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - UI__ShowCustomForm__response = {"UI", - "ShowCustomForm", - hmi_apis::messageType::response, - hmi_apis::FunctionID::UI_ShowCustomForm, - UI__ShowCustomForm__response__parameters}; - -const ford_message_descriptions::ParameterDescription - UI__OnKeyboardInput__notification__parameter1 = { - "event", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - UI__OnKeyboardInput__notification__parameter2 = { - "data", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription* - UI__OnKeyboardInput__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&UI__OnKeyboardInput__notification__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&UI__OnKeyboardInput__notification__parameter2, - NULL}; -const ford_message_descriptions::MessageDescription - UI__OnKeyboardInput__notification = { - "UI", - "OnKeyboardInput", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::UI_OnKeyboardInput, - UI__OnKeyboardInput__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - UI__OnTouchEvent__notification__parameter1 = { - "type", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::StructDescription - UI__OnTouchEvent__notification__parameter2_array = { - {"event", ford_message_descriptions::Struct, true}, - Structs::Common__TouchEvent__parameters}; -const ford_message_descriptions::ArrayDescription - UI__OnTouchEvent__notification__parameter2 = { - {"event", ford_message_descriptions::Array, true}, - (const ford_message_descriptions:: - ParameterDescription*)&UI__OnTouchEvent__notification__parameter2_array, - "(iaia(ii))"}; -const ford_message_descriptions::ParameterDescription* - UI__OnTouchEvent__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&UI__OnTouchEvent__notification__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&UI__OnTouchEvent__notification__parameter2, - NULL}; -const ford_message_descriptions::MessageDescription - UI__OnTouchEvent__notification = { - "UI", - "OnTouchEvent", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::UI_OnTouchEvent, - UI__OnTouchEvent__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - UI__Slider__request__parameter1 = { - "numTicks", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - UI__Slider__request__parameter2 = { - "position", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - UI__Slider__request__parameter3 = { - "sliderHeader", ford_message_descriptions::String, true}; -const ford_message_descriptions::ParameterDescription - UI__Slider__request__parameter4_array = { - "sliderFooter", ford_message_descriptions::String, true}; -const ford_message_descriptions::ArrayDescription - UI__Slider__request__parameter4 = { - {"sliderFooter", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&UI__Slider__request__parameter4_array, - "s"}; -const ford_message_descriptions::ParameterDescription - UI__Slider__request__parameter5 = { - "timeout", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - UI__Slider__request__parameter6 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - UI__Slider__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&UI__Slider__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&UI__Slider__request__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&UI__Slider__request__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&UI__Slider__request__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&UI__Slider__request__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&UI__Slider__request__parameter6, - NULL}; -const ford_message_descriptions::MessageDescription UI__Slider__request = { - "UI", - "Slider", - hmi_apis::messageType::request, - hmi_apis::FunctionID::UI_Slider, - UI__Slider__request__parameters}; - -const ford_message_descriptions::ParameterDescription - UI__Slider__response__parameter1 = { - "sliderPosition", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription* - UI__Slider__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&UI__Slider__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription UI__Slider__response = { - "UI", - "Slider", - hmi_apis::messageType::response, - hmi_apis::FunctionID::UI_Slider, - UI__Slider__response__parameters}; - -const ford_message_descriptions::StructDescription - UI__ScrollableMessage__request__parameter1 = { - {"messageText", ford_message_descriptions::Struct, true}, - Structs::Common__TextFieldStruct__parameters}; -const ford_message_descriptions::ParameterDescription - UI__ScrollableMessage__request__parameter2 = { - "timeout", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::StructDescription - UI__ScrollableMessage__request__parameter3_array = { - {"softButtons", ford_message_descriptions::Struct, true}, - Structs::Common__SoftButton__parameters}; -const ford_message_descriptions::ArrayDescription - UI__ScrollableMessage__request__parameter3 = { - {"softButtons", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&UI__ScrollableMessage__request__parameter3_array, - "(i(bs)(b(si))(bb)ii)"}; -const ford_message_descriptions::ParameterDescription - UI__ScrollableMessage__request__parameter4 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - UI__ScrollableMessage__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&UI__ScrollableMessage__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&UI__ScrollableMessage__request__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&UI__ScrollableMessage__request__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&UI__ScrollableMessage__request__parameter4, - NULL}; -const ford_message_descriptions::MessageDescription - UI__ScrollableMessage__request = { - "UI", - "ScrollableMessage", - hmi_apis::messageType::request, - hmi_apis::FunctionID::UI_ScrollableMessage, - UI__ScrollableMessage__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - UI__ScrollableMessage__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - UI__ScrollableMessage__response = { - "UI", - "ScrollableMessage", - hmi_apis::messageType::response, - hmi_apis::FunctionID::UI_ScrollableMessage, - UI__ScrollableMessage__response__parameters}; - -const ford_message_descriptions::ParameterDescription - UI__PerformAudioPassThru__request__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::StructDescription - UI__PerformAudioPassThru__request__parameter2_array = { - {"audioPassThruDisplayTexts", ford_message_descriptions::Struct, true}, - Structs::Common__TextFieldStruct__parameters}; -const ford_message_descriptions::ArrayDescription - UI__PerformAudioPassThru__request__parameter2 = { - {"audioPassThruDisplayTexts", ford_message_descriptions::Array, true}, - (const ford_message_descriptions:: - ParameterDescription*)&UI__PerformAudioPassThru__request__parameter2_array, - "(is)"}; -const ford_message_descriptions::ParameterDescription - UI__PerformAudioPassThru__request__parameter3 = { - "maxDuration", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - UI__PerformAudioPassThru__request__parameter4 = { - "muteAudio", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription* - UI__PerformAudioPassThru__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&UI__PerformAudioPassThru__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&UI__PerformAudioPassThru__request__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&UI__PerformAudioPassThru__request__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&UI__PerformAudioPassThru__request__parameter4, - NULL}; -const ford_message_descriptions::MessageDescription - UI__PerformAudioPassThru__request = { - "UI", - "PerformAudioPassThru", - hmi_apis::messageType::request, - hmi_apis::FunctionID::UI_PerformAudioPassThru, - UI__PerformAudioPassThru__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - UI__PerformAudioPassThru__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - UI__PerformAudioPassThru__response = { - "UI", - "PerformAudioPassThru", - hmi_apis::messageType::response, - hmi_apis::FunctionID::UI_PerformAudioPassThru, - UI__PerformAudioPassThru__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - UI__EndAudioPassThru__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - UI__EndAudioPassThru__request = {"UI", - "EndAudioPassThru", - hmi_apis::messageType::request, - hmi_apis::FunctionID::UI_EndAudioPassThru, - UI__EndAudioPassThru__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - UI__EndAudioPassThru__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - UI__EndAudioPassThru__response = { - "UI", - "EndAudioPassThru", - hmi_apis::messageType::response, - hmi_apis::FunctionID::UI_EndAudioPassThru, - UI__EndAudioPassThru__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - UI__IsReady__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription UI__IsReady__request = { - "UI", - "IsReady", - hmi_apis::messageType::request, - hmi_apis::FunctionID::UI_IsReady, - UI__IsReady__request__parameters}; - -const ford_message_descriptions::ParameterDescription - UI__IsReady__response__parameter1 = { - "available", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription* - UI__IsReady__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&UI__IsReady__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription UI__IsReady__response = { - "UI", - "IsReady", - hmi_apis::messageType::response, - hmi_apis::FunctionID::UI_IsReady, - UI__IsReady__response__parameters}; - -const ford_message_descriptions::ParameterDescription - UI__ClosePopUp__request__parameter1 = { - "methodName", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription* - UI__ClosePopUp__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&UI__ClosePopUp__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription UI__ClosePopUp__request = { - "UI", - "ClosePopUp", - hmi_apis::messageType::request, - hmi_apis::FunctionID::UI_ClosePopUp, - UI__ClosePopUp__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - UI__ClosePopUp__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription UI__ClosePopUp__response = { - "UI", - "ClosePopUp", - hmi_apis::messageType::response, - hmi_apis::FunctionID::UI_ClosePopUp, - UI__ClosePopUp__response__parameters}; - -const ford_message_descriptions::ParameterDescription - UI__OnResetTimeout__notification__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - UI__OnResetTimeout__notification__parameter2 = { - "methodName", ford_message_descriptions::String, true}; -const ford_message_descriptions::ParameterDescription* - UI__OnResetTimeout__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&UI__OnResetTimeout__notification__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&UI__OnResetTimeout__notification__parameter2, - NULL}; -const ford_message_descriptions::MessageDescription - UI__OnResetTimeout__notification = { - "UI", - "OnResetTimeout", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::UI_OnResetTimeout, - UI__OnResetTimeout__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - UI__OnRecordStart__notification__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - UI__OnRecordStart__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&UI__OnRecordStart__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - UI__OnRecordStart__notification = { - "UI", - "OnRecordStart", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::UI_OnRecordStart, - UI__OnRecordStart__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - UI__SendHapticData__request__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::StructDescription - UI__SendHapticData__request__parameter2_array = { - {"hapticRectData", ford_message_descriptions::Struct, true}, - Structs::Common__HapticRect__parameters}; -const ford_message_descriptions::ArrayDescription - UI__SendHapticData__request__parameter2 = { - {"hapticRectData", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&UI__SendHapticData__request__parameter2_array, - "(i(dddd))"}; -const ford_message_descriptions::ParameterDescription* - UI__SendHapticData__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&UI__SendHapticData__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&UI__SendHapticData__request__parameter2, - NULL}; -const ford_message_descriptions::MessageDescription - UI__SendHapticData__request = {"UI", - "SendHapticData", - hmi_apis::messageType::request, - hmi_apis::FunctionID::UI_SendHapticData, - UI__SendHapticData__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - UI__SendHapticData__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - UI__SendHapticData__response = {"UI", - "SendHapticData", - hmi_apis::messageType::response, - hmi_apis::FunctionID::UI_SendHapticData, - UI__SendHapticData__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - Navigation__IsReady__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - Navigation__IsReady__request = {"Navigation", - "IsReady", - hmi_apis::messageType::request, - hmi_apis::FunctionID::Navigation_IsReady, - Navigation__IsReady__request__parameters}; - -const ford_message_descriptions::ParameterDescription - Navigation__IsReady__response__parameter1 = { - "available", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription* - Navigation__IsReady__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__IsReady__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - Navigation__IsReady__response = {"Navigation", - "IsReady", - hmi_apis::messageType::response, - hmi_apis::FunctionID::Navigation_IsReady, - Navigation__IsReady__response__parameters}; - -const ford_message_descriptions::ParameterDescription - Navigation__SendLocation__request__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - Navigation__SendLocation__request__parameter2 = { - "longitudeDegrees", ford_message_descriptions::Float, true}; -const ford_message_descriptions::ParameterDescription - Navigation__SendLocation__request__parameter3 = { - "latitudeDegrees", ford_message_descriptions::Float, true}; -const ford_message_descriptions::ParameterDescription - Navigation__SendLocation__request__parameter4 = { - "locationName", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription - Navigation__SendLocation__request__parameter5 = { - "locationDescription", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription - Navigation__SendLocation__request__parameter6_array = { - "addressLines", ford_message_descriptions::String, true}; -const ford_message_descriptions::ArrayDescription - Navigation__SendLocation__request__parameter6 = { - {"addressLines", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__SendLocation__request__parameter6_array, - "s"}; -const ford_message_descriptions::ParameterDescription - Navigation__SendLocation__request__parameter7 = { - "phoneNumber", ford_message_descriptions::String, false}; -const ford_message_descriptions::StructDescription - Navigation__SendLocation__request__parameter8 = { - {"locationImage", ford_message_descriptions::Struct, false}, - Structs::Common__Image__parameters}; -const ford_message_descriptions::ParameterDescription* - Navigation__SendLocation__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__SendLocation__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__SendLocation__request__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__SendLocation__request__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__SendLocation__request__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__SendLocation__request__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__SendLocation__request__parameter6, - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__SendLocation__request__parameter7, - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__SendLocation__request__parameter8, - NULL}; -const ford_message_descriptions::MessageDescription - Navigation__SendLocation__request = { - "Navigation", - "SendLocation", - hmi_apis::messageType::request, - hmi_apis::FunctionID::Navigation_SendLocation, - Navigation__SendLocation__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - Navigation__SendLocation__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - Navigation__SendLocation__response = { - "Navigation", - "SendLocation", - hmi_apis::messageType::response, - hmi_apis::FunctionID::Navigation_SendLocation, - Navigation__SendLocation__response__parameters}; - -const ford_message_descriptions::ParameterDescription - Navigation__DialNumber__request__parameter1 = { - "number", ford_message_descriptions::String, true}; -const ford_message_descriptions::ParameterDescription* - Navigation__DialNumber__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__DialNumber__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - Navigation__DialNumber__request = { - "Navigation", - "DialNumber", - hmi_apis::messageType::request, - hmi_apis::FunctionID::Navigation_DialNumber, - Navigation__DialNumber__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - Navigation__DialNumber__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - Navigation__DialNumber__response = { - "Navigation", - "DialNumber", - hmi_apis::messageType::response, - hmi_apis::FunctionID::Navigation_DialNumber, - Navigation__DialNumber__response__parameters}; - -const ford_message_descriptions::StructDescription - Navigation__ShowConstantTBT__request__parameter1_array = { - {"navigationTexts", ford_message_descriptions::Struct, true}, - Structs::Common__TextFieldStruct__parameters}; -const ford_message_descriptions::ArrayDescription - Navigation__ShowConstantTBT__request__parameter1 = { - {"navigationTexts", ford_message_descriptions::Array, true}, - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__ShowConstantTBT__request__parameter1_array, - "(is)"}; -const ford_message_descriptions::StructDescription - Navigation__ShowConstantTBT__request__parameter2 = { - {"turnIcon", ford_message_descriptions::Struct, false}, - Structs::Common__Image__parameters}; -const ford_message_descriptions::StructDescription - Navigation__ShowConstantTBT__request__parameter3 = { - {"nextTurnIcon", ford_message_descriptions::Struct, false}, - Structs::Common__Image__parameters}; -const ford_message_descriptions::ParameterDescription - Navigation__ShowConstantTBT__request__parameter4 = { - "distanceToManeuver", ford_message_descriptions::Float, true}; -const ford_message_descriptions::ParameterDescription - Navigation__ShowConstantTBT__request__parameter5 = { - "distanceToManeuverScale", ford_message_descriptions::Float, true}; -const ford_message_descriptions::ParameterDescription - Navigation__ShowConstantTBT__request__parameter6 = { - "maneuverComplete", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::StructDescription - Navigation__ShowConstantTBT__request__parameter7_array = { - {"softButtons", ford_message_descriptions::Struct, true}, - Structs::Common__SoftButton__parameters}; -const ford_message_descriptions::ArrayDescription - Navigation__ShowConstantTBT__request__parameter7 = { - {"softButtons", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__ShowConstantTBT__request__parameter7_array, - "(i(bs)(b(si))(bb)ii)"}; -const ford_message_descriptions::ParameterDescription - Navigation__ShowConstantTBT__request__parameter8 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - Navigation__ShowConstantTBT__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__ShowConstantTBT__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__ShowConstantTBT__request__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__ShowConstantTBT__request__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__ShowConstantTBT__request__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__ShowConstantTBT__request__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__ShowConstantTBT__request__parameter6, - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__ShowConstantTBT__request__parameter7, - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__ShowConstantTBT__request__parameter8, - NULL}; -const ford_message_descriptions::MessageDescription - Navigation__ShowConstantTBT__request = { - "Navigation", - "ShowConstantTBT", - hmi_apis::messageType::request, - hmi_apis::FunctionID::Navigation_ShowConstantTBT, - Navigation__ShowConstantTBT__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - Navigation__ShowConstantTBT__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - Navigation__ShowConstantTBT__response = { - "Navigation", - "ShowConstantTBT", - hmi_apis::messageType::response, - hmi_apis::FunctionID::Navigation_ShowConstantTBT, - Navigation__ShowConstantTBT__response__parameters}; - -const ford_message_descriptions::StructDescription - Navigation__AlertManeuver__request__parameter1_array = { - {"softButtons", ford_message_descriptions::Struct, true}, - Structs::Common__SoftButton__parameters}; -const ford_message_descriptions::ArrayDescription - Navigation__AlertManeuver__request__parameter1 = { - {"softButtons", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__AlertManeuver__request__parameter1_array, - "(i(bs)(b(si))(bb)ii)"}; -const ford_message_descriptions::ParameterDescription - Navigation__AlertManeuver__request__parameter2 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - Navigation__AlertManeuver__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__AlertManeuver__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__AlertManeuver__request__parameter2, - NULL}; -const ford_message_descriptions::MessageDescription - Navigation__AlertManeuver__request = { - "Navigation", - "AlertManeuver", - hmi_apis::messageType::request, - hmi_apis::FunctionID::Navigation_AlertManeuver, - Navigation__AlertManeuver__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - Navigation__AlertManeuver__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - Navigation__AlertManeuver__response = { - "Navigation", - "AlertManeuver", - hmi_apis::messageType::response, - hmi_apis::FunctionID::Navigation_AlertManeuver, - Navigation__AlertManeuver__response__parameters}; - -const ford_message_descriptions::StructDescription - Navigation__UpdateTurnList__request__parameter1_array = { - {"turnList", ford_message_descriptions::Struct, true}, - Structs::Common__Turn__parameters}; -const ford_message_descriptions::ArrayDescription - Navigation__UpdateTurnList__request__parameter1 = { - {"turnList", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__UpdateTurnList__request__parameter1_array, - "((b(is))(b(si)))"}; -const ford_message_descriptions::StructDescription - Navigation__UpdateTurnList__request__parameter2_array = { - {"softButtons", ford_message_descriptions::Struct, true}, - Structs::Common__SoftButton__parameters}; -const ford_message_descriptions::ArrayDescription - Navigation__UpdateTurnList__request__parameter2 = { - {"softButtons", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__UpdateTurnList__request__parameter2_array, - "(i(bs)(b(si))(bb)ii)"}; -const ford_message_descriptions::ParameterDescription - Navigation__UpdateTurnList__request__parameter3 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - Navigation__UpdateTurnList__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__UpdateTurnList__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__UpdateTurnList__request__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__UpdateTurnList__request__parameter3, - NULL}; -const ford_message_descriptions::MessageDescription - Navigation__UpdateTurnList__request = { - "Navigation", - "UpdateTurnList", - hmi_apis::messageType::request, - hmi_apis::FunctionID::Navigation_UpdateTurnList, - Navigation__UpdateTurnList__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - Navigation__UpdateTurnList__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - Navigation__UpdateTurnList__response = { - "Navigation", - "UpdateTurnList", - hmi_apis::messageType::response, - hmi_apis::FunctionID::Navigation_UpdateTurnList, - Navigation__UpdateTurnList__response__parameters}; - -const ford_message_descriptions::ParameterDescription - Navigation__OnTBTClientState__notification__parameter1 = { - "state", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - Navigation__OnTBTClientState__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__OnTBTClientState__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - Navigation__OnTBTClientState__notification = { - "Navigation", - "OnTBTClientState", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::Navigation_OnTBTClientState, - Navigation__OnTBTClientState__notification__parameters}; - -const ford_message_descriptions::StructDescription - Navigation__SetVideoConfig__request__parameter1 = { - {"config", ford_message_descriptions::Struct, true}, - Structs::Common__VideoConfig__parameters}; -const ford_message_descriptions::ParameterDescription - Navigation__SetVideoConfig__request__parameter2 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - Navigation__SetVideoConfig__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__SetVideoConfig__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__SetVideoConfig__request__parameter2, - NULL}; -const ford_message_descriptions::MessageDescription - Navigation__SetVideoConfig__request = { - "Navigation", - "SetVideoConfig", - hmi_apis::messageType::request, - hmi_apis::FunctionID::Navigation_SetVideoConfig, - Navigation__SetVideoConfig__request__parameters}; - -const ford_message_descriptions::ParameterDescription - Navigation__SetVideoConfig__response__parameter1_array = { - "rejectedParams", ford_message_descriptions::String, true}; -const ford_message_descriptions::ArrayDescription - Navigation__SetVideoConfig__response__parameter1 = { - {"rejectedParams", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__SetVideoConfig__response__parameter1_array, - "s"}; -const ford_message_descriptions::ParameterDescription* - Navigation__SetVideoConfig__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__SetVideoConfig__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - Navigation__SetVideoConfig__response = { - "Navigation", - "SetVideoConfig", - hmi_apis::messageType::response, - hmi_apis::FunctionID::Navigation_SetVideoConfig, - Navigation__SetVideoConfig__response__parameters}; - -const ford_message_descriptions::ParameterDescription - Navigation__StartStream__request__parameter1 = { - "url", ford_message_descriptions::String, true}; -const ford_message_descriptions::ParameterDescription - Navigation__StartStream__request__parameter2 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - Navigation__StartStream__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__StartStream__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__StartStream__request__parameter2, - NULL}; -const ford_message_descriptions::MessageDescription - Navigation__StartStream__request = { - "Navigation", - "StartStream", - hmi_apis::messageType::request, - hmi_apis::FunctionID::Navigation_StartStream, - Navigation__StartStream__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - Navigation__StartStream__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - Navigation__StartStream__response = { - "Navigation", - "StartStream", - hmi_apis::messageType::response, - hmi_apis::FunctionID::Navigation_StartStream, - Navigation__StartStream__response__parameters}; - -const ford_message_descriptions::ParameterDescription - Navigation__StopStream__request__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - Navigation__StopStream__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__StopStream__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - Navigation__StopStream__request = { - "Navigation", - "StopStream", - hmi_apis::messageType::request, - hmi_apis::FunctionID::Navigation_StopStream, - Navigation__StopStream__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - Navigation__StopStream__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - Navigation__StopStream__response = { - "Navigation", - "StopStream", - hmi_apis::messageType::response, - hmi_apis::FunctionID::Navigation_StopStream, - Navigation__StopStream__response__parameters}; - -const ford_message_descriptions::ParameterDescription - Navigation__StartAudioStream__request__parameter1 = { - "url", ford_message_descriptions::String, true}; -const ford_message_descriptions::ParameterDescription - Navigation__StartAudioStream__request__parameter2 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - Navigation__StartAudioStream__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__StartAudioStream__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__StartAudioStream__request__parameter2, - NULL}; -const ford_message_descriptions::MessageDescription - Navigation__StartAudioStream__request = { - "Navigation", - "StartAudioStream", - hmi_apis::messageType::request, - hmi_apis::FunctionID::Navigation_StartAudioStream, - Navigation__StartAudioStream__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - Navigation__StartAudioStream__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - Navigation__StartAudioStream__response = { - "Navigation", - "StartAudioStream", - hmi_apis::messageType::response, - hmi_apis::FunctionID::Navigation_StartAudioStream, - Navigation__StartAudioStream__response__parameters}; - -const ford_message_descriptions::ParameterDescription - Navigation__StopAudioStream__request__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - Navigation__StopAudioStream__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__StopAudioStream__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - Navigation__StopAudioStream__request = { - "Navigation", - "StopAudioStream", - hmi_apis::messageType::request, - hmi_apis::FunctionID::Navigation_StopAudioStream, - Navigation__StopAudioStream__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - Navigation__StopAudioStream__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - Navigation__StopAudioStream__response = { - "Navigation", - "StopAudioStream", - hmi_apis::messageType::response, - hmi_apis::FunctionID::Navigation_StopAudioStream, - Navigation__StopAudioStream__response__parameters}; - -const ford_message_descriptions::ParameterDescription - Navigation__OnAudioDataStreaming__notification__parameter1 = { - "available", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription* - Navigation__OnAudioDataStreaming__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__OnAudioDataStreaming__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - Navigation__OnAudioDataStreaming__notification = { - "Navigation", - "OnAudioDataStreaming", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::Navigation_OnAudioDataStreaming, - Navigation__OnAudioDataStreaming__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - Navigation__OnVideoDataStreaming__notification__parameter1 = { - "available", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription* - Navigation__OnVideoDataStreaming__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__OnVideoDataStreaming__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - Navigation__OnVideoDataStreaming__notification = { - "Navigation", - "OnVideoDataStreaming", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::Navigation_OnVideoDataStreaming, - Navigation__OnVideoDataStreaming__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - Navigation__GetWayPoints__request__parameter1 = { - "wayPointType", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - Navigation__GetWayPoints__request__parameter2 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - Navigation__GetWayPoints__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__GetWayPoints__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__GetWayPoints__request__parameter2, - NULL}; -const ford_message_descriptions::MessageDescription - Navigation__GetWayPoints__request = { - "Navigation", - "GetWayPoints", - hmi_apis::messageType::request, - hmi_apis::FunctionID::Navigation_GetWayPoints, - Navigation__GetWayPoints__request__parameters}; - -const ford_message_descriptions::ParameterDescription - Navigation__GetWayPoints__response__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::StructDescription - Navigation__GetWayPoints__response__parameter2_array = { - {"wayPoints", ford_message_descriptions::Struct, true}, - Structs::Common__LocationDetails__parameters}; -const ford_message_descriptions::ArrayDescription - Navigation__GetWayPoints__response__parameter2 = { - {"wayPoints", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__GetWayPoints__response__parameter2_array, - "((b(dd))(bs)(bas)(bs)(bs)(b(si))(b((bs)(bs)(bs)(bs)(bs)(bs)(bs)(bs)(" - "bs))))"}; -const ford_message_descriptions::ParameterDescription* - Navigation__GetWayPoints__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__GetWayPoints__response__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__GetWayPoints__response__parameter2, - NULL}; -const ford_message_descriptions::MessageDescription - Navigation__GetWayPoints__response = { - "Navigation", - "GetWayPoints", - hmi_apis::messageType::response, - hmi_apis::FunctionID::Navigation_GetWayPoints, - Navigation__GetWayPoints__response__parameters}; - -const ford_message_descriptions::StructDescription - Navigation__OnWayPointChange__notification__parameter1_array = { - {"wayPoints", ford_message_descriptions::Struct, true}, - Structs::Common__LocationDetails__parameters}; -const ford_message_descriptions::ArrayDescription - Navigation__OnWayPointChange__notification__parameter1 = { - {"wayPoints", ford_message_descriptions::Array, true}, - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__OnWayPointChange__notification__parameter1_array, - "((b(dd))(bs)(bas)(bs)(bs)(b(si))(b((bs)(bs)(bs)(bs)(bs)(bs)(bs)(bs)(" - "bs))))"}; -const ford_message_descriptions::ParameterDescription* - Navigation__OnWayPointChange__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&Navigation__OnWayPointChange__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - Navigation__OnWayPointChange__notification = { - "Navigation", - "OnWayPointChange", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::Navigation_OnWayPointChange, - Navigation__OnWayPointChange__notification__parameters}; - -const ford_message_descriptions::ParameterDescription* - Navigation__SubscribeWayPoints__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - Navigation__SubscribeWayPoints__request = { - "Navigation", - "SubscribeWayPoints", - hmi_apis::messageType::request, - hmi_apis::FunctionID::Navigation_SubscribeWayPoints, - Navigation__SubscribeWayPoints__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - Navigation__SubscribeWayPoints__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - Navigation__SubscribeWayPoints__response = { - "Navigation", - "SubscribeWayPoints", - hmi_apis::messageType::response, - hmi_apis::FunctionID::Navigation_SubscribeWayPoints, - Navigation__SubscribeWayPoints__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - Navigation__UnsubscribeWayPoints__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - Navigation__UnsubscribeWayPoints__request = { - "Navigation", - "UnsubscribeWayPoints", - hmi_apis::messageType::request, - hmi_apis::FunctionID::Navigation_UnsubscribeWayPoints, - Navigation__UnsubscribeWayPoints__request__parameters}; - -const ford_message_descriptions::ParameterDescription* - Navigation__UnsubscribeWayPoints__response__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - Navigation__UnsubscribeWayPoints__response = { - "Navigation", - "UnsubscribeWayPoints", - hmi_apis::messageType::response, - hmi_apis::FunctionID::Navigation_UnsubscribeWayPoints, - Navigation__UnsubscribeWayPoints__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__IsReady__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__IsReady__request = {"VehicleInfo", - "IsReady", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_IsReady, - VehicleInfo__IsReady__request__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__IsReady__response__parameter1 = { - "available", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__IsReady__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__IsReady__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__IsReady__response = { - "VehicleInfo", - "IsReady", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_IsReady, - VehicleInfo__IsReady__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetVehicleType__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetVehicleType__request = { - "VehicleInfo", - "GetVehicleType", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_GetVehicleType, - VehicleInfo__GetVehicleType__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__GetVehicleType__response__parameter1 = { - {"vehicleType", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleType__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetVehicleType__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleType__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetVehicleType__response = { - "VehicleInfo", - "GetVehicleType", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_GetVehicleType, - VehicleInfo__GetVehicleType__response__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__ReadDID__request__parameter1 = { - "ecuName", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__ReadDID__request__parameter2_array = { - "didLocation", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ArrayDescription - VehicleInfo__ReadDID__request__parameter2 = { - {"didLocation", ford_message_descriptions::Array, true}, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__ReadDID__request__parameter2_array, - "i"}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__ReadDID__request__parameter3 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__ReadDID__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__ReadDID__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__ReadDID__request__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__ReadDID__request__parameter3, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__ReadDID__request = {"VehicleInfo", - "ReadDID", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_ReadDID, - VehicleInfo__ReadDID__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__ReadDID__response__parameter1_array = { - {"didResult", ford_message_descriptions::Struct, true}, - Structs::Common__DIDResult__parameters}; -const ford_message_descriptions::ArrayDescription - VehicleInfo__ReadDID__response__parameter1 = { - {"didResult", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__ReadDID__response__parameter1_array, - "(ii(bs))"}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__ReadDID__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__ReadDID__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__ReadDID__response = { - "VehicleInfo", - "ReadDID", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_ReadDID, - VehicleInfo__ReadDID__response__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetDTCs__request__parameter1 = { - "ecuName", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetDTCs__request__parameter2 = { - "dtcMask", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetDTCs__request__parameter3 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetDTCs__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetDTCs__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetDTCs__request__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetDTCs__request__parameter3, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetDTCs__request = {"VehicleInfo", - "GetDTCs", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_GetDTCs, - VehicleInfo__GetDTCs__request__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetDTCs__response__parameter1 = { - "ecuHeader", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetDTCs__response__parameter2_array = { - "dtc", ford_message_descriptions::String, true}; -const ford_message_descriptions::ArrayDescription - VehicleInfo__GetDTCs__response__parameter2 = { - {"dtc", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetDTCs__response__parameter2_array, - "s"}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetDTCs__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetDTCs__response__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetDTCs__response__parameter2, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetDTCs__response = { - "VehicleInfo", - "GetDTCs", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_GetDTCs, - VehicleInfo__GetDTCs__response__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__DiagnosticMessage__request__parameter1 = { - "targetID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__DiagnosticMessage__request__parameter2 = { - "messageLength", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__DiagnosticMessage__request__parameter3_array = { - "messageData", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ArrayDescription - VehicleInfo__DiagnosticMessage__request__parameter3 = { - {"messageData", ford_message_descriptions::Array, true}, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__DiagnosticMessage__request__parameter3_array, - "i"}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__DiagnosticMessage__request__parameter4 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__DiagnosticMessage__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__DiagnosticMessage__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__DiagnosticMessage__request__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__DiagnosticMessage__request__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__DiagnosticMessage__request__parameter4, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__DiagnosticMessage__request = { - "VehicleInfo", - "DiagnosticMessage", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_DiagnosticMessage, - VehicleInfo__DiagnosticMessage__request__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__DiagnosticMessage__response__parameter1_array = { - "messageDataResult", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ArrayDescription - VehicleInfo__DiagnosticMessage__response__parameter1 = { - {"messageDataResult", ford_message_descriptions::Array, true}, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__DiagnosticMessage__response__parameter1_array, - "i"}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__DiagnosticMessage__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__DiagnosticMessage__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__DiagnosticMessage__response = { - "VehicleInfo", - "DiagnosticMessage", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_DiagnosticMessage, - VehicleInfo__DiagnosticMessage__response__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__SubscribeVehicleData__request__parameter1 = { - "gps", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__SubscribeVehicleData__request__parameter2 = { - "speed", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__SubscribeVehicleData__request__parameter3 = { - "rpm", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__SubscribeVehicleData__request__parameter4 = { - "fuelLevel", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__SubscribeVehicleData__request__parameter5 = { - "fuelLevel_State", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__SubscribeVehicleData__request__parameter6 = { - "instantFuelConsumption", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__SubscribeVehicleData__request__parameter7 = { - "externalTemperature", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__SubscribeVehicleData__request__parameter8 = { - "prndl", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__SubscribeVehicleData__request__parameter9 = { - "tirePressure", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__SubscribeVehicleData__request__parameter10 = { - "odometer", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__SubscribeVehicleData__request__parameter11 = { - "beltStatus", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__SubscribeVehicleData__request__parameter12 = { - "bodyInformation", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__SubscribeVehicleData__request__parameter13 = { - "deviceStatus", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__SubscribeVehicleData__request__parameter14 = { - "driverBraking", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__SubscribeVehicleData__request__parameter15 = { - "wiperStatus", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__SubscribeVehicleData__request__parameter16 = { - "headLampStatus", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__SubscribeVehicleData__request__parameter17 = { - "engineTorque", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__SubscribeVehicleData__request__parameter18 = { - "accPedalPosition", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__SubscribeVehicleData__request__parameter19 = { - "steeringWheelAngle", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__SubscribeVehicleData__request__parameter20 = { - "eCallInfo", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__SubscribeVehicleData__request__parameter21 = { - "airbagStatus", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__SubscribeVehicleData__request__parameter22 = { - "emergencyEvent", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__SubscribeVehicleData__request__parameter23 = { - "clusterModeStatus", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__SubscribeVehicleData__request__parameter24 = { - "myKey", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription* VehicleInfo__SubscribeVehicleData__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__request__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__request__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__request__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__request__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__request__parameter6, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__request__parameter7, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__request__parameter8, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__request__parameter9, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__request__parameter10, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__request__parameter11, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__request__parameter12, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__request__parameter13, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__request__parameter14, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__request__parameter15, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__request__parameter16, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__request__parameter17, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__request__parameter18, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__request__parameter19, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__request__parameter20, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__request__parameter21, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__request__parameter22, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__request__parameter23, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__request__parameter24, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeVehicleData__request = { - "VehicleInfo", - "SubscribeVehicleData", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_SubscribeVehicleData, - VehicleInfo__SubscribeVehicleData__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeVehicleData__response__parameter1 = { - {"gps", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeVehicleData__response__parameter2 = { - {"speed", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeVehicleData__response__parameter3 = { - {"rpm", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeVehicleData__response__parameter4 = { - {"fuelLevel", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeVehicleData__response__parameter5 = { - {"fuelLevel_State", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeVehicleData__response__parameter6 = { - {"instantFuelConsumption", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeVehicleData__response__parameter7 = { - {"externalTemperature", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeVehicleData__response__parameter8 = { - {"prndl", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeVehicleData__response__parameter9 = { - {"tirePressure", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeVehicleData__response__parameter10 = { - {"odometer", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeVehicleData__response__parameter11 = { - {"beltStatus", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeVehicleData__response__parameter12 = { - {"bodyInformation", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeVehicleData__response__parameter13 = { - {"deviceStatus", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeVehicleData__response__parameter14 = { - {"driverBraking", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeVehicleData__response__parameter15 = { - {"wiperStatus", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeVehicleData__response__parameter16 = { - {"headLampStatus", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeVehicleData__response__parameter17 = { - {"engineTorque", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeVehicleData__response__parameter18 = { - {"accPedalPosition", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeVehicleData__response__parameter19 = { - {"steeringWheelAngle", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeVehicleData__response__parameter20 = { - {"eCallInfo", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeVehicleData__response__parameter21 = { - {"airbagStatus", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeVehicleData__response__parameter22 = { - {"emergencyEvent", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeVehicleData__response__parameter23 = { - {"clusterModes", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeVehicleData__response__parameter24 = { - {"myKey", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* VehicleInfo__SubscribeVehicleData__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__response__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__response__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__response__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__response__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__response__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__response__parameter6, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__response__parameter7, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__response__parameter8, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__response__parameter9, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__response__parameter10, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__response__parameter11, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__response__parameter12, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__response__parameter13, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__response__parameter14, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__response__parameter15, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__response__parameter16, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__response__parameter17, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__response__parameter18, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__response__parameter19, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__response__parameter20, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__response__parameter21, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__response__parameter22, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__response__parameter23, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVehicleData__response__parameter24, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeVehicleData__response = { - "VehicleInfo", - "SubscribeVehicleData", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_SubscribeVehicleData, - VehicleInfo__SubscribeVehicleData__response__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__UnsubscribeVehicleData__request__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__UnsubscribeVehicleData__request__parameter2 = { - "gps", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__UnsubscribeVehicleData__request__parameter3 = { - "speed", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__UnsubscribeVehicleData__request__parameter4 = { - "rpm", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__UnsubscribeVehicleData__request__parameter5 = { - "fuelLevel", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__UnsubscribeVehicleData__request__parameter6 = { - "fuelLevel_State", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__UnsubscribeVehicleData__request__parameter7 = { - "instantFuelConsumption", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__UnsubscribeVehicleData__request__parameter8 = { - "externalTemperature", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__UnsubscribeVehicleData__request__parameter9 = { - "prndl", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__UnsubscribeVehicleData__request__parameter10 = { - "tirePressure", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__UnsubscribeVehicleData__request__parameter11 = { - "odometer", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__UnsubscribeVehicleData__request__parameter12 = { - "beltStatus", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__UnsubscribeVehicleData__request__parameter13 = { - "bodyInformation", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__UnsubscribeVehicleData__request__parameter14 = { - "deviceStatus", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__UnsubscribeVehicleData__request__parameter15 = { - "driverBraking", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__UnsubscribeVehicleData__request__parameter16 = { - "wiperStatus", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__UnsubscribeVehicleData__request__parameter17 = { - "headLampStatus", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__UnsubscribeVehicleData__request__parameter18 = { - "engineTorque", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__UnsubscribeVehicleData__request__parameter19 = { - "accPedalPosition", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__UnsubscribeVehicleData__request__parameter20 = { - "steeringWheelAngle", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__UnsubscribeVehicleData__request__parameter21 = { - "eCallInfo", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__UnsubscribeVehicleData__request__parameter22 = { - "airbagStatus", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__UnsubscribeVehicleData__request__parameter23 = { - "emergencyEvent", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__UnsubscribeVehicleData__request__parameter24 = { - "clusterModeStatus", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__UnsubscribeVehicleData__request__parameter25 = { - "myKey", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription* VehicleInfo__UnsubscribeVehicleData__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__request__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__request__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__request__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__request__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__request__parameter6, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__request__parameter7, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__request__parameter8, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__request__parameter9, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__request__parameter10, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__request__parameter11, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__request__parameter12, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__request__parameter13, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__request__parameter14, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__request__parameter15, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__request__parameter16, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__request__parameter17, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__request__parameter18, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__request__parameter19, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__request__parameter20, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__request__parameter21, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__request__parameter22, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__request__parameter23, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__request__parameter24, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__request__parameter25, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeVehicleData__request = { - "VehicleInfo", - "UnsubscribeVehicleData", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeVehicleData, - VehicleInfo__UnsubscribeVehicleData__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeVehicleData__response__parameter1 = { - {"gps", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeVehicleData__response__parameter2 = { - {"speed", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeVehicleData__response__parameter3 = { - {"rpm", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeVehicleData__response__parameter4 = { - {"fuelLevel", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeVehicleData__response__parameter5 = { - {"fuelLevel_State", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeVehicleData__response__parameter6 = { - {"instantFuelConsumption", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeVehicleData__response__parameter7 = { - {"externalTemperature", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeVehicleData__response__parameter8 = { - {"prndl", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeVehicleData__response__parameter9 = { - {"tirePressure", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeVehicleData__response__parameter10 = { - {"odometer", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeVehicleData__response__parameter11 = { - {"beltStatus", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeVehicleData__response__parameter12 = { - {"bodyInformation", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeVehicleData__response__parameter13 = { - {"deviceStatus", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeVehicleData__response__parameter14 = { - {"driverBraking", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeVehicleData__response__parameter15 = { - {"wiperStatus", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeVehicleData__response__parameter16 = { - {"headLampStatus", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeVehicleData__response__parameter17 = { - {"engineTorque", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeVehicleData__response__parameter18 = { - {"accPedalPosition", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeVehicleData__response__parameter19 = { - {"steeringWheelAngle", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeVehicleData__response__parameter20 = { - {"eCallInfo", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeVehicleData__response__parameter21 = { - {"airbagStatus", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeVehicleData__response__parameter22 = { - {"emergencyEvent", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeVehicleData__response__parameter23 = { - {"clusterModes", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeVehicleData__response__parameter24 = { - {"myKey", ford_message_descriptions::Struct, false}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* VehicleInfo__UnsubscribeVehicleData__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__response__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__response__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__response__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__response__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__response__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__response__parameter6, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__response__parameter7, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__response__parameter8, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__response__parameter9, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__response__parameter10, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__response__parameter11, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__response__parameter12, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__response__parameter13, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__response__parameter14, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__response__parameter15, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__response__parameter16, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__response__parameter17, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__response__parameter18, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__response__parameter19, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__response__parameter20, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__response__parameter21, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__response__parameter22, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__response__parameter23, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVehicleData__response__parameter24, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeVehicleData__response = { - "VehicleInfo", - "UnsubscribeVehicleData", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeVehicleData, - VehicleInfo__UnsubscribeVehicleData__response__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__request__parameter1 = { - "gps", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__request__parameter2 = { - "speed", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__request__parameter3 = { - "rpm", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__request__parameter4 = { - "fuelLevel", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__request__parameter5 = { - "fuelLevel_State", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__request__parameter6 = { - "instantFuelConsumption", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__request__parameter7 = { - "externalTemperature", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__request__parameter8 = { - "vin", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__request__parameter9 = { - "prndl", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__request__parameter10 = { - "tirePressure", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__request__parameter11 = { - "odometer", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__request__parameter12 = { - "beltStatus", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__request__parameter13 = { - "bodyInformation", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__request__parameter14 = { - "deviceStatus", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__request__parameter15 = { - "driverBraking", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__request__parameter16 = { - "wiperStatus", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__request__parameter17 = { - "headLampStatus", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__request__parameter18 = { - "engineTorque", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__request__parameter19 = { - "accPedalPosition", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__request__parameter20 = { - "steeringWheelAngle", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__request__parameter21 = { - "eCallInfo", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__request__parameter22 = { - "airbagStatus", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__request__parameter23 = { - "emergencyEvent", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__request__parameter24 = { - "clusterModeStatus", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__request__parameter25 = { - "myKey", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription* VehicleInfo__GetVehicleData__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__request__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__request__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__request__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__request__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__request__parameter6, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__request__parameter7, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__request__parameter8, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__request__parameter9, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__request__parameter10, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__request__parameter11, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__request__parameter12, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__request__parameter13, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__request__parameter14, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__request__parameter15, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__request__parameter16, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__request__parameter17, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__request__parameter18, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__request__parameter19, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__request__parameter20, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__request__parameter21, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__request__parameter22, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__request__parameter23, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__request__parameter24, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__request__parameter25, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetVehicleData__request = { - "VehicleInfo", - "GetVehicleData", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_GetVehicleData, - VehicleInfo__GetVehicleData__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__GetVehicleData__response__parameter1 = { - {"gps", ford_message_descriptions::Struct, false}, - Structs::Common__GPSData__parameters}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__response__parameter2 = { - "speed", ford_message_descriptions::Float, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__response__parameter3 = { - "rpm", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__response__parameter4 = { - "fuelLevel", ford_message_descriptions::Float, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__response__parameter5 = { - "fuelLevel_State", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__response__parameter6 = { - "instantFuelConsumption", ford_message_descriptions::Float, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__response__parameter7 = { - "externalTemperature", ford_message_descriptions::Float, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__response__parameter8 = { - "vin", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__response__parameter9 = { - "prndl", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::StructDescription - VehicleInfo__GetVehicleData__response__parameter10 = { - {"tirePressure", ford_message_descriptions::Struct, false}, - Structs::Common__TireStatus__parameters}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__response__parameter11 = { - "odometer", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::StructDescription - VehicleInfo__GetVehicleData__response__parameter12 = { - {"beltStatus", ford_message_descriptions::Struct, false}, - Structs::Common__BeltStatus__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__GetVehicleData__response__parameter13 = { - {"bodyInformation", ford_message_descriptions::Struct, false}, - Structs::Common__BodyInformation__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__GetVehicleData__response__parameter14 = { - {"deviceStatus", ford_message_descriptions::Struct, false}, - Structs::Common__DeviceStatus__parameters}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__response__parameter15 = { - "driverBraking", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__response__parameter16 = { - "wiperStatus", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::StructDescription - VehicleInfo__GetVehicleData__response__parameter17 = { - {"headLampStatus", ford_message_descriptions::Struct, false}, - Structs::Common__HeadLampStatus__parameters}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__response__parameter18 = { - "engineTorque", ford_message_descriptions::Float, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__response__parameter19 = { - "accPedalPosition", ford_message_descriptions::Float, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVehicleData__response__parameter20 = { - "steeringWheelAngle", ford_message_descriptions::Float, false}; -const ford_message_descriptions::StructDescription - VehicleInfo__GetVehicleData__response__parameter21 = { - {"eCallInfo", ford_message_descriptions::Struct, false}, - Structs::Common__ECallInfo__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__GetVehicleData__response__parameter22 = { - {"airbagStatus", ford_message_descriptions::Struct, false}, - Structs::Common__AirbagStatus__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__GetVehicleData__response__parameter23 = { - {"emergencyEvent", ford_message_descriptions::Struct, false}, - Structs::Common__EmergencyEvent__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__GetVehicleData__response__parameter24 = { - {"clusterModeStatus", ford_message_descriptions::Struct, false}, - Structs::Common__ClusterModeStatus__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__GetVehicleData__response__parameter25 = { - {"myKey", ford_message_descriptions::Struct, false}, - Structs::Common__MyKey__parameters}; -const ford_message_descriptions::ParameterDescription* VehicleInfo__GetVehicleData__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__response__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__response__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__response__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__response__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__response__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__response__parameter6, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__response__parameter7, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__response__parameter8, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__response__parameter9, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__response__parameter10, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__response__parameter11, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__response__parameter12, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__response__parameter13, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__response__parameter14, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__response__parameter15, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__response__parameter16, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__response__parameter17, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__response__parameter18, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__response__parameter19, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__response__parameter20, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__response__parameter21, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__response__parameter22, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__response__parameter23, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__response__parameter24, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVehicleData__response__parameter25, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetVehicleData__response = { - "VehicleInfo", - "GetVehicleData", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_GetVehicleData, - VehicleInfo__GetVehicleData__response__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__OnVehicleData__notification__parameter1 = { - {"gps", ford_message_descriptions::Struct, false}, - Structs::Common__GPSData__parameters}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__OnVehicleData__notification__parameter2 = { - "speed", ford_message_descriptions::Float, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__OnVehicleData__notification__parameter3 = { - "rpm", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__OnVehicleData__notification__parameter4 = { - "fuelLevel", ford_message_descriptions::Float, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__OnVehicleData__notification__parameter5 = { - "fuelLevel_State", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__OnVehicleData__notification__parameter6 = { - "instantFuelConsumption", ford_message_descriptions::Float, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__OnVehicleData__notification__parameter7 = { - "externalTemperature", ford_message_descriptions::Float, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__OnVehicleData__notification__parameter8 = { - "vin", ford_message_descriptions::String, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__OnVehicleData__notification__parameter9 = { - "prndl", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::StructDescription - VehicleInfo__OnVehicleData__notification__parameter10 = { - {"tirePressure", ford_message_descriptions::Struct, false}, - Structs::Common__TireStatus__parameters}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__OnVehicleData__notification__parameter11 = { - "odometer", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::StructDescription - VehicleInfo__OnVehicleData__notification__parameter12 = { - {"beltStatus", ford_message_descriptions::Struct, false}, - Structs::Common__BeltStatus__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__OnVehicleData__notification__parameter13 = { - {"bodyInformation", ford_message_descriptions::Struct, false}, - Structs::Common__BodyInformation__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__OnVehicleData__notification__parameter14 = { - {"deviceStatus", ford_message_descriptions::Struct, false}, - Structs::Common__DeviceStatus__parameters}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__OnVehicleData__notification__parameter15 = { - "driverBraking", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__OnVehicleData__notification__parameter16 = { - "wiperStatus", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::StructDescription - VehicleInfo__OnVehicleData__notification__parameter17 = { - {"headLampStatus", ford_message_descriptions::Struct, false}, - Structs::Common__HeadLampStatus__parameters}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__OnVehicleData__notification__parameter18 = { - "engineTorque", ford_message_descriptions::Float, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__OnVehicleData__notification__parameter19 = { - "accPedalPosition", ford_message_descriptions::Float, false}; -const ford_message_descriptions::ParameterDescription - VehicleInfo__OnVehicleData__notification__parameter20 = { - "steeringWheelAngle", ford_message_descriptions::Float, false}; -const ford_message_descriptions::StructDescription - VehicleInfo__OnVehicleData__notification__parameter21 = { - {"eCallInfo", ford_message_descriptions::Struct, false}, - Structs::Common__ECallInfo__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__OnVehicleData__notification__parameter22 = { - {"airbagStatus", ford_message_descriptions::Struct, false}, - Structs::Common__AirbagStatus__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__OnVehicleData__notification__parameter23 = { - {"emergencyEvent", ford_message_descriptions::Struct, false}, - Structs::Common__EmergencyEvent__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__OnVehicleData__notification__parameter24 = { - {"clusterModeStatus", ford_message_descriptions::Struct, false}, - Structs::Common__ClusterModeStatus__parameters}; -const ford_message_descriptions::StructDescription - VehicleInfo__OnVehicleData__notification__parameter25 = { - {"myKey", ford_message_descriptions::Struct, false}, - Structs::Common__MyKey__parameters}; -const ford_message_descriptions::ParameterDescription* VehicleInfo__OnVehicleData__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnVehicleData__notification__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnVehicleData__notification__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnVehicleData__notification__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnVehicleData__notification__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnVehicleData__notification__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnVehicleData__notification__parameter6, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnVehicleData__notification__parameter7, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnVehicleData__notification__parameter8, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnVehicleData__notification__parameter9, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnVehicleData__notification__parameter10, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnVehicleData__notification__parameter11, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnVehicleData__notification__parameter12, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnVehicleData__notification__parameter13, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnVehicleData__notification__parameter14, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnVehicleData__notification__parameter15, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnVehicleData__notification__parameter16, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnVehicleData__notification__parameter17, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnVehicleData__notification__parameter18, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnVehicleData__notification__parameter19, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnVehicleData__notification__parameter20, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnVehicleData__notification__parameter21, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnVehicleData__notification__parameter22, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnVehicleData__notification__parameter23, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnVehicleData__notification__parameter24, - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnVehicleData__notification__parameter25, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__OnVehicleData__notification = { - "VehicleInfo", - "OnVehicleData", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::VehicleInfo_OnVehicleData, - VehicleInfo__OnVehicleData__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetGpsData__request__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetGpsData__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetGpsData__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetGpsData__request = { - "VehicleInfo", - "GetGpsData", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_GetGpsData, - VehicleInfo__GetGpsData__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__GetGpsData__response__parameter1 = { - {"gps", ford_message_descriptions::Struct, true}, - Structs::Common__GPSData__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetGpsData__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetGpsData__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetGpsData__response = { - "VehicleInfo", - "GetGpsData", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_GetGpsData, - VehicleInfo__GetGpsData__response__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetSpeed__request__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetSpeed__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetSpeed__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetSpeed__request = { - "VehicleInfo", - "GetSpeed", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_GetSpeed, - VehicleInfo__GetSpeed__request__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetSpeed__response__parameter1 = { - "speed", ford_message_descriptions::Float, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetSpeed__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetSpeed__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetSpeed__response = { - "VehicleInfo", - "GetSpeed", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_GetSpeed, - VehicleInfo__GetSpeed__response__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetRpm__request__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetRpm__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetRpm__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetRpm__request = {"VehicleInfo", - "GetRpm", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_GetRpm, - VehicleInfo__GetRpm__request__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetRpm__response__parameter1 = { - "rpm", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetRpm__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetRpm__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetRpm__response = {"VehicleInfo", - "GetRpm", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_GetRpm, - VehicleInfo__GetRpm__response__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetFuelLevel__request__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetFuelLevel__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetFuelLevel__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetFuelLevel__request = { - "VehicleInfo", - "GetFuelLevel", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_GetFuelLevel, - VehicleInfo__GetFuelLevel__request__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetFuelLevel__response__parameter1 = { - "fuelLevel", ford_message_descriptions::Float, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetFuelLevel__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetFuelLevel__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetFuelLevel__response = { - "VehicleInfo", - "GetFuelLevel", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_GetFuelLevel, - VehicleInfo__GetFuelLevel__response__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetFuelLevelState__request__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetFuelLevelState__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetFuelLevelState__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetFuelLevelState__request = { - "VehicleInfo", - "GetFuelLevelState", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_GetFuelLevelState, - VehicleInfo__GetFuelLevelState__request__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetFuelLevelState__response__parameter1 = { - "fuelLevel_State", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetFuelLevelState__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetFuelLevelState__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetFuelLevelState__response = { - "VehicleInfo", - "GetFuelLevelState", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_GetFuelLevelState, - VehicleInfo__GetFuelLevelState__response__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetInstantFuelConsumption__request__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetInstantFuelConsumption__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetInstantFuelConsumption__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetInstantFuelConsumption__request = { - "VehicleInfo", - "GetInstantFuelConsumption", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_GetInstantFuelConsumption, - VehicleInfo__GetInstantFuelConsumption__request__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetInstantFuelConsumption__response__parameter1 = { - "instantFuelConsumption", ford_message_descriptions::Float, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetInstantFuelConsumption__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetInstantFuelConsumption__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetInstantFuelConsumption__response = { - "VehicleInfo", - "GetInstantFuelConsumption", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_GetInstantFuelConsumption, - VehicleInfo__GetInstantFuelConsumption__response__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetExternalTemperature__request__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetExternalTemperature__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetExternalTemperature__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetExternalTemperature__request = { - "VehicleInfo", - "GetExternalTemperature", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_GetExternalTemperature, - VehicleInfo__GetExternalTemperature__request__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetExternalTemperature__response__parameter1 = { - "externalTemperature", ford_message_descriptions::Float, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetExternalTemperature__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetExternalTemperature__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetExternalTemperature__response = { - "VehicleInfo", - "GetExternalTemperature", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_GetExternalTemperature, - VehicleInfo__GetExternalTemperature__response__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVin__request__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetVin__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVin__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetVin__request = {"VehicleInfo", - "GetVin", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_GetVin, - VehicleInfo__GetVin__request__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetVin__response__parameter1 = { - "vin", ford_message_descriptions::String, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetVin__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetVin__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetVin__response = {"VehicleInfo", - "GetVin", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_GetVin, - VehicleInfo__GetVin__response__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetPrndl__request__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetPrndl__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetPrndl__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetPrndl__request = { - "VehicleInfo", - "GetPrndl", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_GetPrndl, - VehicleInfo__GetPrndl__request__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetPrndl__response__parameter1 = { - "prndl", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetPrndl__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetPrndl__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetPrndl__response = { - "VehicleInfo", - "GetPrndl", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_GetPrndl, - VehicleInfo__GetPrndl__response__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetTirePressure__request__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetTirePressure__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetTirePressure__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetTirePressure__request = { - "VehicleInfo", - "GetTirePressure", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_GetTirePressure, - VehicleInfo__GetTirePressure__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__GetTirePressure__response__parameter1 = { - {"tirePressure", ford_message_descriptions::Struct, true}, - Structs::Common__TireStatus__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetTirePressure__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetTirePressure__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetTirePressure__response = { - "VehicleInfo", - "GetTirePressure", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_GetTirePressure, - VehicleInfo__GetTirePressure__response__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetOdometer__request__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetOdometer__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetOdometer__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetOdometer__request = { - "VehicleInfo", - "GetOdometer", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_GetOdometer, - VehicleInfo__GetOdometer__request__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetOdometer__response__parameter1 = { - "odometer", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetOdometer__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetOdometer__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetOdometer__response = { - "VehicleInfo", - "GetOdometer", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_GetOdometer, - VehicleInfo__GetOdometer__response__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetBeltStatus__request__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetBeltStatus__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetBeltStatus__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetBeltStatus__request = { - "VehicleInfo", - "GetBeltStatus", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_GetBeltStatus, - VehicleInfo__GetBeltStatus__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__GetBeltStatus__response__parameter1 = { - {"beltStatus", ford_message_descriptions::Struct, true}, - Structs::Common__BeltStatus__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetBeltStatus__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetBeltStatus__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetBeltStatus__response = { - "VehicleInfo", - "GetBeltStatus", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_GetBeltStatus, - VehicleInfo__GetBeltStatus__response__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetBodyInformation__request__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetBodyInformation__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetBodyInformation__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetBodyInformation__request = { - "VehicleInfo", - "GetBodyInformation", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_GetBodyInformation, - VehicleInfo__GetBodyInformation__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__GetBodyInformation__response__parameter1 = { - {"bodyInformation", ford_message_descriptions::Struct, true}, - Structs::Common__BodyInformation__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetBodyInformation__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetBodyInformation__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetBodyInformation__response = { - "VehicleInfo", - "GetBodyInformation", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_GetBodyInformation, - VehicleInfo__GetBodyInformation__response__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetDeviceStatus__request__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetDeviceStatus__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetDeviceStatus__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetDeviceStatus__request = { - "VehicleInfo", - "GetDeviceStatus", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_GetDeviceStatus, - VehicleInfo__GetDeviceStatus__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__GetDeviceStatus__response__parameter1 = { - {"deviceStatus", ford_message_descriptions::Struct, true}, - Structs::Common__DeviceStatus__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetDeviceStatus__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetDeviceStatus__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetDeviceStatus__response = { - "VehicleInfo", - "GetDeviceStatus", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_GetDeviceStatus, - VehicleInfo__GetDeviceStatus__response__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetDriverBraking__request__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetDriverBraking__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetDriverBraking__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetDriverBraking__request = { - "VehicleInfo", - "GetDriverBraking", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_GetDriverBraking, - VehicleInfo__GetDriverBraking__request__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetDriverBraking__response__parameter1 = { - "driverBraking", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetDriverBraking__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetDriverBraking__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetDriverBraking__response = { - "VehicleInfo", - "GetDriverBraking", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_GetDriverBraking, - VehicleInfo__GetDriverBraking__response__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetWiperStatus__request__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetWiperStatus__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetWiperStatus__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetWiperStatus__request = { - "VehicleInfo", - "GetWiperStatus", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_GetWiperStatus, - VehicleInfo__GetWiperStatus__request__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetWiperStatus__response__parameter1 = { - "wiperStatus", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetWiperStatus__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetWiperStatus__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetWiperStatus__response = { - "VehicleInfo", - "GetWiperStatus", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_GetWiperStatus, - VehicleInfo__GetWiperStatus__response__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetHeadLampStatus__request__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetHeadLampStatus__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetHeadLampStatus__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetHeadLampStatus__request = { - "VehicleInfo", - "GetHeadLampStatus", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_GetHeadLampStatus, - VehicleInfo__GetHeadLampStatus__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__GetHeadLampStatus__response__parameter1 = { - {"headLampStatus", ford_message_descriptions::Struct, true}, - Structs::Common__HeadLampStatus__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetHeadLampStatus__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetHeadLampStatus__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetHeadLampStatus__response = { - "VehicleInfo", - "GetHeadLampStatus", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_GetHeadLampStatus, - VehicleInfo__GetHeadLampStatus__response__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetEngineTorque__request__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetEngineTorque__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetEngineTorque__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetEngineTorque__request = { - "VehicleInfo", - "GetEngineTorque", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_GetEngineTorque, - VehicleInfo__GetEngineTorque__request__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetEngineTorque__response__parameter1 = { - "engineTorque", ford_message_descriptions::Float, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetEngineTorque__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetEngineTorque__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetEngineTorque__response = { - "VehicleInfo", - "GetEngineTorque", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_GetEngineTorque, - VehicleInfo__GetEngineTorque__response__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetAccPedalPosition__request__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetAccPedalPosition__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetAccPedalPosition__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetAccPedalPosition__request = { - "VehicleInfo", - "GetAccPedalPosition", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_GetAccPedalPosition, - VehicleInfo__GetAccPedalPosition__request__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetAccPedalPosition__response__parameter1 = { - "accPedalPosition", ford_message_descriptions::Float, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetAccPedalPosition__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetAccPedalPosition__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetAccPedalPosition__response = { - "VehicleInfo", - "GetAccPedalPosition", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_GetAccPedalPosition, - VehicleInfo__GetAccPedalPosition__response__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetSteeringWheelAngle__request__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetSteeringWheelAngle__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetSteeringWheelAngle__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetSteeringWheelAngle__request = { - "VehicleInfo", - "GetSteeringWheelAngle", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_GetSteeringWheelAngle, - VehicleInfo__GetSteeringWheelAngle__request__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetSteeringWheelAngle__response__parameter1 = { - "steeringWheelAngle", ford_message_descriptions::Float, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetSteeringWheelAngle__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetSteeringWheelAngle__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetSteeringWheelAngle__response = { - "VehicleInfo", - "GetSteeringWheelAngle", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_GetSteeringWheelAngle, - VehicleInfo__GetSteeringWheelAngle__response__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetECallInfo__request__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetECallInfo__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetECallInfo__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetECallInfo__request = { - "VehicleInfo", - "GetECallInfo", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_GetECallInfo, - VehicleInfo__GetECallInfo__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__GetECallInfo__response__parameter1 = { - {"eCallInfo", ford_message_descriptions::Struct, true}, - Structs::Common__ECallInfo__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetECallInfo__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetECallInfo__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetECallInfo__response = { - "VehicleInfo", - "GetECallInfo", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_GetECallInfo, - VehicleInfo__GetECallInfo__response__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetAirbagStatus__request__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetAirbagStatus__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetAirbagStatus__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetAirbagStatus__request = { - "VehicleInfo", - "GetAirbagStatus", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_GetAirbagStatus, - VehicleInfo__GetAirbagStatus__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__GetAirbagStatus__response__parameter1 = { - {"airbagStatus", ford_message_descriptions::Struct, true}, - Structs::Common__AirbagStatus__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetAirbagStatus__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetAirbagStatus__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetAirbagStatus__response = { - "VehicleInfo", - "GetAirbagStatus", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_GetAirbagStatus, - VehicleInfo__GetAirbagStatus__response__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetEmergencyEvent__request__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetEmergencyEvent__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetEmergencyEvent__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetEmergencyEvent__request = { - "VehicleInfo", - "GetEmergencyEvent", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_GetEmergencyEvent, - VehicleInfo__GetEmergencyEvent__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__GetEmergencyEvent__response__parameter1 = { - {"emergencyEvent", ford_message_descriptions::Struct, true}, - Structs::Common__EmergencyEvent__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetEmergencyEvent__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetEmergencyEvent__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetEmergencyEvent__response = { - "VehicleInfo", - "GetEmergencyEvent", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_GetEmergencyEvent, - VehicleInfo__GetEmergencyEvent__response__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetClusterModeStatus__request__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetClusterModeStatus__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetClusterModeStatus__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetClusterModeStatus__request = { - "VehicleInfo", - "GetClusterModeStatus", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_GetClusterModeStatus, - VehicleInfo__GetClusterModeStatus__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__GetClusterModeStatus__response__parameter1 = { - {"clusterModeStatus", ford_message_descriptions::Struct, true}, - Structs::Common__ClusterModeStatus__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetClusterModeStatus__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetClusterModeStatus__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetClusterModeStatus__response = { - "VehicleInfo", - "GetClusterModeStatus", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_GetClusterModeStatus, - VehicleInfo__GetClusterModeStatus__response__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__GetMyKey__request__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetMyKey__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetMyKey__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetMyKey__request = { - "VehicleInfo", - "GetMyKey", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_GetMyKey, - VehicleInfo__GetMyKey__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__GetMyKey__response__parameter1 = { - {"myKey", ford_message_descriptions::Struct, true}, - Structs::Common__MyKey__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__GetMyKey__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__GetMyKey__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__GetMyKey__response = { - "VehicleInfo", - "GetMyKey", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_GetMyKey, - VehicleInfo__GetMyKey__response__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__OnGpsData__notification__parameter1 = { - {"gps", ford_message_descriptions::Struct, true}, - Structs::Common__GPSData__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__OnGpsData__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnGpsData__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__OnGpsData__notification = { - "VehicleInfo", - "OnGpsData", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::VehicleInfo_OnGpsData, - VehicleInfo__OnGpsData__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__OnSpeed__notification__parameter1 = { - "speed", ford_message_descriptions::Float, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__OnSpeed__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnSpeed__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__OnSpeed__notification = { - "VehicleInfo", - "OnSpeed", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::VehicleInfo_OnSpeed, - VehicleInfo__OnSpeed__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__OnRpm__notification__parameter1 = { - "rpm", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__OnRpm__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnRpm__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__OnRpm__notification = { - "VehicleInfo", - "OnRpm", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::VehicleInfo_OnRpm, - VehicleInfo__OnRpm__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__OnFuelLevel__notification__parameter1 = { - "fuelLevel", ford_message_descriptions::Float, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__OnFuelLevel__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnFuelLevel__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__OnFuelLevel__notification = { - "VehicleInfo", - "OnFuelLevel", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::VehicleInfo_OnFuelLevel, - VehicleInfo__OnFuelLevel__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__OnFuelLevelState__notification__parameter1 = { - "fuelLevel_State", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__OnFuelLevelState__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnFuelLevelState__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__OnFuelLevelState__notification = { - "VehicleInfo", - "OnFuelLevelState", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::VehicleInfo_OnFuelLevelState, - VehicleInfo__OnFuelLevelState__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__OnInstantFuelConsumption__notification__parameter1 = { - "instantFuelConsumption", ford_message_descriptions::Float, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__OnInstantFuelConsumption__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnInstantFuelConsumption__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__OnInstantFuelConsumption__notification = { - "VehicleInfo", - "OnInstantFuelConsumption", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::VehicleInfo_OnInstantFuelConsumption, - VehicleInfo__OnInstantFuelConsumption__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__OnExternalTemperature__notification__parameter1 = { - "externalTemperature", ford_message_descriptions::Float, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__OnExternalTemperature__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnExternalTemperature__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__OnExternalTemperature__notification = { - "VehicleInfo", - "OnExternalTemperature", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::VehicleInfo_OnExternalTemperature, - VehicleInfo__OnExternalTemperature__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__OnVin__notification__parameter1 = { - "vin", ford_message_descriptions::String, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__OnVin__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnVin__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__OnVin__notification = { - "VehicleInfo", - "OnVin", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::VehicleInfo_OnVin, - VehicleInfo__OnVin__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__OnPrndl__notification__parameter1 = { - "prndl", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__OnPrndl__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnPrndl__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__OnPrndl__notification = { - "VehicleInfo", - "OnPrndl", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::VehicleInfo_OnPrndl, - VehicleInfo__OnPrndl__notification__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__OnTirePressure__notification__parameter1 = { - {"tirePressure", ford_message_descriptions::Struct, true}, - Structs::Common__TireStatus__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__OnTirePressure__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnTirePressure__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__OnTirePressure__notification = { - "VehicleInfo", - "OnTirePressure", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::VehicleInfo_OnTirePressure, - VehicleInfo__OnTirePressure__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__OnOdometer__notification__parameter1 = { - "odometer", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__OnOdometer__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnOdometer__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__OnOdometer__notification = { - "VehicleInfo", - "OnOdometer", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::VehicleInfo_OnOdometer, - VehicleInfo__OnOdometer__notification__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__OnBeltStatus__notification__parameter1 = { - {"beltStatus", ford_message_descriptions::Struct, true}, - Structs::Common__BeltStatus__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__OnBeltStatus__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnBeltStatus__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__OnBeltStatus__notification = { - "VehicleInfo", - "OnBeltStatus", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::VehicleInfo_OnBeltStatus, - VehicleInfo__OnBeltStatus__notification__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__OnBodyInformation__notification__parameter1 = { - {"bodyInformation", ford_message_descriptions::Struct, true}, - Structs::Common__BodyInformation__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__OnBodyInformation__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnBodyInformation__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__OnBodyInformation__notification = { - "VehicleInfo", - "OnBodyInformation", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::VehicleInfo_OnBodyInformation, - VehicleInfo__OnBodyInformation__notification__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__OnDeviceStatus__notification__parameter1 = { - {"deviceStatus", ford_message_descriptions::Struct, true}, - Structs::Common__DeviceStatus__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__OnDeviceStatus__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnDeviceStatus__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__OnDeviceStatus__notification = { - "VehicleInfo", - "OnDeviceStatus", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::VehicleInfo_OnDeviceStatus, - VehicleInfo__OnDeviceStatus__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__OnDriverBraking__notification__parameter1 = { - "driverBraking", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__OnDriverBraking__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnDriverBraking__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__OnDriverBraking__notification = { - "VehicleInfo", - "OnDriverBraking", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::VehicleInfo_OnDriverBraking, - VehicleInfo__OnDriverBraking__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__OnWiperStatus__notification__parameter1 = { - "wiperStatus", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__OnWiperStatus__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnWiperStatus__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__OnWiperStatus__notification = { - "VehicleInfo", - "OnWiperStatus", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::VehicleInfo_OnWiperStatus, - VehicleInfo__OnWiperStatus__notification__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__OnHeadLampStatus__notification__parameter1 = { - {"headLampStatus", ford_message_descriptions::Struct, true}, - Structs::Common__HeadLampStatus__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__OnHeadLampStatus__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnHeadLampStatus__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__OnHeadLampStatus__notification = { - "VehicleInfo", - "OnHeadLampStatus", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::VehicleInfo_OnHeadLampStatus, - VehicleInfo__OnHeadLampStatus__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__OnEngineTorque__notification__parameter1 = { - "engineTorque", ford_message_descriptions::Float, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__OnEngineTorque__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnEngineTorque__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__OnEngineTorque__notification = { - "VehicleInfo", - "OnEngineTorque", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::VehicleInfo_OnEngineTorque, - VehicleInfo__OnEngineTorque__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__OnAccPedalPosition__notification__parameter1 = { - "accPedalPosition", ford_message_descriptions::Float, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__OnAccPedalPosition__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnAccPedalPosition__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__OnAccPedalPosition__notification = { - "VehicleInfo", - "OnAccPedalPosition", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::VehicleInfo_OnAccPedalPosition, - VehicleInfo__OnAccPedalPosition__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__OnSteeringWheelAngle__notification__parameter1 = { - "steeringWheelAngle", ford_message_descriptions::Float, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__OnSteeringWheelAngle__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnSteeringWheelAngle__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__OnSteeringWheelAngle__notification = { - "VehicleInfo", - "OnSteeringWheelAngle", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::VehicleInfo_OnSteeringWheelAngle, - VehicleInfo__OnSteeringWheelAngle__notification__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__OnECallInfo__notification__parameter1 = { - {"eCallInfo", ford_message_descriptions::Struct, true}, - Structs::Common__ECallInfo__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__OnECallInfo__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnECallInfo__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__OnECallInfo__notification = { - "VehicleInfo", - "OnECallInfo", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::VehicleInfo_OnECallInfo, - VehicleInfo__OnECallInfo__notification__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__OnAirbagStatus__notification__parameter1 = { - {"airbagStatus", ford_message_descriptions::Struct, true}, - Structs::Common__AirbagStatus__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__OnAirbagStatus__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnAirbagStatus__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__OnAirbagStatus__notification = { - "VehicleInfo", - "OnAirbagStatus", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::VehicleInfo_OnAirbagStatus, - VehicleInfo__OnAirbagStatus__notification__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__OnEmergencyEvent__notification__parameter1 = { - {"emergencyEvent", ford_message_descriptions::Struct, true}, - Structs::Common__EmergencyEvent__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__OnEmergencyEvent__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnEmergencyEvent__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__OnEmergencyEvent__notification = { - "VehicleInfo", - "OnEmergencyEvent", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::VehicleInfo_OnEmergencyEvent, - VehicleInfo__OnEmergencyEvent__notification__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__OnClusterModeStatus__notification__parameter1 = { - {"clusterModeStatus", ford_message_descriptions::Struct, true}, - Structs::Common__ClusterModeStatus__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__OnClusterModeStatus__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnClusterModeStatus__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__OnClusterModeStatus__notification = { - "VehicleInfo", - "OnClusterModeStatus", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::VehicleInfo_OnClusterModeStatus, - VehicleInfo__OnClusterModeStatus__notification__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__OnMyKey__notification__parameter1 = { - {"myKey", ford_message_descriptions::Struct, true}, - Structs::Common__MyKey__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__OnMyKey__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__OnMyKey__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__OnMyKey__notification = { - "VehicleInfo", - "OnMyKey", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::VehicleInfo_OnMyKey, - VehicleInfo__OnMyKey__notification__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeGps__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeGps__request = { - "VehicleInfo", - "SubscribeGps", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_SubscribeGps, - VehicleInfo__SubscribeGps__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeGps__response__parameter1 = { - {"gps", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeGps__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeGps__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeGps__response = { - "VehicleInfo", - "SubscribeGps", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_SubscribeGps, - VehicleInfo__SubscribeGps__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeGps__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeGps__request = { - "VehicleInfo", - "UnsubscribeGps", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeGps, - VehicleInfo__UnsubscribeGps__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeGps__response__parameter1 = { - {"gps", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeGps__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeGps__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeGps__response = { - "VehicleInfo", - "UnsubscribeGps", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeGps, - VehicleInfo__UnsubscribeGps__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeSpeed__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeSpeed__request = { - "VehicleInfo", - "SubscribeSpeed", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_SubscribeSpeed, - VehicleInfo__SubscribeSpeed__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeSpeed__response__parameter1 = { - {"speed", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeSpeed__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeSpeed__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeSpeed__response = { - "VehicleInfo", - "SubscribeSpeed", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_SubscribeSpeed, - VehicleInfo__SubscribeSpeed__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeSpeed__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeSpeed__request = { - "VehicleInfo", - "UnsubscribeSpeed", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeSpeed, - VehicleInfo__UnsubscribeSpeed__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeSpeed__response__parameter1 = { - {"speed", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeSpeed__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeSpeed__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeSpeed__response = { - "VehicleInfo", - "UnsubscribeSpeed", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeSpeed, - VehicleInfo__UnsubscribeSpeed__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeRpm__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeRpm__request = { - "VehicleInfo", - "SubscribeRpm", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_SubscribeRpm, - VehicleInfo__SubscribeRpm__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeRpm__response__parameter1 = { - {"rpm", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeRpm__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeRpm__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeRpm__response = { - "VehicleInfo", - "SubscribeRpm", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_SubscribeRpm, - VehicleInfo__SubscribeRpm__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeRpm__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeRpm__request = { - "VehicleInfo", - "UnsubscribeRpm", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeRpm, - VehicleInfo__UnsubscribeRpm__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeRpm__response__parameter1 = { - {"rpm", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeRpm__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeRpm__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeRpm__response = { - "VehicleInfo", - "UnsubscribeRpm", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeRpm, - VehicleInfo__UnsubscribeRpm__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeFuelLevel__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeFuelLevel__request = { - "VehicleInfo", - "SubscribeFuelLevel", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_SubscribeFuelLevel, - VehicleInfo__SubscribeFuelLevel__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeFuelLevel__response__parameter1 = { - {"fuelLevel", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeFuelLevel__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeFuelLevel__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeFuelLevel__response = { - "VehicleInfo", - "SubscribeFuelLevel", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_SubscribeFuelLevel, - VehicleInfo__SubscribeFuelLevel__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeFuelLevel__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeFuelLevel__request = { - "VehicleInfo", - "UnsubscribeFuelLevel", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeFuelLevel, - VehicleInfo__UnsubscribeFuelLevel__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeFuelLevel__response__parameter1 = { - {"fuelLevel", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeFuelLevel__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeFuelLevel__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeFuelLevel__response = { - "VehicleInfo", - "UnsubscribeFuelLevel", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeFuelLevel, - VehicleInfo__UnsubscribeFuelLevel__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeFuelLevel_State__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeFuelLevel_State__request = { - "VehicleInfo", - "SubscribeFuelLevel_State", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_SubscribeFuelLevel_State, - VehicleInfo__SubscribeFuelLevel_State__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeFuelLevel_State__response__parameter1 = { - {"fuelLevel_State", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeFuelLevel_State__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeFuelLevel_State__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeFuelLevel_State__response = { - "VehicleInfo", - "SubscribeFuelLevel_State", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_SubscribeFuelLevel_State, - VehicleInfo__SubscribeFuelLevel_State__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeFuelLevel_State__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeFuelLevel_State__request = { - "VehicleInfo", - "UnsubscribeFuelLevel_State", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeFuelLevel_State, - VehicleInfo__UnsubscribeFuelLevel_State__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeFuelLevel_State__response__parameter1 = { - {"fuelLevel_State", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeFuelLevel_State__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeFuelLevel_State__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeFuelLevel_State__response = { - "VehicleInfo", - "UnsubscribeFuelLevel_State", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeFuelLevel_State, - VehicleInfo__UnsubscribeFuelLevel_State__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeInstantFuelConsumption__request__parameters[] = { - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeInstantFuelConsumption__request = { - "VehicleInfo", - "SubscribeInstantFuelConsumption", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_SubscribeInstantFuelConsumption, - VehicleInfo__SubscribeInstantFuelConsumption__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeInstantFuelConsumption__response__parameter1 = { - {"instantFuelConsumption", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeInstantFuelConsumption__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeInstantFuelConsumption__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeInstantFuelConsumption__response = { - "VehicleInfo", - "SubscribeInstantFuelConsumption", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_SubscribeInstantFuelConsumption, - VehicleInfo__SubscribeInstantFuelConsumption__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeInstantFuelConsumption__request__parameters[] = { - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeInstantFuelConsumption__request = { - "VehicleInfo", - "UnsubscribeInstantFuelConsumption", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeInstantFuelConsumption, - VehicleInfo__UnsubscribeInstantFuelConsumption__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeInstantFuelConsumption__response__parameter1 = { - {"instantFuelConsumption", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeInstantFuelConsumption__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeInstantFuelConsumption__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeInstantFuelConsumption__response = { - "VehicleInfo", - "UnsubscribeInstantFuelConsumption", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeInstantFuelConsumption, - VehicleInfo__UnsubscribeInstantFuelConsumption__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeExternalTemperature__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeExternalTemperature__request = { - "VehicleInfo", - "SubscribeExternalTemperature", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_SubscribeExternalTemperature, - VehicleInfo__SubscribeExternalTemperature__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeExternalTemperature__response__parameter1 = { - {"externalTemperature", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeExternalTemperature__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeExternalTemperature__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeExternalTemperature__response = { - "VehicleInfo", - "SubscribeExternalTemperature", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_SubscribeExternalTemperature, - VehicleInfo__SubscribeExternalTemperature__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeExternalTemperature__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeExternalTemperature__request = { - "VehicleInfo", - "UnsubscribeExternalTemperature", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeExternalTemperature, - VehicleInfo__UnsubscribeExternalTemperature__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeExternalTemperature__response__parameter1 = { - {"externalTemperature", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeExternalTemperature__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeExternalTemperature__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeExternalTemperature__response = { - "VehicleInfo", - "UnsubscribeExternalTemperature", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeExternalTemperature, - VehicleInfo__UnsubscribeExternalTemperature__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribePrndl__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribePrndl__request = { - "VehicleInfo", - "SubscribePrndl", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_SubscribePrndl, - VehicleInfo__SubscribePrndl__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribePrndl__response__parameter1 = { - {"prndl", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribePrndl__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribePrndl__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribePrndl__response = { - "VehicleInfo", - "SubscribePrndl", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_SubscribePrndl, - VehicleInfo__SubscribePrndl__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribePrndl__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribePrndl__request = { - "VehicleInfo", - "UnsubscribePrndl", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_UnsubscribePrndl, - VehicleInfo__UnsubscribePrndl__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribePrndl__response__parameter1 = { - {"prndl", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribePrndl__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribePrndl__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribePrndl__response = { - "VehicleInfo", - "UnsubscribePrndl", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_UnsubscribePrndl, - VehicleInfo__UnsubscribePrndl__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeVin__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeVin__request = { - "VehicleInfo", - "SubscribeVin", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_SubscribeVin, - VehicleInfo__SubscribeVin__request__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__SubscribeVin__response__parameter1 = { - "vin", ford_message_descriptions::String, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeVin__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeVin__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeVin__response = { - "VehicleInfo", - "SubscribeVin", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_SubscribeVin, - VehicleInfo__SubscribeVin__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeVin__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeVin__request = { - "VehicleInfo", - "UnsubscribeVin", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeVin, - VehicleInfo__UnsubscribeVin__request__parameters}; - -const ford_message_descriptions::ParameterDescription - VehicleInfo__UnsubscribeVin__response__parameter1 = { - "vin", ford_message_descriptions::String, true}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeVin__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeVin__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeVin__response = { - "VehicleInfo", - "UnsubscribeVin", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeVin, - VehicleInfo__UnsubscribeVin__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeTirePressure__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeTirePressure__request = { - "VehicleInfo", - "SubscribeTirePressure", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_SubscribeTirePressure, - VehicleInfo__SubscribeTirePressure__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeTirePressure__response__parameter1 = { - {"tirePressure", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeTirePressure__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeTirePressure__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeTirePressure__response = { - "VehicleInfo", - "SubscribeTirePressure", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_SubscribeTirePressure, - VehicleInfo__SubscribeTirePressure__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeTirePressure__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeTirePressure__request = { - "VehicleInfo", - "UnsubscribeTirePressure", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeTirePressure, - VehicleInfo__UnsubscribeTirePressure__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeTirePressure__response__parameter1 = { - {"tirePressure", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeTirePressure__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeTirePressure__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeTirePressure__response = { - "VehicleInfo", - "UnsubscribeTirePressure", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeTirePressure, - VehicleInfo__UnsubscribeTirePressure__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeOdometer__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeOdometer__request = { - "VehicleInfo", - "SubscribeOdometer", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_SubscribeOdometer, - VehicleInfo__SubscribeOdometer__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeOdometer__response__parameter1 = { - {"odometer", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeOdometer__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeOdometer__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeOdometer__response = { - "VehicleInfo", - "SubscribeOdometer", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_SubscribeOdometer, - VehicleInfo__SubscribeOdometer__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeOdometer__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeOdometer__request = { - "VehicleInfo", - "UnsubscribeOdometer", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeOdometer, - VehicleInfo__UnsubscribeOdometer__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeOdometer__response__parameter1 = { - {"odometer", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeOdometer__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeOdometer__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeOdometer__response = { - "VehicleInfo", - "UnsubscribeOdometer", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeOdometer, - VehicleInfo__UnsubscribeOdometer__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeBeltStatus__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeBeltStatus__request = { - "VehicleInfo", - "SubscribeBeltStatus", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_SubscribeBeltStatus, - VehicleInfo__SubscribeBeltStatus__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeBeltStatus__response__parameter1 = { - {"beltStatus", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeBeltStatus__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeBeltStatus__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeBeltStatus__response = { - "VehicleInfo", - "SubscribeBeltStatus", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_SubscribeBeltStatus, - VehicleInfo__SubscribeBeltStatus__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeBeltStatus__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeBeltStatus__request = { - "VehicleInfo", - "UnsubscribeBeltStatus", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeBeltStatus, - VehicleInfo__UnsubscribeBeltStatus__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeBeltStatus__response__parameter1 = { - {"beltStatus", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeBeltStatus__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeBeltStatus__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeBeltStatus__response = { - "VehicleInfo", - "UnsubscribeBeltStatus", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeBeltStatus, - VehicleInfo__UnsubscribeBeltStatus__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeBodyInformation__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeBodyInformation__request = { - "VehicleInfo", - "SubscribeBodyInformation", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_SubscribeBodyInformation, - VehicleInfo__SubscribeBodyInformation__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeBodyInformation__response__parameter1 = { - {"bodyInformation", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeBodyInformation__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeBodyInformation__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeBodyInformation__response = { - "VehicleInfo", - "SubscribeBodyInformation", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_SubscribeBodyInformation, - VehicleInfo__SubscribeBodyInformation__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeBodyInformation__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeBodyInformation__request = { - "VehicleInfo", - "UnsubscribeBodyInformation", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeBodyInformation, - VehicleInfo__UnsubscribeBodyInformation__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeBodyInformation__response__parameter1 = { - {"bodyInformation", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeBodyInformation__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeBodyInformation__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeBodyInformation__response = { - "VehicleInfo", - "UnsubscribeBodyInformation", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeBodyInformation, - VehicleInfo__UnsubscribeBodyInformation__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeDeviceStatus__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeDeviceStatus__request = { - "VehicleInfo", - "SubscribeDeviceStatus", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_SubscribeDeviceStatus, - VehicleInfo__SubscribeDeviceStatus__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeDeviceStatus__response__parameter1 = { - {"deviceStatus", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeDeviceStatus__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeDeviceStatus__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeDeviceStatus__response = { - "VehicleInfo", - "SubscribeDeviceStatus", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_SubscribeDeviceStatus, - VehicleInfo__SubscribeDeviceStatus__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeDeviceStatus__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeDeviceStatus__request = { - "VehicleInfo", - "UnsubscribeDeviceStatus", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeDeviceStatus, - VehicleInfo__UnsubscribeDeviceStatus__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeDeviceStatus__response__parameter1 = { - {"deviceStatus", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeDeviceStatus__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeDeviceStatus__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeDeviceStatus__response = { - "VehicleInfo", - "UnsubscribeDeviceStatus", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeDeviceStatus, - VehicleInfo__UnsubscribeDeviceStatus__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeDriverBraking__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeDriverBraking__request = { - "VehicleInfo", - "SubscribeDriverBraking", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_SubscribeDriverBraking, - VehicleInfo__SubscribeDriverBraking__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeDriverBraking__response__parameter1 = { - {"driverBraking", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeDriverBraking__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeDriverBraking__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeDriverBraking__response = { - "VehicleInfo", - "SubscribeDriverBraking", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_SubscribeDriverBraking, - VehicleInfo__SubscribeDriverBraking__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeDriverBraking__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeDriverBraking__request = { - "VehicleInfo", - "UnsubscribeDriverBraking", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeDriverBraking, - VehicleInfo__UnsubscribeDriverBraking__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeDriverBraking__response__parameter1 = { - {"driverBraking", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeDriverBraking__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeDriverBraking__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeDriverBraking__response = { - "VehicleInfo", - "UnsubscribeDriverBraking", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeDriverBraking, - VehicleInfo__UnsubscribeDriverBraking__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeWiperStatus__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeWiperStatus__request = { - "VehicleInfo", - "SubscribeWiperStatus", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_SubscribeWiperStatus, - VehicleInfo__SubscribeWiperStatus__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeWiperStatus__response__parameter1 = { - {"wiperStatus", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeWiperStatus__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeWiperStatus__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeWiperStatus__response = { - "VehicleInfo", - "SubscribeWiperStatus", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_SubscribeWiperStatus, - VehicleInfo__SubscribeWiperStatus__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeWiperStatus__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeWiperStatus__request = { - "VehicleInfo", - "UnsubscribeWiperStatus", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeWiperStatus, - VehicleInfo__UnsubscribeWiperStatus__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeWiperStatus__response__parameter1 = { - {"wiperStatus", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeWiperStatus__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeWiperStatus__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeWiperStatus__response = { - "VehicleInfo", - "UnsubscribeWiperStatus", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeWiperStatus, - VehicleInfo__UnsubscribeWiperStatus__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeHeadLampStatus__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeHeadLampStatus__request = { - "VehicleInfo", - "SubscribeHeadLampStatus", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_SubscribeHeadLampStatus, - VehicleInfo__SubscribeHeadLampStatus__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeHeadLampStatus__response__parameter1 = { - {"headLampStatus", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeHeadLampStatus__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeHeadLampStatus__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeHeadLampStatus__response = { - "VehicleInfo", - "SubscribeHeadLampStatus", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_SubscribeHeadLampStatus, - VehicleInfo__SubscribeHeadLampStatus__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeHeadLampStatus__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeHeadLampStatus__request = { - "VehicleInfo", - "UnsubscribeHeadLampStatus", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeHeadLampStatus, - VehicleInfo__UnsubscribeHeadLampStatus__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeHeadLampStatus__response__parameter1 = { - {"headLampStatus", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeHeadLampStatus__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeHeadLampStatus__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeHeadLampStatus__response = { - "VehicleInfo", - "UnsubscribeHeadLampStatus", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeHeadLampStatus, - VehicleInfo__UnsubscribeHeadLampStatus__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeEngineTorque__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeEngineTorque__request = { - "VehicleInfo", - "SubscribeEngineTorque", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_SubscribeEngineTorque, - VehicleInfo__SubscribeEngineTorque__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeEngineTorque__response__parameter1 = { - {"engineTorque", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeEngineTorque__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeEngineTorque__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeEngineTorque__response = { - "VehicleInfo", - "SubscribeEngineTorque", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_SubscribeEngineTorque, - VehicleInfo__SubscribeEngineTorque__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeEngineTorque__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeEngineTorque__request = { - "VehicleInfo", - "UnsubscribeEngineTorque", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeEngineTorque, - VehicleInfo__UnsubscribeEngineTorque__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeEngineTorque__response__parameter1 = { - {"engineTorque", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeEngineTorque__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeEngineTorque__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeEngineTorque__response = { - "VehicleInfo", - "UnsubscribeEngineTorque", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeEngineTorque, - VehicleInfo__UnsubscribeEngineTorque__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeAccPedalPosition__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeAccPedalPosition__request = { - "VehicleInfo", - "SubscribeAccPedalPosition", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_SubscribeAccPedalPosition, - VehicleInfo__SubscribeAccPedalPosition__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeAccPedalPosition__response__parameter1 = { - {"accPedalPosition", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeAccPedalPosition__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeAccPedalPosition__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeAccPedalPosition__response = { - "VehicleInfo", - "SubscribeAccPedalPosition", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_SubscribeAccPedalPosition, - VehicleInfo__SubscribeAccPedalPosition__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeAccPedalPosition__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeAccPedalPosition__request = { - "VehicleInfo", - "UnsubscribeAccPedalPosition", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeAccPedalPosition, - VehicleInfo__UnsubscribeAccPedalPosition__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeAccPedalPosition__response__parameter1 = { - {"accPedalPosition", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeAccPedalPosition__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeAccPedalPosition__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeAccPedalPosition__response = { - "VehicleInfo", - "UnsubscribeAccPedalPosition", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeAccPedalPosition, - VehicleInfo__UnsubscribeAccPedalPosition__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeSteeringWheelAngle__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeSteeringWheelAngle__request = { - "VehicleInfo", - "SubscribeSteeringWheelAngle", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_SubscribeSteeringWheelAngle, - VehicleInfo__SubscribeSteeringWheelAngle__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeSteeringWheelAngle__response__parameter1 = { - {"steeringWheelAngle", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeSteeringWheelAngle__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeSteeringWheelAngle__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeSteeringWheelAngle__response = { - "VehicleInfo", - "SubscribeSteeringWheelAngle", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_SubscribeSteeringWheelAngle, - VehicleInfo__SubscribeSteeringWheelAngle__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeSteeringWheelAngle__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeSteeringWheelAngle__request = { - "VehicleInfo", - "UnsubscribeSteeringWheelAngle", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeSteeringWheelAngle, - VehicleInfo__UnsubscribeSteeringWheelAngle__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeSteeringWheelAngle__response__parameter1 = { - {"steeringWheelAngle", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeSteeringWheelAngle__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeSteeringWheelAngle__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeSteeringWheelAngle__response = { - "VehicleInfo", - "UnsubscribeSteeringWheelAngle", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeSteeringWheelAngle, - VehicleInfo__UnsubscribeSteeringWheelAngle__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeECallInfo__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeECallInfo__request = { - "VehicleInfo", - "SubscribeECallInfo", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_SubscribeECallInfo, - VehicleInfo__SubscribeECallInfo__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeECallInfo__response__parameter1 = { - {"eCallInfo", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeECallInfo__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeECallInfo__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeECallInfo__response = { - "VehicleInfo", - "SubscribeECallInfo", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_SubscribeECallInfo, - VehicleInfo__SubscribeECallInfo__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeECallInfo__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeECallInfo__request = { - "VehicleInfo", - "UnsubscribeECallInfo", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeECallInfo, - VehicleInfo__UnsubscribeECallInfo__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeECallInfo__response__parameter1 = { - {"eCallInfo", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeECallInfo__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeECallInfo__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeECallInfo__response = { - "VehicleInfo", - "UnsubscribeECallInfo", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeECallInfo, - VehicleInfo__UnsubscribeECallInfo__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeAirbagStatus__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeAirbagStatus__request = { - "VehicleInfo", - "SubscribeAirbagStatus", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_SubscribeAirbagStatus, - VehicleInfo__SubscribeAirbagStatus__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeAirbagStatus__response__parameter1 = { - {"airbagStatus", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeAirbagStatus__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeAirbagStatus__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeAirbagStatus__response = { - "VehicleInfo", - "SubscribeAirbagStatus", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_SubscribeAirbagStatus, - VehicleInfo__SubscribeAirbagStatus__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeAirbagStatus__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeAirbagStatus__request = { - "VehicleInfo", - "UnsubscribeAirbagStatus", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeAirbagStatus, - VehicleInfo__UnsubscribeAirbagStatus__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeAirbagStatus__response__parameter1 = { - {"airbagStatus", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeAirbagStatus__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeAirbagStatus__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeAirbagStatus__response = { - "VehicleInfo", - "UnsubscribeAirbagStatus", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeAirbagStatus, - VehicleInfo__UnsubscribeAirbagStatus__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeEmergencyEvent__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeEmergencyEvent__request = { - "VehicleInfo", - "SubscribeEmergencyEvent", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_SubscribeEmergencyEvent, - VehicleInfo__SubscribeEmergencyEvent__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeEmergencyEvent__response__parameter1 = { - {"emergencyEvent", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeEmergencyEvent__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeEmergencyEvent__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeEmergencyEvent__response = { - "VehicleInfo", - "SubscribeEmergencyEvent", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_SubscribeEmergencyEvent, - VehicleInfo__SubscribeEmergencyEvent__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeEmergencyEvent__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeEmergencyEvent__request = { - "VehicleInfo", - "UnsubscribeEmergencyEvent", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeEmergencyEvent, - VehicleInfo__UnsubscribeEmergencyEvent__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeEmergencyEvent__response__parameter1 = { - {"emergencyEvent", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeEmergencyEvent__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeEmergencyEvent__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeEmergencyEvent__response = { - "VehicleInfo", - "UnsubscribeEmergencyEvent", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeEmergencyEvent, - VehicleInfo__UnsubscribeEmergencyEvent__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeClusterModeStatus__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeClusterModeStatus__request = { - "VehicleInfo", - "SubscribeClusterModeStatus", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_SubscribeClusterModeStatus, - VehicleInfo__SubscribeClusterModeStatus__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeClusterModeStatus__response__parameter1 = { - {"clusterModeStatus", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeClusterModeStatus__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeClusterModeStatus__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeClusterModeStatus__response = { - "VehicleInfo", - "SubscribeClusterModeStatus", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_SubscribeClusterModeStatus, - VehicleInfo__SubscribeClusterModeStatus__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeClusterModeStatus__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeClusterModeStatus__request = { - "VehicleInfo", - "UnsubscribeClusterModeStatus", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeClusterModeStatus, - VehicleInfo__UnsubscribeClusterModeStatus__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeClusterModeStatus__response__parameter1 = { - {"clusterModeStatus", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeClusterModeStatus__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeClusterModeStatus__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeClusterModeStatus__response = { - "VehicleInfo", - "UnsubscribeClusterModeStatus", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeClusterModeStatus, - VehicleInfo__UnsubscribeClusterModeStatus__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeMyKey__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeMyKey__request = { - "VehicleInfo", - "SubscribeMyKey", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_SubscribeMyKey, - VehicleInfo__SubscribeMyKey__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__SubscribeMyKey__response__parameter1 = { - {"myKey", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__SubscribeMyKey__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__SubscribeMyKey__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__SubscribeMyKey__response = { - "VehicleInfo", - "SubscribeMyKey", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_SubscribeMyKey, - VehicleInfo__SubscribeMyKey__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeMyKey__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeMyKey__request = { - "VehicleInfo", - "UnsubscribeMyKey", - hmi_apis::messageType::request, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeMyKey, - VehicleInfo__UnsubscribeMyKey__request__parameters}; - -const ford_message_descriptions::StructDescription - VehicleInfo__UnsubscribeMyKey__response__parameter1 = { - {"myKey", ford_message_descriptions::Struct, true}, - Structs::Common__VehicleDataResult__parameters}; -const ford_message_descriptions::ParameterDescription* - VehicleInfo__UnsubscribeMyKey__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&VehicleInfo__UnsubscribeMyKey__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - VehicleInfo__UnsubscribeMyKey__response = { - "VehicleInfo", - "UnsubscribeMyKey", - hmi_apis::messageType::response, - hmi_apis::FunctionID::VehicleInfo_UnsubscribeMyKey, - VehicleInfo__UnsubscribeMyKey__response__parameters}; - -const ford_message_descriptions::ParameterDescription - SDL__ActivateApp__request__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - SDL__ActivateApp__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&SDL__ActivateApp__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription SDL__ActivateApp__request = - {"SDL", - "ActivateApp", - hmi_apis::messageType::request, - hmi_apis::FunctionID::SDL_ActivateApp, - SDL__ActivateApp__request__parameters}; - -const ford_message_descriptions::ParameterDescription - SDL__ActivateApp__response__parameter1 = { - "isSDLAllowed", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::StructDescription - SDL__ActivateApp__response__parameter2 = { - {"device", ford_message_descriptions::Struct, false}, - Structs::Common__DeviceInfo__parameters}; -const ford_message_descriptions::ParameterDescription - SDL__ActivateApp__response__parameter3 = { - "isPermissionsConsentNeeded", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription - SDL__ActivateApp__response__parameter4 = { - "isAppPermissionsRevoked", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::StructDescription - SDL__ActivateApp__response__parameter5_array = { - {"appRevokedPermissions", ford_message_descriptions::Struct, true}, - Structs::Common__PermissionItem__parameters}; -const ford_message_descriptions::ArrayDescription - SDL__ActivateApp__response__parameter5 = { - {"appRevokedPermissions", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&SDL__ActivateApp__response__parameter5_array, - "(si(bb))"}; -const ford_message_descriptions::ParameterDescription - SDL__ActivateApp__response__parameter6 = { - "isAppRevoked", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription - SDL__ActivateApp__response__parameter7 = { - "priority", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription* - SDL__ActivateApp__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&SDL__ActivateApp__response__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&SDL__ActivateApp__response__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&SDL__ActivateApp__response__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&SDL__ActivateApp__response__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&SDL__ActivateApp__response__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&SDL__ActivateApp__response__parameter6, - (const ford_message_descriptions:: - ParameterDescription*)&SDL__ActivateApp__response__parameter7, - NULL}; -const ford_message_descriptions::MessageDescription SDL__ActivateApp__response = - {"SDL", - "ActivateApp", - hmi_apis::messageType::response, - hmi_apis::FunctionID::SDL_ActivateApp, - SDL__ActivateApp__response__parameters}; - -const ford_message_descriptions::ParameterDescription - SDL__GetUserFriendlyMessage__request__parameter1_array = { - "messageCodes", ford_message_descriptions::String, true}; -const ford_message_descriptions::ArrayDescription - SDL__GetUserFriendlyMessage__request__parameter1 = { - {"messageCodes", ford_message_descriptions::Array, true}, - (const ford_message_descriptions:: - ParameterDescription*)&SDL__GetUserFriendlyMessage__request__parameter1_array, - "s"}; -const ford_message_descriptions::ParameterDescription - SDL__GetUserFriendlyMessage__request__parameter2 = { - "language", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription* - SDL__GetUserFriendlyMessage__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&SDL__GetUserFriendlyMessage__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&SDL__GetUserFriendlyMessage__request__parameter2, - NULL}; -const ford_message_descriptions::MessageDescription - SDL__GetUserFriendlyMessage__request = { - "SDL", - "GetUserFriendlyMessage", - hmi_apis::messageType::request, - hmi_apis::FunctionID::SDL_GetUserFriendlyMessage, - SDL__GetUserFriendlyMessage__request__parameters}; - -const ford_message_descriptions::StructDescription - SDL__GetUserFriendlyMessage__response__parameter1_array = { - {"messages", ford_message_descriptions::Struct, true}, - Structs::Common__UserFriendlyMessage__parameters}; -const ford_message_descriptions::ArrayDescription - SDL__GetUserFriendlyMessage__response__parameter1 = { - {"messages", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&SDL__GetUserFriendlyMessage__response__parameter1_array, - "(s(bs)(bs)(bs)(bs)(bs))"}; -const ford_message_descriptions::ParameterDescription* - SDL__GetUserFriendlyMessage__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&SDL__GetUserFriendlyMessage__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - SDL__GetUserFriendlyMessage__response = { - "SDL", - "GetUserFriendlyMessage", - hmi_apis::messageType::response, - hmi_apis::FunctionID::SDL_GetUserFriendlyMessage, - SDL__GetUserFriendlyMessage__response__parameters}; - -const ford_message_descriptions::StructDescription - SDL__OnAllowSDLFunctionality__notification__parameter1 = { - {"device", ford_message_descriptions::Struct, false}, - Structs::Common__DeviceInfo__parameters}; -const ford_message_descriptions::ParameterDescription - SDL__OnAllowSDLFunctionality__notification__parameter2 = { - "allowed", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription - SDL__OnAllowSDLFunctionality__notification__parameter3 = { - "source", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - SDL__OnAllowSDLFunctionality__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&SDL__OnAllowSDLFunctionality__notification__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&SDL__OnAllowSDLFunctionality__notification__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&SDL__OnAllowSDLFunctionality__notification__parameter3, - NULL}; -const ford_message_descriptions::MessageDescription - SDL__OnAllowSDLFunctionality__notification = { - "SDL", - "OnAllowSDLFunctionality", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::SDL_OnAllowSDLFunctionality, - SDL__OnAllowSDLFunctionality__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - SDL__OnReceivedPolicyUpdate__notification__parameter1 = { - "policyfile", ford_message_descriptions::String, true}; -const ford_message_descriptions::ParameterDescription* - SDL__OnReceivedPolicyUpdate__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&SDL__OnReceivedPolicyUpdate__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - SDL__OnReceivedPolicyUpdate__notification = { - "SDL", - "OnReceivedPolicyUpdate", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::SDL_OnReceivedPolicyUpdate, - SDL__OnReceivedPolicyUpdate__notification__parameters}; - -const ford_message_descriptions::ParameterDescription* - SDL__OnPolicyUpdate__notification__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - SDL__OnPolicyUpdate__notification = { - "SDL", - "OnPolicyUpdate", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::SDL_OnPolicyUpdate, - SDL__OnPolicyUpdate__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - SDL__GetListOfPermissions__request__parameter1 = { - "appID", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::ParameterDescription* - SDL__GetListOfPermissions__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&SDL__GetListOfPermissions__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - SDL__GetListOfPermissions__request = { - "SDL", - "GetListOfPermissions", - hmi_apis::messageType::request, - hmi_apis::FunctionID::SDL_GetListOfPermissions, - SDL__GetListOfPermissions__request__parameters}; - -const ford_message_descriptions::StructDescription - SDL__GetListOfPermissions__response__parameter1_array = { - {"allowedFunctions", ford_message_descriptions::Struct, true}, - Structs::Common__PermissionItem__parameters}; -const ford_message_descriptions::ArrayDescription - SDL__GetListOfPermissions__response__parameter1 = { - {"allowedFunctions", ford_message_descriptions::Array, true}, - (const ford_message_descriptions:: - ParameterDescription*)&SDL__GetListOfPermissions__response__parameter1_array, - "(si(bb))"}; -const ford_message_descriptions::ParameterDescription* - SDL__GetListOfPermissions__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&SDL__GetListOfPermissions__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - SDL__GetListOfPermissions__response = { - "SDL", - "GetListOfPermissions", - hmi_apis::messageType::response, - hmi_apis::FunctionID::SDL_GetListOfPermissions, - SDL__GetListOfPermissions__response__parameters}; - -const ford_message_descriptions::ParameterDescription - SDL__OnAppPermissionConsent__notification__parameter1 = { - "appID", ford_message_descriptions::Integer, false}; -const ford_message_descriptions::StructDescription - SDL__OnAppPermissionConsent__notification__parameter2_array = { - {"consentedFunctions", ford_message_descriptions::Struct, true}, - Structs::Common__PermissionItem__parameters}; -const ford_message_descriptions::ArrayDescription - SDL__OnAppPermissionConsent__notification__parameter2 = { - {"consentedFunctions", ford_message_descriptions::Array, true}, - (const ford_message_descriptions:: - ParameterDescription*)&SDL__OnAppPermissionConsent__notification__parameter2_array, - "(si(bb))"}; -const ford_message_descriptions::ParameterDescription - SDL__OnAppPermissionConsent__notification__parameter3 = { - "source", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - SDL__OnAppPermissionConsent__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&SDL__OnAppPermissionConsent__notification__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&SDL__OnAppPermissionConsent__notification__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&SDL__OnAppPermissionConsent__notification__parameter3, - NULL}; -const ford_message_descriptions::MessageDescription - SDL__OnAppPermissionConsent__notification = { - "SDL", - "OnAppPermissionConsent", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::SDL_OnAppPermissionConsent, - SDL__OnAppPermissionConsent__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - SDL__OnAppPermissionChanged__notification__parameter1 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription - SDL__OnAppPermissionChanged__notification__parameter2 = { - "isAppPermissionsRevoked", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::StructDescription - SDL__OnAppPermissionChanged__notification__parameter3_array = { - {"appRevokedPermissions", ford_message_descriptions::Struct, true}, - Structs::Common__PermissionItem__parameters}; -const ford_message_descriptions::ArrayDescription - SDL__OnAppPermissionChanged__notification__parameter3 = { - {"appRevokedPermissions", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&SDL__OnAppPermissionChanged__notification__parameter3_array, - "(si(bb))"}; -const ford_message_descriptions::ParameterDescription - SDL__OnAppPermissionChanged__notification__parameter4 = { - "appRevoked", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - SDL__OnAppPermissionChanged__notification__parameter5 = { - "appPermissionsConsentNeeded", - ford_message_descriptions::Boolean, - false}; -const ford_message_descriptions::ParameterDescription - SDL__OnAppPermissionChanged__notification__parameter6 = { - "appUnauthorized", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - SDL__OnAppPermissionChanged__notification__parameter7 = { - "priority", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription - SDL__OnAppPermissionChanged__notification__parameter8_array = { - "requestType", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ArrayDescription - SDL__OnAppPermissionChanged__notification__parameter8 = { - {"requestType", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&SDL__OnAppPermissionChanged__notification__parameter8_array, - "i"}; -const ford_message_descriptions::ParameterDescription* - SDL__OnAppPermissionChanged__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&SDL__OnAppPermissionChanged__notification__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&SDL__OnAppPermissionChanged__notification__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&SDL__OnAppPermissionChanged__notification__parameter3, - (const ford_message_descriptions:: - ParameterDescription*)&SDL__OnAppPermissionChanged__notification__parameter4, - (const ford_message_descriptions:: - ParameterDescription*)&SDL__OnAppPermissionChanged__notification__parameter5, - (const ford_message_descriptions:: - ParameterDescription*)&SDL__OnAppPermissionChanged__notification__parameter6, - (const ford_message_descriptions:: - ParameterDescription*)&SDL__OnAppPermissionChanged__notification__parameter7, - (const ford_message_descriptions:: - ParameterDescription*)&SDL__OnAppPermissionChanged__notification__parameter8, - NULL}; -const ford_message_descriptions::MessageDescription - SDL__OnAppPermissionChanged__notification = { - "SDL", - "OnAppPermissionChanged", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::SDL_OnAppPermissionChanged, - SDL__OnAppPermissionChanged__notification__parameters}; - -const ford_message_descriptions::StructDescription - SDL__OnSDLConsentNeeded__notification__parameter1 = { - {"device", ford_message_descriptions::Struct, true}, - Structs::Common__DeviceInfo__parameters}; -const ford_message_descriptions::ParameterDescription* - SDL__OnSDLConsentNeeded__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&SDL__OnSDLConsentNeeded__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - SDL__OnSDLConsentNeeded__notification = { - "SDL", - "OnSDLConsentNeeded", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::SDL_OnSDLConsentNeeded, - SDL__OnSDLConsentNeeded__notification__parameters}; - -const ford_message_descriptions::ParameterDescription* - SDL__UpdateSDL__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription SDL__UpdateSDL__request = { - "SDL", - "UpdateSDL", - hmi_apis::messageType::request, - hmi_apis::FunctionID::SDL_UpdateSDL, - SDL__UpdateSDL__request__parameters}; - -const ford_message_descriptions::ParameterDescription - SDL__UpdateSDL__response__parameter1 = { - "result", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - SDL__UpdateSDL__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&SDL__UpdateSDL__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription SDL__UpdateSDL__response = { - "SDL", - "UpdateSDL", - hmi_apis::messageType::response, - hmi_apis::FunctionID::SDL_UpdateSDL, - SDL__UpdateSDL__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - SDL__GetStatusUpdate__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - SDL__GetStatusUpdate__request = {"SDL", - "GetStatusUpdate", - hmi_apis::messageType::request, - hmi_apis::FunctionID::SDL_GetStatusUpdate, - SDL__GetStatusUpdate__request__parameters}; - -const ford_message_descriptions::ParameterDescription - SDL__GetStatusUpdate__response__parameter1 = { - "status", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - SDL__GetStatusUpdate__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&SDL__GetStatusUpdate__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - SDL__GetStatusUpdate__response = { - "SDL", - "GetStatusUpdate", - hmi_apis::messageType::response, - hmi_apis::FunctionID::SDL_GetStatusUpdate, - SDL__GetStatusUpdate__response__parameters}; - -const ford_message_descriptions::ParameterDescription - SDL__OnStatusUpdate__notification__parameter1 = { - "status", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - SDL__OnStatusUpdate__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&SDL__OnStatusUpdate__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - SDL__OnStatusUpdate__notification = { - "SDL", - "OnStatusUpdate", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::SDL_OnStatusUpdate, - SDL__OnStatusUpdate__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - SDL__OnSystemError__notification__parameter1 = { - "error", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - SDL__OnSystemError__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&SDL__OnSystemError__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - SDL__OnSystemError__notification = { - "SDL", - "OnSystemError", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::SDL_OnSystemError, - SDL__OnSystemError__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - SDL__AddStatisticsInfo__notification__parameter1 = { - "statisticType", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription* - SDL__AddStatisticsInfo__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&SDL__AddStatisticsInfo__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - SDL__AddStatisticsInfo__notification = { - "SDL", - "AddStatisticsInfo", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::SDL_AddStatisticsInfo, - SDL__AddStatisticsInfo__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - SDL__GetURLS__request__parameter1 = { - "service", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - SDL__GetURLS__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&SDL__GetURLS__request__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription SDL__GetURLS__request = { - "SDL", - "GetURLS", - hmi_apis::messageType::request, - hmi_apis::FunctionID::SDL_GetURLS, - SDL__GetURLS__request__parameters}; - -const ford_message_descriptions::StructDescription - SDL__GetURLS__response__parameter1_array = { - {"urls", ford_message_descriptions::Struct, true}, - Structs::Common__ServiceInfo__parameters}; -const ford_message_descriptions::ArrayDescription - SDL__GetURLS__response__parameter1 = { - {"urls", ford_message_descriptions::Array, false}, - (const ford_message_descriptions:: - ParameterDescription*)&SDL__GetURLS__response__parameter1_array, - "(s(bs))"}; -const ford_message_descriptions::ParameterDescription* - SDL__GetURLS__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&SDL__GetURLS__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription SDL__GetURLS__response = { - "SDL", - "GetURLS", - hmi_apis::messageType::response, - hmi_apis::FunctionID::SDL_GetURLS, - SDL__GetURLS__response__parameters}; - -const ford_message_descriptions::ParameterDescription - SDL__OnDeviceStateChanged__notification__parameter1 = { - "deviceState", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - SDL__OnDeviceStateChanged__notification__parameter2 = { - "deviceInternalId", ford_message_descriptions::String, true}; -const ford_message_descriptions::StructDescription - SDL__OnDeviceStateChanged__notification__parameter3 = { - {"deviceId", ford_message_descriptions::Struct, false}, - Structs::Common__DeviceInfo__parameters}; -const ford_message_descriptions::ParameterDescription* - SDL__OnDeviceStateChanged__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&SDL__OnDeviceStateChanged__notification__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&SDL__OnDeviceStateChanged__notification__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&SDL__OnDeviceStateChanged__notification__parameter3, - NULL}; -const ford_message_descriptions::MessageDescription - SDL__OnDeviceStateChanged__notification = { - "SDL", - "OnDeviceStateChanged", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::SDL_OnDeviceStateChanged, - SDL__OnDeviceStateChanged__notification__parameters}; - -const ford_message_descriptions::ParameterDescription* - RC__IsReady__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription RC__IsReady__request = { - "RC", - "IsReady", - hmi_apis::messageType::request, - hmi_apis::FunctionID::RC_IsReady, - RC__IsReady__request__parameters}; - -const ford_message_descriptions::ParameterDescription - RC__IsReady__response__parameter1 = { - "available", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription* - RC__IsReady__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&RC__IsReady__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription RC__IsReady__response = { - "RC", - "IsReady", - hmi_apis::messageType::response, - hmi_apis::FunctionID::RC_IsReady, - RC__IsReady__response__parameters}; - -const ford_message_descriptions::ParameterDescription* - RC__GetCapabilities__request__parameters[] = {NULL}; -const ford_message_descriptions::MessageDescription - RC__GetCapabilities__request = {"RC", - "GetCapabilities", - hmi_apis::messageType::request, - hmi_apis::FunctionID::RC_GetCapabilities, - RC__GetCapabilities__request__parameters}; - -const ford_message_descriptions::StructDescription - RC__GetCapabilities__response__parameter1 = { - {"remoteControlCapability", ford_message_descriptions::Struct, false}, - Structs::Common__RemoteControlCapabilities__parameters}; -const ford_message_descriptions::ParameterDescription* - RC__GetCapabilities__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&RC__GetCapabilities__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - RC__GetCapabilities__response = {"RC", - "GetCapabilities", - hmi_apis::messageType::response, - hmi_apis::FunctionID::RC_GetCapabilities, - RC__GetCapabilities__response__parameters}; - -const ford_message_descriptions::StructDescription - RC__SetInteriorVehicleData__request__parameter1 = { - {"moduleData", ford_message_descriptions::Struct, true}, - Structs::Common__ModuleData__parameters}; -const ford_message_descriptions::ParameterDescription - RC__SetInteriorVehicleData__request__parameter2 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - RC__SetInteriorVehicleData__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&RC__SetInteriorVehicleData__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&RC__SetInteriorVehicleData__request__parameter2, - NULL}; -const ford_message_descriptions::MessageDescription - RC__SetInteriorVehicleData__request = { - "RC", - "SetInteriorVehicleData", - hmi_apis::messageType::request, - hmi_apis::FunctionID::RC_SetInteriorVehicleData, - RC__SetInteriorVehicleData__request__parameters}; - -const ford_message_descriptions::StructDescription - RC__SetInteriorVehicleData__response__parameter1 = { - {"moduleData", ford_message_descriptions::Struct, true}, - Structs::Common__ModuleData__parameters}; -const ford_message_descriptions::ParameterDescription* - RC__SetInteriorVehicleData__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&RC__SetInteriorVehicleData__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - RC__SetInteriorVehicleData__response = { - "RC", - "SetInteriorVehicleData", - hmi_apis::messageType::response, - hmi_apis::FunctionID::RC_SetInteriorVehicleData, - RC__SetInteriorVehicleData__response__parameters}; - -const ford_message_descriptions::ParameterDescription - RC__GetInteriorVehicleData__request__parameter1 = { - "moduleType", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - RC__GetInteriorVehicleData__request__parameter2 = { - "subscribe", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - RC__GetInteriorVehicleData__request__parameter3 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - RC__GetInteriorVehicleData__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&RC__GetInteriorVehicleData__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&RC__GetInteriorVehicleData__request__parameter2, - (const ford_message_descriptions:: - ParameterDescription*)&RC__GetInteriorVehicleData__request__parameter3, - NULL}; -const ford_message_descriptions::MessageDescription - RC__GetInteriorVehicleData__request = { - "RC", - "GetInteriorVehicleData", - hmi_apis::messageType::request, - hmi_apis::FunctionID::RC_GetInteriorVehicleData, - RC__GetInteriorVehicleData__request__parameters}; - -const ford_message_descriptions::StructDescription - RC__GetInteriorVehicleData__response__parameter1 = { - {"moduleData", ford_message_descriptions::Struct, true}, - Structs::Common__ModuleData__parameters}; -const ford_message_descriptions::ParameterDescription - RC__GetInteriorVehicleData__response__parameter2 = { - "isSubscribed", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription* - RC__GetInteriorVehicleData__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&RC__GetInteriorVehicleData__response__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&RC__GetInteriorVehicleData__response__parameter2, - NULL}; -const ford_message_descriptions::MessageDescription - RC__GetInteriorVehicleData__response = { - "RC", - "GetInteriorVehicleData", - hmi_apis::messageType::response, - hmi_apis::FunctionID::RC_GetInteriorVehicleData, - RC__GetInteriorVehicleData__response__parameters}; - -const ford_message_descriptions::ParameterDescription - RC__GetInteriorVehicleDataConsent__request__parameter1 = { - "moduleType", ford_message_descriptions::Enum, true}; -const ford_message_descriptions::ParameterDescription - RC__GetInteriorVehicleDataConsent__request__parameter2 = { - "appID", ford_message_descriptions::Integer, true}; -const ford_message_descriptions::ParameterDescription* - RC__GetInteriorVehicleDataConsent__request__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&RC__GetInteriorVehicleDataConsent__request__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&RC__GetInteriorVehicleDataConsent__request__parameter2, - NULL}; -const ford_message_descriptions::MessageDescription - RC__GetInteriorVehicleDataConsent__request = { - "RC", - "GetInteriorVehicleDataConsent", - hmi_apis::messageType::request, - hmi_apis::FunctionID::RC_GetInteriorVehicleDataConsent, - RC__GetInteriorVehicleDataConsent__request__parameters}; - -const ford_message_descriptions::ParameterDescription - RC__GetInteriorVehicleDataConsent__response__parameter1 = { - "allowed", ford_message_descriptions::Boolean, true}; -const ford_message_descriptions::ParameterDescription* - RC__GetInteriorVehicleDataConsent__response__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&RC__GetInteriorVehicleDataConsent__response__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - RC__GetInteriorVehicleDataConsent__response = { - "RC", - "GetInteriorVehicleDataConsent", - hmi_apis::messageType::response, - hmi_apis::FunctionID::RC_GetInteriorVehicleDataConsent, - RC__GetInteriorVehicleDataConsent__response__parameters}; - -const ford_message_descriptions::StructDescription - RC__OnInteriorVehicleData__notification__parameter1 = { - {"moduleData", ford_message_descriptions::Struct, true}, - Structs::Common__ModuleData__parameters}; -const ford_message_descriptions::ParameterDescription* - RC__OnInteriorVehicleData__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&RC__OnInteriorVehicleData__notification__parameter1, - NULL}; -const ford_message_descriptions::MessageDescription - RC__OnInteriorVehicleData__notification = { - "RC", - "OnInteriorVehicleData", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::RC_OnInteriorVehicleData, - RC__OnInteriorVehicleData__notification__parameters}; - -const ford_message_descriptions::ParameterDescription - RC__OnRemoteControlSettings__notification__parameter1 = { - "allowed", ford_message_descriptions::Boolean, false}; -const ford_message_descriptions::ParameterDescription - RC__OnRemoteControlSettings__notification__parameter2 = { - "accessMode", ford_message_descriptions::Enum, false}; -const ford_message_descriptions::ParameterDescription* - RC__OnRemoteControlSettings__notification__parameters[] = { - (const ford_message_descriptions:: - ParameterDescription*)&RC__OnRemoteControlSettings__notification__parameter1, - (const ford_message_descriptions:: - ParameterDescription*)&RC__OnRemoteControlSettings__notification__parameter2, - NULL}; -const ford_message_descriptions::MessageDescription - RC__OnRemoteControlSettings__notification = { - "RC", - "OnRemoteControlSettings", - hmi_apis::messageType::notification, - hmi_apis::FunctionID::RC_OnRemoteControlSettings, - RC__OnRemoteControlSettings__notification__parameters}; -} - -namespace ford_message_descriptions { - -const MessageDescription* message_descriptions[] = { - &Buttons__GetCapabilities__request, - &Buttons__GetCapabilities__response, - &Buttons__OnButtonEvent__notification, - &Buttons__OnButtonPress__notification, - &Buttons__OnButtonSubscription__notification, - &BasicCommunication__OnReady__notification, - &BasicCommunication__OnStartDeviceDiscovery__notification, - &BasicCommunication__OnUpdateDeviceList__notification, - &BasicCommunication__OnPhoneCall__notification, - &BasicCommunication__OnEmergencyEvent__notification, - &BasicCommunication__OnResumeAudioSource__notification, - &BasicCommunication__OnSDLPersistenceComplete__notification, - &BasicCommunication__UpdateAppList__request, - &BasicCommunication__UpdateAppList__response, - &BasicCommunication__UpdateDeviceList__request, - &BasicCommunication__UpdateDeviceList__response, - &BasicCommunication__OnFileRemoved__notification, - &BasicCommunication__AllowDeviceToConnect__request, - &BasicCommunication__AllowDeviceToConnect__response, - &BasicCommunication__OnDeviceChosen__notification, - &BasicCommunication__OnFindApplications__notification, - &BasicCommunication__ActivateApp__request, - &BasicCommunication__ActivateApp__response, - &BasicCommunication__OnAppActivated__notification, - &BasicCommunication__OnAppDeactivated__notification, - &BasicCommunication__OnAppRegistered__notification, - &BasicCommunication__OnAppUnregistered__notification, - &BasicCommunication__OnExitApplication__notification, - &BasicCommunication__OnExitAllApplications__notification, - &BasicCommunication__OnAwakeSDL__notification, - &BasicCommunication__MixingAudioSupported__request, - &BasicCommunication__MixingAudioSupported__response, - &BasicCommunication__PlayTone__notification, - &BasicCommunication__DialNumber__request, - &BasicCommunication__DialNumber__response, - &BasicCommunication__OnSystemRequest__notification, - &BasicCommunication__SystemRequest__request, - &BasicCommunication__SystemRequest__response, - &BasicCommunication__PolicyUpdate__request, - &BasicCommunication__PolicyUpdate__response, - &BasicCommunication__OnSDLClose__notification, - &BasicCommunication__OnPutFile__notification, - &BasicCommunication__GetSystemInfo__request, - &BasicCommunication__GetSystemInfo__response, - &BasicCommunication__OnSystemInfoChanged__notification, - &BasicCommunication__OnIgnitionCycleOver__notification, - &BasicCommunication__DecryptCertificate__request, - &BasicCommunication__DecryptCertificate__response, - &BasicCommunication__OnEventChanged__notification, - &VR__IsReady__request, - &VR__IsReady__response, - &VR__Started__notification, - &VR__Stopped__notification, - &VR__AddCommand__request, - &VR__AddCommand__response, - &VR__DeleteCommand__request, - &VR__DeleteCommand__response, - &VR__PerformInteraction__request, - &VR__PerformInteraction__response, - &VR__OnCommand__notification, - &VR__ChangeRegistration__request, - &VR__ChangeRegistration__response, - &VR__OnLanguageChange__notification, - &VR__GetSupportedLanguages__request, - &VR__GetSupportedLanguages__response, - &VR__GetLanguage__request, - &VR__GetLanguage__response, - &VR__GetCapabilities__request, - &VR__GetCapabilities__response, - &TTS__GetCapabilities__request, - &TTS__GetCapabilities__response, - &TTS__Started__notification, - &TTS__Stopped__notification, - &TTS__IsReady__request, - &TTS__IsReady__response, - &TTS__Speak__request, - &TTS__Speak__response, - &TTS__StopSpeaking__request, - &TTS__StopSpeaking__response, - &TTS__ChangeRegistration__request, - &TTS__ChangeRegistration__response, - &TTS__OnLanguageChange__notification, - &TTS__GetSupportedLanguages__request, - &TTS__GetSupportedLanguages__response, - &TTS__GetLanguage__request, - &TTS__GetLanguage__response, - &TTS__SetGlobalProperties__request, - &TTS__SetGlobalProperties__response, - &TTS__OnResetTimeout__notification, - &UI__Alert__request, - &UI__Alert__response, - &UI__Show__request, - &UI__Show__response, - &UI__AddCommand__request, - &UI__AddCommand__response, - &UI__DeleteCommand__request, - &UI__DeleteCommand__response, - &UI__AddSubMenu__request, - &UI__AddSubMenu__response, - &UI__DeleteSubMenu__request, - &UI__DeleteSubMenu__response, - &UI__PerformInteraction__request, - &UI__PerformInteraction__response, - &UI__SetMediaClockTimer__request, - &UI__SetMediaClockTimer__response, - &UI__SetGlobalProperties__request, - &UI__SetGlobalProperties__response, - &UI__OnCommand__notification, - &UI__OnSystemContext__notification, - &UI__GetCapabilities__request, - &UI__GetCapabilities__response, - &UI__ChangeRegistration__request, - &UI__ChangeRegistration__response, - &UI__OnLanguageChange__notification, - &UI__GetSupportedLanguages__request, - &UI__GetSupportedLanguages__response, - &UI__GetLanguage__request, - &UI__GetLanguage__response, - &UI__OnDriverDistraction__notification, - &UI__SetAppIcon__request, - &UI__SetAppIcon__response, - &UI__SetDisplayLayout__request, - &UI__SetDisplayLayout__response, - &UI__ShowCustomForm__request, - &UI__ShowCustomForm__response, - &UI__OnKeyboardInput__notification, - &UI__OnTouchEvent__notification, - &UI__Slider__request, - &UI__Slider__response, - &UI__ScrollableMessage__request, - &UI__ScrollableMessage__response, - &UI__PerformAudioPassThru__request, - &UI__PerformAudioPassThru__response, - &UI__EndAudioPassThru__request, - &UI__EndAudioPassThru__response, - &UI__IsReady__request, - &UI__IsReady__response, - &UI__ClosePopUp__request, - &UI__ClosePopUp__response, - &UI__OnResetTimeout__notification, - &UI__OnRecordStart__notification, - &UI__SendHapticData__request, - &UI__SendHapticData__response, - &Navigation__IsReady__request, - &Navigation__IsReady__response, - &Navigation__SendLocation__request, - &Navigation__SendLocation__response, - &Navigation__DialNumber__request, - &Navigation__DialNumber__response, - &Navigation__ShowConstantTBT__request, - &Navigation__ShowConstantTBT__response, - &Navigation__AlertManeuver__request, - &Navigation__AlertManeuver__response, - &Navigation__UpdateTurnList__request, - &Navigation__UpdateTurnList__response, - &Navigation__OnTBTClientState__notification, - &Navigation__SetVideoConfig__request, - &Navigation__SetVideoConfig__response, - &Navigation__StartStream__request, - &Navigation__StartStream__response, - &Navigation__StopStream__request, - &Navigation__StopStream__response, - &Navigation__StartAudioStream__request, - &Navigation__StartAudioStream__response, - &Navigation__StopAudioStream__request, - &Navigation__StopAudioStream__response, - &Navigation__OnAudioDataStreaming__notification, - &Navigation__OnVideoDataStreaming__notification, - &Navigation__GetWayPoints__request, - &Navigation__GetWayPoints__response, - &Navigation__OnWayPointChange__notification, - &Navigation__SubscribeWayPoints__request, - &Navigation__SubscribeWayPoints__response, - &Navigation__UnsubscribeWayPoints__request, - &Navigation__UnsubscribeWayPoints__response, - &VehicleInfo__IsReady__request, - &VehicleInfo__IsReady__response, - &VehicleInfo__GetVehicleType__request, - &VehicleInfo__GetVehicleType__response, - &VehicleInfo__ReadDID__request, - &VehicleInfo__ReadDID__response, - &VehicleInfo__GetDTCs__request, - &VehicleInfo__GetDTCs__response, - &VehicleInfo__DiagnosticMessage__request, - &VehicleInfo__DiagnosticMessage__response, - &VehicleInfo__SubscribeVehicleData__request, - &VehicleInfo__SubscribeVehicleData__response, - &VehicleInfo__UnsubscribeVehicleData__request, - &VehicleInfo__UnsubscribeVehicleData__response, - &VehicleInfo__GetVehicleData__request, - &VehicleInfo__GetVehicleData__response, - &VehicleInfo__OnVehicleData__notification, - &VehicleInfo__GetGpsData__request, - &VehicleInfo__GetGpsData__response, - &VehicleInfo__GetSpeed__request, - &VehicleInfo__GetSpeed__response, - &VehicleInfo__GetRpm__request, - &VehicleInfo__GetRpm__response, - &VehicleInfo__GetFuelLevel__request, - &VehicleInfo__GetFuelLevel__response, - &VehicleInfo__GetFuelLevelState__request, - &VehicleInfo__GetFuelLevelState__response, - &VehicleInfo__GetInstantFuelConsumption__request, - &VehicleInfo__GetInstantFuelConsumption__response, - &VehicleInfo__GetExternalTemperature__request, - &VehicleInfo__GetExternalTemperature__response, - &VehicleInfo__GetVin__request, - &VehicleInfo__GetVin__response, - &VehicleInfo__GetPrndl__request, - &VehicleInfo__GetPrndl__response, - &VehicleInfo__GetTirePressure__request, - &VehicleInfo__GetTirePressure__response, - &VehicleInfo__GetOdometer__request, - &VehicleInfo__GetOdometer__response, - &VehicleInfo__GetBeltStatus__request, - &VehicleInfo__GetBeltStatus__response, - &VehicleInfo__GetBodyInformation__request, - &VehicleInfo__GetBodyInformation__response, - &VehicleInfo__GetDeviceStatus__request, - &VehicleInfo__GetDeviceStatus__response, - &VehicleInfo__GetDriverBraking__request, - &VehicleInfo__GetDriverBraking__response, - &VehicleInfo__GetWiperStatus__request, - &VehicleInfo__GetWiperStatus__response, - &VehicleInfo__GetHeadLampStatus__request, - &VehicleInfo__GetHeadLampStatus__response, - &VehicleInfo__GetEngineTorque__request, - &VehicleInfo__GetEngineTorque__response, - &VehicleInfo__GetAccPedalPosition__request, - &VehicleInfo__GetAccPedalPosition__response, - &VehicleInfo__GetSteeringWheelAngle__request, - &VehicleInfo__GetSteeringWheelAngle__response, - &VehicleInfo__GetECallInfo__request, - &VehicleInfo__GetECallInfo__response, - &VehicleInfo__GetAirbagStatus__request, - &VehicleInfo__GetAirbagStatus__response, - &VehicleInfo__GetEmergencyEvent__request, - &VehicleInfo__GetEmergencyEvent__response, - &VehicleInfo__GetClusterModeStatus__request, - &VehicleInfo__GetClusterModeStatus__response, - &VehicleInfo__GetMyKey__request, - &VehicleInfo__GetMyKey__response, - &VehicleInfo__OnGpsData__notification, - &VehicleInfo__OnSpeed__notification, - &VehicleInfo__OnRpm__notification, - &VehicleInfo__OnFuelLevel__notification, - &VehicleInfo__OnFuelLevelState__notification, - &VehicleInfo__OnInstantFuelConsumption__notification, - &VehicleInfo__OnExternalTemperature__notification, - &VehicleInfo__OnVin__notification, - &VehicleInfo__OnPrndl__notification, - &VehicleInfo__OnTirePressure__notification, - &VehicleInfo__OnOdometer__notification, - &VehicleInfo__OnBeltStatus__notification, - &VehicleInfo__OnBodyInformation__notification, - &VehicleInfo__OnDeviceStatus__notification, - &VehicleInfo__OnDriverBraking__notification, - &VehicleInfo__OnWiperStatus__notification, - &VehicleInfo__OnHeadLampStatus__notification, - &VehicleInfo__OnEngineTorque__notification, - &VehicleInfo__OnAccPedalPosition__notification, - &VehicleInfo__OnSteeringWheelAngle__notification, - &VehicleInfo__OnECallInfo__notification, - &VehicleInfo__OnAirbagStatus__notification, - &VehicleInfo__OnEmergencyEvent__notification, - &VehicleInfo__OnClusterModeStatus__notification, - &VehicleInfo__OnMyKey__notification, - &VehicleInfo__SubscribeGps__request, - &VehicleInfo__SubscribeGps__response, - &VehicleInfo__UnsubscribeGps__request, - &VehicleInfo__UnsubscribeGps__response, - &VehicleInfo__SubscribeSpeed__request, - &VehicleInfo__SubscribeSpeed__response, - &VehicleInfo__UnsubscribeSpeed__request, - &VehicleInfo__UnsubscribeSpeed__response, - &VehicleInfo__SubscribeRpm__request, - &VehicleInfo__SubscribeRpm__response, - &VehicleInfo__UnsubscribeRpm__request, - &VehicleInfo__UnsubscribeRpm__response, - &VehicleInfo__SubscribeFuelLevel__request, - &VehicleInfo__SubscribeFuelLevel__response, - &VehicleInfo__UnsubscribeFuelLevel__request, - &VehicleInfo__UnsubscribeFuelLevel__response, - &VehicleInfo__SubscribeFuelLevel_State__request, - &VehicleInfo__SubscribeFuelLevel_State__response, - &VehicleInfo__UnsubscribeFuelLevel_State__request, - &VehicleInfo__UnsubscribeFuelLevel_State__response, - &VehicleInfo__SubscribeInstantFuelConsumption__request, - &VehicleInfo__SubscribeInstantFuelConsumption__response, - &VehicleInfo__UnsubscribeInstantFuelConsumption__request, - &VehicleInfo__UnsubscribeInstantFuelConsumption__response, - &VehicleInfo__SubscribeExternalTemperature__request, - &VehicleInfo__SubscribeExternalTemperature__response, - &VehicleInfo__UnsubscribeExternalTemperature__request, - &VehicleInfo__UnsubscribeExternalTemperature__response, - &VehicleInfo__SubscribePrndl__request, - &VehicleInfo__SubscribePrndl__response, - &VehicleInfo__UnsubscribePrndl__request, - &VehicleInfo__UnsubscribePrndl__response, - &VehicleInfo__SubscribeVin__request, - &VehicleInfo__SubscribeVin__response, - &VehicleInfo__UnsubscribeVin__request, - &VehicleInfo__UnsubscribeVin__response, - &VehicleInfo__SubscribeTirePressure__request, - &VehicleInfo__SubscribeTirePressure__response, - &VehicleInfo__UnsubscribeTirePressure__request, - &VehicleInfo__UnsubscribeTirePressure__response, - &VehicleInfo__SubscribeOdometer__request, - &VehicleInfo__SubscribeOdometer__response, - &VehicleInfo__UnsubscribeOdometer__request, - &VehicleInfo__UnsubscribeOdometer__response, - &VehicleInfo__SubscribeBeltStatus__request, - &VehicleInfo__SubscribeBeltStatus__response, - &VehicleInfo__UnsubscribeBeltStatus__request, - &VehicleInfo__UnsubscribeBeltStatus__response, - &VehicleInfo__SubscribeBodyInformation__request, - &VehicleInfo__SubscribeBodyInformation__response, - &VehicleInfo__UnsubscribeBodyInformation__request, - &VehicleInfo__UnsubscribeBodyInformation__response, - &VehicleInfo__SubscribeDeviceStatus__request, - &VehicleInfo__SubscribeDeviceStatus__response, - &VehicleInfo__UnsubscribeDeviceStatus__request, - &VehicleInfo__UnsubscribeDeviceStatus__response, - &VehicleInfo__SubscribeDriverBraking__request, - &VehicleInfo__SubscribeDriverBraking__response, - &VehicleInfo__UnsubscribeDriverBraking__request, - &VehicleInfo__UnsubscribeDriverBraking__response, - &VehicleInfo__SubscribeWiperStatus__request, - &VehicleInfo__SubscribeWiperStatus__response, - &VehicleInfo__UnsubscribeWiperStatus__request, - &VehicleInfo__UnsubscribeWiperStatus__response, - &VehicleInfo__SubscribeHeadLampStatus__request, - &VehicleInfo__SubscribeHeadLampStatus__response, - &VehicleInfo__UnsubscribeHeadLampStatus__request, - &VehicleInfo__UnsubscribeHeadLampStatus__response, - &VehicleInfo__SubscribeEngineTorque__request, - &VehicleInfo__SubscribeEngineTorque__response, - &VehicleInfo__UnsubscribeEngineTorque__request, - &VehicleInfo__UnsubscribeEngineTorque__response, - &VehicleInfo__SubscribeAccPedalPosition__request, - &VehicleInfo__SubscribeAccPedalPosition__response, - &VehicleInfo__UnsubscribeAccPedalPosition__request, - &VehicleInfo__UnsubscribeAccPedalPosition__response, - &VehicleInfo__SubscribeSteeringWheelAngle__request, - &VehicleInfo__SubscribeSteeringWheelAngle__response, - &VehicleInfo__UnsubscribeSteeringWheelAngle__request, - &VehicleInfo__UnsubscribeSteeringWheelAngle__response, - &VehicleInfo__SubscribeECallInfo__request, - &VehicleInfo__SubscribeECallInfo__response, - &VehicleInfo__UnsubscribeECallInfo__request, - &VehicleInfo__UnsubscribeECallInfo__response, - &VehicleInfo__SubscribeAirbagStatus__request, - &VehicleInfo__SubscribeAirbagStatus__response, - &VehicleInfo__UnsubscribeAirbagStatus__request, - &VehicleInfo__UnsubscribeAirbagStatus__response, - &VehicleInfo__SubscribeEmergencyEvent__request, - &VehicleInfo__SubscribeEmergencyEvent__response, - &VehicleInfo__UnsubscribeEmergencyEvent__request, - &VehicleInfo__UnsubscribeEmergencyEvent__response, - &VehicleInfo__SubscribeClusterModeStatus__request, - &VehicleInfo__SubscribeClusterModeStatus__response, - &VehicleInfo__UnsubscribeClusterModeStatus__request, - &VehicleInfo__UnsubscribeClusterModeStatus__response, - &VehicleInfo__SubscribeMyKey__request, - &VehicleInfo__SubscribeMyKey__response, - &VehicleInfo__UnsubscribeMyKey__request, - &VehicleInfo__UnsubscribeMyKey__response, - &SDL__ActivateApp__request, - &SDL__ActivateApp__response, - &SDL__GetUserFriendlyMessage__request, - &SDL__GetUserFriendlyMessage__response, - &SDL__OnAllowSDLFunctionality__notification, - &SDL__OnReceivedPolicyUpdate__notification, - &SDL__OnPolicyUpdate__notification, - &SDL__GetListOfPermissions__request, - &SDL__GetListOfPermissions__response, - &SDL__OnAppPermissionConsent__notification, - &SDL__OnAppPermissionChanged__notification, - &SDL__OnSDLConsentNeeded__notification, - &SDL__UpdateSDL__request, - &SDL__UpdateSDL__response, - &SDL__GetStatusUpdate__request, - &SDL__GetStatusUpdate__response, - &SDL__OnStatusUpdate__notification, - &SDL__OnSystemError__notification, - &SDL__AddStatisticsInfo__notification, - &SDL__GetURLS__request, - &SDL__GetURLS__response, - &SDL__OnDeviceStateChanged__notification, - &RC__IsReady__request, - &RC__IsReady__response, - &RC__GetCapabilities__request, - &RC__GetCapabilities__response, - &RC__SetInteriorVehicleData__request, - &RC__SetInteriorVehicleData__response, - &RC__GetInteriorVehicleData__request, - &RC__GetInteriorVehicleData__response, - &RC__GetInteriorVehicleDataConsent__request, - &RC__GetInteriorVehicleDataConsent__response, - &RC__OnInteriorVehicleData__notification, - &RC__OnRemoteControlSettings__notification, - NULL}; -} diff --git a/src/components/dbus/src/schema.cc b/src/components/dbus/src/schema.cc deleted file mode 100644 index 3107d9ce6c..0000000000 --- a/src/components/dbus/src/schema.cc +++ /dev/null @@ -1,145 +0,0 @@ -/* - * Copyright (c) 2013, Ford Motor Company - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following - * disclaimer in the documentation and/or other materials provided with the - * distribution. - * - * Neither the name of the Ford Motor Company nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ -#include "dbus/schema.h" - -#include <algorithm> -#include <functional> - -namespace dbus { - -struct Description { - MessageId id; - MessageName name; - MessageType type; - ListArgs args; -}; - -struct IsId : public std::unary_function<const Description*, bool> { - explicit IsId(MessageId id) : id_(id) {} - bool operator()(const Description* desc) { - return desc->id == id_; - } - - private: - MessageId id_; -}; - -struct IsName : public std::unary_function<const Description*, bool> { - explicit IsName(const MessageName& name) : name_(name) {} - bool operator()(const Description* desc) { - return desc->name == name_; - } - - private: - MessageName name_; -}; - -struct IsIdType : public std::unary_function<const Description*, bool> { - explicit IsIdType(const MessageId& id, const MessageType& type) - : id_(id), type_(type) {} - bool operator()(const Description* desc) { - return desc->id == id_ && desc->type == type_; - } - - private: - MessageId id_; - MessageType type_; -}; - -struct IsNameType : public std::unary_function<const Description*, bool> { - explicit IsNameType(const MessageName& name, const MessageType& type) - : name_(name), type_(type) {} - bool operator()(const Description* desc) { - return desc->name == name_ && desc->type == type_; - } - - private: - MessageName name_; - MessageType type_; -}; - -DBusSchema::DBusSchema(const MessageDescription** array) { - const MessageDescription** msg = array; - while (*msg != NULL) { - Description* desc = new Description(); - desc->id = (*msg)->function_id; - desc->name = std::make_pair((*msg)->interface, (*msg)->name); - desc->type = (*msg)->message_type; - const ParameterDescription** param; - param = (*msg)->parameters; - while (*param != NULL) { - desc->args.push_back(*param); - param++; - } - msgs_.push_back(desc); - msg++; - } -} - -MessageName DBusSchema::getMessageName(MessageId id) const { - Messages::const_iterator it = - std::find_if(msgs_.begin(), msgs_.end(), IsId(id)); - if (msgs_.end() != it) { - return (*it)->name; - } - return MessageName(); -} - -MessageId DBusSchema::getMessageId(const MessageName& name) const { - Messages::const_iterator it = - std::find_if(msgs_.begin(), msgs_.end(), IsName(name)); - if (msgs_.end() != it) { - return (*it)->id; - } - return hmi_apis::FunctionID::eType::INVALID_ENUM; -} - -ListArgs DBusSchema::getListArgs(MessageId id, MessageType type) const { - Messages::const_iterator it = - std::find_if(msgs_.begin(), msgs_.end(), IsIdType(id, type)); - if (msgs_.end() != it) { - return (*it)->args; - } - return ListArgs(); -} - -ListArgs DBusSchema::getListArgs(const MessageName& name, - MessageType type) const { - Messages::const_iterator it = - std::find_if(msgs_.begin(), msgs_.end(), IsNameType(name, type)); - if (msgs_.end() != it) { - return (*it)->args; - } - return ListArgs(); -} - -} // namespace dbus_schema diff --git a/src/components/dbus/test/CMakeLists.txt b/src/components/dbus/test/CMakeLists.txt deleted file mode 100644 index 914bd2ca84..0000000000 --- a/src/components/dbus/test/CMakeLists.txt +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright (c) 2014, Ford Motor Company -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the -# distribution. -# -# Neither the name of the Ford Motor Company nor the names of its contributors -# may be used to endorse or promote products derived from this software -# without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. - -include(${CMAKE_SOURCE_DIR}/tools/cmake/helpers/sources.cmake) - -include_directories ( - ${GMOCK_INCLUDE_DIRECTORY} - ${COMPONENTS_DIR}/dbus/include/ - ${COMPONENTS_DIR}/dbus/test/include/ -) - -#FIXME: exclude some tests -set (EXCLUDE_PATHS - dbus_message_controller_test.cc -) - -collect_sources(SOURCES "${CMAKE_CURRENT_SOURCE_DIR}" ${EXCLUDE_PATHS}) - -set (LIBRARIES - gmock - DBus - formatters - SmartObjects -) - -create_test(test_DBus_test "${SOURCES}" "${LIBRARIES}") diff --git a/src/components/dbus/test/dbus_adapter_test.cc b/src/components/dbus/test/dbus_adapter_test.cc deleted file mode 100644 index 74a6de1aa9..0000000000 --- a/src/components/dbus/test/dbus_adapter_test.cc +++ /dev/null @@ -1,59 +0,0 @@ -/* - * \file test_dbus_adapter.cc - * \brief - * - * Copyright (c) 2013, Ford Motor Company - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following - * disclaimer in the documentation and/or other materials provided with the - * distribution. - * - * Neither the name of the Ford Motor Company nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -#include <gtest/gtest.h> -#include "dbus/dbus_adapter.h" - -using ::dbus::DBusAdapter; - -namespace test { -namespace components { -namespace dbus { - -class DBusAdapterTest : public ::testing::Test {}; - -TEST_F(DBusAdapterTest, Initialization) { - const std::string kSdlServiceName = "test.ford.sdl.core"; - const std::string kSdlObjectPath = "/"; - const std::string kHmiServiceName = "test.ford.sdl.hmi"; - const std::string kHmiObjectPath = "/"; - ::dbus::DBusAdapter adapter( - kSdlServiceName, kSdlObjectPath, kHmiServiceName, kHmiObjectPath); - EXPECT_TRUE(adapter.Init()); -} - -} // namespace dbus -} // namespace components -} // namespace test diff --git a/src/components/dbus/test/dbus_message_controller_test.cc b/src/components/dbus/test/dbus_message_controller_test.cc deleted file mode 100644 index c06e144f9b..0000000000 --- a/src/components/dbus/test/dbus_message_controller_test.cc +++ /dev/null @@ -1,116 +0,0 @@ -/* - * \file test_dbus_adapter.cc - * \brief - * - * Copyright (c) 2013, Ford Motor Company - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following - * disclaimer in the documentation and/or other materials provided with the - * distribution. - * - * Neither the name of the Ford Motor Company nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -#include <pthread.h> -#include <gtest/gtest.h> -#include <gmock/gmock.h> -#include "dbus/mock_dbus_message_controller.h" -#include "dbus/mock_subscriber.h" - -using ::testing::_; - -namespace test { -namespace components { -namespace dbus { - -ACTION_P(SignalTest, test) { - if (test->thread_id != pthread_self()) { - pthread_mutex_lock(&test->test_mutex); - pthread_cond_signal(&test->test_cond); - pthread_mutex_unlock(&test->test_mutex); - } else { - test->one_thread = true; - } -} - -class DBusMessageControllerTest : public ::testing::Test { - public: - volatile bool one_thread; - pthread_t thread_id; - static pthread_mutex_t test_mutex; - static pthread_cond_t test_cond; - - protected: - MockDBusMessageController* controller_; - MockSubscriber* subscriber_; - - static void SetUpTestCase() {} - - static void TearDownTestCase() {} - - virtual void SetUp() { - const std::string kService = "sdl.core.test_api"; - const std::string kPath = "/dbus_test"; - controller_ = new MockDBusMessageController(kService, kPath); - subscriber_ = new MockSubscriber(kService, kPath); - ASSERT_TRUE(controller_->Init()); - ASSERT_TRUE(subscriber_->Start()); - } - - void TearDown() OVERRIDE { - delete controller_; - delete subscriber_; - } - - bool waitCond(int seconds) { - if (one_thread) - return true; - timespec elapsed; - clock_gettime(CLOCK_REALTIME, &elapsed); - elapsed.tv_sec += seconds; - return pthread_cond_timedwait(&test_cond, &test_mutex, &elapsed) != - ETIMEDOUT; - } -}; - -pthread_mutex_t DBusMessageControllerTest::test_mutex; -pthread_cond_t DBusMessageControllerTest::test_cond; - -TEST_F(DBusMessageControllerTest, Receive) { - std::string text = "Test message for call method DBus"; - EXPECT_CALL(*controller_, Recv(text)).Times(1).WillOnce(SignalTest(this)); - subscriber_->Send(text); - EXPECT_TRUE(waitCond(1)); -} - -TEST_F(DBusMessageControllerTest, DISABLED_Send) { - const std::string kText = "Test message for signal DBus"; - // EXPECT_CALL(*subscriber_, Receive(kText)).Times(1); - controller_->Send(kText); -} - -} // namespace dbus -} // namespace components -} // namespace test diff --git a/src/components/dbus/test/include/dbus/mock_dbus_message_controller.h b/src/components/dbus/test/include/dbus/mock_dbus_message_controller.h deleted file mode 100644 index 30410a6c7e..0000000000 --- a/src/components/dbus/test/include/dbus/mock_dbus_message_controller.h +++ /dev/null @@ -1,75 +0,0 @@ -/* -* Copyright (c) 2014, Ford Motor Company -* All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions are met: -* -* Redistributions of source code must retain the above copyright notice, this -* list of conditions and the following disclaimer. -* -* Redistributions in binary form must reproduce the above copyright notice, -* this list of conditions and the following -* disclaimer in the documentation and/or other materials provided with the -* distribution. -* -* Neither the name of the Ford Motor Company nor the names of its contributors -* may be used to endorse or promote products derived from this software -* without specific prior written permission. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -* POSSIBILITY OF SUCH DAMAGE. -*/ - -#ifndef SRC_COMPONENTS_DBUS_TEST_INCLUDE_DBUS_MOCK_DBUS_MESSAGE_CONTROLLER_H_ -#define SRC_COMPONENTS_DBUS_TEST_INCLUDE_DBUS_MOCK_DBUS_MESSAGE_CONTROLLER_H_ - -#include <pthread.h> -#include "dbus/dbus_message_controller.h" - -namespace test { -namespace components { -namespace dbus_test { - -class MockDBusMessageController : public ::dbus::DBusMessageController { - public: - MOCK_METHOD1(Recv, void(std::string&)); - - MockDBusMessageController(const std::string& serviceName, - const std::string& path) - : DBusMessageController(serviceName, path), thread_() {} - - virtual void processResponse(std::string method, Json::Value& root) {} - virtual void processRequest(Json::Value& root) {} - virtual void processNotification(Json::Value& root) {} - - bool Init() { - return ::hmi_message_handler::DBusMessageController::Init() && - pthread_create(&thread_, 0, &Run, this) == 0; - } - - private: - pthread_t thread_; - static void* Run(void* data) { - if (NULL != data) { - static_cast<MockDBusMessageController*>(data) - ->MethodForReceiverThread(nullptr); - } - return 0; - } -}; - -} // namespace dbus_test -} // namespace components -} // namespace test - -#endif // SRC_COMPONENTS_DBUS_TEST_INCLUDE_DBUS_MOCK_DBUS_MESSAGE_CONTROLLER_H_ diff --git a/src/components/dbus/test/include/dbus/mock_subscriber.h b/src/components/dbus/test/include/dbus/mock_subscriber.h deleted file mode 100644 index b2a369e371..0000000000 --- a/src/components/dbus/test/include/dbus/mock_subscriber.h +++ /dev/null @@ -1,62 +0,0 @@ -/* -* Copyright (c) 2014, Ford Motor Company -* All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions are met: -* -* Redistributions of source code must retain the above copyright notice, this -* list of conditions and the following disclaimer. -* -* Redistributions in binary form must reproduce the above copyright notice, -* this list of conditions and the following -* disclaimer in the documentation and/or other materials provided with the -* distribution. -* -* Neither the name of the Ford Motor Company nor the names of its contributors -* may be used to endorse or promote products derived from this software -* without specific prior written permission. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -* POSSIBILITY OF SUCH DAMAGE. -*/ - -#ifndef SRC_COMPONENTS_DBUS_TEST_INCLUDE_DBUS_MOCK_SUBSCRIBER_H_ -#define SRC_COMPONENTS_DBUS_TEST_INCLUDE_DBUS_MOCK_SUBSCRIBER_H_ - -#include <string> - -struct DBusConnection; - -namespace test { -namespace components { -namespace dbus { - -class MockSubscriber { - public: - MockSubscriber(const std::string nameService, const std::string path); - virtual ~MockSubscriber(); - virtual void Receive(); - bool Start(); - void Send(const std::string& message); - - private: - std::string nameService_; - std::string path_; - DBusConnection* conn_; -}; - -} // namespace dbus -} // namespace components -} // namespace test - -#endif // SRC_COMPONENTS_DBUS_TEST_INCLUDE_DBUS_MOCK_SUBSCRIBER_H_ diff --git a/src/components/dbus/test/mock_subscriber.cc b/src/components/dbus/test/mock_subscriber.cc deleted file mode 100644 index 2c5dccaa50..0000000000 --- a/src/components/dbus/test/mock_subscriber.cc +++ /dev/null @@ -1,71 +0,0 @@ -/** -* Copyright (c) 2014, Ford Motor Company -* All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions are met: -* -* Redistributions of source code must retain the above copyright notice, this -* list of conditions and the following disclaimer. -* -* Redistributions in binary form must reproduce the above copyright notice, -* this list of conditions and the following -* disclaimer in the documentation and/or other materials provided with the -* distribution. -* -* Neither the name of the Ford Motor Company nor the names of its contributors -* may be used to endorse or promote products derived from this software -* without specific prior written permission. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -* POSSIBILITY OF SUCH DAMAGE. -*/ - -#include "dbus/dbus.h" -#include "dbus/mock_subscriber.h" - -namespace test { -namespace components { -namespace dbus { - -MockSubscriber::MockSubscriber(const std::string nameService, - const std::string path) - : nameService_(nameService), path_(path), conn_(NULL) {} - -MockSubscriber::~MockSubscriber() {} - -void MockSubscriber::Receive() {} - -bool MockSubscriber::Start() { - DBusError err; - dbus_error_init(&err); - conn_ = dbus_bus_get(DBUS_BUS_SESSION, &err); - if (dbus_error_is_set(&err)) { - dbus_error_free(&err); - return false; - } - - std::string rule = "type='signal',interface='" + nameService_ + "'"; - dbus_bus_add_match(conn_, rule.c_str(), &err); - dbus_connection_flush(conn_); - if (dbus_error_is_set(&err)) { - dbus_error_free(&err); - return false; - } - return true; -} - -void MockSubscriber::Send(const std::string& message) {} - -} // namespace dbus -} // namespace components -} // namespace test diff --git a/src/components/dbus/test/schema_test.cc b/src/components/dbus/test/schema_test.cc deleted file mode 100644 index 37831279b9..0000000000 --- a/src/components/dbus/test/schema_test.cc +++ /dev/null @@ -1,118 +0,0 @@ -/* - * \file test_schema.cc - * \brief - * - * Copyright (c) 2013, Ford Motor Company - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following - * disclaimer in the documentation and/or other materials provided with the - * distribution. - * - * Neither the name of the Ford Motor Company nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -#include <gtest/gtest.h> -#include "dbus/schema.h" - -using dbus::DBusSchema; -using dbus::MessageId; -using dbus::MessageName; -using dbus::MessageType; -using dbus::ListArgs; -using ford_message_descriptions::ParameterDescription; - -namespace test { -namespace components { -namespace dbus { - -class DBusSchemaTest : public ::testing::Test { - protected: - static void SetUpTestCase() { - schema_ = new DBusSchema(ford_message_descriptions::message_descriptions); - } - - static void TearDownTestCase() { - delete schema_; - } - - static const DBusSchema* schema_; - static const int test_negative_value = -3; -}; - -const DBusSchema* DBusSchemaTest::schema_ = 0; - -TEST_F(DBusSchemaTest, GetName) { - const MessageId kId = hmi_apis::FunctionID::Buttons_GetCapabilities; - const MessageName kExpName("Buttons", "GetCapabilities"); - MessageName name = schema_->getMessageName(kId); - EXPECT_EQ(kExpName, name); - - const MessageId kIdWrong = static_cast<const MessageId>(test_negative_value); - const MessageName kExpNameWrong("", ""); - name = schema_->getMessageName(kIdWrong); - EXPECT_EQ(kExpNameWrong, name); -} - -TEST_F(DBusSchemaTest, GetId) { - const MessageName kName("Buttons", "GetCapabilities"); - const MessageId kExpId = hmi_apis::FunctionID::Buttons_GetCapabilities; - MessageId id = schema_->getMessageId(kName); - EXPECT_EQ(kExpId, id); - - const MessageName kNameWrong("TestInterface", "TestMessage"); - const MessageId kExpIdWrong = hmi_apis::FunctionID::INVALID_ENUM; - id = schema_->getMessageId(kNameWrong); - EXPECT_EQ(kExpIdWrong, id); -} - -TEST_F(DBusSchemaTest, GetListArg) { - const MessageName kName("Buttons", "GetCapabilities"); - const MessageType kType = hmi_apis::messageType::response; - const MessageId kId = hmi_apis::FunctionID::Buttons_GetCapabilities; - ListArgs argsName = schema_->getListArgs(kName, kType); - const ParameterDescription** params = - ford_message_descriptions::message_descriptions[1]->parameters; - EXPECT_EQ(params[0], argsName[0]); - EXPECT_EQ(params[1], argsName[1]); - - ListArgs argsId = schema_->getListArgs(kId, kType); - EXPECT_EQ(params[0], argsId[0]); - EXPECT_EQ(params[1], argsId[1]); - - const MessageId kIdWrong = static_cast<const MessageId>(test_negative_value); - const MessageName kNameWrong("TestInterface", "TestMessage"); - const MessageType kTypeWrong = - static_cast<const MessageType>(test_negative_value); - const ListArgs kExpListWrong; - argsName = schema_->getListArgs(kNameWrong, kTypeWrong); - EXPECT_EQ(kExpListWrong, argsName); - - argsId = schema_->getListArgs(kIdWrong, kTypeWrong); - EXPECT_EQ(kExpListWrong, argsId); -} - -} // namespace dbus -} // namespace components -} // namespace test diff --git a/src/components/hmi_message_handler/CMakeLists.txt b/src/components/hmi_message_handler/CMakeLists.txt index 9fb233b446..8fafee1ac5 100644 --- a/src/components/hmi_message_handler/CMakeLists.txt +++ b/src/components/hmi_message_handler/CMakeLists.txt @@ -43,7 +43,6 @@ include_directories ( ${MESSAGE_BROKER_INCLUDE_DIRECTORY} ${COMPONENTS_DIR} ${CMAKE_BINARY_DIR}/src/components/ - ${COMPONENTS_DIR}/dbus/include/ ${CMAKE_SOURCE_DIR}/ ${LOG4CXX_INCLUDE_DIRECTORY} ${COMPONENTS_DIR}/hmi_message_handler/include @@ -56,14 +55,6 @@ set(PATHS ${CMAKE_CURRENT_SOURCE_DIR}/src ) -if (HMIADAPTER STREQUAL "dbus") - set(EXCLUDE_PATHS messagebroker_adapter.cc) - set(DBUS_ADAPTER DBus) -else() - set(EXCLUDE_PATHS dbus_message_adapter.cc) - set(DBUS_ADAPTER) -endif () - list(APPEND EXCLUDE_PATHS mqueue_adapter.cc ) @@ -72,7 +63,6 @@ collect_sources(SOURCES "${PATHS}" "${EXCLUDE_PATHS}") set(LIBRARIES Utils - ${DBUS_ADAPTER} ${RTLIB} ) diff --git a/src/components/hmi_message_handler/include/hmi_message_handler/dbus_message_adapter.h b/src/components/hmi_message_handler/include/hmi_message_handler/dbus_message_adapter.h deleted file mode 100644 index beb7a9ad1d..0000000000 --- a/src/components/hmi_message_handler/include/hmi_message_handler/dbus_message_adapter.h +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright (c) 2013, Ford Motor Company - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following - * disclaimer in the documentation and/or other materials provided with the - * distribution. - * - * Neither the name of the Ford Motor Company nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -#ifndef SRC_COMPONENTS_HMI_MESSAGE_HANDLER_INCLUDE_HMI_MESSAGE_HANDLER_DBUS_MESSAGE_ADAPTER_H_ -#define SRC_COMPONENTS_HMI_MESSAGE_HANDLER_INCLUDE_HMI_MESSAGE_HANDLER_DBUS_MESSAGE_ADAPTER_H_ - -#include <string> -#include "hmi_message_handler/hmi_message_adapter_impl.h" -#include "dbus/dbus_message_controller.h" -#include "smart_objects/smart_object.h" - -namespace hmi_message_handler { - -/** - * \brief adapter for DBus - */ -class DBusMessageAdapter : public HMIMessageAdapterImpl, - public dbus::DBusMessageController { - public: - typedef utils::SharedPtr<application_manager::Message> MessageSharedPointer; - explicit DBusMessageAdapter(HMIMessageHandler* hmi_msg_handler); - ~DBusMessageAdapter(); - void SendMessageToHMI(MessageSharedPointer message); - - /** - * \brief subscribes to signals - */ - void SubscribeTo(); - - private: - static const std::string SDL_SERVICE_NAME; - static const std::string SDL_OBJECT_PATH; - static const std::string HMI_SERVICE_NAME; - static const std::string HMI_OBJECT_PATH; - - /** - * \brief sends request to HMI - * \param obj request - */ - void Request(const smart_objects::SmartObject& obj); - - /** - * \brief sends notification to HMI - * \param obj notification - */ - void Notification(const smart_objects::SmartObject& obj); - - /** - * \brief sends response to HMI - * \param obj response - */ - void Response(const smart_objects::SmartObject& obj); - - /** - * \brief sends error response to HMI - * \param obj error - */ - void ErrorResponse(const smart_objects::SmartObject& obj); - - /** - * \brief sends message to core - * \param obj - */ - void SendMessageToCore(const smart_objects::SmartObject& obj); -}; - -} // namespace hmi_message_handler - -#endif // SRC_COMPONENTS_HMI_MESSAGE_HANDLER_INCLUDE_HMI_MESSAGE_HANDLER_DBUS_MESSAGE_ADAPTER_H_ diff --git a/src/components/hmi_message_handler/src/dbus_message_adapter.cc b/src/components/hmi_message_handler/src/dbus_message_adapter.cc deleted file mode 100644 index 5b0b11e557..0000000000 --- a/src/components/hmi_message_handler/src/dbus_message_adapter.cc +++ /dev/null @@ -1,223 +0,0 @@ -/* - * Copyright (c) 2013, Ford Motor Company - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following - * disclaimer in the documentation and/or other materials provided with the - * distribution. - * - * Neither the name of the Ford Motor Company nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -#include "hmi_message_handler/dbus_message_adapter.h" -#include <sstream> -#include "utils/logger.h" -#include "formatters/CSmartFactory.h" -#include "smart_objects/smart_object.h" - -namespace sos = NsSmartDeviceLink::NsJSONHandler::strings; - -namespace hmi_message_handler { - -CREATE_LOGGERPTR_GLOBAL(logger_, "HMIMessageHandler") - -const std::string DBusMessageAdapter::SDL_SERVICE_NAME = "com.ford.sdl.core"; -const std::string DBusMessageAdapter::SDL_OBJECT_PATH = "/"; -const std::string DBusMessageAdapter::HMI_SERVICE_NAME = "com.ford.sdl.hmi"; -const std::string DBusMessageAdapter::HMI_OBJECT_PATH = "/"; - -std::vector<std::string>& split(const std::string& s, - char delim, - std::vector<std::string>& elems) { - std::stringstream ss(s); - std::string item; - while (std::getline(ss, item, delim)) { - elems.push_back(item); - } - return elems; -} - -DBusMessageAdapter::DBusMessageAdapter(HMIMessageHandler* hmi_msg_handler) - : HMIMessageAdapterImpl(hmi_msg_handler) - , DBusMessageController(SDL_SERVICE_NAME, - SDL_OBJECT_PATH, - HMI_SERVICE_NAME, - HMI_OBJECT_PATH) { - LOG4CXX_INFO(logger_, "Created DBusMessageAdapter"); -} - -DBusMessageAdapter::~DBusMessageAdapter() {} - -void DBusMessageAdapter::SendMessageToHMI(MessageSharedPointer message) { - LOG4CXX_INFO(logger_, "DBusMessageAdapter::sendMessageToHMI"); - - const smart_objects::SmartObject& smart = message->smart_object(); - switch (smart[sos::S_PARAMS][sos::S_MESSAGE_TYPE].asInt()) { - case hmi_apis::messageType::request: - Request(smart); - break; - case hmi_apis::messageType::notification: - Notification(smart); - break; - case hmi_apis::messageType::response: - Response(smart); - break; - case hmi_apis::messageType::error_response: - ErrorResponse(smart); - break; - case hmi_apis::messageType::INVALID_ENUM: - default: - LOG4CXX_WARN(logger_, "Message type is invalid"); - } -} - -void DBusMessageAdapter::SubscribeTo() { - LOG4CXX_INFO(logger_, "DBusMessageAdapter::subscribeTo"); - DBusMessageController::SubscribeTo("Buttons", "OnButtonEvent"); - DBusMessageController::SubscribeTo("Buttons", "OnButtonPress"); - DBusMessageController::SubscribeTo("UI", "OnCommand"); - DBusMessageController::SubscribeTo("UI", "OnDriverDistraction"); - DBusMessageController::SubscribeTo("UI", "OnSystemContext"); - DBusMessageController::SubscribeTo("UI", "OnLanguageChange"); - DBusMessageController::SubscribeTo("UI", "OnKeyboardInput"); - DBusMessageController::SubscribeTo("UI", "OnTouchEvent"); - DBusMessageController::SubscribeTo("UI", "OnResetTimeout"); - DBusMessageController::SubscribeTo("TTS", "OnResetTimeout"); - DBusMessageController::SubscribeTo("VR", "Started"); - DBusMessageController::SubscribeTo("VR", "Stopped"); - DBusMessageController::SubscribeTo("VR", "OnCommand"); - DBusMessageController::SubscribeTo("VR", "OnLanguageChange"); - DBusMessageController::SubscribeTo("BasicCommunication", "OnReady"); - DBusMessageController::SubscribeTo("BasicCommunication", "OnAppDeactivated"); - DBusMessageController::SubscribeTo("BasicCommunication", - "OnStartDeviceDiscovery"); - DBusMessageController::SubscribeTo("BasicCommunication", - "OnUpdateDeviceList"); - DBusMessageController::SubscribeTo("BasicCommunication", - "OnFindApplications"); - DBusMessageController::SubscribeTo("BasicCommunication", "OnAppActivated"); - DBusMessageController::SubscribeTo("BasicCommunication", "OnExitApplication"); - DBusMessageController::SubscribeTo("BasicCommunication", - "OnExitAllApplications"); - DBusMessageController::SubscribeTo("BasicCommunication", "OnDeviceChosen"); - DBusMessageController::SubscribeTo("BasicCommunication", - "OnIgnitionCycleOver"); - DBusMessageController::SubscribeTo("BasicCommunication", "OnSystemRequest"); - DBusMessageController::SubscribeTo("BasicCommunication", - "OnSystemInfoChanged"); - DBusMessageController::SubscribeTo("TTS", "Started"); - DBusMessageController::SubscribeTo("TTS", "Stopped"); - DBusMessageController::SubscribeTo("TTS", "OnLanguageChange"); - DBusMessageController::SubscribeTo("VehicleInfo", "OnGpsData"); - DBusMessageController::SubscribeTo("VehicleInfo", "OnSpeed"); - DBusMessageController::SubscribeTo("VehicleInfo", "OnRpm"); - DBusMessageController::SubscribeTo("VehicleInfo", "OnFuelLevel"); - DBusMessageController::SubscribeTo("VehicleInfo", "OnFuelLevelState"); - DBusMessageController::SubscribeTo("VehicleInfo", "OnInstantFuelConsumption"); - DBusMessageController::SubscribeTo("VehicleInfo", "OnExternalTemperature"); - DBusMessageController::SubscribeTo("VehicleInfo", "OnVin"); - DBusMessageController::SubscribeTo("VehicleInfo", "OnPrndl"); - DBusMessageController::SubscribeTo("VehicleInfo", "OnTirePressure"); - DBusMessageController::SubscribeTo("VehicleInfo", "OnOdometer"); - DBusMessageController::SubscribeTo("VehicleInfo", "OnBeltStatus"); - DBusMessageController::SubscribeTo("VehicleInfo", "OnBodyInformation"); - DBusMessageController::SubscribeTo("VehicleInfo", "OnDeviceStatus"); - DBusMessageController::SubscribeTo("VehicleInfo", "OnDriverBraking"); - DBusMessageController::SubscribeTo("VehicleInfo", "OnWiperStatus"); - DBusMessageController::SubscribeTo("VehicleInfo", "OnHeadLampStatus"); - DBusMessageController::SubscribeTo("VehicleInfo", "OnEngineTorque"); - DBusMessageController::SubscribeTo("VehicleInfo", "OnAccPedalPosition"); - DBusMessageController::SubscribeTo("VehicleInfo", "OnSteeringWheelAngle"); - DBusMessageController::SubscribeTo("VehicleInfo", "OnMyKey"); - DBusMessageController::SubscribeTo("Navigation", "OnTBTClientState"); - DBusMessageController::SubscribeTo("Navigation", "OnWayPointChange"); - DBusMessageController::SubscribeTo("SDL", "OnAllowSDLFunctionality"); - DBusMessageController::SubscribeTo("SDL", "OnReceivedPolicyUpdate"); - DBusMessageController::SubscribeTo("SDL", "OnPolicyUpdate"); - DBusMessageController::SubscribeTo("SDL", "OnAppPermissionConsent"); - DBusMessageController::SubscribeTo("SDL", "OnSystemError"); - DBusMessageController::SubscribeTo("SDL", "AddStatisticsInfo"); - DBusMessageController::SubscribeTo("SDL", "OnDeviceStateChanged"); - - LOG4CXX_INFO(logger_, "Subscribed to notifications."); -} - -void DBusMessageAdapter::SendMessageToCore( - const smart_objects::SmartObject& obj) { - LOG4CXX_AUTO_TRACE(logger_); - - if (!handler()) { - LOG4CXX_WARN(logger_, "DBusMessageAdapter hasn't handler"); - return; - } - - MessageSharedPointer message = new application_manager::Message( - protocol_handler::MessagePriority::kDefault); // todo: ykazakov constant - // is a temp solution to - // finish - // merge - // MessagePriority::FromServiceType(message.servicetype) - // shall be used instead - message->set_protocol_version( - protocol_handler::MajorProtocolVersion::PROTOCOL_VERSION_HMI); - message->set_smart_object(obj); - handler()->OnMessageReceived(message); - LOG4CXX_INFO(logger_, "Successfully sent to observer"); -} - -void DBusMessageAdapter::Request(const smart_objects::SmartObject& obj) { - LOG4CXX_AUTO_TRACE(logger_); - dbus::MessageId func_id = static_cast<dbus::MessageId>( - obj[sos::S_PARAMS][sos::S_FUNCTION_ID].asInt()); - dbus::MessageName name = get_schema().getMessageName(func_id); - uint id = obj[sos::S_PARAMS][sos::S_CORRELATION_ID].asInt(); - MethodCall(id, func_id, name, obj[sos::S_MSG_PARAMS]); -} - -void DBusMessageAdapter::Notification(const smart_objects::SmartObject& obj) { - LOG4CXX_AUTO_TRACE(logger_); - dbus::MessageId func_id = static_cast<dbus::MessageId>( - obj[sos::S_PARAMS][sos::S_FUNCTION_ID].asInt()); - dbus::MessageName name = get_schema().getMessageName(func_id); - Signal(func_id, name, obj[sos::S_MSG_PARAMS]); -} - -void DBusMessageAdapter::Response(const smart_objects::SmartObject& obj) { - LOG4CXX_AUTO_TRACE(logger_); - dbus::MessageId func_id = static_cast<dbus::MessageId>( - obj[sos::S_PARAMS][sos::S_FUNCTION_ID].asInt()); - dbus::MessageName name = get_schema().getMessageName(func_id); - uint id = obj[sos::S_PARAMS][sos::S_CORRELATION_ID].asInt(); - MethodReturn(id, func_id, name, obj[sos::S_MSG_PARAMS]); -} - -void DBusMessageAdapter::ErrorResponse(const smart_objects::SmartObject& obj) { - LOG4CXX_DEBUG(logger_, "Error"); - std::string error = obj[sos::S_PARAMS][sos::kCode].asString(); - std::string description = obj[sos::S_PARAMS][sos::kMessage].asString(); - uint id = obj[sos::S_PARAMS][sos::S_CORRELATION_ID].asInt(); - Error(id, error, description); -} - -} // namespace hmi_message_handler diff --git a/src/components/policy/policy_external/.gitignore b/src/components/policy/policy_external/.gitignore index d67909069a..d6052d61da 100644 --- a/src/components/policy/policy_external/.gitignore +++ b/src/components/policy/policy_external/.gitignore @@ -29,8 +29,6 @@ src/appMain/hmi_link src/appMain/smartDeviceLinkCore test/components/application_manager/policies_manager/test_policies_table test/components/application_manager/test_formatters_commands -test/components/dbus/test_DBusAdapter -test/components/dbus/test_DBusSchema test/components/protocol_handler/test_ProtocolHandler test/components/request_watchdog/test_RequestWatchdog test/components/smart_objects/SchemaItem/test_SmartObject_AlwaysFalseSchemaItemTest diff --git a/src/components/rpc_base/include/rpc_base/rpc_base.h b/src/components/rpc_base/include/rpc_base/rpc_base.h index 6792f47732..10b494465c 100644 --- a/src/components/rpc_base/include/rpc_base/rpc_base.h +++ b/src/components/rpc_base/include/rpc_base/rpc_base.h @@ -42,11 +42,6 @@ namespace Json { class Value; } // namespace Json -namespace dbus { -class MessageReader; -class MessageWriter; -} // namespace dbus - namespace rpc { class ValidationReport; @@ -173,12 +168,10 @@ class Boolean : public PrimitiveType { Boolean(); explicit Boolean(bool value); explicit Boolean(const Json::Value* value); - explicit Boolean(dbus::MessageReader* reader); Boolean(const Json::Value* value, bool def_value); Boolean& operator=(bool new_val); operator bool() const; Json::Value ToJsonValue() const; - void ToDbusWriter(dbus::MessageWriter* writer) const; private: // Fields @@ -197,7 +190,6 @@ class Integer : public PrimitiveType { explicit Integer(IntType value); Integer(const Integer& value); explicit Integer(const Json::Value* value); - explicit Integer(dbus::MessageReader* reader); Integer(const Json::Value* value, IntType def_value); Integer& operator=(IntType new_val); Integer& operator=(const Integer& new_val); @@ -205,7 +197,6 @@ class Integer : public PrimitiveType { Integer& operator+=(int value); operator IntType() const; Json::Value ToJsonValue() const; - void ToDbusWriter(dbus::MessageWriter* writer) const; private: IntType value_; @@ -219,12 +210,10 @@ class Float : public PrimitiveType { Float(); explicit Float(double value); explicit Float(const Json::Value* value); - explicit Float(dbus::MessageReader* reader); Float(const Json::Value* value, double def_value); Float& operator=(double new_val); operator double() const; Json::Value ToJsonValue() const; - void ToDbusWriter(dbus::MessageWriter* writer) const; private: double value_; @@ -239,7 +228,6 @@ class String : public PrimitiveType { explicit String(const std::string& value); explicit String(const char* value); explicit String(const Json::Value* value); - explicit String(dbus::MessageReader* reader); String(const Json::Value* value, const std::string& def_value); bool operator<(const String& new_val) const; String& operator=(const std::string& new_val); @@ -247,7 +235,6 @@ class String : public PrimitiveType { bool operator==(const String& rhs) const; operator const std::string&() const; Json::Value ToJsonValue() const; - void ToDbusWriter(dbus::MessageWriter* writer) const; private: std::string value_; @@ -265,12 +252,10 @@ class Enum : public PrimitiveType { Enum(); explicit Enum(EnumType value); explicit Enum(const Json::Value* value); - explicit Enum(dbus::MessageReader* reader); Enum(const Json::Value* value, EnumType def_value); Enum& operator=(const EnumType& new_val); operator EnumType() const; Json::Value ToJsonValue() const; - void ToDbusWriter(dbus::MessageWriter* writer) const; private: // Fields @@ -289,7 +274,6 @@ class Array : public std::vector<T>, public CompositeType { // Need const and non-const versions to beat all-type accepting constructor explicit Array(Json::Value* value); explicit Array(const Json::Value* value); - explicit Array(dbus::MessageReader* reader); template <typename U> explicit Array(const U& value); template <typename U> @@ -298,7 +282,6 @@ class Array : public std::vector<T>, public CompositeType { template <typename U> void push_back(const U& value); Json::Value ToJsonValue() const; - void ToDbusWriter(dbus::MessageWriter* writer) const; virtual bool is_valid() const; bool is_initialized() const; @@ -320,7 +303,6 @@ class Map : public std::map<std::string, T>, public CompositeType { // Need const and non-const versions to beat all-type accepting constructor explicit Map(Json::Value* value); explicit Map(const Json::Value* value); - explicit Map(dbus::MessageReader* reader); template <typename U> explicit Map(const U& value); template <typename U> @@ -329,7 +311,6 @@ class Map : public std::map<std::string, T>, public CompositeType { template <typename U> void insert(const std::pair<std::string, U>& value); Json::Value ToJsonValue() const; - void ToDbusWriter(dbus::MessageWriter* writer) const; bool is_valid() const; bool is_initialized() const; @@ -343,7 +324,6 @@ class Nullable : public T { public: // Methods Nullable(); - explicit Nullable(dbus::MessageReader* reader); // Need const and non-const versions to beat all-type accepting constructor explicit Nullable(Json::Value* value); explicit Nullable(const Json::Value* value); @@ -370,7 +350,6 @@ class Stringifyable : public T { public: // Methods Stringifyable(); - explicit Stringifyable(dbus::MessageReader* reader); // Need const and non-const versions to beat all-type accepting constructor explicit Stringifyable(Json::Value* value); explicit Stringifyable(const Json::Value* value); @@ -398,15 +377,12 @@ class Optional { public: // Methods Optional(); - explicit Optional(dbus::MessageReader* reader); template <typename U> explicit Optional(const U& value); template <typename U> Optional(const Json::Value* value, const U& def_value); Json::Value ToJsonValue() const; - void ToDbusWriter(dbus::MessageWriter* writer) const; - // Pointer semantics T& operator*(); const T& operator*() const; diff --git a/src/components/rpc_base/include/rpc_base/rpc_base_dbus_inl.h b/src/components/rpc_base/include/rpc_base/rpc_base_dbus_inl.h deleted file mode 100644 index aae1a34ac2..0000000000 --- a/src/components/rpc_base/include/rpc_base/rpc_base_dbus_inl.h +++ /dev/null @@ -1,501 +0,0 @@ -/* - * Copyright (c) 2014, Ford Motor Company - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following - * disclaimer in the documentation and/or other materials provided with the - * distribution. - * - * Neither the name of the Ford Motor Company nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -#ifndef SRC_COMPONENTS_RPC_BASE_INCLUDE_RPC_BASE_RPC_BASE_DBUS_INL_H_ -#define SRC_COMPONENTS_RPC_BASE_INCLUDE_RPC_BASE_RPC_BASE_DBUS_INL_H_ - -#include "dbus/dbus_message.h" -#include "json/value.h" -#include "rpc_base/rpc_base.h" - -namespace rpc { - -// static -inline PrimitiveType::ValueState PrimitiveType::InitHelper(bool is_next) { - return is_next ? kValid : kInvalid; -} - -// static -inline CompositeType::InitializationState CompositeType::InitHelper( - bool is_next) { - return is_next ? kInitialized : kUninitialized; -} - -namespace impl { - -// Helper functions to statically map int types to appropriate -// MessageReader functions - -// Non-specialized versions doesn't have implementation - -// Tells if next element of reader is of type T -template <typename T> -inline bool NextIs(const dbus::MessageReader& reader); -// Takes next element of type T from reader -template <typename T> -inline T Take(dbus::MessageReader* reader); - -template <> -inline bool NextIs<int8_t>(const dbus::MessageReader& reader) { - return reader.NextIsByte(); -} - -template <> -inline int8_t Take<int8_t>(dbus::MessageReader* reader) { - return static_cast<int8_t>(reader->TakeByte()); -} - -inline void Put(int8_t val, dbus::MessageWriter* writer) { - writer->PutByte(static_cast<uint8_t>(val)); -} - -template <> -inline bool NextIs<uint8_t>(const dbus::MessageReader& reader) { - return reader.NextIsByte(); -} - -template <> -inline uint8_t Take<uint8_t>(dbus::MessageReader* reader) { - return reader->TakeByte(); -} - -inline void Put(uint8_t val, dbus::MessageWriter* writer) { - writer->PutByte(val); -} - -template <> -inline bool NextIs<int16_t>(const dbus::MessageReader& reader) { - return reader.NextIsInt16(); -} - -template <> -inline int16_t Take<int16_t>(dbus::MessageReader* reader) { - return reader->TakeInt16(); -} - -inline void Put(int16_t val, dbus::MessageWriter* writer) { - writer->PutInt16(val); -} - -template <> -inline bool NextIs<uint16_t>(const dbus::MessageReader& reader) { - return reader.NextIsUint16(); -} - -template <> -inline uint16_t Take<uint16_t>(dbus::MessageReader* reader) { - return reader->TakeUint16(); -} - -inline void Put(uint16_t val, dbus::MessageWriter* writer) { - writer->PutUint16(val); -} - -template <> -inline bool NextIs<int32_t>(const dbus::MessageReader& reader) { - return reader.NextIsInt32(); -} - -template <> -inline int32_t Take<int32_t>(dbus::MessageReader* reader) { - return reader->TakeInt32(); -} - -inline void Put(int32_t val, dbus::MessageWriter* writer) { - writer->PutInt32(val); -} - -template <> -inline bool NextIs<uint32_t>(const dbus::MessageReader& reader) { - return reader.NextIsUint32(); -} - -template <> -inline uint32_t Take<uint32_t>(dbus::MessageReader* reader) { - return reader->TakeUint32(); -} - -inline void Put(uint32_t val, dbus::MessageWriter* writer) { - writer->PutUint32(val); -} - -template <> -inline bool NextIs<int64_t>(const dbus::MessageReader& reader) { - return reader.NextIsInt64(); -} - -template <> -inline int64_t Take<int64_t>(dbus::MessageReader* reader) { - return reader->TakeInt64(); -} - -inline void Put(int64_t val, dbus::MessageWriter* writer) { - writer->PutInt64(val); -} - -template <> -inline bool NextIs<uint64_t>(const dbus::MessageReader& reader) { - return reader.NextIsUint64(); -} - -template <> -inline uint64_t Take<uint64_t>(dbus::MessageReader* reader) { - return reader->TakeUint64(); -} - -inline void Put(uint64_t val, dbus::MessageWriter* writer) { - writer->PutUint64(val); -} - -template <> -inline std::string Take<std::string>(dbus::MessageReader* reader) { - return reader->TakeString(); -} - -inline void Put(const std::string val, dbus::MessageWriter* writer) { - writer->PutString(val); -} - -// Type to DBus type id mappers -template <typename T> -char DbusTypeCode(); -template <> -inline char DbusTypeCode<bool>() { - return DBUS_TYPE_BOOLEAN; -} -// There is no dbus type for signed byte, map to unsigned -template <> -inline char DbusTypeCode<int8_t>() { - return DBUS_TYPE_BYTE; -} -template <> -inline char DbusTypeCode<uint8_t>() { - return DBUS_TYPE_BYTE; -} -template <> -inline char DbusTypeCode<int16_t>() { - return DBUS_TYPE_INT16; -} -template <> -inline char DbusTypeCode<uint16_t>() { - return DBUS_TYPE_UINT16; -} -template <> -inline char DbusTypeCode<int32_t>() { - return DBUS_TYPE_INT32; -} -template <> -inline char DbusTypeCode<uint32_t>() { - return DBUS_TYPE_UINT32; -} -template <> -inline char DbusTypeCode<int64_t>() { - return DBUS_TYPE_INT64; -} -template <> -inline char DbusTypeCode<uint64_t>() { - return DBUS_TYPE_UINT64; -} -template <> -inline char DbusTypeCode<double>() { - return DBUS_TYPE_DOUBLE; -} -template <> -inline char DbusTypeCode<std::string>() { - return DBUS_TYPE_STRING; -} -template <> -inline char DbusTypeCode<const std::string>() { - return DBUS_TYPE_STRING; -} - -// Non-specialized template supposes there is static -// void GetDbusSignature(std::string*) method in T -template <typename T> -struct DbusSignatureHelper { - static void DbusSignature(std::string* signature) { - T::GetDbusSignature(signature); - } -}; - -template <> -struct DbusSignatureHelper<Boolean> { - static void DbusSignature(std::string* signature) { - (*signature) += rpc::impl::DbusTypeCode<bool>(); - } -}; - -template <typename T, T minval, T maxval> -struct DbusSignatureHelper<Integer<T, minval, maxval> > { - static void DbusSignature(std::string* signature) { - (*signature) += rpc::impl::DbusTypeCode<T>(); - } -}; - -template <int64_t minnum, int64_t maxnum, int64_t minden, int64_t maxden> -struct DbusSignatureHelper<Float<minnum, maxnum, minden, maxden> > { - static void DbusSignature(std::string* signature) { - (*signature) += rpc::impl::DbusTypeCode<double>(); - } -}; - -template <typename T> -struct DbusSignatureHelper<Enum<T> > { - static void DbusSignature(std::string* signature) { - (*signature) += rpc::impl::DbusTypeCode<int32_t>(); - } -}; - -template <size_t minlen, size_t maxlen> -struct DbusSignatureHelper<String<minlen, maxlen> > { - static void DbusSignature(std::string* signature) { - (*signature) += rpc::impl::DbusTypeCode<std::string>(); - } -}; - -template <typename K, typename V> -struct DbusSignatureHelper<std::pair<K, V> > { - static void DbusSignature(std::string* signature) { - (*signature) += DBUS_DICT_ENTRY_BEGIN_CHAR; - (*signature) += rpc::impl::DbusTypeCode<K>(); - rpc::impl::DbusSignatureHelper<V>::DbusSignature(signature); - (*signature) += DBUS_DICT_ENTRY_END_CHAR; - } -}; - -template <typename T, size_t minsize, size_t maxsize> -struct DbusSignatureHelper<Array<T, minsize, maxsize> > { - static void DbusSignature(std::string* signature) { - (*signature) += DBUS_TYPE_ARRAY; - rpc::impl::DbusSignatureHelper<T>::DbusSignature(signature); - } -}; - -template <typename T, size_t minsize, size_t maxsize> -struct DbusSignatureHelper<Map<T, minsize, maxsize> > { - static void DbusSignature(std::string* signature) { - (*signature) += DBUS_TYPE_ARRAY; - rpc::impl::DbusSignatureHelper<typename Map<T, minsize, maxsize>:: - value_type>::DbusSignature(signature); - } -}; - -template <typename T> -struct DbusSignatureHelper<Optional<T> > { - static void DbusSignature(std::string* signature) { - (*signature) += DBUS_STRUCT_BEGIN_CHAR; - (*signature) += rpc::impl::DbusTypeCode<bool>(); - rpc::impl::DbusSignatureHelper<T>::DbusSignature(signature); - (*signature) += DBUS_STRUCT_END_CHAR; - } -}; - -template <typename T> -struct DbusSignatureHelper<Nullable<T> > { - static void DbusSignature(std::string* signature) { - (*signature) += DBUS_STRUCT_BEGIN_CHAR; - (*signature) += rpc::impl::DbusTypeCode<bool>(); - rpc::impl::DbusSignatureHelper<T>::DbusSignature(signature); - (*signature) += DBUS_STRUCT_END_CHAR; - } -}; - -// Helper Optional type initialization functipon -template <typename T> -T TakeOptional(dbus::MessageReader* reader) { - dbus::MessageReader struct_reader = reader->TakeStructReader(); - bool available = struct_reader.TakeBool(); - T value(&struct_reader); - return available ? value : T(); -} - -// Helper Nullable type initialization functipon -template <typename T> -bool TakeNullable(dbus::MessageReader* reader) { - dbus::MessageReader struct_reader = reader->TakeStructReader(); - bool is_null = struct_reader.TakeBool(); - return is_null; -} - -} // namespace impl - -// Helper function that outputs dbus signature for type T -template <typename T> -void DbusSignature(std::string* signature) { - impl::DbusSignatureHelper<T>::DbusSignature(signature); -} - -// Type constructors -inline Boolean::Boolean(dbus::MessageReader* reader) - : PrimitiveType(InitHelper(reader->NextIsBool())) - , value_(reader->TakeBool()) {} - -template <typename T, T minval, T maxval> -inline Integer<T, minval, maxval>::Integer(dbus::MessageReader* reader) - : PrimitiveType(InitHelper(impl::NextIs<IntType>(*reader))) - , value_(impl::Take<IntType>(reader)) { - if (is_valid()) { - value_state_ = range_.Includes(value_) ? kValid : kInvalid; - } -} - -template <int64_t minnum, int64_t maxnum, int64_t minden, int64_t maxden> -inline Float<minnum, maxnum, minden, maxden>::Float(dbus::MessageReader* reader) - : PrimitiveType(InitHelper(reader->NextIsDouble())) - , value_(reader->TakeDouble()) { - if (is_valid()) { - value_state_ = range_.Includes(value_) ? kValid : kInvalid; - } -} - -template <size_t minlen, size_t maxlen> -inline String<minlen, maxlen>::String(dbus::MessageReader* reader) - : PrimitiveType(InitHelper(reader->NextIsString())) - , value_(reader->TakeString()) { - if (is_valid()) { - value_state_ = length_range_.Includes(value_.length()) ? kValid : kInvalid; - } -} - -template <typename T> -inline Enum<T>::Enum(dbus::MessageReader* reader) - : PrimitiveType(InitHelper(reader->NextIsInt32())) - , value_(EnumType(reader->TakeInt32())) { - if (is_valid()) { - value_state_ = IsValidEnum(value_) ? kValid : kInvalid; - } -} - -template <typename T, size_t minsize, size_t maxsize> -inline Array<T, minsize, maxsize>::Array(dbus::MessageReader* reader) - : CompositeType(InitHelper(reader->NextIsArray())) { - dbus::MessageReader array_reader = reader->TakeArrayReader(); - if (array_reader.has_failed()) { - push_back(T()); - } else { - while (array_reader.HasNext()) { - push_back(T(&array_reader)); - } - } -} - -template <typename T, size_t minsize, size_t maxsize> -inline Map<T, minsize, maxsize>::Map(dbus::MessageReader* reader) - : CompositeType(InitHelper(reader->NextIsStruct())) { - // Map key-value pairs are serialized into array - dbus::MessageReader array_reader = reader->TakeArrayReader(); - if (array_reader.has_failed()) { - this->insert(typename MapType::value_type("", T())); - } else { - while (array_reader.HasNext()) { - dbus::MessageReader dictvalue_reader = array_reader.TakeDictEntryReader(); - typename MapType::key_type key = - impl::Take<typename MapType::key_type>(&dictvalue_reader); - this->insert(typename MapType::value_type(key, T(&dictvalue_reader))); - } - } -} - -template <typename T> -inline Nullable<T>::Nullable(dbus::MessageReader* reader) - : T(reader), marked_null_(impl::TakeNullable<T>(reader)) {} - -template <typename T> -inline Optional<T>::Optional(dbus::MessageReader* reader) - : value_(impl::TakeOptional<T>(reader)) {} - -// MessageWriter serializers -inline void Boolean::ToDbusWriter(dbus::MessageWriter* writer) const { - writer->PutBool(value_); -} - -template <typename T, T minval, T maxval> -inline void Integer<T, minval, maxval>::ToDbusWriter( - dbus::MessageWriter* writer) const { - impl::Put(value_, writer); -} - -template <int64_t minnum, int64_t maxnum, int64_t minden, int64_t maxden> -inline void Float<minnum, maxnum, minden, maxden>::ToDbusWriter( - dbus::MessageWriter* writer) const { - writer->PutDouble(value_); -} - -template <size_t minlen, size_t maxlen> -inline void String<minlen, maxlen>::ToDbusWriter( - dbus::MessageWriter* writer) const { - writer->PutString(value_); -} - -template <typename T> -inline void Enum<T>::ToDbusWriter(dbus::MessageWriter* writer) const { - writer->PutInt32(static_cast<int32_t>(value_)); -} - -template <typename T, size_t minsize, size_t maxsize> -inline void Array<T, minsize, maxsize>::ToDbusWriter( - dbus::MessageWriter* writer) const { - std::string array_signature; - DbusSignature<typename ArrayType::value_type>(&array_signature); - dbus::MessageWriter array_writer( - writer, dbus::kArray, array_signature.c_str()); - for (typename ArrayType::const_iterator i = this->begin(); i != this->end(); - ++i) { - i->ToDbusWriter(&array_writer); - } -} - -template <typename T, size_t minsize, size_t maxsize> -inline void Map<T, minsize, maxsize>::ToDbusWriter( - dbus::MessageWriter* writer) const { - std::string array_signature; - DbusSignature<typename MapType::value_type>(&array_signature); - dbus::MessageWriter array_writer( - writer, dbus::kArray, array_signature.c_str()); - for (typename MapType::const_iterator i = this->begin(); i != this->end(); - ++i) { - dbus::MessageWriter dictentry_writer(&array_writer, dbus::kDictEntry, NULL); - impl::Put(i->first, &dictentry_writer); - i->second.ToDbusWriter(&dictentry_writer); - } -} - -template <typename T> -inline void Optional<T>::ToDbusWriter(dbus::MessageWriter* writer) const { - dbus::MessageWriter struct_writer(writer, dbus::kStruct, NULL); - struct_writer.PutBool(value_.is_initialized()); - value_.ToDbusWriter(&struct_writer); -} - -} // namespace rpc - -#endif // SRC_COMPONENTS_RPC_BASE_INCLUDE_RPC_BASE_RPC_BASE_DBUS_INL_H_ diff --git a/src/components/rpc_base/test/CMakeLists.txt b/src/components/rpc_base/test/CMakeLists.txt index ca4f41fe76..ae87bb71b7 100644 --- a/src/components/rpc_base/test/CMakeLists.txt +++ b/src/components/rpc_base/test/CMakeLists.txt @@ -31,8 +31,6 @@ include(${CMAKE_SOURCE_DIR}/tools/cmake/helpers/sources.cmake) include_directories( - ${COMPONENTS_DIR}/dbus/include - ${COMPONENTS_DIR}/dbus/src ${COMPONENTS_DIR}/rpc_base/include ${GMOCK_INCLUDE_DIRECTORY} ${JSONCPP_INCLUDE_DIRECTORY} @@ -43,16 +41,5 @@ set(LIBRARIES jsoncpp ) -if(${HMI_DBUS_API}) - include_directories(${DBUS_INCLUDE_DIRS}) - list(APPEND LIBRARIES - DBus - ) -else() - set(EXCLUDE_PATHS - rpc_base_dbus_test.cc - ) -endif() - collect_sources(SOURCES "${CMAKE_CURRENT_SOURCE_DIR}" "${EXCLUDE_PATHS}") create_test(rpc_base_test "${SOURCES}" "${LIBRARIES}") diff --git a/src/components/rpc_base/test/rpc_base_dbus_test.cc b/src/components/rpc_base/test/rpc_base_dbus_test.cc deleted file mode 100644 index 4a22e111a3..0000000000 --- a/src/components/rpc_base/test/rpc_base_dbus_test.cc +++ /dev/null @@ -1,682 +0,0 @@ -/* Copyright (c) 2014, Ford Motor Company - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following - * disclaimer in the documentation and/or other materials provided with the - * distribution. - * - * Neither the name of the Ford Motor Company nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -#include "gtest/gtest.h" -#include "dbus/dbus_message.h" -#include "rpc_base/rpc_base.h" -#include "rpc_base/rpc_base_dbus_inl.h" - -namespace test { -namespace components { -namespace rpc_base_test { - -using namespace rpc; -using namespace dbus; - -enum TestEnum { kValue0, kValue1, kInvalidValue }; - -bool IsValidEnum(TestEnum val) { - return val == kValue0 || val == kValue1; -} - -bool EnumFromJsonString(const std::string& value, TestEnum* enm) { - if (value == "kValue0") { - *enm = kValue0; - return true; - } else if (value == "kValue1") { - *enm = kValue1; - return true; - } else { - return false; - } -} - -const char* EnumToJsonString(TestEnum enm) { - switch (enm) { - case kValue0: - return "kValue0"; - case kValue1: - return "kValue1"; - default: - return "UNKNOWN"; - } -} - -struct DbusDeserialization : public testing::Test { - dbus::MessageRef msgref; - DbusDeserialization() - : msgref(dbus_message_new(DBUS_MESSAGE_TYPE_METHOD_CALL)) {} -}; - -TEST_F(DbusDeserialization, DeserializeBool) { - { - dbus::MessageWriter writer(msgref); - writer.PutBool(true); - } - { - dbus::MessageReader reader(msgref); - Boolean booln(&reader); - ASSERT_TRUE(booln); - } -} - -TEST_F(DbusDeserialization, DeserializeByte) { - { - dbus::MessageWriter writer(msgref); - writer.PutByte(200); - } - { - dbus::MessageReader reader(msgref); - Integer<uint8_t, 1, 220> byte(&reader); - ASSERT_TRUE(byte.is_initialized()); - ASSERT_TRUE(byte.is_valid()); - ASSERT_EQ(byte, 200); - ASSERT_FALSE(reader.has_failed()); - ASSERT_FALSE(reader.HasNext()); - } -} - -TEST_F(DbusDeserialization, DeserializeInt64) { - { - dbus::MessageWriter writer(msgref); - writer.PutInt64(-1); - } - { - dbus::MessageReader reader(msgref); - Integer<int64_t, -5, 220> int64(&reader); - ASSERT_TRUE(int64.is_initialized()); - ASSERT_TRUE(int64.is_valid()); - ASSERT_EQ(int64, -1); - ASSERT_FALSE(reader.has_failed()); - ASSERT_FALSE(reader.HasNext()); - } -} - -TEST_F(DbusDeserialization, DeserializeFloat) { - { - dbus::MessageWriter writer(msgref); - writer.PutDouble(3.14); - } - { - dbus::MessageReader reader(msgref); - Float<3, 4> pi(&reader); - ASSERT_TRUE(pi.is_initialized()); - ASSERT_TRUE(pi.is_valid()); - ASSERT_DOUBLE_EQ(pi, 3.14); - ASSERT_FALSE(reader.has_failed()); - ASSERT_FALSE(reader.HasNext()); - } -} - -TEST_F(DbusDeserialization, DeserializeString) { - { - dbus::MessageWriter writer(msgref); - writer.PutString("Hello"); - } - { - dbus::MessageReader reader(msgref); - String<3, 10> hello(&reader); - ASSERT_TRUE(hello.is_initialized()); - ASSERT_TRUE(hello.is_valid()); - ASSERT_EQ(std::string(hello), "Hello"); - ASSERT_FALSE(reader.has_failed()); - ASSERT_FALSE(reader.HasNext()); - } -} - -TEST_F(DbusDeserialization, DeserializeEnum) { - { - dbus::MessageWriter writer(msgref); - writer.PutInt32(kValue1); - } - { - dbus::MessageReader reader(msgref); - Enum<TestEnum> enm(&reader); - ASSERT_TRUE(enm.is_initialized()); - ASSERT_TRUE(enm.is_valid()); - ASSERT_EQ(enm, kValue1); - ASSERT_FALSE(reader.has_failed()); - ASSERT_FALSE(reader.HasNext()); - } -} - -TEST_F(DbusDeserialization, DeserializeArray) { - { - dbus::MessageWriter writer(msgref); - std::string array_signature; - rpc::DbusSignature<Integer<int32_t, 1, 50> >(&array_signature); - dbus::MessageWriter array_writer( - &writer, dbus::kArray, array_signature.c_str()); - array_writer.PutInt32(5); - array_writer.PutInt32(33); - } - { - dbus::MessageReader reader(msgref); - Array<Integer<int32_t, 1, 50>, 1, 100> array(&reader); - ASSERT_TRUE(array.is_initialized()); - ASSERT_TRUE(array.is_valid()); - ASSERT_FALSE(reader.has_failed()); - ASSERT_FALSE(reader.HasNext()); - ASSERT_EQ(array.size(), 2u); - ASSERT_EQ(array[0], 5); - ASSERT_EQ(array[1], 33); - } -} - -TEST_F(DbusDeserialization, DeserializeArrayOfArrays) { - { - dbus::MessageWriter writer(msgref); - std::string array_signature; - rpc::DbusSignature<Array<Integer<int32_t, 1, 50>, 1, 5> >(&array_signature); - dbus::MessageWriter array_writer( - &writer, dbus::kArray, array_signature.c_str()); - int val = 5; - for (int i = 0; i < 2; ++i) { - std::string subarray_signature; - rpc::DbusSignature<Integer<int32_t, 1, 50> >(&subarray_signature); - dbus::MessageWriter subarray_wirter( - &array_writer, dbus::kArray, subarray_signature.c_str()); - - subarray_wirter.PutInt32(val++); - subarray_wirter.PutInt32(val++); - } - } - { - dbus::MessageReader reader(msgref); - Array<Array<Integer<int32_t, 1, 50>, 1, 5>, 1, 5> array(&reader); - ASSERT_TRUE(array.is_initialized()); - ASSERT_TRUE(array.is_valid()); - ASSERT_FALSE(reader.has_failed()); - ASSERT_FALSE(reader.HasNext()); - ASSERT_EQ(array.size(), 2u); - ASSERT_EQ(array[0].size(), 2u); - ASSERT_EQ(array[1].size(), 2u); - ASSERT_EQ(array[0][0], 5); - ASSERT_EQ(array[0][1], 6); - ASSERT_EQ(array[1][0], 7); - ASSERT_EQ(array[1][1], 8); - } -} - -TEST_F(DbusDeserialization, DeserializeMap) { - { - dbus::MessageWriter writer(msgref); - std::string dict_signature; - rpc::DbusSignature<Map<Enum<TestEnum>, 1, 5>::value_type>(&dict_signature); - dbus::MessageWriter array_writer( - &writer, dbus::kArray, dict_signature.c_str()); - const char* keys[] = {"Hello", "World"}; - int val = 0; - for (int i = 0; i < 2; ++i) { - dbus::MessageWriter dictval_wirter(&array_writer, dbus::kDictEntry, NULL); - dictval_wirter.PutString(keys[val]); - dictval_wirter.PutInt32(val++); - } - } - { - dbus::MessageReader reader(msgref); - Map<Enum<TestEnum>, 1, 5> amap(&reader); - ASSERT_TRUE(amap.is_initialized()); - ASSERT_TRUE(amap.is_valid()); - ASSERT_FALSE(reader.has_failed()); - ASSERT_FALSE(reader.HasNext()); - ASSERT_EQ(amap.size(), 2u); - ASSERT_EQ(amap["Hello"], kValue0); - ASSERT_EQ(amap["World"], kValue1); - } -} - -TEST_F(DbusDeserialization, InconsistentTypesTest) { - { - dbus::MessageWriter writer(msgref); - writer.PutString("Hello"); - } - { - dbus::MessageReader reader(msgref); - Boolean badbool(&reader); - ASSERT_TRUE(badbool.is_initialized()); - ASSERT_FALSE(badbool.is_valid()); - ASSERT_TRUE(reader.has_failed()); - ASSERT_FALSE(reader.HasNext()); - } -} - -TEST_F(DbusDeserialization, DeserializeOptionalString) { - { - dbus::MessageWriter writer(msgref); - dbus::MessageWriter optwriter(&writer, dbus::kStruct, NULL); - optwriter.PutBool(true); - optwriter.PutString("Hello dear"); - } - { - dbus::MessageReader reader(msgref); - Optional<String<1, 100> > readback(&reader); - ASSERT_TRUE(readback.is_initialized()); - ASSERT_TRUE(readback.is_valid()); - ASSERT_EQ(std::string(*readback), "Hello dear"); - ASSERT_FALSE(reader.has_failed()); - ASSERT_FALSE(reader.HasNext()); - } -} - -TEST_F(DbusDeserialization, DeserializeOptionalInt) { - { - dbus::MessageWriter writer(msgref); - dbus::MessageWriter optwriter(&writer, dbus::kStruct, NULL); - optwriter.PutBool(false); - optwriter.PutInt32(42); - } - { - dbus::MessageReader reader(msgref); - Optional<Integer<int32_t, 1, 90> > readback(&reader); - ASSERT_FALSE(readback.is_initialized()); - ASSERT_TRUE(readback.is_valid()); - ASSERT_FALSE(reader.has_failed()); - ASSERT_FALSE(reader.HasNext()); - } -} - -TEST_F(DbusDeserialization, SerializeDeserializeBool) { - { - Boolean true_bool(true); - dbus::MessageWriter writer(msgref); - true_bool.ToDbusWriter(&writer); - } - { - dbus::MessageReader reader(msgref); - Boolean readback(&reader); - ASSERT_TRUE(readback.is_initialized()); - ASSERT_TRUE(readback.is_valid()); - ASSERT_EQ(readback, true); - ASSERT_FALSE(reader.has_failed()); - ASSERT_FALSE(reader.HasNext()); - } -} - -TEST_F(DbusDeserialization, SerializeDeserializeInt8t) { - { - Integer<int8_t, 1, 100> int8(42); - dbus::MessageWriter writer(msgref); - int8.ToDbusWriter(&writer); - } - { - dbus::MessageReader reader(msgref); - Integer<int8_t, 1, 100> readback(&reader); - ASSERT_TRUE(readback.is_initialized()); - ASSERT_TRUE(readback.is_valid()); - ASSERT_EQ(readback, 42); - ASSERT_FALSE(reader.has_failed()); - ASSERT_FALSE(reader.HasNext()); - } -} - -TEST_F(DbusDeserialization, BadSerializeDeserializeInt8t) { - { - Integer<int8_t, 1, 12> int8(42); - dbus::MessageWriter writer(msgref); - int8.ToDbusWriter(&writer); - } - { - dbus::MessageReader reader(msgref); - Integer<int8_t, 1, 12> readback(&reader); - ASSERT_TRUE(readback.is_initialized()); - ASSERT_FALSE(readback.is_valid()); - ASSERT_FALSE(reader.has_failed()); - ASSERT_FALSE(reader.HasNext()); - } -} - -TEST_F(DbusDeserialization, SerializeDeserializeInt64t) { - { - Integer<int64_t, 1, 0xFFFFFFFFFF> int64(0xFFFFFFFFF1); - dbus::MessageWriter writer(msgref); - int64.ToDbusWriter(&writer); - } - { - dbus::MessageReader reader(msgref); - Integer<int64_t, 1, 0xFFFFFFFFFF> readback(&reader); - ASSERT_TRUE(readback.is_initialized()); - ASSERT_TRUE(readback.is_valid()); - ASSERT_EQ(readback, 0xFFFFFFFFF1); - ASSERT_FALSE(reader.has_failed()); - ASSERT_FALSE(reader.HasNext()); - } -} - -TEST_F(DbusDeserialization, SerializeDeserializeDouble) { - { - Float<1, 5> flt(3.14); - dbus::MessageWriter writer(msgref); - flt.ToDbusWriter(&writer); - } - { - dbus::MessageReader reader(msgref); - Float<1, 5> readback(&reader); - ASSERT_TRUE(readback.is_initialized()); - ASSERT_TRUE(readback.is_valid()); - ASSERT_DOUBLE_EQ(readback, 3.14); - ASSERT_FALSE(reader.has_failed()); - ASSERT_FALSE(reader.HasNext()); - } -} - -TEST_F(DbusDeserialization, SerializeDeserializeString) { - { - String<1, 12> hello("Hello"); - dbus::MessageWriter writer(msgref); - hello.ToDbusWriter(&writer); - } - { - dbus::MessageReader reader(msgref); - String<1, 12> readback(&reader); - ASSERT_TRUE(readback.is_initialized()); - ASSERT_TRUE(readback.is_valid()); - ASSERT_EQ(std::string(readback), "Hello"); - ASSERT_FALSE(reader.has_failed()); - ASSERT_FALSE(reader.HasNext()); - } -} - -TEST_F(DbusDeserialization, SerializeDeserializeEnum) { - { - Enum<TestEnum> te(kValue1); - dbus::MessageWriter writer(msgref); - te.ToDbusWriter(&writer); - } - { - dbus::MessageReader reader(msgref); - Enum<TestEnum> readback(&reader); - ASSERT_TRUE(readback.is_initialized()); - ASSERT_TRUE(readback.is_valid()); - ASSERT_EQ(readback, kValue1); - ASSERT_FALSE(reader.has_failed()); - ASSERT_FALSE(reader.HasNext()); - } -} - -TEST_F(DbusDeserialization, SerializeDeserializeArray) { - { - Array<Integer<int32_t, 1, 100>, 1, 90> ints; - ints.push_back(42); - ints.push_back(17); - dbus::MessageWriter writer(msgref); - ints.ToDbusWriter(&writer); - } - { - dbus::MessageReader reader(msgref); - Array<Integer<int32_t, 1, 100>, 1, 90> readback(&reader); - ASSERT_TRUE(readback.is_initialized()); - ASSERT_TRUE(readback.is_valid()); - ASSERT_EQ(readback[0], 42); - ASSERT_EQ(readback[1], 17); - ASSERT_FALSE(reader.has_failed()); - ASSERT_FALSE(reader.HasNext()); - } -} - -TEST_F(DbusDeserialization, SerializeDeserializeMap) { - { - Map<Integer<int32_t, 1, 100>, 1, 90> ints; - ints["first"] = 42; - ints["second"] = 17; - dbus::MessageWriter writer(msgref); - ints.ToDbusWriter(&writer); - } - { - dbus::MessageReader reader(msgref); - Map<Integer<int32_t, 1, 100>, 1, 90> readback(&reader); - ASSERT_TRUE(readback.is_initialized()); - ASSERT_TRUE(readback.is_valid()); - ASSERT_EQ(readback["first"], 42); - ASSERT_EQ(readback["second"], 17); - ASSERT_FALSE(reader.has_failed()); - ASSERT_FALSE(reader.HasNext()); - } -} - -TEST_F(DbusDeserialization, SerializeDeserializeMapOfArrays) { - { - Map<Array<Integer<int32_t, 1, 100>, 1, 5>, 1, 90> ints; - ints["first"].push_back(1); - ints["first"].push_back(42); - ints["second"].push_back(17); - ints["second"].push_back(3); - dbus::MessageWriter writer(msgref); - ints.ToDbusWriter(&writer); - } - { - dbus::MessageReader reader(msgref); - Map<Array<Integer<int32_t, 1, 100>, 1, 5>, 1, 90> readback(&reader); - ASSERT_TRUE(readback.is_initialized()); - ASSERT_TRUE(readback.is_valid()); - ASSERT_EQ(readback.size(), 2u); - ASSERT_EQ(readback["first"].size(), 2u); - ASSERT_EQ(readback["second"].size(), 2u); - ASSERT_EQ(readback["first"][0], 1); - ASSERT_EQ(readback["first"][1], 42); - ASSERT_EQ(readback["second"][0], 17); - ASSERT_EQ(readback["second"][1], 3); - ASSERT_FALSE(reader.has_failed()); - ASSERT_FALSE(reader.HasNext()); - } -} - -TEST(ValidatedTypes, TestBooleanDbusSignature) { - std::string sign; - DbusSignature<Boolean>(&sign); - ASSERT_EQ(sign, "b"); -} - -TEST(ValidatedTypes, TestIntDbusSignature) { - std::string sign; - DbusSignature<Integer<int32_t, 1, 2> >(&sign); - ASSERT_EQ(sign, "i"); -} - -TEST(ValidatedTypes, TestFloatDbusSignature) { - std::string sign; - DbusSignature<Float<1, 2> >(&sign); - ASSERT_EQ(sign, "d"); -} - -TEST(ValidatedTypes, TestStringDbusSignature) { - std::string sign; - DbusSignature<String<1, 2> >(&sign); - ASSERT_EQ(sign, "s"); -} - -TEST(ValidatedTypes, TestEnumDbusSignature) { - std::string sign; - DbusSignature<Enum<TestEnum> >(&sign); - ASSERT_EQ(sign, "i"); -} - -TEST(ValidatedTypes, TestIntArrayDbusSignature) { - std::string sign; - DbusSignature<Array<Integer<int32_t, 1, 2>, 1, 3> >(&sign); - ASSERT_EQ(sign, "ai"); -} - -TEST(ValidatedTypes, TestIntArrayArrayDbusSignature) { - std::string sign; - DbusSignature<Array<Array<Integer<int32_t, 1, 2>, 1, 3>, 4, 5> >(&sign); - ASSERT_EQ(sign, "aai"); -} - -TEST(ValidatedTypes, TestMapDbusSignature) { - std::string sign; - DbusSignature<Map<Integer<int32_t, 1, 2>, 3, 4> >(&sign); - ASSERT_EQ(sign, "a{si}"); -} - -TEST(ValidatedTypes, TestMandatoryEnumDbusSignature) { - std::string sign; - DbusSignature<Enum<TestEnum> >(&sign); - ASSERT_EQ(sign, "i"); -} - -TEST(ValidatedTypes, TestOptionalEnumDbusSignature) { - std::string sign; - DbusSignature<Optional<Enum<TestEnum> > >(&sign); - ASSERT_EQ(sign, "(bi)"); -} - -TEST(ValidatedTypes, TestOptionalFloatArrayDbusSignature) { - std::string sign; - DbusSignature<Optional<Array<Float<1, 2>, 3, 4> > >(&sign); - ASSERT_EQ(sign, "(bad)"); -} - -TEST(DbusMessageConstructionTest, DbusMessageConstruction) { - DBusMessage* rawmsg = dbus_message_new(DBUS_MESSAGE_TYPE_METHOD_CALL); - dbus::MessageRef msgref(rawmsg); -} - -class DbusTest : public testing::Test { - public: - dbus::MessageRef msgref; - DbusTest() : msgref(dbus_message_new(DBUS_MESSAGE_TYPE_METHOD_CALL)) {} -}; - -TEST_F(DbusTest, DbusWriterConstructionTest) { - dbus::MessageWriter writer(msgref); -} - -TEST_F(DbusTest, DbusEmptyMessageReaderTest) { - dbus::MessageReader reader(msgref); - ASSERT_TRUE(reader.has_failed()); -} - -TEST_F(DbusTest, DbusMessageWriterBoolWriteRead) { - dbus::MessageWriter writer(msgref); - writer.PutBool(true); - dbus::MessageReader reader(msgref); - bool redback_value = reader.TakeBool(); - ASSERT_FALSE(reader.has_failed()); - ASSERT_TRUE(redback_value); -} - -TEST_F(DbusTest, DbusMessageWriterInt32WriteRead) { - dbus::MessageWriter writer(msgref); - writer.PutInt32(42); - dbus::MessageReader reader(msgref); - int32_t readback_value = reader.TakeInt32(); - ASSERT_FALSE(reader.has_failed()); - ASSERT_EQ(readback_value, 42); -} - -TEST_F(DbusTest, DbusMessageWriterStringWriteRead) { - dbus::MessageWriter writer(msgref); - writer.PutString("Hello DBus!"); - dbus::MessageReader reader(msgref); - std::string readback_value = reader.TakeString(); - ASSERT_FALSE(reader.has_failed()); - ASSERT_EQ(readback_value, "Hello DBus!"); -} - -TEST_F(DbusTest, DbusMultipleParamsReadWrite) { - { - dbus::MessageWriter writer(msgref); - writer.PutString("Hello DBus!"); - writer.PutInt16(42); - writer.PutDouble(3.14); - } - { - dbus::MessageReader reader(msgref); - std::string readback_string = reader.TakeString(); - ASSERT_FALSE(reader.has_failed()); - ASSERT_EQ(readback_string, "Hello DBus!"); - int16_t readback_int = reader.TakeInt16(); - ASSERT_FALSE(reader.has_failed()); - ASSERT_EQ(readback_int, 42); - double readback_double = reader.TakeDouble(); - ASSERT_FALSE(reader.has_failed()); - ASSERT_DOUBLE_EQ(readback_double, 3.14); - ASSERT_FALSE(reader.HasNext()); - } -} - -TEST_F(DbusTest, DbusArrayTest) { - { - dbus::MessageWriter writer(msgref); - dbus::MessageWriter array_writer( - &writer, dbus::kArray, DBUS_TYPE_INT16_AS_STRING); - array_writer.PutInt16(3); - array_writer.PutInt16(4); - array_writer.PutInt16(5); - } - { - dbus::MessageReader reader(msgref); - dbus::MessageReader array_reader = reader.TakeArrayReader(); - int16_t readback_val = array_reader.TakeInt16(); - ASSERT_FALSE(reader.has_failed()); - ASSERT_EQ(readback_val, 3); - readback_val = array_reader.TakeInt16(); - ASSERT_FALSE(reader.has_failed()); - ASSERT_EQ(readback_val, 4); - readback_val = array_reader.TakeInt16(); - ASSERT_FALSE(reader.has_failed()); - ASSERT_EQ(readback_val, 5); - ASSERT_FALSE(array_reader.HasNext()); - } -} - -class DbusFailuresTest : public testing::Test { - public: - dbus::MessageRef int_msg; - DbusFailuresTest() - : int_msg(dbus_message_new(DBUS_MESSAGE_TYPE_METHOD_CALL)) { - dbus::MessageWriter writer(int_msg); - writer.PutInt64(42); - } -}; - -TEST_F(DbusFailuresTest, DbusInconsistentTypeReadFailureTest) { - dbus::MessageReader reader(int_msg); - std::string str = reader.TakeString(); - ASSERT_EQ(str, std::string("")); - ASSERT_TRUE(reader.has_failed()); -} - -TEST_F(DbusFailuresTest, DbusNonExistentArrayReadTest) { - dbus::MessageReader reader(int_msg); - ASSERT_FALSE(reader.has_failed()); - dbus::MessageReader array_reader = reader.TakeArrayReader(); - ASSERT_TRUE(array_reader.has_failed()); - ASSERT_TRUE(reader.has_failed()); - int64_t val = array_reader.TakeInt64(); - ASSERT_TRUE(array_reader.has_failed()); - ASSERT_EQ(val, 0); -} - -} // namespace rpc_base_test -} // namespace components -} // namespace test diff --git a/tools/cmake/modules/FindDBus.cmake b/tools/cmake/modules/FindDBus.cmake deleted file mode 100644 index 1d0f29dd75..0000000000 --- a/tools/cmake/modules/FindDBus.cmake +++ /dev/null @@ -1,59 +0,0 @@ -# - Try to find DBus -# Once done, this will define -# -# DBUS_FOUND - system has DBus -# DBUS_INCLUDE_DIRS - the DBus include directories -# DBUS_LIBRARIES - link these to use DBus -# -# Copyright (C) 2012 Raphael Kubo da Costa <rakuco@webkit.org> -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND ITS CONTRIBUTORS ``AS -# IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, -# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR ITS -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -FIND_PACKAGE(PkgConfig) -PKG_CHECK_MODULES(PC_DBUS QUIET dbus-1) - -FIND_LIBRARY(DBUS_LIBRARIES - NAMES dbus-1 - HINTS ${PC_DBUS_LIBDIR} - ${PC_DBUS_LIBRARY_DIRS} -) - -FIND_PATH(DBUS_INCLUDE_DIR - NAMES dbus/dbus.h - HINTS ${PC_DBUS_INCLUDEDIR} - ${PC_DBUS_INCLUDE_DIRS} -) - -GET_FILENAME_COMPONENT(_DBUS_LIBRARY_DIR ${DBUS_LIBRARIES} PATH) -FIND_PATH(DBUS_ARCH_INCLUDE_DIR - NAMES dbus/dbus-arch-deps.h - HINTS ${PC_DBUS_INCLUDEDIR} - ${PC_DBUS_INCLUDE_DIRS} - ${_DBUS_LIBRARY_DIR} - ${DBUS_INCLUDE_DIR} - PATH_SUFFIXES include -) - -SET(DBUS_INCLUDE_DIRS ${DBUS_INCLUDE_DIR} ${DBUS_ARCH_INCLUDE_DIR}) - -INCLUDE(FindPackageHandleStandardArgs) -FIND_PACKAGE_HANDLE_STANDARD_ARGS(DBUS REQUIRED_VARS DBUS_INCLUDE_DIRS DBUS_LIBRARIES)
\ No newline at end of file diff --git a/tools/cmake/modules/FindQt5DBus.cmake b/tools/cmake/modules/FindQt5DBus.cmake deleted file mode 100644 index d850010e97..0000000000 --- a/tools/cmake/modules/FindQt5DBus.cmake +++ /dev/null @@ -1,10 +0,0 @@ -execute_process( - COMMAND ${CMAKE_SOURCE_DIR}/FindQt.sh -v ${qt_version} Qt5DBusConfig.cmake - OUTPUT_VARIABLE config_file -) - -if(config_file STREQUAL "") - message(FATAL_ERROR "Qt5 DBus module not found") -endif(config_file STREQUAL "") - -include(${config_file}) diff --git a/tools/intergen/GenerateInterfaceLibrary.cmake b/tools/intergen/GenerateInterfaceLibrary.cmake index bec35e1e3a..31b06880c6 100644 --- a/tools/intergen/GenerateInterfaceLibrary.cmake +++ b/tools/intergen/GenerateInterfaceLibrary.cmake @@ -11,20 +11,14 @@ set(GENERATED_LIB_HEADER_DEPENDENCIES # |generated_interface_names| should contain list of generated interfaces # if |AUTO_FUNC_IDS| is added to argument list, intergen is called with "-a" # flag telling intergen to generate function ids automatically -# if |DBUS_SUPPORT| is added to argument list, intergen is called with "-d" -# flag that enables DBus serialization code generation # from xml_file (intergen creates separate directory for every interface). # Their names are written lowercase_underscored_style. function (GenerateInterfaceLibrary xml_file_name generated_interface_names) - set(options AUTO_FUNC_IDS DBUS_SUPPORT) + set(options AUTO_FUNC_IDS) cmake_parse_arguments(GenerateInterfaceLibrary "${options}" "" "" ${ARGN}) if (GenerateInterfaceLibrary_AUTO_FUNC_IDS) set(AUTOID "-a") endif() - if (GenerateInterfaceLibrary_DBUS_SUPPORT) - set(NEED_DBUS "-d") - list(APPEND GENERATED_LIB_HEADER_DEPENDENCIES ${DBUS_INCLUDE_DIRS}) - endif() foreach(interface_name ${generated_interface_names}) set(HEADERS @@ -41,7 +35,7 @@ function (GenerateInterfaceLibrary xml_file_name generated_interface_names) ${interface_name}/interface.cc ) add_custom_command( OUTPUT ${HEADERS} ${SOURCES} - COMMAND ${INTERGEN_CMD} -f ${CMAKE_CURRENT_SOURCE_DIR}/${xml_file_name} -j ${AUTOID} ${NEED_DBUS} -i ${interface_name} + COMMAND ${INTERGEN_CMD} -f ${CMAKE_CURRENT_SOURCE_DIR}/${xml_file_name} -j ${AUTOID} -i ${interface_name} DEPENDS ${INTERGEN_CMD} ${xml_file_name} COMMENT "Generating interface ${interface_name} from ${xml_file_name}" VERBATIM diff --git a/tools/intergen/cppgen/CMakeLists.txt b/tools/intergen/cppgen/CMakeLists.txt index c6e052a2ae..d20f3d9ab3 100644 --- a/tools/intergen/cppgen/CMakeLists.txt +++ b/tools/intergen/cppgen/CMakeLists.txt @@ -27,7 +27,6 @@ set (SOURCES src/cppgen/namespace.cc src/cppgen/naming_convention.cc src/cppgen/struct_type_constructor.cc - src/cppgen/struct_type_dbus_serializer.cc src/cppgen/struct_type_from_json_method.cc src/cppgen/struct_type_is_initialized_method.cc src/cppgen/struct_type_is_valid_method.cc @@ -58,7 +57,6 @@ set (HEADERS include/cppgen/namespace.h include/cppgen/naming_convention.h include/cppgen/struct_type_constructor.h - include/cppgen/struct_type_dbus_serializer.h include/cppgen/struct_type_from_json_method.h include/cppgen/struct_type_is_initialized_method.h include/cppgen/struct_type_is_valid_method.h diff --git a/tools/intergen/cppgen/include/cppgen/generator_preferences.h b/tools/intergen/cppgen/include/cppgen/generator_preferences.h index 5278a24417..d0a58950e2 100644 --- a/tools/intergen/cppgen/include/cppgen/generator_preferences.h +++ b/tools/intergen/cppgen/include/cppgen/generator_preferences.h @@ -43,18 +43,15 @@ struct TypePreferences { int minimum_interger_size; bool avoid_unsigned; bool generate_json; - bool generate_dbus; TypePreferences(int minimum_interger_size, bool avoid_unsigned, - bool generate_json, - bool generate_dbus); + bool generate_json); }; struct Preferences { Preferences(int minimum_interger_size, bool avoid_unsigned, bool generate_json, - bool generate_dbus, const std::set<std::string>& requested_interfaces); TypePreferences type_preferences; std::set<std::string> requested_interfaces; diff --git a/tools/intergen/cppgen/include/cppgen/message_factory_function.h b/tools/intergen/cppgen/include/cppgen/message_factory_function.h index da63b4453a..aa8a0ab6c4 100644 --- a/tools/intergen/cppgen/include/cppgen/message_factory_function.h +++ b/tools/intergen/cppgen/include/cppgen/message_factory_function.h @@ -46,8 +46,7 @@ class Interface; class MessageFactoryFunction: public CppFunction { public: enum SerializationType { - kJson, - kDbus + kJson }; // Methods diff --git a/tools/intergen/cppgen/include/cppgen/struct_type_dbus_serializer.h b/tools/intergen/cppgen/include/cppgen/struct_type_dbus_serializer.h deleted file mode 100644 index 64872f3265..0000000000 --- a/tools/intergen/cppgen/include/cppgen/struct_type_dbus_serializer.h +++ /dev/null @@ -1,88 +0,0 @@ -/* Copyright (c) 2014, Ford Motor Company - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following - * disclaimer in the documentation and/or other materials provided with the - * distribution. - * - * Neither the name of the Ford Motor Company nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -#ifndef CPPGEN_STRUCT_TYPE_DBUS_SERIALIZER_H -#define CPPGEN_STRUCT_TYPE_DBUS_SERIALIZER_H - -#include "cppgen/cpp_function.h" - -namespace codegen { -class Interface; -class Struct; -class TypePreferences; - -class StructTypeDbusMessageSignatureMethod: public CppFunction { - public: - StructTypeDbusMessageSignatureMethod(const TypePreferences* preferences, - const Struct* strct, - bool substructure); - ~StructTypeDbusMessageSignatureMethod(); - private: - // CppFunction interface - void DefineBody(std::ostream* os) const; - private: - const TypePreferences* preferences_; - bool substructure_; - const Struct* strct_; -}; - -class StructTypeFromDbusReaderConstructor : public CppStructConstructor { - public: - StructTypeFromDbusReaderConstructor(const TypePreferences* preferences, - const Struct* strct, - bool substructure, - const std::string& base_class_name); - ~StructTypeFromDbusReaderConstructor(); - private: - // CppFunction interface - void DefineBody(std::ostream* os) const; - private: - const TypePreferences* preferences_; - bool substructure_; - const Struct* strct_; -}; - -class StructTypeToDbusWriterMethod : public CppFunction { - public: - StructTypeToDbusWriterMethod(const Struct* strct, - bool substructure); - ~StructTypeToDbusWriterMethod(); - private: - // CppFunction interface - void DefineBody(std::ostream* os) const; - private: - bool substructure_; - const Struct* strct_; -}; - -} // namespace codegen - -#endif // CPPGEN_STRUCT_TYPE_DBUS_SERIALIZER_H diff --git a/tools/intergen/cppgen/src/cppgen/cpp_interface_code_generator.cc b/tools/intergen/cppgen/src/cppgen/cpp_interface_code_generator.cc index 49bd758b6e..519e6a06e2 100644 --- a/tools/intergen/cppgen/src/cppgen/cpp_interface_code_generator.cc +++ b/tools/intergen/cppgen/src/cppgen/cpp_interface_code_generator.cc @@ -183,9 +183,6 @@ void CppInterfaceCodeGenerator::GenerateMessageFactories() { if (preferences_->generate_json) { ser_types[ser_types_count++] = MessageFactoryFunction::kJson; } - if (preferences_->generate_dbus) { - ser_types[ser_types_count++] = MessageFactoryFunction::kDbus; - } for (size_t i = 0; i < ser_types_count; ++i) { MessageFactoryFunction request_factory(interface_, diff --git a/tools/intergen/cppgen/src/cppgen/declaration_generator.cc b/tools/intergen/cppgen/src/cppgen/declaration_generator.cc index 46e459198e..649ffd8c68 100644 --- a/tools/intergen/cppgen/src/cppgen/declaration_generator.cc +++ b/tools/intergen/cppgen/src/cppgen/declaration_generator.cc @@ -47,7 +47,6 @@ #include "cppgen/module_manager.h" #include "cppgen/naming_convention.h" #include "cppgen/struct_type_constructor.h" -#include "cppgen/struct_type_dbus_serializer.h" #include "cppgen/struct_type_from_json_method.h" #include "cppgen/struct_type_is_initialized_method.h" #include "cppgen/struct_type_is_valid_method.h" @@ -98,14 +97,6 @@ void DeclareExternalTypes(const TypePreferences& prefs, Namespace* ns) { Namespace::ForwardDeclaration( Namespace::ForwardDeclaration::kClass, "Value")); } - if (prefs.generate_dbus) { - ns->nested("dbus").ForwardDeclare( - Namespace::ForwardDeclaration( - Namespace::ForwardDeclaration::kClass, "MessageReader")); - ns->nested("dbus").ForwardDeclare( - Namespace::ForwardDeclaration( - Namespace::ForwardDeclaration::kClass, "MessageWriter")); - } } } @@ -172,13 +163,6 @@ void DeclarationGenerator::GenerateCodeForStruct(const Struct* strct) { StructTypeFromJsonConstructor(strct, base_class_name).Declare(&o , true); StructTypeToJsonMethod(strct).Declare(&o , true); } - if (preferences_->generate_dbus) { - StructTypeFromDbusReaderConstructor( - preferences_, strct, true, base_class_name).Declare(&o, true); - StructTypeToDbusWriterMethod(strct, true).Declare(&o , true); - StructTypeDbusMessageSignatureMethod(preferences_, - strct, true).Declare(&o, true); - } StructTypeIsValidMethod(strct).Declare(&o, true); StructTypeIsInitializedMethod(strct).Declare(&o, true); StructTypeStructEmptyMethod(strct).Declare(&o, true); @@ -284,13 +268,6 @@ void DeclarationGenerator::GenerateCodeForRequest(const Request& request, StructTypeFromJsonConstructor(&request, base_class_name).Declare(&o , true); StructTypeToJsonMethod(&request).Declare(&o , true); } - if (preferences_->generate_dbus) { - StructTypeFromDbusReaderConstructor(preferences_, &request, false, - base_class_name).Declare(&o, true); - StructTypeToDbusWriterMethod(&request, false).Declare(&o , true); - StructTypeDbusMessageSignatureMethod(preferences_, - &request, false).Declare(&o, true); - } StructTypeIsValidMethod(&request).Declare(&o, true); StructTypeIsInitializedMethod(&request).Declare(&o, true); StructTypeStructEmptyMethod(&request).Declare(&o, true); @@ -336,14 +313,6 @@ void DeclarationGenerator::GenerateCodeForResponse(const Response& response) { StructTypeToJsonMethod(&response).Declare(&o , true); } - if (preferences_->generate_dbus) { - StructTypeFromDbusReaderConstructor(preferences_, &response, false, - base_class_name).Declare(&o, true); - StructTypeToDbusWriterMethod(&response, false).Declare(&o , true); - - StructTypeDbusMessageSignatureMethod(preferences_, - &response, false).Declare(&o, true); - } StructTypeIsValidMethod(&response).Declare(&o, true); StructTypeIsInitializedMethod(&response).Declare(&o, true); StructTypeStructEmptyMethod(&response).Declare(&o, true); @@ -389,13 +358,6 @@ void DeclarationGenerator::GenerateCodeForNotification( StructTypeFromJsonConstructor(¬ification, base_class_name).Declare(&o , true); StructTypeToJsonMethod(¬ification).Declare(&o , true); } - if (preferences_->generate_dbus) { - StructTypeFromDbusReaderConstructor(preferences_, ¬ification, false, - base_class_name).Declare(&o , true); - StructTypeToDbusWriterMethod(¬ification, false).Declare(&o , true); - StructTypeDbusMessageSignatureMethod(preferences_, - ¬ification, false).Declare(&o, true); - } StructTypeIsValidMethod(¬ification).Declare(&o, true); StructTypeIsInitializedMethod(¬ification).Declare(&o, true); StructTypeStructEmptyMethod(¬ification).Declare(&o, true); diff --git a/tools/intergen/cppgen/src/cppgen/definition_generator.cc b/tools/intergen/cppgen/src/cppgen/definition_generator.cc index e2ad0ded04..b5e404fa71 100644 --- a/tools/intergen/cppgen/src/cppgen/definition_generator.cc +++ b/tools/intergen/cppgen/src/cppgen/definition_generator.cc @@ -40,7 +40,6 @@ #include "cppgen/message_handle_with_method.h" #include "cppgen/module_manager.h" #include "cppgen/struct_type_constructor.h" -#include "cppgen/struct_type_dbus_serializer.h" #include "cppgen/struct_type_from_json_method.h" #include "cppgen/struct_type_is_initialized_method.h" #include "cppgen/struct_type_is_valid_method.h" @@ -97,13 +96,6 @@ void DefinitionGenerator::GenerateCodeForStruct(const Struct* strct) { StructTypeFromJsonConstructor(strct, base_class_name).Define(&o , false); StructTypeToJsonMethod(strct).Define(&o , false); } - if (preferences_->generate_dbus) { - StructTypeFromDbusReaderConstructor(preferences_, strct, true, - base_class_name).Define(&o , false); - StructTypeToDbusWriterMethod(strct, true).Define(&o , false); - StructTypeDbusMessageSignatureMethod(preferences_, - strct, true).Define(&o, false); - } StructTypeIsValidMethod(strct).Define(&o, false); StructTypeIsInitializedMethod(strct).Define(&o, false); StructTypeStructEmptyMethod(strct).Define(&o, false); @@ -137,13 +129,6 @@ void DefinitionGenerator::GenerateCodeForResponse(const Response& response) { StructTypeFromJsonConstructor(&response, base_class_name).Define(&o , false); StructTypeToJsonMethod(&response).Define(&o , false); } - if (preferences_->generate_dbus) { - StructTypeFromDbusReaderConstructor(preferences_, &response, false, - base_class_name).Define(&o , false); - StructTypeToDbusWriterMethod(&response, false).Define(&o , false); - StructTypeDbusMessageSignatureMethod(preferences_, - &response, false).Define(&o, false); - } MessageHandleWithMethod(response.name()).Define(&o, false); StructTypeIsValidMethod(&response).Define(&o, false); StructTypeIsInitializedMethod(&response).Define(&o, false); @@ -173,13 +158,6 @@ void DefinitionGenerator::GenerateCodeForNotification( StructTypeFromJsonConstructor(¬ification, base_class_name).Define(&o , false); StructTypeToJsonMethod(¬ification).Define(&o , false); } - if (preferences_->generate_dbus) { - StructTypeFromDbusReaderConstructor(preferences_, ¬ification, false, - base_class_name).Define(&o, false); - StructTypeToDbusWriterMethod(¬ification, false).Define(&o , false); - StructTypeDbusMessageSignatureMethod(preferences_, - ¬ification, false).Define(&o, false); - } MessageHandleWithMethod(notification.name()).Define(&o, false); StructTypeIsValidMethod(¬ification).Define(&o, false); StructTypeIsInitializedMethod(¬ification).Define(&o, false); @@ -209,13 +187,6 @@ void DefinitionGenerator::GenerateCodeForRequest(const Request& request, StructTypeFromJsonConstructor(&request, base_class_name).Define(&o , false); StructTypeToJsonMethod(&request).Define(&o , false); } - if (preferences_->generate_dbus) { - StructTypeFromDbusReaderConstructor(preferences_, &request, false, - base_class_name).Define(&o , false); - StructTypeToDbusWriterMethod(&request, false).Define(&o , false); - StructTypeDbusMessageSignatureMethod(preferences_, - &request, false).Define(&o, false); - } StructTypeIsValidMethod(&request).Define(&o, false); StructTypeIsInitializedMethod(&request).Define(&o, false); StructTypeStructEmptyMethod(&request).Define(&o, false); diff --git a/tools/intergen/cppgen/src/cppgen/generator_preferences.cc b/tools/intergen/cppgen/src/cppgen/generator_preferences.cc index ca5b12e2d9..cc3bbe0819 100644 --- a/tools/intergen/cppgen/src/cppgen/generator_preferences.cc +++ b/tools/intergen/cppgen/src/cppgen/generator_preferences.cc @@ -44,21 +44,18 @@ namespace codegen { TypePreferences::TypePreferences(int minimum_interger_size, bool avoid_unsigned, - bool generate_json, - bool generate_dbus) + bool generate_json) : minimum_interger_size(minimum_interger_size), avoid_unsigned(avoid_unsigned), - generate_json(generate_json), - generate_dbus(generate_dbus) { + generate_json(generate_json) { } Preferences::Preferences(int minimum_interger_size, bool avoid_unsigned, bool generate_json, - bool generate_dbus, const std::set<std::string>& requested_interfaces) : type_preferences(minimum_interger_size, avoid_unsigned, - generate_json, generate_dbus), + generate_json), requested_interfaces(requested_interfaces) { } diff --git a/tools/intergen/cppgen/src/cppgen/message_factory_function.cc b/tools/intergen/cppgen/src/cppgen/message_factory_function.cc index 2cfc3ea0cd..bce7ef50b2 100644 --- a/tools/intergen/cppgen/src/cppgen/message_factory_function.cc +++ b/tools/intergen/cppgen/src/cppgen/message_factory_function.cc @@ -47,15 +47,15 @@ MessageFactoryFunction::MessageFactoryFunction( SerializationType serialization_type, FunctionMessage::MessageType factory_type) : CppFunction("", - serialization_type == kJson ? "NewFromJson" : "NewFromDbus", + "NewFromJson", Capitalize( FunctionMessage::MessageTypeToString( factory_type)) + "*"), interface_(interface), factory_type_(factory_type) { Add(MessageFactoryFunction::Parameter( - serialization_type == kJson ? "json" : "reader", - serialization_type == kJson ? "const Json::Value*": "dbus::MessageReader*")); + "json", + "const Json::Value*")); Add(MessageFactoryFunction::Parameter("function_id", "FunctionID")); } diff --git a/tools/intergen/cppgen/src/cppgen/module_manager.cc b/tools/intergen/cppgen/src/cppgen/module_manager.cc index 494e279e5c..104e3fa856 100644 --- a/tools/intergen/cppgen/src/cppgen/module_manager.cc +++ b/tools/intergen/cppgen/src/cppgen/module_manager.cc @@ -105,12 +105,6 @@ ModuleManager::ModuleManager(const std::string& name, functions_source_.Include( CppFile::Header("rpc_base/rpc_base_json_inl.h", true)); } - if (prefs.generate_dbus) { - structs_source_.Include( - CppFile::Header("rpc_base/rpc_base_dbus_inl.h", true)); - functions_source_.Include( - CppFile::Header("rpc_base/rpc_base_dbus_inl.h", true)); - } } ModuleManager::~ModuleManager() { diff --git a/tools/intergen/cppgen/src/cppgen/struct_type_dbus_serializer.cc b/tools/intergen/cppgen/src/cppgen/struct_type_dbus_serializer.cc deleted file mode 100644 index 5040652e43..0000000000 --- a/tools/intergen/cppgen/src/cppgen/struct_type_dbus_serializer.cc +++ /dev/null @@ -1,177 +0,0 @@ -/* Copyright (c) 2014, Ford Motor Company - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following - * disclaimer in the documentation and/or other materials provided with the - * distribution. - * - * Neither the name of the Ford Motor Company nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -#include "cppgen/struct_type_dbus_serializer.h" - -#include "cppgen/naming_convention.h" -#include "cppgen/type_name_code_generator.h" -#include "model/composite_type.h" -#include "utils/safeformat.h" - -using typesafe_format::strmfmt; - -namespace codegen { - -StructTypeDbusMessageSignatureMethod::StructTypeDbusMessageSignatureMethod( - const TypePreferences* preferences, - const Struct* strct, - bool substructure) - : CppFunction(strct->name(), "GetDbusSignature", "void", kStatic), - preferences_(preferences), - substructure_(substructure), - strct_(strct) { - Add(Parameter("signature", "std::string*")); -} - -StructTypeDbusMessageSignatureMethod::~StructTypeDbusMessageSignatureMethod() { -} - -void StructTypeDbusMessageSignatureMethod::DefineBody(std::ostream* os) const { - const Struct::FieldsList& fields = strct_->fields(); - if (!fields.empty()) { - if (substructure_) { - *os << "(*signature) += DBUS_STRUCT_BEGIN_CHAR;\n"; - } - for (Struct::FieldsList::const_iterator i = fields.begin(), - end = fields.end(); i != end; ++i) { - // Field is considered optional if it has mandatory=false attribute and - // if it does NOT have default values. Fields that have default values are - // always available no mater if they present in input or not - bool field_is_optional = false; - if (!i->is_mandatory()) { - if (i->default_value() == NULL) { - field_is_optional = true; - } - } - std::string field_type = RpcTypeNameGenerator(&strct_->interface(), - preferences_, - i->type(), - field_is_optional).result(); - strmfmt(*os, "rpc::DbusSignature< {0} >({1});\n", - field_type, parameters_[0].name); - - } - if (substructure_) { - *os << "(*signature) += DBUS_STRUCT_END_CHAR;\n"; - } - } -} - -StructTypeFromDbusReaderConstructor::StructTypeFromDbusReaderConstructor( - const TypePreferences* preferences, - const Struct* strct, - bool substructure, - const std::string& base_class_name) - : CppStructConstructor(strct->name()), - preferences_(preferences), - strct_(strct), - substructure_(substructure) { - Add(Parameter("reader__", "dbus::MessageReader*")); - std::string base_initializer = "reader__"; - if (!strct->frankenstruct()) { - base_initializer = "InitHelper(true)"; - } - Add(Initializer(base_class_name, base_initializer)); - // In case of non-substructure use initializer list to initialize fields - // From MessageReader passed in - if (!substructure_) { - const Struct::FieldsList& fields = strct->fields(); - for (Struct::FieldsList::const_iterator i = fields.begin(), end = fields.end(); - i != end; ++i) { - Add(Initializer(AvoidKeywords(i->name()), - "reader__")); - } - } -} - -StructTypeFromDbusReaderConstructor::~StructTypeFromDbusReaderConstructor() { -} - -void StructTypeFromDbusReaderConstructor::DefineBody(std::ostream* os) const { - const Struct::FieldsList& fields = strct_->fields(); - // If initializing substructure (a structure that is used as - // a field of other structure) additional structure reading iterator - // should be created - if (substructure_ && !fields.empty()) { - *os << "dbus::MessageReader subreader__ = reader__->TakeStructReader();\n"; - for (Struct::FieldsList::const_iterator i = fields.begin(), end = fields.end(); - i != end; ++i) { - // Field is considered optional if it has mandatory=false attribute and - // if it does NOT have default values. Fields that have default values are - // always available no mater if they present in input or not - bool field_is_optional = false; - if (!i->is_mandatory()) { - if (i->default_value() == NULL) { - field_is_optional = true; - } - } - std::string field_type = RpcTypeNameGenerator(&strct_->interface(), - preferences_, - i->type(), - field_is_optional).result(); - strmfmt(*os, "{0} = {1}(&subreader__);\n", i->name(), field_type); - } - } -} - -StructTypeToDbusWriterMethod::StructTypeToDbusWriterMethod( - const Struct* strct, - bool substructure) - : CppFunction(strct->name(), "ToDbusWriter", "void", kConst), - substructure_(substructure), - strct_(strct) { - Add(Parameter("writer__", "dbus::MessageWriter*")); -} - -StructTypeToDbusWriterMethod::~StructTypeToDbusWriterMethod() { - -} - -void StructTypeToDbusWriterMethod::DefineBody(std::ostream* os) const { - const Struct::FieldsList& fields = strct_->fields(); - if (!fields.empty()) { - std::string writer_ptr_name = parameters_[0].name; - if (substructure_) { - strmfmt(*os, "dbus::MessageWriter subwriter__({0}, dbus::kStruct, NULL);\n", - writer_ptr_name); - writer_ptr_name = "&subwriter__"; - } - for (Struct::FieldsList::const_iterator i = fields.begin(), end = fields.end(); - i != end; ++i) { - strmfmt(*os, "{0}.ToDbusWriter({1});\n", - i->name(), - writer_ptr_name); - } - } -} - - -} // namespace codegen diff --git a/tools/intergen/test/CMakeLists.txt b/tools/intergen/test/CMakeLists.txt index f2973dd71c..7695ec419c 100644 --- a/tools/intergen/test/CMakeLists.txt +++ b/tools/intergen/test/CMakeLists.txt @@ -30,11 +30,7 @@ if(BUILD_TESTS) include(${CMAKE_SOURCE_DIR}/tools/intergen/GenerateInterfaceLibrary.cmake) -if (${HMI_DBUS_API}) - GenerateInterfaceLibrary("test_interface.xml" test_rpc_interface DBUS_SUPPORT) -else() - GenerateInterfaceLibrary("test_interface.xml" test_rpc_interface) -endif() +GenerateInterfaceLibrary("test_interface.xml" test_rpc_interface) set (TEST_HMI_INTERFACES common @@ -45,11 +41,7 @@ set (TEST_HMI_INTERFACES ui ) -if (${HMI_DBUS_API}) - GenerateInterfaceLibrary("test_hmi_interface.xml" "${TEST_HMI_INTERFACES}" AUTO_FUNC_IDS DBUS_SUPPORT) -else() - GenerateInterfaceLibrary("test_hmi_interface.xml" "${TEST_HMI_INTERFACES}" AUTO_FUNC_IDS) -endif() +GenerateInterfaceLibrary("test_hmi_interface.xml" "${TEST_HMI_INTERFACES}" AUTO_FUNC_IDS) include_directories ( ${CMAKE_SOURCE_DIR}/src/components/rpc_base/include @@ -70,16 +62,5 @@ set (SOURCES generated_interface_json_tests.cc ) -if (${HMI_DBUS_API}) - # Build dbus tests - include_directories( - ${CMAKE_SOURCE_DIR}/src/components/dbus/include - ${DBUS_INCLUDE_DIRS} - ) - set (LIBRARIES ${LIBRARIES} DBus) - set (SOURCES ${SOURCES} generated_interface_dbus_tests.cc) -endif () - - create_test(test_generated_interface "${SOURCES}" "${LIBRARIES}") endif() diff --git a/tools/intergen/test/generated_interface_dbus_tests.cc b/tools/intergen/test/generated_interface_dbus_tests.cc deleted file mode 100644 index a510ccd77a..0000000000 --- a/tools/intergen/test/generated_interface_dbus_tests.cc +++ /dev/null @@ -1,127 +0,0 @@ -/* - * Copyright (c) 2015, Ford Motor Company - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following - * disclaimer in the documentation and/or other materials provided with the - * distribution. - * - * Neither the name of the Ford Motor Company nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -#include "gmock/gmock.h" - -#include <test_rpc_interface/interface.h> -#include <test_rpc_interface/functions.h> - -#include "dbus/dbus_message.h" - -namespace test { -using namespace rpc::test_rpc_interface; - -TEST(GeneratedInterfaceDbusTests, TestFailedDbusDeserialization) { - dbus::MessageRef msg(dbus_message_new(DBUS_MESSAGE_TYPE_METHOD_CALL)); - { - dbus::MessageWriter writer(msg); - } - { - dbus::MessageReader reader(msg); - request::DiagnosticMessage dm(&reader); - ASSERT_TRUE(reader.has_failed()); - ASSERT_TRUE(dm.is_initialized()); - ASSERT_FALSE(dm.is_valid()); - } -} - -TEST(GeneratedInterfaceDbusTests, TestDbusDeserialization) { - dbus::MessageRef msg(dbus_message_new(DBUS_MESSAGE_TYPE_METHOD_CALL)); - { - dbus::MessageWriter writer(msg); - writer.PutUint16(22); - writer.PutUint16(42); - dbus::MessageWriter array_writer(&writer, dbus::kArray, DBUS_TYPE_BYTE_AS_STRING); - array_writer.PutByte(11); - } - { - dbus::MessageReader reader(msg); - request::DiagnosticMessage dm(&reader); - ASSERT_FALSE(reader.has_failed()); - ASSERT_FALSE(reader.HasNext()); - ASSERT_TRUE(dm.is_initialized()); - ASSERT_TRUE(dm.is_valid()); - ASSERT_EQ(dm.targetID, 22); - ASSERT_EQ(dm.messageLength, 42); - ASSERT_EQ(dm.messageData.size(), 1u); - } -} - -TEST(GeneratedInterfaceDbusTests, TestDbusSerializationDeserialization) { - dbus::MessageRef msg(dbus_message_new(DBUS_MESSAGE_TYPE_METHOD_CALL)); - { - dbus::MessageWriter writer(msg); - request::DiagnosticMessage dm; - dm.targetID = 70; - dm.messageLength = 1; - dm.messageData.push_back(42); - dm.ToDbusWriter(&writer); - } - { - dbus::MessageReader reader(msg); - request::DiagnosticMessage dm(&reader); - ASSERT_FALSE(reader.has_failed()); - ASSERT_FALSE(reader.HasNext()); - ASSERT_TRUE(dm.is_initialized()); - ASSERT_TRUE(dm.is_valid()); - ASSERT_EQ(dm.targetID, 70); - ASSERT_EQ(dm.messageLength, 1); - ASSERT_EQ(dm.messageData.size(), 1u); - ASSERT_EQ(dm.messageData[0], 42u); - } -} - -TEST(GeneratedInterfaceDbusTests, TestDbusAddSubMenuSerializatioDeserialization) { - dbus::MessageRef msg(dbus_message_new(DBUS_MESSAGE_TYPE_METHOD_CALL)); - { - dbus::MessageWriter writer(msg); - notification::DummyNotification dn; - TdStruct tds; - tds.resArrMap["Hello"].push_back(R_SUCCESS); - (*tds.optionalResArrMap)["World"].push_back(R_INVALID_DATA); - dn.tds.push_back(tds); - ASSERT_TRUE(dn.is_valid()); - dn.ToDbusWriter(&writer); - } - { - dbus::MessageReader reader(msg); - notification::DummyNotification dn(&reader); - ASSERT_TRUE(dn.is_initialized()); - ASSERT_TRUE(dn.is_valid()); - ASSERT_FALSE(reader.has_failed()); - ASSERT_FALSE(reader.HasNext()); - ASSERT_EQ(dn.tds[0].resArrMap["Hello"][0], R_SUCCESS); - ASSERT_EQ((*dn.tds[0].optionalResArrMap)["World"][0], R_INVALID_DATA); - } -} - -} // namespace test diff --git a/tools/intergen/test/test_hmi_interface.xml b/tools/intergen/test/test_hmi_interface.xml index 16f2892327..c8d0a789e0 100644 --- a/tools/intergen/test/test_hmi_interface.xml +++ b/tools/intergen/test/test_hmi_interface.xml @@ -2777,938 +2777,573 @@ </description> </param> </function> - -<!--Qt HMI version of GetVehicleData--> - <function name="GetGpsData" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> - </param> - </function> - <function name="GetGpsData" messagetype="response"> - <param name="gps" type="Common.GPSData" mandatory="true"> + <function name="SubscribeVehicleData" messagetype="request"> + <description> + Subscribes for specific published data items. + The data will be only sent if it has changed. + The application will be notified by the onVehicleData notification whenever new data is available. + To unsubscribe the notifications, use unsubscribe with the same subscriptionType. + </description> + <param name="gps" type="Boolean" mandatory="false"> <description>See GPSData</description> </param> - </function> - - <function name="GetSpeed" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> - </param> - </function> - <function name="GetSpeed" messagetype="response"> - <param name="speed" type="Float" minvalue="0" maxvalue="700" mandatory="true"> + <param name="speed" type="Boolean" mandatory="false"> <description>The vehicle speed in kilometers per hour</description> </param> - </function> - - <function name="GetRpm" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> - </param> - </function> - <function name="GetRpm" messagetype="response"> - <param name="rpm" type="Integer" minvalue="0" maxvalue="20000" mandatory="true"> + <param name="rpm" type="Boolean" mandatory="false"> <description>The number of revolutions per minute of the engine</description> </param> - </function> - - <function name="GetFuelLevel" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> - </param> - </function> - <function name="GetFuelLevel" messagetype="response"> - <param name="fuelLevel" type="Float" minvalue="-6" maxvalue="106" mandatory="true"> + <param name="fuelLevel" type="Boolean" mandatory="false"> <description>The fuel level in the tank (percentage)</description> </param> - </function> - - <function name="GetFuelLevelState" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> - </param> - </function> - <function name="GetFuelLevelState" messagetype="response"> - <param name="fuelLevel_State" type="Common.ComponentVolumeStatus" mandatory="true"> + <param name="fuelLevel_State" type="Boolean" mandatory="false"> <description>The fuel level state</description> </param> - </function> - - <function name="GetInstantFuelConsumption" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> - </param> - </function> - <function name="GetInstantFuelConsumption" messagetype="response"> - <param name="instantFuelConsumption" type="Float" minvalue="0" maxvalue="25575" mandatory="true"> + <param name="instantFuelConsumption" type="Boolean" mandatory="false"> <description>The instantaneous fuel consumption in microlitres</description> </param> - </function> - - <function name="GetExternalTemperature" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> - </param> - </function> - <function name="GetExternalTemperature" messagetype="response"> - <param name="externalTemperature" type="Float" minvalue="-40" maxvalue="100" mandatory="true"> + <param name="externalTemperature" type="Boolean" mandatory="false"> <description>The external temperature in degrees celsius</description> </param> - </function> - - <function name="GetVin" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> - </param> - </function> - <function name="GetVin" messagetype="response"> - <param name="vin" type="String" maxlength="17" mandatory="true"> - <description>Vehicle identification number</description> - </param> - </function> - - <function name="GetPrndl" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> - </param> - </function> - <function name="GetPrndl" messagetype="response"> - <param name="prndl" type="Common.PRNDL" mandatory="true"> + <param name="prndl" type="Boolean" mandatory="false"> <description>See PRNDL</description> </param> - </function> - - <function name="GetTirePressure" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> - </param> - </function> - <function name="GetTirePressure" messagetype="response"> - <param name="tirePressure" type="Common.TireStatus" mandatory="true"> + <param name="tirePressure" type="Boolean" mandatory="false"> <description>See TireStatus</description> </param> - </function> - - <function name="GetOdometer" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> - </param> - </function> - <function name="GetOdometer" messagetype="response"> - <param name="odometer" type="Integer" minvalue="0" maxvalue="17000000" mandatory="true"> + <param name="odometer" type="Boolean" mandatory="false"> <description>Odometer in km</description> </param> - </function> - - <function name="GetBeltStatus" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> - </param> - </function> - <function name="GetBeltStatus" messagetype="response"> - <param name="beltStatus" type="Common.BeltStatus" mandatory="true"> + <param name="beltStatus" type="Boolean" mandatory="false"> <description>The status of the seat belts</description> </param> - </function> - - <function name="GetBodyInformation" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> - </param> - </function> - <function name="GetBodyInformation" messagetype="response"> - <param name="bodyInformation" type="Common.BodyInformation" mandatory="true"> + <param name="bodyInformation" type="Boolean" mandatory="false"> <description>The body information including power modes</description> </param> - </function> - - <function name="GetDeviceStatus" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> - </param> - </function> - <function name="GetDeviceStatus" messagetype="response"> - <param name="deviceStatus" type="Common.DeviceStatus" mandatory="true"> + <param name="deviceStatus" type="Boolean" mandatory="false"> <description>The device status including signal and battery strength</description> </param> - </function> - - <function name="GetDriverBraking" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> - </param> - </function> - <function name="GetDriverBraking" messagetype="response"> - <param name="driverBraking" type="Common.VehicleDataEventStatus" mandatory="true"> + <param name="driverBraking" type="Boolean" mandatory="false"> <description>The status of the brake pedal</description> </param> - </function> - - <function name="GetWiperStatus" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> - </param> - </function> - <function name="GetWiperStatus" messagetype="response"> - <param name="wiperStatus" type="Common.WiperStatus" mandatory="true"> + <param name="wiperStatus" type="Boolean" mandatory="false"> <description>The status of the wipers</description> </param> - </function> - - <function name="GetHeadLampStatus" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> - </param> - </function> - <function name="GetHeadLampStatus" messagetype="response"> - <param name="headLampStatus" type="Common.HeadLampStatus" mandatory="true"> + <param name="headLampStatus" type="Boolean" mandatory="false"> <description>Status of the head lamps</description> </param> - </function> - - <function name="GetEngineTorque" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> - </param> - </function> - <function name="GetEngineTorque" messagetype="response"> - <param name="engineTorque" type="Float" minvalue="-1000" maxvalue="2000" mandatory="true"> + <param name="engineTorque" type="Boolean" mandatory="false"> <description>Torque value for engine (in Nm) on non-diesel variants</description> </param> - </function> - - <function name="GetAccPedalPosition" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> - </param> - </function> - <function name="GetAccPedalPosition" messagetype="response"> - <param name="accPedalPosition" type="Float" minvalue="0" maxvalue="100" mandatory="true"> + <param name="accPedalPosition" type="Boolean" mandatory="false"> <description>Accelerator pedal position (percentage depressed)</description> </param> - </function> - - <function name="GetSteeringWheelAngle" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> - </param> - </function> - <function name="GetSteeringWheelAngle" messagetype="response"> - <param name="steeringWheelAngle" type="Float" minvalue="-2000" maxvalue="2000" mandatory="true"> + <param name="steeringWheelAngle" type="Boolean" mandatory="false"> <description>Current angle of the steering wheel (in deg)</description> </param> - </function> - - <function name="GetECallInfo" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="engineOilLife" type="Boolean" mandatory="false"> + <description>The estimated percentage of remaining oil life of the engine.</description> </param> - </function> - <function name="GetECallInfo" messagetype="response"> - <param name="eCallInfo" type="Common.ECallInfo" mandatory="true"> + <!-- Ford Specific Data Items --> + <param name="eCallInfo" type="Boolean" mandatory="false"> <description>Emergency Call notification and confirmation data</description> </param> - </function> - - <function name="GetAirbagStatus" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> - </param> - </function> - <function name="GetAirbagStatus" messagetype="response"> - <param name="airbagStatus" type="Common.AirbagStatus" mandatory="true"> + <param name="airbagStatus" type="Boolean" mandatory="false"> <description>The status of the air bags</description> </param> - </function> - - <function name="GetEmergencyEvent" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> - </param> - </function> - <function name="GetEmergencyEvent" messagetype="response"> - <param name="emergencyEvent" type="Common.EmergencyEvent" mandatory="true"> + <param name="emergencyEvent" type="Boolean" mandatory="false"> <description>Information related to an emergency event (and if it occurred)</description> </param> - </function> - - <function name="GetClusterModeStatus" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> - </param> - </function> - <function name="GetClusterModeStatus" messagetype="response"> - <param name="clusterModeStatus" type="Common.ClusterModeStatus" mandatory="true"> + <param name="clusterModeStatus" type="Boolean" mandatory="false"> <description>The status modes of the cluster</description> </param> - </function> - - <function name="GetMyKey" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> - </param> - </function> - <function name="GetMyKey" messagetype="response"> - <param name="myKey" type="Common.MyKey" mandatory="true"> + <param name="myKey" type="Boolean" mandatory="false"> <description>Information related to the MyKey feature</description> </param> + <!-- / Ford Specific Data Items --> </function> -<!--end Qt HMI version of GetVehicleData--> - -<!--Qt HMI version of OnVehicleData--> - <function name="OnGpsData" messagetype="notification"> - <param name="gps" type="Common.GPSData" mandatory="true"> + <function name="SubscribeVehicleData" messagetype="response"> + <param name="gps" type="Common.VehicleDataResult" mandatory="false"> <description>See GPSData</description> </param> - </function> - - <function name="OnSpeed" messagetype="notification"> - <param name="speed" type="Float" minvalue="0" maxvalue="700" mandatory="true"> + <param name="speed" type="Common.VehicleDataResult" mandatory="false"> <description>The vehicle speed in kilometers per hour</description> </param> - </function> - - <function name="OnRpm" messagetype="notification"> - <param name="rpm" type="Integer" minvalue="0" maxvalue="20000" mandatory="true"> + <param name="rpm" type="Common.VehicleDataResult" mandatory="false"> <description>The number of revolutions per minute of the engine</description> </param> - </function> - - <function name="OnFuelLevel" messagetype="notification"> - <param name="fuelLevel" type="Float" minvalue="-6" maxvalue="106" mandatory="true"> + <param name="fuelLevel" type="Common.VehicleDataResult" mandatory="false"> <description>The fuel level in the tank (percentage)</description> </param> - </function> - - <function name="OnFuelLevelState" messagetype="notification"> - <param name="fuelLevel_State" type="Common.ComponentVolumeStatus" mandatory="true"> + <param name="fuelLevel_State" type="Common.VehicleDataResult" mandatory="false"> <description>The fuel level state</description> </param> - </function> - - <function name="OnInstantFuelConsumption" messagetype="notification"> - <param name="instantFuelConsumption" type="Float" minvalue="0" maxvalue="25575" mandatory="true"> + <param name="instantFuelConsumption" type="Common.VehicleDataResult" mandatory="false"> <description>The instantaneous fuel consumption in microlitres</description> </param> - </function> - - <function name="OnExternalTemperature" messagetype="notification"> - <param name="externalTemperature" type="Float" minvalue="-40" maxvalue="100" mandatory="true"> - <description>The external temperature in degrees celsius</description> - </param> - </function> - - <function name="OnVin" messagetype="notification"> - <param name="vin" type="String" maxlength="17" mandatory="true"> - <description>Vehicle identification number.</description> + <param name="externalTemperature" type="Common.VehicleDataResult" mandatory="false"> + <description>The external temperature in degrees celsius.</description> </param> - </function> - - <function name="OnPrndl" messagetype="notification"> - <param name="prndl" type="Common.PRNDL" mandatory="true"> + <param name="prndl" type="Common.VehicleDataResult" mandatory="false"> <description>See PRNDL</description> </param> - </function> - - <function name="OnTirePressure" messagetype="notification"> - <param name="tirePressure" type="Common.TireStatus" mandatory="true"> + <param name="tirePressure" type="Common.VehicleDataResult" mandatory="false"> <description>See TireStatus</description> </param> - </function> - - <function name="OnOdometer" messagetype="notification"> - <param name="odometer" type="Integer" minvalue="0" maxvalue="2000000" mandatory="true"> + <param name="odometer" type="Common.VehicleDataResult" mandatory="false"> <description>Odometer in km</description> </param> - </function> - - <function name="OnBeltStatus" messagetype="notification"> - <param name="beltStatus" type="Common.BeltStatus" mandatory="true"> + <param name="beltStatus" type="Common.VehicleDataResult" mandatory="false"> <description>The status of the seat belts</description> </param> - </function> - - <function name="OnBodyInformation" messagetype="notification"> - <param name="bodyInformation" type="Common.BodyInformation" mandatory="true"> + <param name="bodyInformation" type="Common.VehicleDataResult" mandatory="false"> <description>The body information including power modes</description> </param> - </function> - - <function name="OnDeviceStatus" messagetype="notification"> - <param name="deviceStatus" type="Common.DeviceStatus" mandatory="true"> + <param name="deviceStatus" type="Common.VehicleDataResult" mandatory="false"> <description>The device status including signal and battery strength</description> </param> - </function> - - <function name="OnDriverBraking" messagetype="notification"> - <param name="driverBraking" type="Common.VehicleDataEventStatus" mandatory="true"> + <param name="driverBraking" type="Common.VehicleDataResult" mandatory="false"> <description>The status of the brake pedal</description> </param> - </function> - - <function name="OnWiperStatus" messagetype="notification"> - <param name="wiperStatus" type="Common.WiperStatus" mandatory="true"> + <param name="wiperStatus" type="Common.VehicleDataResult" mandatory="false"> <description>The status of the wipers</description> </param> - </function> - - <function name="OnHeadLampStatus" messagetype="notification"> - <param name="headLampStatus" type="Common.HeadLampStatus" mandatory="true"> + <param name="headLampStatus" type="Common.VehicleDataResult" mandatory="false"> <description>Status of the head lamps</description> </param> - </function> - - <function name="OnEngineTorque" messagetype="notification"> - <param name="engineTorque" type="Float" minvalue="-1000" maxvalue="2000" mandatory="true"> + <param name="engineTorque" type="Common.VehicleDataResult" mandatory="false"> <description>Torque value for engine (in Nm) on non-diesel variants</description> </param> - </function> - - <function name="OnAccPedalPosition" messagetype="notification"> - <param name="accPedalPosition" type="Float" minvalue="0" maxvalue="100" mandatory="true"> + <param name="accPedalPosition" type="Common.VehicleDataResult" mandatory="false"> <description>Accelerator pedal position (percentage depressed)</description> </param> - </function> - - <function name="OnSteeringWheelAngle" messagetype="notification"> - <param name="steeringWheelAngle" type="Float" minvalue="-2000" maxvalue="2000" mandatory="true"> + <param name="steeringWheelAngle" type="Common.VehicleDataResult" mandatory="false"> <description>Current angle of the steering wheel (in deg)</description> </param> - </function> - - <function name="OnMyKey" messagetype="notification"> - <param name="myKey" type="Common.MyKey" mandatory="true"> + <param name="engineOilLife" type="Common.VehicleDataResult" mandatory="false"> + <description>The estimated percentage of remaining oil life of the engine.</description> + </param> + <!-- Ford Specific Data Items --> + <param name="eCallInfo" type="Common.VehicleDataResult" mandatory="false"> + <description>Emergency Call notification and confirmation data</description> + </param> + <param name="airbagStatus" type="Common.VehicleDataResult" mandatory="false"> + <description>The status of the air bags</description> + </param> + <param name="emergencyEvent" type="Common.VehicleDataResult" mandatory="false"> + <description>Information related to an emergency event (and if it occurred)</description> + </param> + <param name="clusterModes" type="Common.VehicleDataResult" mandatory="false"> + <description>The status modes of the cluster</description> + </param> + <param name="myKey" type="Common.VehicleDataResult" mandatory="false"> <description>Information related to the MyKey feature</description> </param> + <!-- / Ford Specific Data Items --> </function> -<!--end Qt HMI version of OnVehicleData--> - -<!--Qt HMI version of SubscribeVehicleData/UnsubscribeVehicleData--> - <function name="SubscribeGps" messagetype="request"> + <function name="UnsubscribeVehicleData" messagetype="request"> + <description> + This function is used to unsubscribe the notifications from the subscribeVehicleData function. + </description> <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <description>ID of application that requested this RPC.</description> </param> - </function> - <function name="SubscribeGps" messagetype="response"> - <param name="gps" type="Common.VehicleDataResult" mandatory="true"> + <param name="gps" type="Boolean" mandatory="false"> <description>See GPSData</description> </param> - </function> - <function name="UnsubscribeGps" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="speed" type="Boolean" mandatory="false"> + <description>The vehicle speed in kilometers per hour</description> </param> - </function> - <function name="UnsubscribeGps" messagetype="response"> - <param name="gps" type="Common.VehicleDataResult" mandatory="true"> - <description>See GPSData</description> + <param name="rpm" type="Boolean" mandatory="false"> + <description>The number of revolutions per minute of the engine</description> </param> - </function> - - <function name="SubscribeSpeed" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="fuelLevel" type="Boolean" mandatory="false"> + <description>The fuel level in the tank (percentage)</description> </param> - </function> - <function name="SubscribeSpeed" messagetype="response"> - <param name="speed" type="Common.VehicleDataResult" mandatory="true"> - <description>The vehicle speed in kilometers per hour</description> + <param name="fuelLevel_State" type="Boolean" mandatory="false"> + <description>The fuel level state</description> </param> - </function> - <function name="UnsubscribeSpeed" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="instantFuelConsumption" type="Boolean" mandatory="false"> + <description>The instantaneous fuel consumption in microlitres</description> </param> - </function> - <function name="UnsubscribeSpeed" messagetype="response"> - <param name="speed" type="Common.VehicleDataResult" mandatory="true"> - <description>The vehicle speed in kilometers per hour</description> + <param name="externalTemperature" type="Boolean" mandatory="false"> + <description>The external temperature in degrees celsius.</description> </param> - </function> - - <function name="SubscribeRpm" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="prndl" type="Boolean" mandatory="false"> + <description>See PRNDL</description> </param> - </function> - <function name="SubscribeRpm" messagetype="response"> - <param name="rpm" type="Common.VehicleDataResult" mandatory="true"> - <description>The number of revolutions per minute of the engine</description> + <param name="tirePressure" type="Boolean" mandatory="false"> + <description>See TireStatus</description> </param> - </function> - <function name="UnsubscribeRpm" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="odometer" type="Boolean" mandatory="false"> + <description>Odometer in km</description> </param> - </function> - <function name="UnsubscribeRpm" messagetype="response"> - <param name="rpm" type="Common.VehicleDataResult" mandatory="true"> - <description>The number of revolutions per minute of the engine</description> + <param name="beltStatus" type="Boolean" mandatory="false"> + <description>The status of the seat belts</description> </param> - </function> - - <function name="SubscribeFuelLevel" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="bodyInformation" type="Boolean" mandatory="false"> + <description>The body information including power modes</description> </param> - </function> - <function name="SubscribeFuelLevel" messagetype="response"> - <param name="fuelLevel" type="Common.VehicleDataResult" mandatory="true"> - <description>The fuel level in the tank (percentage)</description> + <param name="deviceStatus" type="Boolean" mandatory="false"> + <description>The device status including signal and battery strength</description> </param> - </function> - <function name="UnsubscribeFuelLevel" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="driverBraking" type="Boolean" mandatory="false"> + <description>The status of the brake pedal</description> </param> - </function> - <function name="UnsubscribeFuelLevel" messagetype="response"> - <param name="fuelLevel" type="Common.VehicleDataResult" mandatory="true"> - <description>The fuel level in the tank (percentage)</description> + <param name="wiperStatus" type="Boolean" mandatory="false"> + <description>The status of the wipers</description> </param> - </function> - - <function name="SubscribeFuelLevel_State" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="headLampStatus" type="Boolean" mandatory="false"> + <description>Status of the head lamps</description> </param> - </function> - <function name="SubscribeFuelLevel_State" messagetype="response"> - <param name="fuelLevel_State" type="Common.VehicleDataResult" mandatory="true"> - <description>The fuel level state</description> + <param name="engineTorque" type="Boolean" mandatory="false"> + <description>Torque value for engine (in Nm) on non-diesel variants</description> </param> - </function> - <function name="UnsubscribeFuelLevel_State" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="accPedalPosition" type="Boolean" mandatory="false"> + <description>Accelerator pedal position (percentage depressed)</description> </param> - </function> - <function name="UnsubscribeFuelLevel_State" messagetype="response"> - <param name="fuelLevel_State" type="Common.VehicleDataResult" mandatory="true"> - <description>The fuel level state</description> + <param name="steeringWheelAngle" type="Boolean" mandatory="false"> + <description>Current angle of the steering wheel (in deg)</description> </param> - </function> - - <function name="SubscribeInstantFuelConsumption" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="engineOilLife" type="Boolean" mandatory="false"> + <description>The estimated percentage of remaining oil life of the engine.</description> </param> - </function> - <function name="SubscribeInstantFuelConsumption" messagetype="response"> - <param name="instantFuelConsumption" type="Common.VehicleDataResult" mandatory="true"> - <description>The instantaneous fuel consumption in microlitres</description> + <!-- Ford Specific Data Items --> + <param name="eCallInfo" type="Boolean" mandatory="false"> + <description>Emergency Call notification and confirmation data</description> </param> - </function> - <function name="UnsubscribeInstantFuelConsumption" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="airbagStatus" type="Boolean" mandatory="false"> + <description>The status of the air bags</description> </param> - </function> - <function name="UnsubscribeInstantFuelConsumption" messagetype="response"> - <param name="instantFuelConsumption" type="Common.VehicleDataResult" mandatory="true"> - <description>The instantaneous fuel consumption in microlitres</description> + <param name="emergencyEvent" type="Boolean" mandatory="false"> + <description>Information related to an emergency event (and if it occurred)</description> </param> - </function> - - <function name="SubscribeExternalTemperature" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="clusterModeStatus" type="Boolean" mandatory="false"> + <description>The status modes of the cluster</description> </param> - </function> - <function name="SubscribeExternalTemperature" messagetype="response"> - <param name="externalTemperature" type="Common.VehicleDataResult" mandatory="true"> - <description>The external temperature in degrees celsius</description> + <param name="myKey" type="Boolean" mandatory="false"> + <description>Information related to the MyKey feature</description> </param> + <!-- / Ford Specific Data Items --> </function> - <function name="UnsubscribeExternalTemperature" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <function name="UnsubscribeVehicleData" messagetype="response"> + <param name="gps" type="Common.VehicleDataResult" mandatory="false"> + <description>See GPSData</description> </param> - </function> - <function name="UnsubscribeExternalTemperature" messagetype="response"> - <param name="externalTemperature" type="Common.VehicleDataResult" mandatory="true"> - <description>The external temperature in degrees celsius</description> + <param name="speed" type="Common.VehicleDataResult" mandatory="false"> + <description>The vehicle speed in kilometers per hour</description> </param> - </function> - - <function name="SubscribePrndl" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="rpm" type="Common.VehicleDataResult" mandatory="false"> + <description>The number of revolutions per minute of the engine</description> </param> - </function> - <function name="SubscribePrndl" messagetype="response"> - <param name="prndl" type="Common.VehicleDataResult" mandatory="true"> - <description>See PRNDL</description> + <param name="fuelLevel" type="Common.VehicleDataResult" mandatory="false"> + <description>The fuel level in the tank (percentage)</description> </param> - </function> - <function name="UnsubscribePrndl" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="fuelLevel_State" type="Common.VehicleDataResult" mandatory="false"> + <description>The fuel level state</description> </param> - </function> - <function name="UnsubscribePrndl" messagetype="response"> - <param name="prndl" type="Common.VehicleDataResult" mandatory="true"> + <param name="instantFuelConsumption" type="Common.VehicleDataResult" mandatory="false"> + <description>The instantaneous fuel consumption in microlitres</description> + </param> + <param name="externalTemperature" type="Common.VehicleDataResult" mandatory="false"> + <description>The external temperature in degrees celsius</description> + </param> + <param name="prndl" type="Common.VehicleDataResult" mandatory="false"> <description>See PRNDL</description> </param> - </function> - - <function name="SubscribeVin" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="tirePressure" type="Common.VehicleDataResult" mandatory="false"> + <description>See TireStatus</description> </param> - </function> - <function name="SubscribeVin" messagetype="response"> - <param name="vin" type="String" maxlength="17" mandatory="true"> - <description>Vehicle identification number</description> + <param name="odometer" type="Common.VehicleDataResult" mandatory="false"> + <description>Odometer in km</description> </param> - </function> - <function name="UnsubscribeVin" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="beltStatus" type="Common.VehicleDataResult" mandatory="false"> + <description>The status of the seat belts</description> </param> - </function> - <function name="UnsubscribeVin" messagetype="response"> - <param name="vin" type="String" maxlength="17" mandatory="true"> - <description>Vehicle identification number</description> + <param name="bodyInformation" type="Common.VehicleDataResult" mandatory="false"> + <description>The body information including power modes</description> </param> - </function> - - <function name="SubscribeTirePressure" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="deviceStatus" type="Common.VehicleDataResult" mandatory="false"> + <description>The device status including signal and battery strength</description> </param> - </function> - <function name="SubscribeTirePressure" messagetype="response"> - <param name="tirePressure" type="Common.VehicleDataResult" mandatory="true"> - <description>See TireStatus</description> + <param name="driverBraking" type="Common.VehicleDataResult" mandatory="false"> + <description>The status of the brake pedal</description> </param> - </function> - <function name="UnsubscribeTirePressure" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="wiperStatus" type="Common.VehicleDataResult" mandatory="false"> + <description>The status of the wipers</description> </param> - </function> - <function name="UnsubscribeTirePressure" messagetype="response"> - <param name="tirePressure" type="Common.VehicleDataResult" mandatory="true"> - <description>See TireStatus</description> + <param name="headLampStatus" type="Common.VehicleDataResult" mandatory="false"> + <description>Status of the head lamps</description> </param> - </function> - - <function name="SubscribeOdometer" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="engineTorque" type="Common.VehicleDataResult" mandatory="false"> + <description>Torque value for engine (in Nm) on non-diesel variants</description> </param> - </function> - <function name="SubscribeOdometer" messagetype="response"> - <param name="odometer" type="Common.VehicleDataResult" mandatory="true"> - <description>Odometer in km</description> + <param name="accPedalPosition" type="Common.VehicleDataResult" mandatory="false"> + <description>Accelerator pedal position (percentage depressed)</description> </param> - </function> - <function name="UnsubscribeOdometer" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="steeringWheelAngle" type="Common.VehicleDataResult" mandatory="false"> + <description>Current angle of the steering wheel (in deg)</description> </param> - </function> - <function name="UnsubscribeOdometer" messagetype="response"> - <param name="odometer" type="Common.VehicleDataResult" mandatory="true"> - <description>Odometer in km</description> + <param name="engineOilLife" type="Common.VehicleDataResult" mandatory="false"> + <description>The estimated percentage of remaining oil life of the engine.</description> </param> - </function> - - <function name="SubscribeBeltStatus" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <!-- Ford Specific Data Items --> + <param name="eCallInfo" type="Common.VehicleDataResult" mandatory="false"> + <description>Emergency Call notification and confirmation data</description> </param> - </function> - <function name="SubscribeBeltStatus" messagetype="response"> - <param name="beltStatus" type="Common.VehicleDataResult" mandatory="true"> - <description>The status of the seat belts</description> + <param name="airbagStatus" type="Common.VehicleDataResult" mandatory="false"> + <description>The status of the air bags</description> </param> - </function> - <function name="UnsubscribeBeltStatus" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="emergencyEvent" type="Common.VehicleDataResult" mandatory="false"> + <description>Information related to an emergency event (and if it occurred)</description> </param> - </function> - <function name="UnsubscribeBeltStatus" messagetype="response"> - <param name="beltStatus" type="Common.VehicleDataResult" mandatory="true"> - <description>The status of the seat belts</description> + <param name="clusterModes" type="Common.VehicleDataResult" mandatory="false"> + <description>The status modes of the cluster</description> </param> - </function> - - <function name="SubscribeBodyInformation" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="myKey" type="Common.VehicleDataResult" mandatory="false"> + <description>Information related to the MyKey feature</description> </param> + <!-- / Ford Specific Data Items --> </function> - <function name="SubscribeBodyInformation" messagetype="response"> - <param name="bodyInformation" type="Common.VehicleDataResult" mandatory="true"> - <description>The body information including power modes</description> + <function name="GetVehicleData" messagetype="request"> + <description>Non periodic vehicle data read request.</description> + <param name="gps" type="Boolean" mandatory="false"> + <description>See GPSData</description> </param> - </function> - <function name="UnsubscribeBodyInformation" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="speed" type="Boolean" mandatory="false"> + <description>The vehicle speed in kilometers per hour</description> </param> - </function> - <function name="UnsubscribeBodyInformation" messagetype="response"> - <param name="bodyInformation" type="Common.VehicleDataResult" mandatory="true"> - <description>The body information including power modes</description> + <param name="rpm" type="Boolean" mandatory="false"> + <description>The number of revolutions per minute of the engine</description> </param> - </function> - - <function name="SubscribeDeviceStatus" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="fuelLevel" type="Boolean" mandatory="false"> + <description>The fuel level in the tank (percentage)</description> </param> - </function> - <function name="SubscribeDeviceStatus" messagetype="response"> - <param name="deviceStatus" type="Common.VehicleDataResult" mandatory="true"> - <description>The device status including signal and battery strength</description> + <param name="fuelLevel_State" type="Boolean" mandatory="false"> + <description>The fuel level state</description> </param> - </function> - <function name="UnsubscribeDeviceStatus" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="instantFuelConsumption" type="Boolean" mandatory="false"> + <description>The instantaneous fuel consumption in microlitres</description> </param> - </function> - <function name="UnsubscribeDeviceStatus" messagetype="response"> - <param name="deviceStatus" type="Common.VehicleDataResult" mandatory="true"> - <description>The device status including signal and battery strength</description> + <param name="externalTemperature" type="Boolean" mandatory="false"> + <description>The external temperature in degrees celsius</description> </param> - </function> - - <function name="SubscribeDriverBraking" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="vin" type="Boolean" mandatory="false"> + <description>Vehicle identification number</description> </param> - </function> - <function name="SubscribeDriverBraking" messagetype="response"> - <param name="driverBraking" type="Common.VehicleDataResult" mandatory="true"> - <description>The status of the brake pedal</description> + <param name="prndl" type="Boolean" mandatory="false"> + <description>See PRNDL</description> </param> - </function> - <function name="UnsubscribeDriverBraking" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="tirePressure" type="Boolean" mandatory="false"> + <description>See TireStatus</description> </param> - </function> - <function name="UnsubscribeDriverBraking" messagetype="response"> - <param name="driverBraking" type="Common.VehicleDataResult" mandatory="true"> - <description>The status of the brake pedal</description> + <param name="odometer" type="Boolean" mandatory="false"> + <description>Odometer in km</description> </param> - </function> - - <function name="SubscribeWiperStatus" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="beltStatus" type="Boolean" mandatory="false"> + <description>The status of the seat belts</description> </param> - </function> - <function name="SubscribeWiperStatus" messagetype="response"> - <param name="wiperStatus" type="Common.VehicleDataResult" mandatory="true"> - <description>The status of the wipers</description> + <param name="bodyInformation" type="Boolean" mandatory="false"> + <description>The body information including ignition status and internal temp</description> </param> - </function> - <function name="UnsubscribeWiperStatus" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="deviceStatus" type="Boolean" mandatory="false"> + <description>The device status including signal and battery strength</description> </param> - </function> - <function name="UnsubscribeWiperStatus" messagetype="response"> - <param name="wiperStatus" type="Common.VehicleDataResult" mandatory="true"> - <description>The status of the wipers</description> + <param name="driverBraking" type="Boolean" mandatory="false"> + <description>The status of the brake pedal</description> </param> - </function> - - <function name="SubscribeHeadLampStatus" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="wiperStatus" type="Boolean" mandatory="false"> + <description>The status of the wipers</description> </param> - </function> - <function name="SubscribeHeadLampStatus" messagetype="response"> - <param name="headLampStatus" type="Common.VehicleDataResult" mandatory="true"> + <param name="headLampStatus" type="Boolean" mandatory="false"> <description>Status of the head lamps</description> </param> - </function> - <function name="UnsubscribeHeadLampStatus" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="engineTorque" type="Boolean" mandatory="false"> + <description>Torque value for engine (in Nm) on non-diesel variants</description> </param> - </function> - <function name="UnsubscribeHeadLampStatus" messagetype="response"> - <param name="headLampStatus" type="Common.VehicleDataResult" mandatory="true"> - <description>Status of the head lamps</description> + <param name="accPedalPosition" type="Boolean" mandatory="false"> + <description>Accelerator pedal position (percentage depressed)</description> </param> - </function> - - <function name="SubscribeEngineTorque" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="steeringWheelAngle" type="Boolean" mandatory="false"> + <description>Current angle of the steering wheel (in deg)</description> </param> - </function> - <function name="SubscribeEngineTorque" messagetype="response"> - <param name="engineTorque" type="Common.VehicleDataResult" mandatory="true"> - <description>Torque value for engine (in Nm) on non-diesel variants</description> + <param name="engineOilLife" type="Boolean" mandatory="false"> + <description>The estimated percentage of remaining oil life of the engine.</description> </param> - </function> - <function name="UnsubscribeEngineTorque" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="eCallInfo" type="Boolean" mandatory="false"> + <description>Emergency Call notification and confirmation data</description> </param> - </function> - <function name="UnsubscribeEngineTorque" messagetype="response"> - <param name="engineTorque" type="Common.VehicleDataResult" mandatory="true"> - <description>Torque value for engine (in Nm) on non-diesel variants</description> + <param name="airbagStatus" type="Boolean" mandatory="false"> + <description>The status of the air bags</description> </param> - </function> - - <function name="SubscribeAccPedalPosition" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="emergencyEvent" type="Boolean" mandatory="false"> + <description>Information related to an emergency event (and if it occurred)</description> </param> - </function> - <function name="SubscribeAccPedalPosition" messagetype="response"> - <param name="accPedalPosition" type="Common.VehicleDataResult" mandatory="true"> - <description>Accelerator pedal position (percentage depressed)</description> + <param name="clusterModeStatus" type="Boolean" mandatory="false"> + <description>The status modes of the cluster</description> </param> - </function> - <function name="UnsubscribeAccPedalPosition" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="myKey" type="Boolean" mandatory="false"> + <description>Information related to the MyKey feature</description> </param> </function> - <function name="UnsubscribeAccPedalPosition" messagetype="response"> - <param name="accPedalPosition" type="Common.VehicleDataResult" mandatory="true"> - <description>Accelerator pedal position (percentage depressed)</description> + <function name="GetVehicleData" messagetype="response"> + <param name="gps" type="Common.GPSData" mandatory="false"> + <description>See GPSData</description> </param> - </function> - - <function name="SubscribeSteeringWheelAngle" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="speed" type="Float" minvalue="0" maxvalue="700" mandatory="false"> + <description>The vehicle speed in kilometers per hour</description> </param> - </function> - <function name="SubscribeSteeringWheelAngle" messagetype="response"> - <param name="steeringWheelAngle" type="Common.VehicleDataResult" mandatory="true"> - <description>Current angle of the steering wheel (in deg)</description> + <param name="rpm" type="Integer" minvalue="0" maxvalue="20000" mandatory="false"> + <description>The number of revolutions per minute of the engine</description> </param> - </function> - <function name="UnsubscribeSteeringWheelAngle" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="fuelLevel" type="Float" minvalue="-6" maxvalue="106" mandatory="false"> + <description>The fuel level in the tank (percentage)</description> </param> - </function> - <function name="UnsubscribeSteeringWheelAngle" messagetype="response"> - <param name="steeringWheelAngle" type="Common.VehicleDataResult" mandatory="true"> + <param name="fuelLevel_State" type="Common.ComponentVolumeStatus" mandatory="false"> + <description>The fuel level state</description> + </param> + <param name="instantFuelConsumption" type="Float" minvalue="0" maxvalue="25575" mandatory="false"> + <description>The instantaneous fuel consumption in microlitres</description> + </param> + <param name="externalTemperature" type="Float" minvalue="-40" maxvalue="100" mandatory="false"> + <description>The external temperature in degrees celsius</description> + </param> + <param name="vin" type="String" maxlength="17" mandatory="false"> + <description>Vehicle identification number</description> + </param> + <param name="prndl" type="Common.PRNDL" mandatory="false"> + <description>See PRNDL</description> + </param> + <param name="tirePressure" type="Common.TireStatus" mandatory="false"> + <description>See TireStatus</description> + </param> + <param name="odometer" type="Integer" minvalue="0" maxvalue="17000000" mandatory="false"> + <description>Odometer in km</description> + </param> + <param name="beltStatus" type="Common.BeltStatus" mandatory="false"> + <description>The status of the seat belts</description> + </param> + <param name="bodyInformation" type="Common.BodyInformation" mandatory="false"> + <description>The body information including power modes</description> + </param> + <param name="deviceStatus" type="Common.DeviceStatus" mandatory="false"> + <description>The device status including signal and battery strength</description> + </param> + <param name="driverBraking" type="Common.VehicleDataEventStatus" mandatory="false"> + <description>The status of the brake pedal</description> + </param> + <param name="wiperStatus" type="Common.WiperStatus" mandatory="false"> + <description>The status of the wipers</description> + </param> + <param name="headLampStatus" type="Common.HeadLampStatus" mandatory="false"> + <description>Status of the head lamps</description> + </param> + <param name="engineTorque" type="Float" minvalue="-1000" maxvalue="2000" mandatory="false"> + <description>Torque value for engine (in Nm) on non-diesel variants</description> + </param> + <param name="accPedalPosition" type="Float" minvalue="0" maxvalue="100" mandatory="false"> + <description>Accelerator pedal position (percentage depressed)</description> + </param> + <param name="steeringWheelAngle" type="Float" minvalue="-2000" maxvalue="2000" mandatory="false"> <description>Current angle of the steering wheel (in deg)</description> </param> - </function> - - <function name="SubscribeECallInfo" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="engineOilLife" type="Float" minvalue="0" maxvalue="100" mandatory="false"> + <description>The estimated percentage of remaining oil life of the engine.</description> </param> - </function> - <function name="SubscribeECallInfo" messagetype="response"> - <param name="eCallInfo" type="Common.VehicleDataResult" mandatory="true"> + <param name="eCallInfo" type="Common.ECallInfo" mandatory="false"> <description>Emergency Call notification and confirmation data</description> </param> - </function> - <function name="UnsubscribeECallInfo" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="airbagStatus" type="Common.AirbagStatus" mandatory="false"> + <description>The status of the air bags</description> </param> - </function> - <function name="UnsubscribeECallInfo" messagetype="response"> - <param name="eCallInfo" type="Common.VehicleDataResult" mandatory="true"> - <description>Emergency Call notification and confirmation data</description> + <param name="emergencyEvent" type="Common.EmergencyEvent" mandatory="false"> + <description>Information related to an emergency event (and if it occurred)</description> </param> - </function> - - <function name="SubscribeAirbagStatus" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="clusterModeStatus" type="Common.ClusterModeStatus" mandatory="false"> + <description>The status modes of the cluster</description> </param> - </function> - <function name="SubscribeAirbagStatus" messagetype="response"> - <param name="airbagStatus" type="Common.VehicleDataResult" mandatory="true"> - <description>The status of the air bags</description> + <param name="myKey" type="Common.MyKey" mandatory="false"> + <description>Information related to the MyKey feature</description> </param> </function> - <function name="UnsubscribeAirbagStatus" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <function name="OnVehicleData" messagetype="notification"> + <description>Callback for the periodic and non periodic vehicle data read function.</description> + <param name="gps" type="Common.GPSData" mandatory="false"> + <description>See GPSData</description> </param> - </function> - <function name="UnsubscribeAirbagStatus" messagetype="response"> - <param name="airbagStatus" type="Common.VehicleDataResult" mandatory="true"> - <description>The status of the air bags</description> + <param name="speed" type="Float" minvalue="0" maxvalue="700" mandatory="false"> + <description>The vehicle speed in kilometers per hour</description> </param> - </function> - - <function name="SubscribeEmergencyEvent" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="rpm" type="Integer" minvalue="0" maxvalue="20000" mandatory="false"> + <description>The number of revolutions per minute of the engine</description> </param> - </function> - <function name="SubscribeEmergencyEvent" messagetype="response"> - <param name="emergencyEvent" type="Common.VehicleDataResult" mandatory="true"> - <description>Information related to an emergency event (and if it occurred)</description> + <param name="fuelLevel" type="Float" minvalue="-6" maxvalue="106" mandatory="false"> + <description>The fuel level in the tank (percentage)</description> </param> - </function> - <function name="UnsubscribeEmergencyEvent" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="fuelLevel_State" type="Common.ComponentVolumeStatus" mandatory="false"> + <description>The fuel level state</description> </param> - </function> - <function name="UnsubscribeEmergencyEvent" messagetype="response"> - <param name="emergencyEvent" type="Common.VehicleDataResult" mandatory="true"> - <description>Information related to an emergency event (and if it occurred)</description> + <param name="instantFuelConsumption" type="Float" minvalue="0" maxvalue="25575" mandatory="false"> + <description>The instantaneous fuel consumption in microlitres</description> </param> - </function> - - <function name="SubscribeClusterModeStatus" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="externalTemperature" type="Float" minvalue="-40" maxvalue="100" mandatory="false"> + <description>The external temperature in degrees celsius</description> </param> - </function> - <function name="SubscribeClusterModeStatus" messagetype="response"> - <param name="clusterModeStatus" type="Common.VehicleDataResult" mandatory="true"> - <description>The status modes of the cluster</description> + <param name="vin" type="String" maxlength="17" mandatory="false"> + <description>Vehicle identification number.</description> </param> - </function> - <function name="UnsubscribeClusterModeStatus" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="prndl" type="Common.PRNDL" mandatory="false"> + <description>See PRNDL</description> </param> - </function> - <function name="UnsubscribeClusterModeStatus" messagetype="response"> - <param name="clusterModeStatus" type="Common.VehicleDataResult" mandatory="true"> - <description>The status modes of the cluster</description> + <param name="tirePressure" type="Common.TireStatus" mandatory="false"> + <description>See TireStatus</description> </param> - </function> - - <function name="SubscribeMyKey" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="odometer" type="Integer" minvalue="0" maxvalue="17000000" mandatory="false"> + <description>Odometer in km</description> </param> - </function> - <function name="SubscribeMyKey" messagetype="response"> - <param name="myKey" type="Common.VehicleDataResult" mandatory="true"> - <description>Information related to the MyKey feature</description> + <param name="beltStatus" type="Common.BeltStatus" mandatory="false"> + <description>The status of the seat belts</description> </param> - </function> - <function name="UnsubscribeMyKey" messagetype="request"> - <param name="appID" type="Integer" mandatory="true"> - <description>ID of application requested this RPC.</description> + <param name="bodyInformation" type="Common.BodyInformation" mandatory="false"> + <description>The body information including power modes</description> </param> - </function> - <function name="UnsubscribeMyKey" messagetype="response"> - <param name="myKey" type="Common.VehicleDataResult" mandatory="true"> + <param name="deviceStatus" type="Common.DeviceStatus" mandatory="false"> + <description>The device status including signal and battery strength</description> + </param> + <param name="driverBraking" type="Common.VehicleDataEventStatus" mandatory="false"> + <description>The status of the brake pedal</description> + </param> + <param name="wiperStatus" type="Common.WiperStatus" mandatory="false"> + <description>The status of the wipers</description> + </param> + <param name="headLampStatus" type="Common.HeadLampStatus" mandatory="false"> + <description>Status of the head lamps</description> + </param> + <param name="engineTorque" type="Float" minvalue="-1000" maxvalue="2000" mandatory="false"> + <description>Torque value for engine (in Nm) on non-diesel variants</description> + </param> + <param name="accPedalPosition" type="Float" minvalue="0" maxvalue="100" mandatory="false"> + <description>Accelerator pedal position (percentage depressed)</description> + </param> + <param name="steeringWheelAngle" type="Float" minvalue="-2000" maxvalue="2000" mandatory="false"> + <description>Current angle of the steering wheel (in deg)</description> + </param> + <param name="eCallInfo" type="Common.ECallInfo" mandatory="false"> + <description>Emergency Call notification and confirmation data</description> + </param> + <param name="airbagStatus" type="Common.AirbagStatus" mandatory="false"> + <description>The status of the air bags</description> + </param> + <param name="emergencyEvent" type="Common.EmergencyEvent" mandatory="false"> + <description>Information related to an emergency event (and if it occurred)</description> + </param> + <param name="clusterModeStatus" type="Common.ClusterModeStatus" mandatory="false"> + <description>The status modes of the cluster</description> + </param> + <param name="myKey" type="Common.MyKey" mandatory="false"> <description>Information related to the MyKey feature</description> </param> </function> -<!--end Qt HMI version of SubscribeVehicleData/UnsubscribeVehicleData--> </interface> </interfaces> diff --git a/tools/intergen/tool/intergen.cc b/tools/intergen/tool/intergen.cc index bad87b178b..8fc8302dcc 100644 --- a/tools/intergen/tool/intergen.cc +++ b/tools/intergen/tool/intergen.cc @@ -54,7 +54,6 @@ struct Options { char* interface_xml; bool auto_generate_function_ids; bool generate_json_code; - bool generate_dbus_code; std::set<std::string> requested_interfaces; std::set<std::string> excluded_scopes; bool avoid_unsigned; @@ -63,7 +62,6 @@ struct Options { : interface_xml(NULL), auto_generate_function_ids(false), generate_json_code(false), - generate_dbus_code(false), avoid_unsigned(false), minimum_word_size(8) { } @@ -138,10 +136,6 @@ int main(int argc, char* argv[]) { options.generate_json_code = true; break; } - case 'd': { - options.generate_dbus_code = true; - break; - } default: { cerr << "Invalid option: '" << opt << "'" << '\n'; return EXIT_FAILURE; @@ -165,7 +159,6 @@ int main(int argc, char* argv[]) { codegen::Preferences(options.minimum_word_size, options.avoid_unsigned, options.generate_json_code, - options.generate_dbus_code, options.requested_interfaces)); if (bad.empty()) { return EXIT_SUCCESS; |