diff options
author | khburdette <kburdet1@ford.com> | 2013-04-19 15:58:59 -0400 |
---|---|---|
committer | khburdette <kburdet1@ford.com> | 2013-04-19 15:58:59 -0400 |
commit | a46991cd5da4dbcc5510457c6bae2dab340c1ed2 (patch) | |
tree | 9f4d9ccec060c4b6cd378aa631442f710c140962 /SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects | |
download | smartdevicelink-a46991cd5da4dbcc5510457c6bae2dab340c1ed2.tar.gz |
Initial Ford commit with Core and Proxies
Diffstat (limited to 'SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects')
117 files changed, 11842 insertions, 0 deletions
diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/Marshaller.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/Marshaller.h new file mode 100644 index 000000000..24db51feb --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/Marshaller.h @@ -0,0 +1,1645 @@ +// +// 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 MARSHALLER_INCLUDE +#define MARSHALLER_INCLUDE + +#include <string> +#include <json/json.h> + +#include "JSONHandler/RPC2Error.h" +#include "JSONHandler/RPC2Notification.h" +#include "JSONHandler/RPC2Request.h" +#include "JSONHandler/RPC2Response.h" + +#include "JSONHandler/RPC2ErrorMarshaller.h" + +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/BasicCommunication/ActivateAppMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/BasicCommunication/ActivateAppResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/BasicCommunication/GetAppListMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/BasicCommunication/GetAppListResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/BasicCommunication/GetDeviceListMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/BasicCommunication/GetDeviceListResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/BasicCommunication/OnAppDeactivatedMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/BasicCommunication/OnAppDeactivatedResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/BasicCommunication/OnAppRegisteredMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/BasicCommunication/OnAppUnregisteredMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/BasicCommunication/OnDeviceListUpdatedMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/BasicCommunication/SendDataMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/BasicCommunication/SendDataResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/Buttons/GetCapabilitiesMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/Buttons/GetCapabilitiesResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/Buttons/OnButtonEventMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/Buttons/OnButtonPressMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/TTS/ChangeRegistrationMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/TTS/ChangeRegistrationResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/TTS/GetCapabilitiesMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/TTS/GetCapabilitiesResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/TTS/GetLanguageMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/TTS/GetLanguageResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/TTS/GetSupportedLanguagesMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/TTS/GetSupportedLanguagesResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/TTS/OnLanguageChangeMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/TTS/SpeakMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/TTS/SpeakResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/AddCommandMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/AddCommandResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/AddSubMenuMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/AddSubMenuResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/AlertMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/AlertResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/AlertManeuverMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/AlertManeuverResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/ChangeRegistrationMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/ChangeRegistrationResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/CreateInteractionChoiceSetMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/CreateInteractionChoiceSetResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/DeleteCommandMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/DeleteCommandResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/DeleteInteractionChoiceSetMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/DeleteInteractionChoiceSetResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/DeleteSubMenuMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/DeleteSubMenuResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/DialNumberMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/DialNumberResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/EndAudioPassThruMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/EndAudioPassThruResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/GetCapabilitiesMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/GetCapabilitiesResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/GetLanguageMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/GetLanguageResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/GetSupportedLanguagesMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/GetSupportedLanguagesResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/OnCommandMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/OnDeviceChosenMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/OnDriverDistractionMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/OnLanguageChangeMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/OnReadyMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/OnSystemContextMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/OnTBTClientStateMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/PerformAudioPassThruMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/PerformAudioPassThruResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/PerformInteractionMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/PerformInteractionResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/ResetGlobalPropertiesMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/ResetGlobalPropertiesResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/ScrollableMessageMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/ScrollableMessageResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/SetAppIconMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/SetAppIconResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/SetDisplayLayoutMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/SetDisplayLayoutResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/SetGlobalPropertiesMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/SetGlobalPropertiesResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/SetMediaClockTimerMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/SetMediaClockTimerResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/ShowMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/ShowResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/ShowConstantTBTMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/ShowConstantTBTResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/SliderMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/SliderResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/UpdateTurnListMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/UI/UpdateTurnListResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/VR/AddCommandMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/VR/AddCommandResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/VR/ChangeRegistrationMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/VR/ChangeRegistrationResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/VR/DeleteCommandMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/VR/DeleteCommandResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/VR/GetCapabilitiesMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/VR/GetCapabilitiesResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/VR/GetLanguageMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/VR/GetLanguageResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/VR/GetSupportedLanguagesMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/VR/GetSupportedLanguagesResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/VR/OnCommandMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/VR/OnLanguageChangeMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/VehicleInfo/GetDTCsMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/VehicleInfo/GetDTCsResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/VehicleInfo/GetVehicleDataMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/VehicleInfo/GetVehicleDataResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/VehicleInfo/GetVehicleTypeMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/VehicleInfo/GetVehicleTypeResponseMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/VehicleInfo/OnVehicleDataMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/VehicleInfo/ReadDIDMarshaller.h" +#include "../src/../src/RPC2ObjectsImpl//NsRPC2Communication/VehicleInfo/ReadDIDResponseMarshaller.h" + +/* + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ +namespace NsRPC2Communication +{ + +class Marshaller +{ +public: + + enum Methods + { + METHOD_INVALID=-1, + METHOD_NSRPC2COMMUNICATION_BASICCOMMUNICATION__ACTIVATEAPP, + METHOD_NSRPC2COMMUNICATION_BASICCOMMUNICATION__ACTIVATEAPPRESPONSE, + METHOD_NSRPC2COMMUNICATION_BASICCOMMUNICATION__GETAPPLIST, + METHOD_NSRPC2COMMUNICATION_BASICCOMMUNICATION__GETAPPLISTRESPONSE, + METHOD_NSRPC2COMMUNICATION_BASICCOMMUNICATION__GETDEVICELIST, + METHOD_NSRPC2COMMUNICATION_BASICCOMMUNICATION__GETDEVICELISTRESPONSE, + METHOD_NSRPC2COMMUNICATION_BASICCOMMUNICATION__ONAPPDEACTIVATED, + METHOD_NSRPC2COMMUNICATION_BASICCOMMUNICATION__ONAPPDEACTIVATEDRESPONSE, + METHOD_NSRPC2COMMUNICATION_BASICCOMMUNICATION__ONAPPREGISTERED, + METHOD_NSRPC2COMMUNICATION_BASICCOMMUNICATION__ONAPPUNREGISTERED, + METHOD_NSRPC2COMMUNICATION_BASICCOMMUNICATION__ONDEVICELISTUPDATED, + METHOD_NSRPC2COMMUNICATION_BASICCOMMUNICATION__SENDDATA, + METHOD_NSRPC2COMMUNICATION_BASICCOMMUNICATION__SENDDATARESPONSE, + METHOD_NSRPC2COMMUNICATION_BUTTONS__GETCAPABILITIES, + METHOD_NSRPC2COMMUNICATION_BUTTONS__GETCAPABILITIESRESPONSE, + METHOD_NSRPC2COMMUNICATION_BUTTONS__ONBUTTONEVENT, + METHOD_NSRPC2COMMUNICATION_BUTTONS__ONBUTTONPRESS, + METHOD_NSRPC2COMMUNICATION_TTS__CHANGEREGISTRATION, + METHOD_NSRPC2COMMUNICATION_TTS__CHANGEREGISTRATIONRESPONSE, + METHOD_NSRPC2COMMUNICATION_TTS__GETCAPABILITIES, + METHOD_NSRPC2COMMUNICATION_TTS__GETCAPABILITIESRESPONSE, + METHOD_NSRPC2COMMUNICATION_TTS__GETLANGUAGE, + METHOD_NSRPC2COMMUNICATION_TTS__GETLANGUAGERESPONSE, + METHOD_NSRPC2COMMUNICATION_TTS__GETSUPPORTEDLANGUAGES, + METHOD_NSRPC2COMMUNICATION_TTS__GETSUPPORTEDLANGUAGESRESPONSE, + METHOD_NSRPC2COMMUNICATION_TTS__ONLANGUAGECHANGE, + METHOD_NSRPC2COMMUNICATION_TTS__SPEAK, + METHOD_NSRPC2COMMUNICATION_TTS__SPEAKRESPONSE, + METHOD_NSRPC2COMMUNICATION_UI__ADDCOMMAND, + METHOD_NSRPC2COMMUNICATION_UI__ADDCOMMANDRESPONSE, + METHOD_NSRPC2COMMUNICATION_UI__ADDSUBMENU, + METHOD_NSRPC2COMMUNICATION_UI__ADDSUBMENURESPONSE, + METHOD_NSRPC2COMMUNICATION_UI__ALERT, + METHOD_NSRPC2COMMUNICATION_UI__ALERTRESPONSE, + METHOD_NSRPC2COMMUNICATION_UI__ALERTMANEUVER, + METHOD_NSRPC2COMMUNICATION_UI__ALERTMANEUVERRESPONSE, + METHOD_NSRPC2COMMUNICATION_UI__CHANGEREGISTRATION, + METHOD_NSRPC2COMMUNICATION_UI__CHANGEREGISTRATIONRESPONSE, + METHOD_NSRPC2COMMUNICATION_UI__CREATEINTERACTIONCHOICESET, + METHOD_NSRPC2COMMUNICATION_UI__CREATEINTERACTIONCHOICESETRESPONSE, + METHOD_NSRPC2COMMUNICATION_UI__DELETECOMMAND, + METHOD_NSRPC2COMMUNICATION_UI__DELETECOMMANDRESPONSE, + METHOD_NSRPC2COMMUNICATION_UI__DELETEINTERACTIONCHOICESET, + METHOD_NSRPC2COMMUNICATION_UI__DELETEINTERACTIONCHOICESETRESPONSE, + METHOD_NSRPC2COMMUNICATION_UI__DELETESUBMENU, + METHOD_NSRPC2COMMUNICATION_UI__DELETESUBMENURESPONSE, + METHOD_NSRPC2COMMUNICATION_UI__DIALNUMBER, + METHOD_NSRPC2COMMUNICATION_UI__DIALNUMBERRESPONSE, + METHOD_NSRPC2COMMUNICATION_UI__ENDAUDIOPASSTHRU, + METHOD_NSRPC2COMMUNICATION_UI__ENDAUDIOPASSTHRURESPONSE, + METHOD_NSRPC2COMMUNICATION_UI__GETCAPABILITIES, + METHOD_NSRPC2COMMUNICATION_UI__GETCAPABILITIESRESPONSE, + METHOD_NSRPC2COMMUNICATION_UI__GETLANGUAGE, + METHOD_NSRPC2COMMUNICATION_UI__GETLANGUAGERESPONSE, + METHOD_NSRPC2COMMUNICATION_UI__GETSUPPORTEDLANGUAGES, + METHOD_NSRPC2COMMUNICATION_UI__GETSUPPORTEDLANGUAGESRESPONSE, + METHOD_NSRPC2COMMUNICATION_UI__ONCOMMAND, + METHOD_NSRPC2COMMUNICATION_UI__ONDEVICECHOSEN, + METHOD_NSRPC2COMMUNICATION_UI__ONDRIVERDISTRACTION, + METHOD_NSRPC2COMMUNICATION_UI__ONLANGUAGECHANGE, + METHOD_NSRPC2COMMUNICATION_UI__ONREADY, + METHOD_NSRPC2COMMUNICATION_UI__ONSYSTEMCONTEXT, + METHOD_NSRPC2COMMUNICATION_UI__ONTBTCLIENTSTATE, + METHOD_NSRPC2COMMUNICATION_UI__PERFORMAUDIOPASSTHRU, + METHOD_NSRPC2COMMUNICATION_UI__PERFORMAUDIOPASSTHRURESPONSE, + METHOD_NSRPC2COMMUNICATION_UI__PERFORMINTERACTION, + METHOD_NSRPC2COMMUNICATION_UI__PERFORMINTERACTIONRESPONSE, + METHOD_NSRPC2COMMUNICATION_UI__RESETGLOBALPROPERTIES, + METHOD_NSRPC2COMMUNICATION_UI__RESETGLOBALPROPERTIESRESPONSE, + METHOD_NSRPC2COMMUNICATION_UI__SCROLLABLEMESSAGE, + METHOD_NSRPC2COMMUNICATION_UI__SCROLLABLEMESSAGERESPONSE, + METHOD_NSRPC2COMMUNICATION_UI__SETAPPICON, + METHOD_NSRPC2COMMUNICATION_UI__SETAPPICONRESPONSE, + METHOD_NSRPC2COMMUNICATION_UI__SETDISPLAYLAYOUT, + METHOD_NSRPC2COMMUNICATION_UI__SETDISPLAYLAYOUTRESPONSE, + METHOD_NSRPC2COMMUNICATION_UI__SETGLOBALPROPERTIES, + METHOD_NSRPC2COMMUNICATION_UI__SETGLOBALPROPERTIESRESPONSE, + METHOD_NSRPC2COMMUNICATION_UI__SETMEDIACLOCKTIMER, + METHOD_NSRPC2COMMUNICATION_UI__SETMEDIACLOCKTIMERRESPONSE, + METHOD_NSRPC2COMMUNICATION_UI__SHOW, + METHOD_NSRPC2COMMUNICATION_UI__SHOWRESPONSE, + METHOD_NSRPC2COMMUNICATION_UI__SHOWCONSTANTTBT, + METHOD_NSRPC2COMMUNICATION_UI__SHOWCONSTANTTBTRESPONSE, + METHOD_NSRPC2COMMUNICATION_UI__SLIDER, + METHOD_NSRPC2COMMUNICATION_UI__SLIDERRESPONSE, + METHOD_NSRPC2COMMUNICATION_UI__UPDATETURNLIST, + METHOD_NSRPC2COMMUNICATION_UI__UPDATETURNLISTRESPONSE, + METHOD_NSRPC2COMMUNICATION_VR__ADDCOMMAND, + METHOD_NSRPC2COMMUNICATION_VR__ADDCOMMANDRESPONSE, + METHOD_NSRPC2COMMUNICATION_VR__CHANGEREGISTRATION, + METHOD_NSRPC2COMMUNICATION_VR__CHANGEREGISTRATIONRESPONSE, + METHOD_NSRPC2COMMUNICATION_VR__DELETECOMMAND, + METHOD_NSRPC2COMMUNICATION_VR__DELETECOMMANDRESPONSE, + METHOD_NSRPC2COMMUNICATION_VR__GETCAPABILITIES, + METHOD_NSRPC2COMMUNICATION_VR__GETCAPABILITIESRESPONSE, + METHOD_NSRPC2COMMUNICATION_VR__GETLANGUAGE, + METHOD_NSRPC2COMMUNICATION_VR__GETLANGUAGERESPONSE, + METHOD_NSRPC2COMMUNICATION_VR__GETSUPPORTEDLANGUAGES, + METHOD_NSRPC2COMMUNICATION_VR__GETSUPPORTEDLANGUAGESRESPONSE, + METHOD_NSRPC2COMMUNICATION_VR__ONCOMMAND, + METHOD_NSRPC2COMMUNICATION_VR__ONLANGUAGECHANGE, + METHOD_NSRPC2COMMUNICATION_VEHICLEINFO__GETDTCS, + METHOD_NSRPC2COMMUNICATION_VEHICLEINFO__GETDTCSRESPONSE, + METHOD_NSRPC2COMMUNICATION_VEHICLEINFO__GETVEHICLEDATA, + METHOD_NSRPC2COMMUNICATION_VEHICLEINFO__GETVEHICLEDATARESPONSE, + METHOD_NSRPC2COMMUNICATION_VEHICLEINFO__GETVEHICLETYPE, + METHOD_NSRPC2COMMUNICATION_VEHICLEINFO__GETVEHICLETYPERESPONSE, + METHOD_NSRPC2COMMUNICATION_VEHICLEINFO__ONVEHICLEDATA, + METHOD_NSRPC2COMMUNICATION_VEHICLEINFO__READDID, + METHOD_NSRPC2COMMUNICATION_VEHICLEINFO__READDIDRESPONSE + }; + + + Marshaller() {} + ~Marshaller() {} + + static ::NsRPC2Communication::RPC2Command* fromString(const std::string&); + static std::string toString(const ::NsRPC2Communication::RPC2Command* msg); + + static ::NsRPC2Communication::RPC2Command* fromJSON(const Json::Value&); + static Json::Value toJSON(const ::NsRPC2Communication::RPC2Command* msg); + +protected: + +// NsRPC2Communication::BasicCommunication::ActivateApp + static bool fromString(const std::string& str, NsRPC2Communication::BasicCommunication::ActivateApp& res) + { + return mNsRPC2Communication_BasicCommunication__ActivateApp.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::BasicCommunication::ActivateApp& res) + { + return mNsRPC2Communication_BasicCommunication__ActivateApp.toString(res); + } + +// NsRPC2Communication::BasicCommunication::ActivateAppResponse + static bool fromString(const std::string& str, NsRPC2Communication::BasicCommunication::ActivateAppResponse& res) + { + return mNsRPC2Communication_BasicCommunication__ActivateAppResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::BasicCommunication::ActivateAppResponse& res) + { + return mNsRPC2Communication_BasicCommunication__ActivateAppResponse.toString(res); + } + +// NsRPC2Communication::BasicCommunication::GetAppList + static bool fromString(const std::string& str, NsRPC2Communication::BasicCommunication::GetAppList& res) + { + return mNsRPC2Communication_BasicCommunication__GetAppList.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::BasicCommunication::GetAppList& res) + { + return mNsRPC2Communication_BasicCommunication__GetAppList.toString(res); + } + +// NsRPC2Communication::BasicCommunication::GetAppListResponse + static bool fromString(const std::string& str, NsRPC2Communication::BasicCommunication::GetAppListResponse& res) + { + return mNsRPC2Communication_BasicCommunication__GetAppListResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::BasicCommunication::GetAppListResponse& res) + { + return mNsRPC2Communication_BasicCommunication__GetAppListResponse.toString(res); + } + +// NsRPC2Communication::BasicCommunication::GetDeviceList + static bool fromString(const std::string& str, NsRPC2Communication::BasicCommunication::GetDeviceList& res) + { + return mNsRPC2Communication_BasicCommunication__GetDeviceList.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::BasicCommunication::GetDeviceList& res) + { + return mNsRPC2Communication_BasicCommunication__GetDeviceList.toString(res); + } + +// NsRPC2Communication::BasicCommunication::GetDeviceListResponse + static bool fromString(const std::string& str, NsRPC2Communication::BasicCommunication::GetDeviceListResponse& res) + { + return mNsRPC2Communication_BasicCommunication__GetDeviceListResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::BasicCommunication::GetDeviceListResponse& res) + { + return mNsRPC2Communication_BasicCommunication__GetDeviceListResponse.toString(res); + } + +// NsRPC2Communication::BasicCommunication::OnAppDeactivated + static bool fromString(const std::string& str, NsRPC2Communication::BasicCommunication::OnAppDeactivated& res) + { + return mNsRPC2Communication_BasicCommunication__OnAppDeactivated.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::BasicCommunication::OnAppDeactivated& res) + { + return mNsRPC2Communication_BasicCommunication__OnAppDeactivated.toString(res); + } + +// NsRPC2Communication::BasicCommunication::OnAppDeactivatedResponse + /*static bool fromString(const std::string& str, NsRPC2Communication::BasicCommunication::OnAppDeactivatedResponse& res) + { + return mNsRPC2Communication_BasicCommunication__OnAppDeactivatedResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::BasicCommunication::OnAppDeactivatedResponse& res) + { + return mNsRPC2Communication_BasicCommunication__OnAppDeactivatedResponse.toString(res); + }*/ + +// NsRPC2Communication::BasicCommunication::OnAppRegistered + static bool fromString(const std::string& str, NsRPC2Communication::BasicCommunication::OnAppRegistered& res) + { + return mNsRPC2Communication_BasicCommunication__OnAppRegistered.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::BasicCommunication::OnAppRegistered& res) + { + return mNsRPC2Communication_BasicCommunication__OnAppRegistered.toString(res); + } + +// NsRPC2Communication::BasicCommunication::OnAppUnregistered + static bool fromString(const std::string& str, NsRPC2Communication::BasicCommunication::OnAppUnregistered& res) + { + return mNsRPC2Communication_BasicCommunication__OnAppUnregistered.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::BasicCommunication::OnAppUnregistered& res) + { + return mNsRPC2Communication_BasicCommunication__OnAppUnregistered.toString(res); + } + +// NsRPC2Communication::BasicCommunication::OnDeviceListUpdated + static bool fromString(const std::string& str, NsRPC2Communication::BasicCommunication::OnDeviceListUpdated& res) + { + return mNsRPC2Communication_BasicCommunication__OnDeviceListUpdated.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::BasicCommunication::OnDeviceListUpdated& res) + { + return mNsRPC2Communication_BasicCommunication__OnDeviceListUpdated.toString(res); + } + +// NsRPC2Communication::BasicCommunication::SendData + static bool fromString(const std::string& str, NsRPC2Communication::BasicCommunication::SendData& res) + { + return mNsRPC2Communication_BasicCommunication__SendData.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::BasicCommunication::SendData& res) + { + return mNsRPC2Communication_BasicCommunication__SendData.toString(res); + } + +// NsRPC2Communication::BasicCommunication::SendDataResponse + static bool fromString(const std::string& str, NsRPC2Communication::BasicCommunication::SendDataResponse& res) + { + return mNsRPC2Communication_BasicCommunication__SendDataResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::BasicCommunication::SendDataResponse& res) + { + return mNsRPC2Communication_BasicCommunication__SendDataResponse.toString(res); + } + +// NsRPC2Communication::Buttons::GetCapabilities + static bool fromString(const std::string& str, NsRPC2Communication::Buttons::GetCapabilities& res) + { + return mNsRPC2Communication_Buttons__GetCapabilities.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::Buttons::GetCapabilities& res) + { + return mNsRPC2Communication_Buttons__GetCapabilities.toString(res); + } + +// NsRPC2Communication::Buttons::GetCapabilitiesResponse + static bool fromString(const std::string& str, NsRPC2Communication::Buttons::GetCapabilitiesResponse& res) + { + return mNsRPC2Communication_Buttons__GetCapabilitiesResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::Buttons::GetCapabilitiesResponse& res) + { + return mNsRPC2Communication_Buttons__GetCapabilitiesResponse.toString(res); + } + +// NsRPC2Communication::Buttons::OnButtonEvent + static bool fromString(const std::string& str, NsRPC2Communication::Buttons::OnButtonEvent& res) + { + return mNsRPC2Communication_Buttons__OnButtonEvent.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::Buttons::OnButtonEvent& res) + { + return mNsRPC2Communication_Buttons__OnButtonEvent.toString(res); + } + +// NsRPC2Communication::Buttons::OnButtonPress + static bool fromString(const std::string& str, NsRPC2Communication::Buttons::OnButtonPress& res) + { + return mNsRPC2Communication_Buttons__OnButtonPress.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::Buttons::OnButtonPress& res) + { + return mNsRPC2Communication_Buttons__OnButtonPress.toString(res); + } + +// NsRPC2Communication::TTS::ChangeRegistration + static bool fromString(const std::string& str, NsRPC2Communication::TTS::ChangeRegistration& res) + { + return mNsRPC2Communication_TTS__ChangeRegistration.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::TTS::ChangeRegistration& res) + { + return mNsRPC2Communication_TTS__ChangeRegistration.toString(res); + } + +// NsRPC2Communication::TTS::ChangeRegistrationResponse + static bool fromString(const std::string& str, NsRPC2Communication::TTS::ChangeRegistrationResponse& res) + { + return mNsRPC2Communication_TTS__ChangeRegistrationResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::TTS::ChangeRegistrationResponse& res) + { + return mNsRPC2Communication_TTS__ChangeRegistrationResponse.toString(res); + } + +// NsRPC2Communication::TTS::GetCapabilities + static bool fromString(const std::string& str, NsRPC2Communication::TTS::GetCapabilities& res) + { + return mNsRPC2Communication_TTS__GetCapabilities.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::TTS::GetCapabilities& res) + { + return mNsRPC2Communication_TTS__GetCapabilities.toString(res); + } + +// NsRPC2Communication::TTS::GetCapabilitiesResponse + static bool fromString(const std::string& str, NsRPC2Communication::TTS::GetCapabilitiesResponse& res) + { + return mNsRPC2Communication_TTS__GetCapabilitiesResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::TTS::GetCapabilitiesResponse& res) + { + return mNsRPC2Communication_TTS__GetCapabilitiesResponse.toString(res); + } + +// NsRPC2Communication::TTS::GetLanguage + static bool fromString(const std::string& str, NsRPC2Communication::TTS::GetLanguage& res) + { + return mNsRPC2Communication_TTS__GetLanguage.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::TTS::GetLanguage& res) + { + return mNsRPC2Communication_TTS__GetLanguage.toString(res); + } + +// NsRPC2Communication::TTS::GetLanguageResponse + static bool fromString(const std::string& str, NsRPC2Communication::TTS::GetLanguageResponse& res) + { + return mNsRPC2Communication_TTS__GetLanguageResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::TTS::GetLanguageResponse& res) + { + return mNsRPC2Communication_TTS__GetLanguageResponse.toString(res); + } + +// NsRPC2Communication::TTS::GetSupportedLanguages + static bool fromString(const std::string& str, NsRPC2Communication::TTS::GetSupportedLanguages& res) + { + return mNsRPC2Communication_TTS__GetSupportedLanguages.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::TTS::GetSupportedLanguages& res) + { + return mNsRPC2Communication_TTS__GetSupportedLanguages.toString(res); + } + +// NsRPC2Communication::TTS::GetSupportedLanguagesResponse + static bool fromString(const std::string& str, NsRPC2Communication::TTS::GetSupportedLanguagesResponse& res) + { + return mNsRPC2Communication_TTS__GetSupportedLanguagesResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::TTS::GetSupportedLanguagesResponse& res) + { + return mNsRPC2Communication_TTS__GetSupportedLanguagesResponse.toString(res); + } + +// NsRPC2Communication::TTS::OnLanguageChange + static bool fromString(const std::string& str, NsRPC2Communication::TTS::OnLanguageChange& res) + { + return mNsRPC2Communication_TTS__OnLanguageChange.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::TTS::OnLanguageChange& res) + { + return mNsRPC2Communication_TTS__OnLanguageChange.toString(res); + } + +// NsRPC2Communication::TTS::Speak + static bool fromString(const std::string& str, NsRPC2Communication::TTS::Speak& res) + { + return mNsRPC2Communication_TTS__Speak.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::TTS::Speak& res) + { + return mNsRPC2Communication_TTS__Speak.toString(res); + } + +// NsRPC2Communication::TTS::SpeakResponse + static bool fromString(const std::string& str, NsRPC2Communication::TTS::SpeakResponse& res) + { + return mNsRPC2Communication_TTS__SpeakResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::TTS::SpeakResponse& res) + { + return mNsRPC2Communication_TTS__SpeakResponse.toString(res); + } + +// NsRPC2Communication::UI::AddCommand + static bool fromString(const std::string& str, NsRPC2Communication::UI::AddCommand& res) + { + return mNsRPC2Communication_UI__AddCommand.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::AddCommand& res) + { + return mNsRPC2Communication_UI__AddCommand.toString(res); + } + +// NsRPC2Communication::UI::AddCommandResponse + static bool fromString(const std::string& str, NsRPC2Communication::UI::AddCommandResponse& res) + { + return mNsRPC2Communication_UI__AddCommandResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::AddCommandResponse& res) + { + return mNsRPC2Communication_UI__AddCommandResponse.toString(res); + } + +// NsRPC2Communication::UI::AddSubMenu + static bool fromString(const std::string& str, NsRPC2Communication::UI::AddSubMenu& res) + { + return mNsRPC2Communication_UI__AddSubMenu.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::AddSubMenu& res) + { + return mNsRPC2Communication_UI__AddSubMenu.toString(res); + } + +// NsRPC2Communication::UI::AddSubMenuResponse + static bool fromString(const std::string& str, NsRPC2Communication::UI::AddSubMenuResponse& res) + { + return mNsRPC2Communication_UI__AddSubMenuResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::AddSubMenuResponse& res) + { + return mNsRPC2Communication_UI__AddSubMenuResponse.toString(res); + } + +// NsRPC2Communication::UI::Alert + static bool fromString(const std::string& str, NsRPC2Communication::UI::Alert& res) + { + return mNsRPC2Communication_UI__Alert.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::Alert& res) + { + return mNsRPC2Communication_UI__Alert.toString(res); + } + +// NsRPC2Communication::UI::AlertResponse + static bool fromString(const std::string& str, NsRPC2Communication::UI::AlertResponse& res) + { + return mNsRPC2Communication_UI__AlertResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::AlertResponse& res) + { + return mNsRPC2Communication_UI__AlertResponse.toString(res); + } + +// NsRPC2Communication::UI::AlertManeuver + static bool fromString(const std::string& str, NsRPC2Communication::UI::AlertManeuver& res) + { + return mNsRPC2Communication_UI__AlertManeuver.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::AlertManeuver& res) + { + return mNsRPC2Communication_UI__AlertManeuver.toString(res); + } + +// NsRPC2Communication::UI::AlertManeuverResponse + static bool fromString(const std::string& str, NsRPC2Communication::UI::AlertManeuverResponse& res) + { + return mNsRPC2Communication_UI__AlertManeuverResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::AlertManeuverResponse& res) + { + return mNsRPC2Communication_UI__AlertManeuverResponse.toString(res); + } + +// NsRPC2Communication::UI::ChangeRegistration + static bool fromString(const std::string& str, NsRPC2Communication::UI::ChangeRegistration& res) + { + return mNsRPC2Communication_UI__ChangeRegistration.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::ChangeRegistration& res) + { + return mNsRPC2Communication_UI__ChangeRegistration.toString(res); + } + +// NsRPC2Communication::UI::ChangeRegistrationResponse + static bool fromString(const std::string& str, NsRPC2Communication::UI::ChangeRegistrationResponse& res) + { + return mNsRPC2Communication_UI__ChangeRegistrationResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::ChangeRegistrationResponse& res) + { + return mNsRPC2Communication_UI__ChangeRegistrationResponse.toString(res); + } + +// NsRPC2Communication::UI::CreateInteractionChoiceSet + static bool fromString(const std::string& str, NsRPC2Communication::UI::CreateInteractionChoiceSet& res) + { + return mNsRPC2Communication_UI__CreateInteractionChoiceSet.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::CreateInteractionChoiceSet& res) + { + return mNsRPC2Communication_UI__CreateInteractionChoiceSet.toString(res); + } + +// NsRPC2Communication::UI::CreateInteractionChoiceSetResponse + static bool fromString(const std::string& str, NsRPC2Communication::UI::CreateInteractionChoiceSetResponse& res) + { + return mNsRPC2Communication_UI__CreateInteractionChoiceSetResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::CreateInteractionChoiceSetResponse& res) + { + return mNsRPC2Communication_UI__CreateInteractionChoiceSetResponse.toString(res); + } + +// NsRPC2Communication::UI::DeleteCommand + static bool fromString(const std::string& str, NsRPC2Communication::UI::DeleteCommand& res) + { + return mNsRPC2Communication_UI__DeleteCommand.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::DeleteCommand& res) + { + return mNsRPC2Communication_UI__DeleteCommand.toString(res); + } + +// NsRPC2Communication::UI::DeleteCommandResponse + static bool fromString(const std::string& str, NsRPC2Communication::UI::DeleteCommandResponse& res) + { + return mNsRPC2Communication_UI__DeleteCommandResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::DeleteCommandResponse& res) + { + return mNsRPC2Communication_UI__DeleteCommandResponse.toString(res); + } + +// NsRPC2Communication::UI::DeleteInteractionChoiceSet + static bool fromString(const std::string& str, NsRPC2Communication::UI::DeleteInteractionChoiceSet& res) + { + return mNsRPC2Communication_UI__DeleteInteractionChoiceSet.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::DeleteInteractionChoiceSet& res) + { + return mNsRPC2Communication_UI__DeleteInteractionChoiceSet.toString(res); + } + +// NsRPC2Communication::UI::DeleteInteractionChoiceSetResponse + static bool fromString(const std::string& str, NsRPC2Communication::UI::DeleteInteractionChoiceSetResponse& res) + { + return mNsRPC2Communication_UI__DeleteInteractionChoiceSetResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::DeleteInteractionChoiceSetResponse& res) + { + return mNsRPC2Communication_UI__DeleteInteractionChoiceSetResponse.toString(res); + } + +// NsRPC2Communication::UI::DeleteSubMenu + static bool fromString(const std::string& str, NsRPC2Communication::UI::DeleteSubMenu& res) + { + return mNsRPC2Communication_UI__DeleteSubMenu.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::DeleteSubMenu& res) + { + return mNsRPC2Communication_UI__DeleteSubMenu.toString(res); + } + +// NsRPC2Communication::UI::DeleteSubMenuResponse + static bool fromString(const std::string& str, NsRPC2Communication::UI::DeleteSubMenuResponse& res) + { + return mNsRPC2Communication_UI__DeleteSubMenuResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::DeleteSubMenuResponse& res) + { + return mNsRPC2Communication_UI__DeleteSubMenuResponse.toString(res); + } + +// NsRPC2Communication::UI::DialNumber + static bool fromString(const std::string& str, NsRPC2Communication::UI::DialNumber& res) + { + return mNsRPC2Communication_UI__DialNumber.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::DialNumber& res) + { + return mNsRPC2Communication_UI__DialNumber.toString(res); + } + +// NsRPC2Communication::UI::DialNumberResponse + static bool fromString(const std::string& str, NsRPC2Communication::UI::DialNumberResponse& res) + { + return mNsRPC2Communication_UI__DialNumberResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::DialNumberResponse& res) + { + return mNsRPC2Communication_UI__DialNumberResponse.toString(res); + } + +// NsRPC2Communication::UI::EndAudioPassThru + static bool fromString(const std::string& str, NsRPC2Communication::UI::EndAudioPassThru& res) + { + return mNsRPC2Communication_UI__EndAudioPassThru.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::EndAudioPassThru& res) + { + return mNsRPC2Communication_UI__EndAudioPassThru.toString(res); + } + +// NsRPC2Communication::UI::EndAudioPassThruResponse + static bool fromString(const std::string& str, NsRPC2Communication::UI::EndAudioPassThruResponse& res) + { + return mNsRPC2Communication_UI__EndAudioPassThruResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::EndAudioPassThruResponse& res) + { + return mNsRPC2Communication_UI__EndAudioPassThruResponse.toString(res); + } + +// NsRPC2Communication::UI::GetCapabilities + static bool fromString(const std::string& str, NsRPC2Communication::UI::GetCapabilities& res) + { + return mNsRPC2Communication_UI__GetCapabilities.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::GetCapabilities& res) + { + return mNsRPC2Communication_UI__GetCapabilities.toString(res); + } + +// NsRPC2Communication::UI::GetCapabilitiesResponse + static bool fromString(const std::string& str, NsRPC2Communication::UI::GetCapabilitiesResponse& res) + { + return mNsRPC2Communication_UI__GetCapabilitiesResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::GetCapabilitiesResponse& res) + { + return mNsRPC2Communication_UI__GetCapabilitiesResponse.toString(res); + } + +// NsRPC2Communication::UI::GetLanguage + static bool fromString(const std::string& str, NsRPC2Communication::UI::GetLanguage& res) + { + return mNsRPC2Communication_UI__GetLanguage.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::GetLanguage& res) + { + return mNsRPC2Communication_UI__GetLanguage.toString(res); + } + +// NsRPC2Communication::UI::GetLanguageResponse + static bool fromString(const std::string& str, NsRPC2Communication::UI::GetLanguageResponse& res) + { + return mNsRPC2Communication_UI__GetLanguageResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::GetLanguageResponse& res) + { + return mNsRPC2Communication_UI__GetLanguageResponse.toString(res); + } + +// NsRPC2Communication::UI::GetSupportedLanguages + static bool fromString(const std::string& str, NsRPC2Communication::UI::GetSupportedLanguages& res) + { + return mNsRPC2Communication_UI__GetSupportedLanguages.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::GetSupportedLanguages& res) + { + return mNsRPC2Communication_UI__GetSupportedLanguages.toString(res); + } + +// NsRPC2Communication::UI::GetSupportedLanguagesResponse + static bool fromString(const std::string& str, NsRPC2Communication::UI::GetSupportedLanguagesResponse& res) + { + return mNsRPC2Communication_UI__GetSupportedLanguagesResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::GetSupportedLanguagesResponse& res) + { + return mNsRPC2Communication_UI__GetSupportedLanguagesResponse.toString(res); + } + +// NsRPC2Communication::UI::OnCommand + static bool fromString(const std::string& str, NsRPC2Communication::UI::OnCommand& res) + { + return mNsRPC2Communication_UI__OnCommand.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::OnCommand& res) + { + return mNsRPC2Communication_UI__OnCommand.toString(res); + } + +// NsRPC2Communication::UI::OnDeviceChosen + static bool fromString(const std::string& str, NsRPC2Communication::UI::OnDeviceChosen& res) + { + return mNsRPC2Communication_UI__OnDeviceChosen.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::OnDeviceChosen& res) + { + return mNsRPC2Communication_UI__OnDeviceChosen.toString(res); + } + +// NsRPC2Communication::UI::OnDriverDistraction + static bool fromString(const std::string& str, NsRPC2Communication::UI::OnDriverDistraction& res) + { + return mNsRPC2Communication_UI__OnDriverDistraction.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::OnDriverDistraction& res) + { + return mNsRPC2Communication_UI__OnDriverDistraction.toString(res); + } + +// NsRPC2Communication::UI::OnLanguageChange + static bool fromString(const std::string& str, NsRPC2Communication::UI::OnLanguageChange& res) + { + return mNsRPC2Communication_UI__OnLanguageChange.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::OnLanguageChange& res) + { + return mNsRPC2Communication_UI__OnLanguageChange.toString(res); + } + +// NsRPC2Communication::UI::OnReady + static bool fromString(const std::string& str, NsRPC2Communication::UI::OnReady& res) + { + return mNsRPC2Communication_UI__OnReady.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::OnReady& res) + { + return mNsRPC2Communication_UI__OnReady.toString(res); + } + +// NsRPC2Communication::UI::OnSystemContext + static bool fromString(const std::string& str, NsRPC2Communication::UI::OnSystemContext& res) + { + return mNsRPC2Communication_UI__OnSystemContext.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::OnSystemContext& res) + { + return mNsRPC2Communication_UI__OnSystemContext.toString(res); + } + +// NsRPC2Communication::UI::OnTBTClientState + static bool fromString(const std::string& str, NsRPC2Communication::UI::OnTBTClientState& res) + { + return mNsRPC2Communication_UI__OnTBTClientState.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::OnTBTClientState& res) + { + return mNsRPC2Communication_UI__OnTBTClientState.toString(res); + } + +// NsRPC2Communication::UI::PerformAudioPassThru + static bool fromString(const std::string& str, NsRPC2Communication::UI::PerformAudioPassThru& res) + { + return mNsRPC2Communication_UI__PerformAudioPassThru.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::PerformAudioPassThru& res) + { + return mNsRPC2Communication_UI__PerformAudioPassThru.toString(res); + } + +// NsRPC2Communication::UI::PerformAudioPassThruResponse + static bool fromString(const std::string& str, NsRPC2Communication::UI::PerformAudioPassThruResponse& res) + { + return mNsRPC2Communication_UI__PerformAudioPassThruResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::PerformAudioPassThruResponse& res) + { + return mNsRPC2Communication_UI__PerformAudioPassThruResponse.toString(res); + } + +// NsRPC2Communication::UI::PerformInteraction + static bool fromString(const std::string& str, NsRPC2Communication::UI::PerformInteraction& res) + { + return mNsRPC2Communication_UI__PerformInteraction.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::PerformInteraction& res) + { + return mNsRPC2Communication_UI__PerformInteraction.toString(res); + } + +// NsRPC2Communication::UI::PerformInteractionResponse + static bool fromString(const std::string& str, NsRPC2Communication::UI::PerformInteractionResponse& res) + { + return mNsRPC2Communication_UI__PerformInteractionResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::PerformInteractionResponse& res) + { + return mNsRPC2Communication_UI__PerformInteractionResponse.toString(res); + } + +// NsRPC2Communication::UI::ResetGlobalProperties + static bool fromString(const std::string& str, NsRPC2Communication::UI::ResetGlobalProperties& res) + { + return mNsRPC2Communication_UI__ResetGlobalProperties.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::ResetGlobalProperties& res) + { + return mNsRPC2Communication_UI__ResetGlobalProperties.toString(res); + } + +// NsRPC2Communication::UI::ResetGlobalPropertiesResponse + static bool fromString(const std::string& str, NsRPC2Communication::UI::ResetGlobalPropertiesResponse& res) + { + return mNsRPC2Communication_UI__ResetGlobalPropertiesResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::ResetGlobalPropertiesResponse& res) + { + return mNsRPC2Communication_UI__ResetGlobalPropertiesResponse.toString(res); + } + +// NsRPC2Communication::UI::ScrollableMessage + static bool fromString(const std::string& str, NsRPC2Communication::UI::ScrollableMessage& res) + { + return mNsRPC2Communication_UI__ScrollableMessage.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::ScrollableMessage& res) + { + return mNsRPC2Communication_UI__ScrollableMessage.toString(res); + } + +// NsRPC2Communication::UI::ScrollableMessageResponse + static bool fromString(const std::string& str, NsRPC2Communication::UI::ScrollableMessageResponse& res) + { + return mNsRPC2Communication_UI__ScrollableMessageResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::ScrollableMessageResponse& res) + { + return mNsRPC2Communication_UI__ScrollableMessageResponse.toString(res); + } + +// NsRPC2Communication::UI::SetAppIcon + static bool fromString(const std::string& str, NsRPC2Communication::UI::SetAppIcon& res) + { + return mNsRPC2Communication_UI__SetAppIcon.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::SetAppIcon& res) + { + return mNsRPC2Communication_UI__SetAppIcon.toString(res); + } + +// NsRPC2Communication::UI::SetAppIconResponse + static bool fromString(const std::string& str, NsRPC2Communication::UI::SetAppIconResponse& res) + { + return mNsRPC2Communication_UI__SetAppIconResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::SetAppIconResponse& res) + { + return mNsRPC2Communication_UI__SetAppIconResponse.toString(res); + } + +// NsRPC2Communication::UI::SetDisplayLayout + static bool fromString(const std::string& str, NsRPC2Communication::UI::SetDisplayLayout& res) + { + return mNsRPC2Communication_UI__SetDisplayLayout.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::SetDisplayLayout& res) + { + return mNsRPC2Communication_UI__SetDisplayLayout.toString(res); + } + +// NsRPC2Communication::UI::SetDisplayLayoutResponse + static bool fromString(const std::string& str, NsRPC2Communication::UI::SetDisplayLayoutResponse& res) + { + return mNsRPC2Communication_UI__SetDisplayLayoutResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::SetDisplayLayoutResponse& res) + { + return mNsRPC2Communication_UI__SetDisplayLayoutResponse.toString(res); + } + +// NsRPC2Communication::UI::SetGlobalProperties + static bool fromString(const std::string& str, NsRPC2Communication::UI::SetGlobalProperties& res) + { + return mNsRPC2Communication_UI__SetGlobalProperties.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::SetGlobalProperties& res) + { + return mNsRPC2Communication_UI__SetGlobalProperties.toString(res); + } + +// NsRPC2Communication::UI::SetGlobalPropertiesResponse + static bool fromString(const std::string& str, NsRPC2Communication::UI::SetGlobalPropertiesResponse& res) + { + return mNsRPC2Communication_UI__SetGlobalPropertiesResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::SetGlobalPropertiesResponse& res) + { + return mNsRPC2Communication_UI__SetGlobalPropertiesResponse.toString(res); + } + +// NsRPC2Communication::UI::SetMediaClockTimer + static bool fromString(const std::string& str, NsRPC2Communication::UI::SetMediaClockTimer& res) + { + return mNsRPC2Communication_UI__SetMediaClockTimer.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::SetMediaClockTimer& res) + { + return mNsRPC2Communication_UI__SetMediaClockTimer.toString(res); + } + +// NsRPC2Communication::UI::SetMediaClockTimerResponse + static bool fromString(const std::string& str, NsRPC2Communication::UI::SetMediaClockTimerResponse& res) + { + return mNsRPC2Communication_UI__SetMediaClockTimerResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::SetMediaClockTimerResponse& res) + { + return mNsRPC2Communication_UI__SetMediaClockTimerResponse.toString(res); + } + +// NsRPC2Communication::UI::Show + static bool fromString(const std::string& str, NsRPC2Communication::UI::Show& res) + { + return mNsRPC2Communication_UI__Show.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::Show& res) + { + return mNsRPC2Communication_UI__Show.toString(res); + } + +// NsRPC2Communication::UI::ShowResponse + static bool fromString(const std::string& str, NsRPC2Communication::UI::ShowResponse& res) + { + return mNsRPC2Communication_UI__ShowResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::ShowResponse& res) + { + return mNsRPC2Communication_UI__ShowResponse.toString(res); + } + +// NsRPC2Communication::UI::ShowConstantTBT + static bool fromString(const std::string& str, NsRPC2Communication::UI::ShowConstantTBT& res) + { + return mNsRPC2Communication_UI__ShowConstantTBT.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::ShowConstantTBT& res) + { + return mNsRPC2Communication_UI__ShowConstantTBT.toString(res); + } + +// NsRPC2Communication::UI::ShowConstantTBTResponse + static bool fromString(const std::string& str, NsRPC2Communication::UI::ShowConstantTBTResponse& res) + { + return mNsRPC2Communication_UI__ShowConstantTBTResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::ShowConstantTBTResponse& res) + { + return mNsRPC2Communication_UI__ShowConstantTBTResponse.toString(res); + } + +// NsRPC2Communication::UI::Slider + static bool fromString(const std::string& str, NsRPC2Communication::UI::Slider& res) + { + return mNsRPC2Communication_UI__Slider.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::Slider& res) + { + return mNsRPC2Communication_UI__Slider.toString(res); + } + +// NsRPC2Communication::UI::SliderResponse + static bool fromString(const std::string& str, NsRPC2Communication::UI::SliderResponse& res) + { + return mNsRPC2Communication_UI__SliderResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::SliderResponse& res) + { + return mNsRPC2Communication_UI__SliderResponse.toString(res); + } + +// NsRPC2Communication::UI::UpdateTurnList + static bool fromString(const std::string& str, NsRPC2Communication::UI::UpdateTurnList& res) + { + return mNsRPC2Communication_UI__UpdateTurnList.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::UpdateTurnList& res) + { + return mNsRPC2Communication_UI__UpdateTurnList.toString(res); + } + +// NsRPC2Communication::UI::UpdateTurnListResponse + static bool fromString(const std::string& str, NsRPC2Communication::UI::UpdateTurnListResponse& res) + { + return mNsRPC2Communication_UI__UpdateTurnListResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::UI::UpdateTurnListResponse& res) + { + return mNsRPC2Communication_UI__UpdateTurnListResponse.toString(res); + } + +// NsRPC2Communication::VR::AddCommand + static bool fromString(const std::string& str, NsRPC2Communication::VR::AddCommand& res) + { + return mNsRPC2Communication_VR__AddCommand.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::VR::AddCommand& res) + { + return mNsRPC2Communication_VR__AddCommand.toString(res); + } + +// NsRPC2Communication::VR::AddCommandResponse + static bool fromString(const std::string& str, NsRPC2Communication::VR::AddCommandResponse& res) + { + return mNsRPC2Communication_VR__AddCommandResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::VR::AddCommandResponse& res) + { + return mNsRPC2Communication_VR__AddCommandResponse.toString(res); + } + +// NsRPC2Communication::VR::ChangeRegistration + static bool fromString(const std::string& str, NsRPC2Communication::VR::ChangeRegistration& res) + { + return mNsRPC2Communication_VR__ChangeRegistration.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::VR::ChangeRegistration& res) + { + return mNsRPC2Communication_VR__ChangeRegistration.toString(res); + } + +// NsRPC2Communication::VR::ChangeRegistrationResponse + static bool fromString(const std::string& str, NsRPC2Communication::VR::ChangeRegistrationResponse& res) + { + return mNsRPC2Communication_VR__ChangeRegistrationResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::VR::ChangeRegistrationResponse& res) + { + return mNsRPC2Communication_VR__ChangeRegistrationResponse.toString(res); + } + +// NsRPC2Communication::VR::DeleteCommand + static bool fromString(const std::string& str, NsRPC2Communication::VR::DeleteCommand& res) + { + return mNsRPC2Communication_VR__DeleteCommand.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::VR::DeleteCommand& res) + { + return mNsRPC2Communication_VR__DeleteCommand.toString(res); + } + +// NsRPC2Communication::VR::DeleteCommandResponse + static bool fromString(const std::string& str, NsRPC2Communication::VR::DeleteCommandResponse& res) + { + return mNsRPC2Communication_VR__DeleteCommandResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::VR::DeleteCommandResponse& res) + { + return mNsRPC2Communication_VR__DeleteCommandResponse.toString(res); + } + +// NsRPC2Communication::VR::GetCapabilities + static bool fromString(const std::string& str, NsRPC2Communication::VR::GetCapabilities& res) + { + return mNsRPC2Communication_VR__GetCapabilities.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::VR::GetCapabilities& res) + { + return mNsRPC2Communication_VR__GetCapabilities.toString(res); + } + +// NsRPC2Communication::VR::GetCapabilitiesResponse + static bool fromString(const std::string& str, NsRPC2Communication::VR::GetCapabilitiesResponse& res) + { + return mNsRPC2Communication_VR__GetCapabilitiesResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::VR::GetCapabilitiesResponse& res) + { + return mNsRPC2Communication_VR__GetCapabilitiesResponse.toString(res); + } + +// NsRPC2Communication::VR::GetLanguage + static bool fromString(const std::string& str, NsRPC2Communication::VR::GetLanguage& res) + { + return mNsRPC2Communication_VR__GetLanguage.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::VR::GetLanguage& res) + { + return mNsRPC2Communication_VR__GetLanguage.toString(res); + } + +// NsRPC2Communication::VR::GetLanguageResponse + static bool fromString(const std::string& str, NsRPC2Communication::VR::GetLanguageResponse& res) + { + return mNsRPC2Communication_VR__GetLanguageResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::VR::GetLanguageResponse& res) + { + return mNsRPC2Communication_VR__GetLanguageResponse.toString(res); + } + +// NsRPC2Communication::VR::GetSupportedLanguages + static bool fromString(const std::string& str, NsRPC2Communication::VR::GetSupportedLanguages& res) + { + return mNsRPC2Communication_VR__GetSupportedLanguages.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::VR::GetSupportedLanguages& res) + { + return mNsRPC2Communication_VR__GetSupportedLanguages.toString(res); + } + +// NsRPC2Communication::VR::GetSupportedLanguagesResponse + static bool fromString(const std::string& str, NsRPC2Communication::VR::GetSupportedLanguagesResponse& res) + { + return mNsRPC2Communication_VR__GetSupportedLanguagesResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::VR::GetSupportedLanguagesResponse& res) + { + return mNsRPC2Communication_VR__GetSupportedLanguagesResponse.toString(res); + } + +// NsRPC2Communication::VR::OnCommand + static bool fromString(const std::string& str, NsRPC2Communication::VR::OnCommand& res) + { + return mNsRPC2Communication_VR__OnCommand.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::VR::OnCommand& res) + { + return mNsRPC2Communication_VR__OnCommand.toString(res); + } + +// NsRPC2Communication::VR::OnLanguageChange + static bool fromString(const std::string& str, NsRPC2Communication::VR::OnLanguageChange& res) + { + return mNsRPC2Communication_VR__OnLanguageChange.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::VR::OnLanguageChange& res) + { + return mNsRPC2Communication_VR__OnLanguageChange.toString(res); + } + +// NsRPC2Communication::VehicleInfo::GetDTCs + static bool fromString(const std::string& str, NsRPC2Communication::VehicleInfo::GetDTCs& res) + { + return mNsRPC2Communication_VehicleInfo__GetDTCs.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::VehicleInfo::GetDTCs& res) + { + return mNsRPC2Communication_VehicleInfo__GetDTCs.toString(res); + } + +// NsRPC2Communication::VehicleInfo::GetDTCsResponse + static bool fromString(const std::string& str, NsRPC2Communication::VehicleInfo::GetDTCsResponse& res) + { + return mNsRPC2Communication_VehicleInfo__GetDTCsResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::VehicleInfo::GetDTCsResponse& res) + { + return mNsRPC2Communication_VehicleInfo__GetDTCsResponse.toString(res); + } + +// NsRPC2Communication::VehicleInfo::GetVehicleData + static bool fromString(const std::string& str, NsRPC2Communication::VehicleInfo::GetVehicleData& res) + { + return mNsRPC2Communication_VehicleInfo__GetVehicleData.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::VehicleInfo::GetVehicleData& res) + { + return mNsRPC2Communication_VehicleInfo__GetVehicleData.toString(res); + } + +// NsRPC2Communication::VehicleInfo::GetVehicleDataResponse + static bool fromString(const std::string& str, NsRPC2Communication::VehicleInfo::GetVehicleDataResponse& res) + { + return mNsRPC2Communication_VehicleInfo__GetVehicleDataResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::VehicleInfo::GetVehicleDataResponse& res) + { + return mNsRPC2Communication_VehicleInfo__GetVehicleDataResponse.toString(res); + } + +// NsRPC2Communication::VehicleInfo::GetVehicleType + static bool fromString(const std::string& str, NsRPC2Communication::VehicleInfo::GetVehicleType& res) + { + return mNsRPC2Communication_VehicleInfo__GetVehicleType.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::VehicleInfo::GetVehicleType& res) + { + return mNsRPC2Communication_VehicleInfo__GetVehicleType.toString(res); + } + +// NsRPC2Communication::VehicleInfo::GetVehicleTypeResponse + static bool fromString(const std::string& str, NsRPC2Communication::VehicleInfo::GetVehicleTypeResponse& res) + { + return mNsRPC2Communication_VehicleInfo__GetVehicleTypeResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::VehicleInfo::GetVehicleTypeResponse& res) + { + return mNsRPC2Communication_VehicleInfo__GetVehicleTypeResponse.toString(res); + } + +// NsRPC2Communication::VehicleInfo::OnVehicleData + static bool fromString(const std::string& str, NsRPC2Communication::VehicleInfo::OnVehicleData& res) + { + return mNsRPC2Communication_VehicleInfo__OnVehicleData.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::VehicleInfo::OnVehicleData& res) + { + return mNsRPC2Communication_VehicleInfo__OnVehicleData.toString(res); + } + +// NsRPC2Communication::VehicleInfo::ReadDID + static bool fromString(const std::string& str, NsRPC2Communication::VehicleInfo::ReadDID& res) + { + return mNsRPC2Communication_VehicleInfo__ReadDID.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::VehicleInfo::ReadDID& res) + { + return mNsRPC2Communication_VehicleInfo__ReadDID.toString(res); + } + +// NsRPC2Communication::VehicleInfo::ReadDIDResponse + static bool fromString(const std::string& str, NsRPC2Communication::VehicleInfo::ReadDIDResponse& res) + { + return mNsRPC2Communication_VehicleInfo__ReadDIDResponse.fromString(str, res); + } + + static std::string toString(const NsRPC2Communication::VehicleInfo::ReadDIDResponse& res) + { + return mNsRPC2Communication_VehicleInfo__ReadDIDResponse.toString(res); + } + + + struct localHash + { + const char *name; + unsigned int idx; + void* marshaller; // Bingo!!! old good plain C with direct casting!!! + }; + +private: + + static Json::Value Request2JSON(const ::NsRPC2Communication::RPC2Request* msg); + static Json::Value Response2JSON(const ::NsRPC2Communication::RPC2Response* msg); + static Json::Value Notification2JSON(const ::NsRPC2Communication::RPC2Notification* msg); + + static const char* getName(Methods e) + { + return (e>=0 && e<110) ? mHashTable[e].name : NULL; + } + + static const Methods getIndex(const char* s); + + static const localHash mHashTable[110]; + friend class Marshaller_intHash; + + static ::NsRPC2Communication::RPC2ErrorMarshaller mRPC2ErrorInternal; + + static NsRPC2Communication::BasicCommunication::ActivateAppMarshaller mNsRPC2Communication_BasicCommunication__ActivateApp; + static NsRPC2Communication::BasicCommunication::ActivateAppResponseMarshaller mNsRPC2Communication_BasicCommunication__ActivateAppResponse; + static NsRPC2Communication::BasicCommunication::GetAppListMarshaller mNsRPC2Communication_BasicCommunication__GetAppList; + static NsRPC2Communication::BasicCommunication::GetAppListResponseMarshaller mNsRPC2Communication_BasicCommunication__GetAppListResponse; + static NsRPC2Communication::BasicCommunication::GetDeviceListMarshaller mNsRPC2Communication_BasicCommunication__GetDeviceList; + static NsRPC2Communication::BasicCommunication::GetDeviceListResponseMarshaller mNsRPC2Communication_BasicCommunication__GetDeviceListResponse; + static NsRPC2Communication::BasicCommunication::OnAppDeactivatedMarshaller mNsRPC2Communication_BasicCommunication__OnAppDeactivated; + //static NsRPC2Communication::BasicCommunication::OnAppDeactivatedResponseMarshaller mNsRPC2Communication_BasicCommunication__OnAppDeactivatedResponse; + static NsRPC2Communication::BasicCommunication::OnAppRegisteredMarshaller mNsRPC2Communication_BasicCommunication__OnAppRegistered; + static NsRPC2Communication::BasicCommunication::OnAppUnregisteredMarshaller mNsRPC2Communication_BasicCommunication__OnAppUnregistered; + static NsRPC2Communication::BasicCommunication::OnDeviceListUpdatedMarshaller mNsRPC2Communication_BasicCommunication__OnDeviceListUpdated; + static NsRPC2Communication::BasicCommunication::SendDataMarshaller mNsRPC2Communication_BasicCommunication__SendData; + static NsRPC2Communication::BasicCommunication::SendDataResponseMarshaller mNsRPC2Communication_BasicCommunication__SendDataResponse; + static NsRPC2Communication::Buttons::GetCapabilitiesMarshaller mNsRPC2Communication_Buttons__GetCapabilities; + static NsRPC2Communication::Buttons::GetCapabilitiesResponseMarshaller mNsRPC2Communication_Buttons__GetCapabilitiesResponse; + static NsRPC2Communication::Buttons::OnButtonEventMarshaller mNsRPC2Communication_Buttons__OnButtonEvent; + static NsRPC2Communication::Buttons::OnButtonPressMarshaller mNsRPC2Communication_Buttons__OnButtonPress; + static NsRPC2Communication::TTS::ChangeRegistrationMarshaller mNsRPC2Communication_TTS__ChangeRegistration; + static NsRPC2Communication::TTS::ChangeRegistrationResponseMarshaller mNsRPC2Communication_TTS__ChangeRegistrationResponse; + static NsRPC2Communication::TTS::GetCapabilitiesMarshaller mNsRPC2Communication_TTS__GetCapabilities; + static NsRPC2Communication::TTS::GetCapabilitiesResponseMarshaller mNsRPC2Communication_TTS__GetCapabilitiesResponse; + static NsRPC2Communication::TTS::GetLanguageMarshaller mNsRPC2Communication_TTS__GetLanguage; + static NsRPC2Communication::TTS::GetLanguageResponseMarshaller mNsRPC2Communication_TTS__GetLanguageResponse; + static NsRPC2Communication::TTS::GetSupportedLanguagesMarshaller mNsRPC2Communication_TTS__GetSupportedLanguages; + static NsRPC2Communication::TTS::GetSupportedLanguagesResponseMarshaller mNsRPC2Communication_TTS__GetSupportedLanguagesResponse; + static NsRPC2Communication::TTS::OnLanguageChangeMarshaller mNsRPC2Communication_TTS__OnLanguageChange; + static NsRPC2Communication::TTS::SpeakMarshaller mNsRPC2Communication_TTS__Speak; + static NsRPC2Communication::TTS::SpeakResponseMarshaller mNsRPC2Communication_TTS__SpeakResponse; + static NsRPC2Communication::UI::AddCommandMarshaller mNsRPC2Communication_UI__AddCommand; + static NsRPC2Communication::UI::AddCommandResponseMarshaller mNsRPC2Communication_UI__AddCommandResponse; + static NsRPC2Communication::UI::AddSubMenuMarshaller mNsRPC2Communication_UI__AddSubMenu; + static NsRPC2Communication::UI::AddSubMenuResponseMarshaller mNsRPC2Communication_UI__AddSubMenuResponse; + static NsRPC2Communication::UI::AlertMarshaller mNsRPC2Communication_UI__Alert; + static NsRPC2Communication::UI::AlertResponseMarshaller mNsRPC2Communication_UI__AlertResponse; + static NsRPC2Communication::UI::AlertManeuverMarshaller mNsRPC2Communication_UI__AlertManeuver; + static NsRPC2Communication::UI::AlertManeuverResponseMarshaller mNsRPC2Communication_UI__AlertManeuverResponse; + static NsRPC2Communication::UI::ChangeRegistrationMarshaller mNsRPC2Communication_UI__ChangeRegistration; + static NsRPC2Communication::UI::ChangeRegistrationResponseMarshaller mNsRPC2Communication_UI__ChangeRegistrationResponse; + static NsRPC2Communication::UI::CreateInteractionChoiceSetMarshaller mNsRPC2Communication_UI__CreateInteractionChoiceSet; + static NsRPC2Communication::UI::CreateInteractionChoiceSetResponseMarshaller mNsRPC2Communication_UI__CreateInteractionChoiceSetResponse; + static NsRPC2Communication::UI::DeleteCommandMarshaller mNsRPC2Communication_UI__DeleteCommand; + static NsRPC2Communication::UI::DeleteCommandResponseMarshaller mNsRPC2Communication_UI__DeleteCommandResponse; + static NsRPC2Communication::UI::DeleteInteractionChoiceSetMarshaller mNsRPC2Communication_UI__DeleteInteractionChoiceSet; + static NsRPC2Communication::UI::DeleteInteractionChoiceSetResponseMarshaller mNsRPC2Communication_UI__DeleteInteractionChoiceSetResponse; + static NsRPC2Communication::UI::DeleteSubMenuMarshaller mNsRPC2Communication_UI__DeleteSubMenu; + static NsRPC2Communication::UI::DeleteSubMenuResponseMarshaller mNsRPC2Communication_UI__DeleteSubMenuResponse; + static NsRPC2Communication::UI::DialNumberMarshaller mNsRPC2Communication_UI__DialNumber; + static NsRPC2Communication::UI::DialNumberResponseMarshaller mNsRPC2Communication_UI__DialNumberResponse; + static NsRPC2Communication::UI::EndAudioPassThruMarshaller mNsRPC2Communication_UI__EndAudioPassThru; + static NsRPC2Communication::UI::EndAudioPassThruResponseMarshaller mNsRPC2Communication_UI__EndAudioPassThruResponse; + static NsRPC2Communication::UI::GetCapabilitiesMarshaller mNsRPC2Communication_UI__GetCapabilities; + static NsRPC2Communication::UI::GetCapabilitiesResponseMarshaller mNsRPC2Communication_UI__GetCapabilitiesResponse; + static NsRPC2Communication::UI::GetLanguageMarshaller mNsRPC2Communication_UI__GetLanguage; + static NsRPC2Communication::UI::GetLanguageResponseMarshaller mNsRPC2Communication_UI__GetLanguageResponse; + static NsRPC2Communication::UI::GetSupportedLanguagesMarshaller mNsRPC2Communication_UI__GetSupportedLanguages; + static NsRPC2Communication::UI::GetSupportedLanguagesResponseMarshaller mNsRPC2Communication_UI__GetSupportedLanguagesResponse; + static NsRPC2Communication::UI::OnCommandMarshaller mNsRPC2Communication_UI__OnCommand; + static NsRPC2Communication::UI::OnDeviceChosenMarshaller mNsRPC2Communication_UI__OnDeviceChosen; + static NsRPC2Communication::UI::OnDriverDistractionMarshaller mNsRPC2Communication_UI__OnDriverDistraction; + static NsRPC2Communication::UI::OnLanguageChangeMarshaller mNsRPC2Communication_UI__OnLanguageChange; + static NsRPC2Communication::UI::OnReadyMarshaller mNsRPC2Communication_UI__OnReady; + static NsRPC2Communication::UI::OnSystemContextMarshaller mNsRPC2Communication_UI__OnSystemContext; + static NsRPC2Communication::UI::OnTBTClientStateMarshaller mNsRPC2Communication_UI__OnTBTClientState; + static NsRPC2Communication::UI::PerformAudioPassThruMarshaller mNsRPC2Communication_UI__PerformAudioPassThru; + static NsRPC2Communication::UI::PerformAudioPassThruResponseMarshaller mNsRPC2Communication_UI__PerformAudioPassThruResponse; + static NsRPC2Communication::UI::PerformInteractionMarshaller mNsRPC2Communication_UI__PerformInteraction; + static NsRPC2Communication::UI::PerformInteractionResponseMarshaller mNsRPC2Communication_UI__PerformInteractionResponse; + static NsRPC2Communication::UI::ResetGlobalPropertiesMarshaller mNsRPC2Communication_UI__ResetGlobalProperties; + static NsRPC2Communication::UI::ResetGlobalPropertiesResponseMarshaller mNsRPC2Communication_UI__ResetGlobalPropertiesResponse; + static NsRPC2Communication::UI::ScrollableMessageMarshaller mNsRPC2Communication_UI__ScrollableMessage; + static NsRPC2Communication::UI::ScrollableMessageResponseMarshaller mNsRPC2Communication_UI__ScrollableMessageResponse; + static NsRPC2Communication::UI::SetAppIconMarshaller mNsRPC2Communication_UI__SetAppIcon; + static NsRPC2Communication::UI::SetAppIconResponseMarshaller mNsRPC2Communication_UI__SetAppIconResponse; + static NsRPC2Communication::UI::SetDisplayLayoutMarshaller mNsRPC2Communication_UI__SetDisplayLayout; + static NsRPC2Communication::UI::SetDisplayLayoutResponseMarshaller mNsRPC2Communication_UI__SetDisplayLayoutResponse; + static NsRPC2Communication::UI::SetGlobalPropertiesMarshaller mNsRPC2Communication_UI__SetGlobalProperties; + static NsRPC2Communication::UI::SetGlobalPropertiesResponseMarshaller mNsRPC2Communication_UI__SetGlobalPropertiesResponse; + static NsRPC2Communication::UI::SetMediaClockTimerMarshaller mNsRPC2Communication_UI__SetMediaClockTimer; + static NsRPC2Communication::UI::SetMediaClockTimerResponseMarshaller mNsRPC2Communication_UI__SetMediaClockTimerResponse; + static NsRPC2Communication::UI::ShowMarshaller mNsRPC2Communication_UI__Show; + static NsRPC2Communication::UI::ShowResponseMarshaller mNsRPC2Communication_UI__ShowResponse; + static NsRPC2Communication::UI::ShowConstantTBTMarshaller mNsRPC2Communication_UI__ShowConstantTBT; + static NsRPC2Communication::UI::ShowConstantTBTResponseMarshaller mNsRPC2Communication_UI__ShowConstantTBTResponse; + static NsRPC2Communication::UI::SliderMarshaller mNsRPC2Communication_UI__Slider; + static NsRPC2Communication::UI::SliderResponseMarshaller mNsRPC2Communication_UI__SliderResponse; + static NsRPC2Communication::UI::UpdateTurnListMarshaller mNsRPC2Communication_UI__UpdateTurnList; + static NsRPC2Communication::UI::UpdateTurnListResponseMarshaller mNsRPC2Communication_UI__UpdateTurnListResponse; + static NsRPC2Communication::VR::AddCommandMarshaller mNsRPC2Communication_VR__AddCommand; + static NsRPC2Communication::VR::AddCommandResponseMarshaller mNsRPC2Communication_VR__AddCommandResponse; + static NsRPC2Communication::VR::ChangeRegistrationMarshaller mNsRPC2Communication_VR__ChangeRegistration; + static NsRPC2Communication::VR::ChangeRegistrationResponseMarshaller mNsRPC2Communication_VR__ChangeRegistrationResponse; + static NsRPC2Communication::VR::DeleteCommandMarshaller mNsRPC2Communication_VR__DeleteCommand; + static NsRPC2Communication::VR::DeleteCommandResponseMarshaller mNsRPC2Communication_VR__DeleteCommandResponse; + static NsRPC2Communication::VR::GetCapabilitiesMarshaller mNsRPC2Communication_VR__GetCapabilities; + static NsRPC2Communication::VR::GetCapabilitiesResponseMarshaller mNsRPC2Communication_VR__GetCapabilitiesResponse; + static NsRPC2Communication::VR::GetLanguageMarshaller mNsRPC2Communication_VR__GetLanguage; + static NsRPC2Communication::VR::GetLanguageResponseMarshaller mNsRPC2Communication_VR__GetLanguageResponse; + static NsRPC2Communication::VR::GetSupportedLanguagesMarshaller mNsRPC2Communication_VR__GetSupportedLanguages; + static NsRPC2Communication::VR::GetSupportedLanguagesResponseMarshaller mNsRPC2Communication_VR__GetSupportedLanguagesResponse; + static NsRPC2Communication::VR::OnCommandMarshaller mNsRPC2Communication_VR__OnCommand; + static NsRPC2Communication::VR::OnLanguageChangeMarshaller mNsRPC2Communication_VR__OnLanguageChange; + static NsRPC2Communication::VehicleInfo::GetDTCsMarshaller mNsRPC2Communication_VehicleInfo__GetDTCs; + static NsRPC2Communication::VehicleInfo::GetDTCsResponseMarshaller mNsRPC2Communication_VehicleInfo__GetDTCsResponse; + static NsRPC2Communication::VehicleInfo::GetVehicleDataMarshaller mNsRPC2Communication_VehicleInfo__GetVehicleData; + static NsRPC2Communication::VehicleInfo::GetVehicleDataResponseMarshaller mNsRPC2Communication_VehicleInfo__GetVehicleDataResponse; + static NsRPC2Communication::VehicleInfo::GetVehicleTypeMarshaller mNsRPC2Communication_VehicleInfo__GetVehicleType; + static NsRPC2Communication::VehicleInfo::GetVehicleTypeResponseMarshaller mNsRPC2Communication_VehicleInfo__GetVehicleTypeResponse; + static NsRPC2Communication::VehicleInfo::OnVehicleDataMarshaller mNsRPC2Communication_VehicleInfo__OnVehicleData; + static NsRPC2Communication::VehicleInfo::ReadDIDMarshaller mNsRPC2Communication_VehicleInfo__ReadDID; + static NsRPC2Communication::VehicleInfo::ReadDIDResponseMarshaller mNsRPC2Communication_VehicleInfo__ReadDIDResponse; + +}; +} +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/ActivateApp.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/ActivateApp.h new file mode 100644 index 000000000..d109d08b1 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/ActivateApp.h @@ -0,0 +1,89 @@ +// +// 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 NSRPC2COMMUNICATION_SMARTDEVICELINKCORE_ACTIVATEAPP_INCLUDE +#define NSRPC2COMMUNICATION_SMARTDEVICELINKCORE_ACTIVATEAPP_INCLUDE + +#include <string> +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::SmartDeviceLinkCore + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace BasicCommunication + { + + class ActivateApp : public ::NsRPC2Communication::RPC2Request + { + public: + + ActivateApp(const ActivateApp& c); + ActivateApp(void); + + ActivateApp& operator =(const ActivateApp&); + + virtual ~ActivateApp(void); + + bool checkIntegrity(void); + +// getters + const std::string& get_appName(void); + + int get_appId(void); + + +// setters +/// appName <= 100 + bool set_appName(const std::string& appName); + + bool set_appId(int appId); + + + private: + + friend class ActivateAppMarshaller; + + std::string appName; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/ActivateAppResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/ActivateAppResponse.h new file mode 100644 index 000000000..6114e9beb --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/ActivateAppResponse.h @@ -0,0 +1,74 @@ +// +// 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 NSRPC2COMMUNICATION_SMARTDEVICELINKCORE_ACTIVATEAPPRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_SMARTDEVICELINKCORE_ACTIVATEAPPRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::SmartDeviceLinkCore + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace BasicCommunication + { + + class ActivateAppResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + ActivateAppResponse(const ActivateAppResponse& c); + ActivateAppResponse(void); + + ActivateAppResponse& operator =(const ActivateAppResponse&); + + virtual ~ActivateAppResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class ActivateAppResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/GetAppList.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/GetAppList.h new file mode 100644 index 000000000..6072f4d4d --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/GetAppList.h @@ -0,0 +1,74 @@ +// +// 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 NSRPC2COMMUNICATION_SMARTDEVICELINKCORE_GETAPPLIST_INCLUDE +#define NSRPC2COMMUNICATION_SMARTDEVICELINKCORE_GETAPPLIST_INCLUDE + +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::SmartDeviceLinkCore + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace BasicCommunication + { + + class GetAppList : public ::NsRPC2Communication::RPC2Request + { + public: + + GetAppList(const GetAppList& c); + GetAppList(void); + + GetAppList& operator =(const GetAppList&); + + virtual ~GetAppList(void); + + bool checkIntegrity(void); + + + private: + + friend class GetAppListMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/GetAppListResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/GetAppListResponse.h new file mode 100644 index 000000000..a6295ae54 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/GetAppListResponse.h @@ -0,0 +1,84 @@ +// +// 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 NSRPC2COMMUNICATION_SMARTDEVICELINKCORE_GETAPPLISTRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_SMARTDEVICELINKCORE_GETAPPLISTRESPONSE_INCLUDE + +#include <vector> +#include "JSONHandler/RPC2Response.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/HMIApplication.h" + +/* + interface NsRPC2Communication::SmartDeviceLinkCore + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace BasicCommunication + { + + class GetAppListResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + GetAppListResponse(const GetAppListResponse& c); + GetAppListResponse(void); + + GetAppListResponse& operator =(const GetAppListResponse&); + + virtual ~GetAppListResponse(void); + + bool checkIntegrity(void); + +// getters + const std::vector< NsSmartDeviceLinkRPCV2::HMIApplication>& get_appList(void); + + +// setters + bool set_appList(const std::vector< NsSmartDeviceLinkRPCV2::HMIApplication>& appList); + + + private: + + friend class GetAppListResponseMarshaller; + + std::vector< NsSmartDeviceLinkRPCV2::HMIApplication> appList; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/GetDeviceList.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/GetDeviceList.h new file mode 100644 index 000000000..32e02d0a7 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/GetDeviceList.h @@ -0,0 +1,74 @@ +// +// 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 NSRPC2COMMUNICATION_SMARTDEVICELINKCORE_GETDEVICELIST_INCLUDE +#define NSRPC2COMMUNICATION_SMARTDEVICELINKCORE_GETDEVICELIST_INCLUDE + +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::SmartDeviceLinkCore + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace BasicCommunication + { + + class GetDeviceList : public ::NsRPC2Communication::RPC2Request + { + public: + + GetDeviceList(const GetDeviceList& c); + GetDeviceList(void); + + GetDeviceList& operator =(const GetDeviceList&); + + virtual ~GetDeviceList(void); + + bool checkIntegrity(void); + + + private: + + friend class GetDeviceListMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/GetDeviceListResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/GetDeviceListResponse.h new file mode 100644 index 000000000..dcca95313 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/GetDeviceListResponse.h @@ -0,0 +1,86 @@ +// +// 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 NSRPC2COMMUNICATION_SMARTDEVICELINKCORE_GETDEVICELISTRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_SMARTDEVICELINKCORE_GETDEVICELISTRESPONSE_INCLUDE + +#include <string> +#include <vector> +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::SmartDeviceLinkCore + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace BasicCommunication + { + + class GetDeviceListResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + GetDeviceListResponse(const GetDeviceListResponse& c); + GetDeviceListResponse(void); + + GetDeviceListResponse& operator =(const GetDeviceListResponse&); + + virtual ~GetDeviceListResponse(void); + + bool checkIntegrity(void); + +// getters + const std::vector< std::string>* get_deviceList(void); + +// setters +/// 1 <= size <= 100 + bool set_deviceList(const std::vector< std::string>& deviceList); + + void reset_deviceList(void); + + + private: + + friend class GetDeviceListResponseMarshaller; + + std::vector< std::string>* deviceList; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/OnAppDeactivated.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/OnAppDeactivated.h new file mode 100644 index 000000000..ee6ef2566 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/OnAppDeactivated.h @@ -0,0 +1,95 @@ +// +// 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 NSRPC2COMMUNICATION_SMARTDEVICELINKCORE_ONAPPDEACTIVATED_INCLUDE +#define NSRPC2COMMUNICATION_SMARTDEVICELINKCORE_ONAPPDEACTIVATED_INCLUDE + +#include <string> +#include "JSONHandler/RPC2Request.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/DeactivateReason.h" + +/* + interface NsRPC2Communication::SmartDeviceLinkCore + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace BasicCommunication + { + + class OnAppDeactivated : public ::NsRPC2Communication::RPC2Request + { + public: + + OnAppDeactivated(const OnAppDeactivated& c); + OnAppDeactivated(void); + + OnAppDeactivated& operator =(const OnAppDeactivated&); + + virtual ~OnAppDeactivated(void); + + bool checkIntegrity(void); + +// getters + const std::string& get_appName(void); + + const NsSmartDeviceLinkRPCV2::DeactivateReason& get_reason(void); + + int get_appId(void); + + +// setters +/// appName <= 100 + bool set_appName(const std::string& appName); + + bool set_reason(const NsSmartDeviceLinkRPCV2::DeactivateReason& reason); + + bool set_appId(int appId); + + + private: + + friend class OnAppDeactivatedMarshaller; + + std::string appName; + NsSmartDeviceLinkRPCV2::DeactivateReason reason; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/OnAppDeactivatedResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/OnAppDeactivatedResponse.h new file mode 100644 index 000000000..c09ccbc02 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/OnAppDeactivatedResponse.h @@ -0,0 +1,74 @@ +// +// 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 NSRPC2COMMUNICATION_SMARTDEVICELINKCORE_ONAPPDEACTIVATEDRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_SMARTDEVICELINKCORE_ONAPPDEACTIVATEDRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::SmartDeviceLinkCore + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace BasicCommunication + { + + class OnAppDeactivatedResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + OnAppDeactivatedResponse(const OnAppDeactivatedResponse& c); + OnAppDeactivatedResponse(void); + + OnAppDeactivatedResponse& operator =(const OnAppDeactivatedResponse&); + + virtual ~OnAppDeactivatedResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class OnAppDeactivatedResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/OnAppRegistered.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/OnAppRegistered.h new file mode 100644 index 000000000..9829ae87c --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/OnAppRegistered.h @@ -0,0 +1,83 @@ +// +// 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 NSRPC2COMMUNICATION_SMARTDEVICELINKCORE_ONAPPREGISTERED_INCLUDE +#define NSRPC2COMMUNICATION_SMARTDEVICELINKCORE_ONAPPREGISTERED_INCLUDE + +#include "JSONHandler/RPC2Notification.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/HMIApplication.h" + +/* + interface NsRPC2Communication::SmartDeviceLinkCore + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace BasicCommunication + { + + class OnAppRegistered : public ::NsRPC2Communication::RPC2Notification + { + public: + + OnAppRegistered(const OnAppRegistered& c); + OnAppRegistered(void); + + OnAppRegistered& operator =(const OnAppRegistered&); + + virtual ~OnAppRegistered(void); + + bool checkIntegrity(void); + +// getters + const NsSmartDeviceLinkRPCV2::HMIApplication& get_application(void); + + +// setters + bool set_application(const NsSmartDeviceLinkRPCV2::HMIApplication& application); + + + private: + + friend class OnAppRegisteredMarshaller; + + NsSmartDeviceLinkRPCV2::HMIApplication application; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/OnAppUnregistered.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/OnAppUnregistered.h new file mode 100644 index 000000000..2ffc0d767 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/OnAppUnregistered.h @@ -0,0 +1,96 @@ +// +// 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 NSRPC2COMMUNICATION_SMARTDEVICELINKCORE_ONAPPUNREGISTERED_INCLUDE +#define NSRPC2COMMUNICATION_SMARTDEVICELINKCORE_ONAPPUNREGISTERED_INCLUDE + +#include <string> +#include "JSONHandler/RPC2Notification.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/AppInterfaceUnregisteredReason.h" + +/* + interface NsRPC2Communication::SmartDeviceLinkCore + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace BasicCommunication + { + + class OnAppUnregistered : public ::NsRPC2Communication::RPC2Notification + { + public: + + OnAppUnregistered(const OnAppUnregistered& c); + OnAppUnregistered(void); + + OnAppUnregistered& operator =(const OnAppUnregistered&); + + virtual ~OnAppUnregistered(void); + + bool checkIntegrity(void); + +// getters + const std::string& get_appName(void); + + const NsSmartDeviceLinkRPCV2::AppInterfaceUnregisteredReason* get_reason(void); + int get_appId(void); + + +// setters +/// appName <= 100 + bool set_appName(const std::string& appName); + + bool set_reason(const NsSmartDeviceLinkRPCV2::AppInterfaceUnregisteredReason& reason); + + void reset_reason(void); + + bool set_appId(int appId); + + + private: + + friend class OnAppUnregisteredMarshaller; + + std::string appName; + NsSmartDeviceLinkRPCV2::AppInterfaceUnregisteredReason* reason; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/OnDeviceListUpdated.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/OnDeviceListUpdated.h new file mode 100644 index 000000000..2b6161800 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/OnDeviceListUpdated.h @@ -0,0 +1,86 @@ +// +// 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 NSRPC2COMMUNICATION_SMARTDEVICELINKCORE_ONDEVICELISTUPDATED_INCLUDE +#define NSRPC2COMMUNICATION_SMARTDEVICELINKCORE_ONDEVICELISTUPDATED_INCLUDE + +#include <string> +#include <vector> +#include "JSONHandler/RPC2Notification.h" + + +/* + interface NsRPC2Communication::SmartDeviceLinkCore + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace BasicCommunication + { + + class OnDeviceListUpdated : public ::NsRPC2Communication::RPC2Notification + { + public: + + OnDeviceListUpdated(const OnDeviceListUpdated& c); + OnDeviceListUpdated(void); + + OnDeviceListUpdated& operator =(const OnDeviceListUpdated&); + + virtual ~OnDeviceListUpdated(void); + + bool checkIntegrity(void); + +// getters + const std::vector< std::string>* get_deviceList(void); + +// setters +/// 1 <= size <= 100 + bool set_deviceList(const std::vector< std::string>& deviceList); + + void reset_deviceList(void); + + + private: + + friend class OnDeviceListUpdatedMarshaller; + + std::vector< std::string>* deviceList; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/RPC2.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/RPC2.h new file mode 100644 index 000000000..d120fed0d --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/RPC2.h @@ -0,0 +1,64 @@ +// +// 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 NSRPC2COMMUNICATION_SMARTDEVICELINKCORE_RPC2_INCLUDE +#define NSRPC2COMMUNICATION_SMARTDEVICELINKCORE_RPC2_INCLUDE + +#include <string> +#include <json/json.h> + +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/BasicCommunication/ActivateApp.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/BasicCommunication/ActivateAppResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/BasicCommunication/GetAppList.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/BasicCommunication/GetAppListResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/BasicCommunication/GetDeviceList.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/BasicCommunication/GetDeviceListResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/BasicCommunication/OnAppDeactivated.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/BasicCommunication/OnAppDeactivatedResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/BasicCommunication/OnAppRegistered.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/BasicCommunication/OnAppUnregistered.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/BasicCommunication/OnDeviceListUpdated.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/BasicCommunication/SendData.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/BasicCommunication/SendDataResponse.h" + +#include "../src/../include/JSONHandler/RPC2Objects//Marshaller.h" + + +/* + interface NsRPC2Communication::SmartDeviceLinkCore + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/SendData.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/SendData.h new file mode 100644 index 000000000..34173190b --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/SendData.h @@ -0,0 +1,99 @@ +// +// 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 NSRPC2COMMUNICATION_SMARTDEVICELINKCORE_SENDDATA_INCLUDE +#define NSRPC2COMMUNICATION_SMARTDEVICELINKCORE_SENDDATA_INCLUDE + +#include <string> +#include <vector> +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::SmartDeviceLinkCore + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace BasicCommunication + { + + class SendData : public ::NsRPC2Communication::RPC2Request + { + public: + + SendData(const SendData& c); + SendData(void); + + SendData& operator =(const SendData&); + + virtual ~SendData(void); + + bool checkIntegrity(void); + +// getters + const std::vector< std::string>& get_data(void); + + const std::string* get_url(void); + const int* get_timeout(void); + +// setters +/// 1 <= size <= 100 + bool set_data(const std::vector< std::string>& data); + +/// url <= 1000 + bool set_url(const std::string& url); + + void reset_url(void); + +/// -2000000000 <= timeout <= 2000000000 + bool set_timeout(const int& timeout); + + void reset_timeout(void); + + + private: + + friend class SendDataMarshaller; + + std::vector< std::string> data; + std::string* url; + int* timeout; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/SendDataResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/SendDataResponse.h new file mode 100644 index 000000000..40dbe89e3 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/BasicCommunication/SendDataResponse.h @@ -0,0 +1,75 @@ +// +// 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 NSRPC2COMMUNICATION_SMARTDEVICELINKCORE_SENDDATARESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_SMARTDEVICELINKCORE_SENDDATARESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::SmartDeviceLinkCore + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace BasicCommunication + { + + class SendDataResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + SendDataResponse(const SendDataResponse& c); + SendDataResponse(void); + + SendDataResponse& operator =(const SendDataResponse&); + + virtual ~SendDataResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class SendDataResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/Buttons/GetCapabilities.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/Buttons/GetCapabilities.h new file mode 100644 index 000000000..d70fd8a59 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/Buttons/GetCapabilities.h @@ -0,0 +1,74 @@ +// +// 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 NSRPC2COMMUNICATION_BUTTONS_GETCAPABILITIES_INCLUDE +#define NSRPC2COMMUNICATION_BUTTONS_GETCAPABILITIES_INCLUDE + +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::Buttons + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace Buttons + { + + class GetCapabilities : public ::NsRPC2Communication::RPC2Request + { + public: + + GetCapabilities(const GetCapabilities& c); + GetCapabilities(void); + + GetCapabilities& operator =(const GetCapabilities&); + + virtual ~GetCapabilities(void); + + bool checkIntegrity(void); + + + private: + + friend class GetCapabilitiesMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/Buttons/GetCapabilitiesResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/Buttons/GetCapabilitiesResponse.h new file mode 100644 index 000000000..36f708386 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/Buttons/GetCapabilitiesResponse.h @@ -0,0 +1,92 @@ +// +// 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 NSRPC2COMMUNICATION_BUTTONS_GETCAPABILITIESRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_BUTTONS_GETCAPABILITIESRESPONSE_INCLUDE + +#include <vector> +#include "JSONHandler/RPC2Response.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/ButtonCapabilities.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/PresetBankCapabilities.h" + +/* + interface NsRPC2Communication::Buttons + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace Buttons + { + + class GetCapabilitiesResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + GetCapabilitiesResponse(const GetCapabilitiesResponse& c); + GetCapabilitiesResponse(void); + + GetCapabilitiesResponse& operator =(const GetCapabilitiesResponse&); + + virtual ~GetCapabilitiesResponse(void); + + bool checkIntegrity(void); + +// getters + const std::vector< NsSmartDeviceLinkRPCV2::ButtonCapabilities>& get_capabilities(void); + + const NsSmartDeviceLinkRPCV2::PresetBankCapabilities* get_presetBankCapabilities(void); + +// setters +/// 1 <= size <= 100 + bool set_capabilities(const std::vector< NsSmartDeviceLinkRPCV2::ButtonCapabilities>& capabilities); + + bool set_presetBankCapabilities(const NsSmartDeviceLinkRPCV2::PresetBankCapabilities& presetBankCapabilities); + + void reset_presetBankCapabilities(void); + + + private: + + friend class GetCapabilitiesResponseMarshaller; + + std::vector< NsSmartDeviceLinkRPCV2::ButtonCapabilities> capabilities; + NsSmartDeviceLinkRPCV2::PresetBankCapabilities* presetBankCapabilities; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/Buttons/OnButtonEvent.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/Buttons/OnButtonEvent.h new file mode 100644 index 000000000..0961d6e87 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/Buttons/OnButtonEvent.h @@ -0,0 +1,96 @@ +// +// 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 NSRPC2COMMUNICATION_BUTTONS_ONBUTTONEVENT_INCLUDE +#define NSRPC2COMMUNICATION_BUTTONS_ONBUTTONEVENT_INCLUDE + +#include "JSONHandler/RPC2Notification.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/ButtonName.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/ButtonEventMode.h" + +/* + interface NsRPC2Communication::Buttons + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace Buttons + { + + class OnButtonEvent : public ::NsRPC2Communication::RPC2Notification + { + public: + + OnButtonEvent(const OnButtonEvent& c); + OnButtonEvent(void); + + OnButtonEvent& operator =(const OnButtonEvent&); + + virtual ~OnButtonEvent(void); + + bool checkIntegrity(void); + +// getters + const NsSmartDeviceLinkRPCV2::ButtonName& get_name(void); + + const NsSmartDeviceLinkRPCV2::ButtonEventMode& get_mode(void); + + const unsigned int* get_customButtonID(void); + +// setters + bool set_name(const NsSmartDeviceLinkRPCV2::ButtonName& name); + + bool set_mode(const NsSmartDeviceLinkRPCV2::ButtonEventMode& mode); + +/// customButtonID <= 65536 + bool set_customButtonID(const unsigned int& customButtonID); + + void reset_customButtonID(void); + + + private: + + friend class OnButtonEventMarshaller; + + NsSmartDeviceLinkRPCV2::ButtonName name; + NsSmartDeviceLinkRPCV2::ButtonEventMode mode; + unsigned int* customButtonID; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/Buttons/OnButtonPress.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/Buttons/OnButtonPress.h new file mode 100644 index 000000000..92d315a41 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/Buttons/OnButtonPress.h @@ -0,0 +1,96 @@ +// +// 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 NSRPC2COMMUNICATION_BUTTONS_ONBUTTONPRESS_INCLUDE +#define NSRPC2COMMUNICATION_BUTTONS_ONBUTTONPRESS_INCLUDE + +#include "JSONHandler/RPC2Notification.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/ButtonName.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/ButtonPressMode.h" + +/* + interface NsRPC2Communication::Buttons + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace Buttons + { + + class OnButtonPress : public ::NsRPC2Communication::RPC2Notification + { + public: + + OnButtonPress(const OnButtonPress& c); + OnButtonPress(void); + + OnButtonPress& operator =(const OnButtonPress&); + + virtual ~OnButtonPress(void); + + bool checkIntegrity(void); + +// getters + const NsSmartDeviceLinkRPCV2::ButtonName& get_name(void); + + const NsSmartDeviceLinkRPCV2::ButtonPressMode& get_mode(void); + + const unsigned int* get_customButtonID(void); + +// setters + bool set_name(const NsSmartDeviceLinkRPCV2::ButtonName& name); + + bool set_mode(const NsSmartDeviceLinkRPCV2::ButtonPressMode& mode); + +/// customButtonID <= 65536 + bool set_customButtonID(const unsigned int& customButtonID); + + void reset_customButtonID(void); + + + private: + + friend class OnButtonPressMarshaller; + + NsSmartDeviceLinkRPCV2::ButtonName name; + NsSmartDeviceLinkRPCV2::ButtonPressMode mode; + unsigned int* customButtonID; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/Buttons/RPC2.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/Buttons/RPC2.h new file mode 100644 index 000000000..cb7eea258 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/Buttons/RPC2.h @@ -0,0 +1,55 @@ +// +// 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 NSRPC2COMMUNICATION_BUTTONS_RPC2_INCLUDE +#define NSRPC2COMMUNICATION_BUTTONS_RPC2_INCLUDE + +#include <string> +#include <json/json.h> + +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/Buttons/GetCapabilities.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/Buttons/GetCapabilitiesResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/Buttons/OnButtonEvent.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/Buttons/OnButtonPress.h" + +#include "../src/../include/JSONHandler/RPC2Objects/Marshaller.h" + + +/* + interface NsRPC2Communication::Buttons + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/ChangeRegistration.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/ChangeRegistration.h new file mode 100644 index 000000000..e37587be4 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/ChangeRegistration.h @@ -0,0 +1,88 @@ +// +// 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 NSRPC2COMMUNICATION_TTS_CHANGEREGISTRATION_INCLUDE +#define NSRPC2COMMUNICATION_TTS_CHANGEREGISTRATION_INCLUDE + +#include "JSONHandler/RPC2Request.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/Language.h" + +/* + interface NsRPC2Communication::TTS + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace TTS + { + + class ChangeRegistration : public ::NsRPC2Communication::RPC2Request + { + public: + + ChangeRegistration(const ChangeRegistration& c); + ChangeRegistration(void); + + ChangeRegistration& operator =(const ChangeRegistration&); + + virtual ~ChangeRegistration(void); + + bool checkIntegrity(void); + +// getters + const NsSmartDeviceLinkRPCV2::Language& get_language(void); + + int get_appId(void); + + +// setters + bool set_language(const NsSmartDeviceLinkRPCV2::Language& language); + + bool set_appId(int appId); + + + private: + + friend class ChangeRegistrationMarshaller; + + NsSmartDeviceLinkRPCV2::Language language; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/ChangeRegistrationResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/ChangeRegistrationResponse.h new file mode 100644 index 000000000..c2afcebb3 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/ChangeRegistrationResponse.h @@ -0,0 +1,74 @@ +// +// 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 NSRPC2COMMUNICATION_TTS_CHANGEREGISTRATIONRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_TTS_CHANGEREGISTRATIONRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::TTS + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace TTS + { + + class ChangeRegistrationResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + ChangeRegistrationResponse(const ChangeRegistrationResponse& c); + ChangeRegistrationResponse(void); + + ChangeRegistrationResponse& operator =(const ChangeRegistrationResponse&); + + virtual ~ChangeRegistrationResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class ChangeRegistrationResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/GetCapabilities.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/GetCapabilities.h new file mode 100644 index 000000000..1dd3d363e --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/GetCapabilities.h @@ -0,0 +1,74 @@ +// +// 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 NSRPC2COMMUNICATION_TTS_GETCAPABILITIES_INCLUDE +#define NSRPC2COMMUNICATION_TTS_GETCAPABILITIES_INCLUDE + +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::TTS + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace TTS + { + + class GetCapabilities : public ::NsRPC2Communication::RPC2Request + { + public: + + GetCapabilities(const GetCapabilities& c); + GetCapabilities(void); + + GetCapabilities& operator =(const GetCapabilities&); + + virtual ~GetCapabilities(void); + + bool checkIntegrity(void); + + + private: + + friend class GetCapabilitiesMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/GetCapabilitiesResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/GetCapabilitiesResponse.h new file mode 100644 index 000000000..69c9d1469 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/GetCapabilitiesResponse.h @@ -0,0 +1,85 @@ +// +// 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 NSRPC2COMMUNICATION_TTS_GETCAPABILITIESRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_TTS_GETCAPABILITIESRESPONSE_INCLUDE + +#include <vector> +#include "JSONHandler/RPC2Response.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/SpeechCapabilities.h" + +/* + interface NsRPC2Communication::TTS + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace TTS + { + + class GetCapabilitiesResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + GetCapabilitiesResponse(const GetCapabilitiesResponse& c); + GetCapabilitiesResponse(void); + + GetCapabilitiesResponse& operator =(const GetCapabilitiesResponse&); + + virtual ~GetCapabilitiesResponse(void); + + bool checkIntegrity(void); + +// getters + const std::vector< NsSmartDeviceLinkRPCV2::SpeechCapabilities>& get_capabilities(void); + + +// setters +/// 1 <= size <= 100 + bool set_capabilities(const std::vector< NsSmartDeviceLinkRPCV2::SpeechCapabilities>& capabilities); + + + private: + + friend class GetCapabilitiesResponseMarshaller; + + std::vector< NsSmartDeviceLinkRPCV2::SpeechCapabilities> capabilities; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/GetLanguage.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/GetLanguage.h new file mode 100644 index 000000000..49a650d77 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/GetLanguage.h @@ -0,0 +1,74 @@ +// +// 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 NSRPC2COMMUNICATION_TTS_GETLANGUAGE_INCLUDE +#define NSRPC2COMMUNICATION_TTS_GETLANGUAGE_INCLUDE + +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::TTS + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace TTS + { + + class GetLanguage : public ::NsRPC2Communication::RPC2Request + { + public: + + GetLanguage(const GetLanguage& c); + GetLanguage(void); + + GetLanguage& operator =(const GetLanguage&); + + virtual ~GetLanguage(void); + + bool checkIntegrity(void); + + + private: + + friend class GetLanguageMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/GetLanguageResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/GetLanguageResponse.h new file mode 100644 index 000000000..00e579168 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/GetLanguageResponse.h @@ -0,0 +1,83 @@ +// +// 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 NSRPC2COMMUNICATION_TTS_GETLANGUAGERESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_TTS_GETLANGUAGERESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/Language.h" + +/* + interface NsRPC2Communication::TTS + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace TTS + { + + class GetLanguageResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + GetLanguageResponse(const GetLanguageResponse& c); + GetLanguageResponse(void); + + GetLanguageResponse& operator =(const GetLanguageResponse&); + + virtual ~GetLanguageResponse(void); + + bool checkIntegrity(void); + +// getters + const NsSmartDeviceLinkRPCV2::Language& get_language(void); + + +// setters + bool set_language(const NsSmartDeviceLinkRPCV2::Language& language); + + + private: + + friend class GetLanguageResponseMarshaller; + + NsSmartDeviceLinkRPCV2::Language language; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/GetSupportedLanguages.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/GetSupportedLanguages.h new file mode 100644 index 000000000..70e7051d1 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/GetSupportedLanguages.h @@ -0,0 +1,74 @@ +// +// 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 NSRPC2COMMUNICATION_TTS_GETSUPPORTEDLANGUAGES_INCLUDE +#define NSRPC2COMMUNICATION_TTS_GETSUPPORTEDLANGUAGES_INCLUDE + +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::TTS + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace TTS + { + + class GetSupportedLanguages : public ::NsRPC2Communication::RPC2Request + { + public: + + GetSupportedLanguages(const GetSupportedLanguages& c); + GetSupportedLanguages(void); + + GetSupportedLanguages& operator =(const GetSupportedLanguages&); + + virtual ~GetSupportedLanguages(void); + + bool checkIntegrity(void); + + + private: + + friend class GetSupportedLanguagesMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/GetSupportedLanguagesResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/GetSupportedLanguagesResponse.h new file mode 100644 index 000000000..96beb4d03 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/GetSupportedLanguagesResponse.h @@ -0,0 +1,85 @@ +// +// 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 NSRPC2COMMUNICATION_TTS_GETSUPPORTEDLANGUAGESRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_TTS_GETSUPPORTEDLANGUAGESRESPONSE_INCLUDE + +#include <vector> +#include "JSONHandler/RPC2Response.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/Language.h" + +/* + interface NsRPC2Communication::TTS + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace TTS + { + + class GetSupportedLanguagesResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + GetSupportedLanguagesResponse(const GetSupportedLanguagesResponse& c); + GetSupportedLanguagesResponse(void); + + GetSupportedLanguagesResponse& operator =(const GetSupportedLanguagesResponse&); + + virtual ~GetSupportedLanguagesResponse(void); + + bool checkIntegrity(void); + +// getters + const std::vector< NsSmartDeviceLinkRPCV2::Language>& get_languages(void); + + +// setters +/// 1 <= size <= 100 + bool set_languages(const std::vector< NsSmartDeviceLinkRPCV2::Language>& languages); + + + private: + + friend class GetSupportedLanguagesResponseMarshaller; + + std::vector< NsSmartDeviceLinkRPCV2::Language> languages; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/OnLanguageChange.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/OnLanguageChange.h new file mode 100644 index 000000000..7c2e15c24 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/OnLanguageChange.h @@ -0,0 +1,83 @@ +// +// 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 NSRPC2COMMUNICATION_TTS_ONLANGUAGECHANGE_INCLUDE +#define NSRPC2COMMUNICATION_TTS_ONLANGUAGECHANGE_INCLUDE + +#include "JSONHandler/RPC2Notification.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/Language.h" + +/* + interface NsRPC2Communication::TTS + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace TTS + { + + class OnLanguageChange : public ::NsRPC2Communication::RPC2Notification + { + public: + + OnLanguageChange(const OnLanguageChange& c); + OnLanguageChange(void); + + OnLanguageChange& operator =(const OnLanguageChange&); + + virtual ~OnLanguageChange(void); + + bool checkIntegrity(void); + +// getters + const NsSmartDeviceLinkRPCV2::Language& get_language(void); + + +// setters + bool set_language(const NsSmartDeviceLinkRPCV2::Language& language); + + + private: + + friend class OnLanguageChangeMarshaller; + + NsSmartDeviceLinkRPCV2::Language language; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/RPC2.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/RPC2.h new file mode 100644 index 000000000..836b5e776 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/RPC2.h @@ -0,0 +1,62 @@ +// +// 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 NSRPC2COMMUNICATION_TTS_RPC2_INCLUDE +#define NSRPC2COMMUNICATION_TTS_RPC2_INCLUDE + +#include <string> +#include <json/json.h> + +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/TTS/ChangeRegistration.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/TTS/ChangeRegistrationResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/TTS/GetCapabilities.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/TTS/GetCapabilitiesResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/TTS/GetLanguage.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/TTS/GetLanguageResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/TTS/GetSupportedLanguages.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/TTS/GetSupportedLanguagesResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/TTS/OnLanguageChange.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/TTS/Speak.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/TTS/SpeakResponse.h" + +#include "../src/../include/JSONHandler/RPC2Objects/Marshaller.h" + + +/* + interface NsRPC2Communication::TTS + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/Speak.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/Speak.h new file mode 100644 index 000000000..3e9b6297d --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/Speak.h @@ -0,0 +1,90 @@ +// +// 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 NSRPC2COMMUNICATION_TTS_SPEAK_INCLUDE +#define NSRPC2COMMUNICATION_TTS_SPEAK_INCLUDE + +#include <vector> +#include "JSONHandler/RPC2Request.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/TTSChunk.h" + +/* + interface NsRPC2Communication::TTS + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace TTS + { + + class Speak : public ::NsRPC2Communication::RPC2Request + { + public: + + Speak(const Speak& c); + Speak(void); + + Speak& operator =(const Speak&); + + virtual ~Speak(void); + + bool checkIntegrity(void); + +// getters + const std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>& get_ttsChunks(void); + + int get_appId(void); + + +// setters +/// 1 <= size <= 100 + bool set_ttsChunks(const std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>& ttsChunks); + + bool set_appId(int appId); + + + private: + + friend class SpeakMarshaller; + + std::vector< NsSmartDeviceLinkRPCV2::TTSChunk> ttsChunks; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/SpeakResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/SpeakResponse.h new file mode 100644 index 000000000..2e616bb57 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/TTS/SpeakResponse.h @@ -0,0 +1,74 @@ +// +// 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 NSRPC2COMMUNICATION_TTS_SPEAKRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_TTS_SPEAKRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::TTS + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace TTS + { + + class SpeakResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + SpeakResponse(const SpeakResponse& c); + SpeakResponse(void); + + SpeakResponse& operator =(const SpeakResponse&); + + virtual ~SpeakResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class SpeakResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AddCommand.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AddCommand.h new file mode 100644 index 000000000..53d1d6b4e --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AddCommand.h @@ -0,0 +1,101 @@ +// +// 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 NSRPC2COMMUNICATION_UI_ADDCOMMAND_INCLUDE +#define NSRPC2COMMUNICATION_UI_ADDCOMMAND_INCLUDE + +#include "JSONHandler/RPC2Request.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/MenuParams.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/Image.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class AddCommand : public ::NsRPC2Communication::RPC2Request + { + public: + + AddCommand(const AddCommand& c); + AddCommand(void); + + AddCommand& operator =(const AddCommand&); + + virtual ~AddCommand(void); + + bool checkIntegrity(void); + +// getters + unsigned int get_cmdId(void); + + const NsSmartDeviceLinkRPCV2::MenuParams& get_menuParams(void); + + const NsSmartDeviceLinkRPCV2::Image* get_cmdIcon(void); + int get_appId(void); + + +// setters +/// cmdId <= 2000000000 + bool set_cmdId(unsigned int cmdId); + + bool set_menuParams(const NsSmartDeviceLinkRPCV2::MenuParams& menuParams); + + bool set_cmdIcon(const NsSmartDeviceLinkRPCV2::Image& cmdIcon); + + void reset_cmdIcon(void); + + bool set_appId(int appId); + + + private: + + friend class AddCommandMarshaller; + + unsigned int cmdId; + NsSmartDeviceLinkRPCV2::MenuParams menuParams; + NsSmartDeviceLinkRPCV2::Image* cmdIcon; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AddCommandResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AddCommandResponse.h new file mode 100644 index 000000000..89af58f84 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AddCommandResponse.h @@ -0,0 +1,74 @@ +// +// 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 NSRPC2COMMUNICATION_UI_ADDCOMMANDRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_ADDCOMMANDRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class AddCommandResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + AddCommandResponse(const AddCommandResponse& c); + AddCommandResponse(void); + + AddCommandResponse& operator =(const AddCommandResponse&); + + virtual ~AddCommandResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class AddCommandResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AddSubMenu.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AddSubMenu.h new file mode 100644 index 000000000..5cc437cd0 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AddSubMenu.h @@ -0,0 +1,102 @@ +// +// 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 NSRPC2COMMUNICATION_UI_ADDSUBMENU_INCLUDE +#define NSRPC2COMMUNICATION_UI_ADDSUBMENU_INCLUDE + +#include <string> +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class AddSubMenu : public ::NsRPC2Communication::RPC2Request + { + public: + + AddSubMenu(const AddSubMenu& c); + AddSubMenu(void); + + AddSubMenu& operator =(const AddSubMenu&); + + virtual ~AddSubMenu(void); + + bool checkIntegrity(void); + +// getters + unsigned int get_menuId(void); + + const unsigned int* get_position(void); + const std::string& get_menuName(void); + + int get_appId(void); + + +// setters +/// menuId <= 2000000000 + bool set_menuId(unsigned int menuId); + +/// position <= 1000 + bool set_position(const unsigned int& position); + + void reset_position(void); + +/// menuName <= 500 + bool set_menuName(const std::string& menuName); + + bool set_appId(int appId); + + + private: + + friend class AddSubMenuMarshaller; + + unsigned int menuId; + unsigned int* position; + std::string menuName; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AddSubMenuResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AddSubMenuResponse.h new file mode 100644 index 000000000..cf9ff2752 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AddSubMenuResponse.h @@ -0,0 +1,74 @@ +// +// 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 NSRPC2COMMUNICATION_UI_ADDSUBMENURESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_ADDSUBMENURESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class AddSubMenuResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + AddSubMenuResponse(const AddSubMenuResponse& c); + AddSubMenuResponse(void); + + AddSubMenuResponse& operator =(const AddSubMenuResponse&); + + virtual ~AddSubMenuResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class AddSubMenuResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/Alert.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/Alert.h new file mode 100644 index 000000000..67c3de943 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/Alert.h @@ -0,0 +1,134 @@ +// +// 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 NSRPC2COMMUNICATION_UI_ALERT_INCLUDE +#define NSRPC2COMMUNICATION_UI_ALERT_INCLUDE + +#include <string> +#include <vector> +#include "JSONHandler/RPC2Request.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/TTSChunk.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/SoftButton.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class Alert : public ::NsRPC2Communication::RPC2Request + { + public: + + Alert(const Alert& c); + Alert(void); + + Alert& operator =(const Alert&); + + virtual ~Alert(void); + + bool checkIntegrity(void); + +// getters + const std::string* get_AlertText1(void); + const std::string* get_AlertText2(void); + const std::string* get_AlertText3(void); + const std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>* get_ttsChunks(void); + const unsigned int* get_duration(void); + const bool* get_playTone(void); + const std::vector< NsSmartDeviceLinkRPCV2::SoftButton>* get_softButtons(void); + int get_appId(void); + + +// setters +/// AlertText1 <= 500 + bool set_AlertText1(const std::string& AlertText1); + + void reset_AlertText1(void); + +/// AlertText2 <= 500 + bool set_AlertText2(const std::string& AlertText2); + + void reset_AlertText2(void); + +/// AlertText3 <= 500 + bool set_AlertText3(const std::string& AlertText3); + + void reset_AlertText3(void); + +/// 1 <= size <= 100 + bool set_ttsChunks(const std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>& ttsChunks); + + void reset_ttsChunks(void); + +/// 3000 <= duration <= 10000 + bool set_duration(const unsigned int& duration); + + void reset_duration(void); + + bool set_playTone(const bool& playTone); + + void reset_playTone(void); + +/// 0 <= size <= 4 + bool set_softButtons(const std::vector< NsSmartDeviceLinkRPCV2::SoftButton>& softButtons); + + void reset_softButtons(void); + + bool set_appId(int appId); + + + private: + + friend class AlertMarshaller; + + std::string* AlertText1; + std::string* AlertText2; + std::string* AlertText3; + std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>* ttsChunks; + unsigned int* duration; + bool* playTone; + std::vector< NsSmartDeviceLinkRPCV2::SoftButton>* softButtons; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AlertManeuver.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AlertManeuver.h new file mode 100644 index 000000000..7cd19df2c --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AlertManeuver.h @@ -0,0 +1,97 @@ +// +// 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 NSRPC2COMMUNICATION_UI_ALERTMANEUVER_INCLUDE +#define NSRPC2COMMUNICATION_UI_ALERTMANEUVER_INCLUDE + +#include <vector> +#include "JSONHandler/RPC2Request.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/TTSChunk.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/SoftButton.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class AlertManeuver : public ::NsRPC2Communication::RPC2Request + { + public: + + AlertManeuver(const AlertManeuver& c); + AlertManeuver(void); + + AlertManeuver& operator =(const AlertManeuver&); + + virtual ~AlertManeuver(void); + + bool checkIntegrity(void); + +// getters + const std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>& get_ttsChunks(void); + + const std::vector< NsSmartDeviceLinkRPCV2::SoftButton>& get_softButtons(void); + + int get_appId(void); + + +// setters +/// 1 <= size <= 100 + bool set_ttsChunks(const std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>& ttsChunks); + +/// 0 <= size <= 3 + bool set_softButtons(const std::vector< NsSmartDeviceLinkRPCV2::SoftButton>& softButtons); + + bool set_appId(int appId); + + + private: + + friend class AlertManeuverMarshaller; + + std::vector< NsSmartDeviceLinkRPCV2::TTSChunk> ttsChunks; + std::vector< NsSmartDeviceLinkRPCV2::SoftButton> softButtons; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AlertManeuverResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AlertManeuverResponse.h new file mode 100644 index 000000000..e116ac580 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AlertManeuverResponse.h @@ -0,0 +1,74 @@ +// +// 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 NSRPC2COMMUNICATION_UI_ALERTMANEUVERRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_ALERTMANEUVERRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class AlertManeuverResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + AlertManeuverResponse(const AlertManeuverResponse& c); + AlertManeuverResponse(void); + + AlertManeuverResponse& operator =(const AlertManeuverResponse&); + + virtual ~AlertManeuverResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class AlertManeuverResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AlertResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AlertResponse.h new file mode 100644 index 000000000..55d8bfa1f --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AlertResponse.h @@ -0,0 +1,84 @@ +// +// 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 NSRPC2COMMUNICATION_UI_ALERTRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_ALERTRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class AlertResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + AlertResponse(const AlertResponse& c); + AlertResponse(void); + + AlertResponse& operator =(const AlertResponse&); + + virtual ~AlertResponse(void); + + bool checkIntegrity(void); + +// getters + const unsigned int* get_tryAgainTime(void); + +// setters +/// tryAgainTime <= 2000000000 + bool set_tryAgainTime(const unsigned int& tryAgainTime); + + void reset_tryAgainTime(void); + + + private: + + friend class AlertResponseMarshaller; + + unsigned int* tryAgainTime; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ChangeRegistration.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ChangeRegistration.h new file mode 100644 index 000000000..304f12a95 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ChangeRegistration.h @@ -0,0 +1,88 @@ +// +// 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 NSRPC2COMMUNICATION_UI_CHANGEREGISTRATION_INCLUDE +#define NSRPC2COMMUNICATION_UI_CHANGEREGISTRATION_INCLUDE + +#include "JSONHandler/RPC2Request.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/Language.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class ChangeRegistration : public ::NsRPC2Communication::RPC2Request + { + public: + + ChangeRegistration(const ChangeRegistration& c); + ChangeRegistration(void); + + ChangeRegistration& operator =(const ChangeRegistration&); + + virtual ~ChangeRegistration(void); + + bool checkIntegrity(void); + +// getters + const NsSmartDeviceLinkRPCV2::Language& get_hmiDisplayLanguage(void); + + int get_appId(void); + + +// setters + bool set_hmiDisplayLanguage(const NsSmartDeviceLinkRPCV2::Language& hmiDisplayLanguage); + + bool set_appId(int appId); + + + private: + + friend class ChangeRegistrationMarshaller; + + NsSmartDeviceLinkRPCV2::Language hmiDisplayLanguage; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ChangeRegistrationResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ChangeRegistrationResponse.h new file mode 100644 index 000000000..87565dfcd --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ChangeRegistrationResponse.h @@ -0,0 +1,74 @@ +// +// 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 NSRPC2COMMUNICATION_UI_CHANGEREGISTRATIONRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_CHANGEREGISTRATIONRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class ChangeRegistrationResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + ChangeRegistrationResponse(const ChangeRegistrationResponse& c); + ChangeRegistrationResponse(void); + + ChangeRegistrationResponse& operator =(const ChangeRegistrationResponse&); + + virtual ~ChangeRegistrationResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class ChangeRegistrationResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/CreateInteractionChoiceSet.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/CreateInteractionChoiceSet.h new file mode 100644 index 000000000..1eb4aacad --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/CreateInteractionChoiceSet.h @@ -0,0 +1,96 @@ +// +// 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 NSRPC2COMMUNICATION_UI_CREATEINTERACTIONCHOICESET_INCLUDE +#define NSRPC2COMMUNICATION_UI_CREATEINTERACTIONCHOICESET_INCLUDE + +#include <vector> +#include "JSONHandler/RPC2Request.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/Choice.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class CreateInteractionChoiceSet : public ::NsRPC2Communication::RPC2Request + { + public: + + CreateInteractionChoiceSet(const CreateInteractionChoiceSet& c); + CreateInteractionChoiceSet(void); + + CreateInteractionChoiceSet& operator =(const CreateInteractionChoiceSet&); + + virtual ~CreateInteractionChoiceSet(void); + + bool checkIntegrity(void); + +// getters + unsigned int get_interactionChoiceSetID(void); + + const std::vector< NsSmartDeviceLinkRPCV2::Choice>& get_choiceSet(void); + + int get_appId(void); + + +// setters +/// interactionChoiceSetID <= 2000000000 + bool set_interactionChoiceSetID(unsigned int interactionChoiceSetID); + +/// 1 <= size <= 100 + bool set_choiceSet(const std::vector< NsSmartDeviceLinkRPCV2::Choice>& choiceSet); + + bool set_appId(int appId); + + + private: + + friend class CreateInteractionChoiceSetMarshaller; + + unsigned int interactionChoiceSetID; + std::vector< NsSmartDeviceLinkRPCV2::Choice> choiceSet; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/CreateInteractionChoiceSetResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/CreateInteractionChoiceSetResponse.h new file mode 100644 index 000000000..406ba5e0c --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/CreateInteractionChoiceSetResponse.h @@ -0,0 +1,74 @@ +// +// 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 NSRPC2COMMUNICATION_UI_CREATEINTERACTIONCHOICESETRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_CREATEINTERACTIONCHOICESETRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class CreateInteractionChoiceSetResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + CreateInteractionChoiceSetResponse(const CreateInteractionChoiceSetResponse& c); + CreateInteractionChoiceSetResponse(void); + + CreateInteractionChoiceSetResponse& operator =(const CreateInteractionChoiceSetResponse&); + + virtual ~CreateInteractionChoiceSetResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class CreateInteractionChoiceSetResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteCommand.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteCommand.h new file mode 100644 index 000000000..f71d6f4d3 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteCommand.h @@ -0,0 +1,88 @@ +// +// 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 NSRPC2COMMUNICATION_UI_DELETECOMMAND_INCLUDE +#define NSRPC2COMMUNICATION_UI_DELETECOMMAND_INCLUDE + +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class DeleteCommand : public ::NsRPC2Communication::RPC2Request + { + public: + + DeleteCommand(const DeleteCommand& c); + DeleteCommand(void); + + DeleteCommand& operator =(const DeleteCommand&); + + virtual ~DeleteCommand(void); + + bool checkIntegrity(void); + +// getters + unsigned int get_cmdId(void); + + int get_appId(void); + + +// setters +/// cmdId <= 2000000000 + bool set_cmdId(unsigned int cmdId); + + bool set_appId(int appId); + + + private: + + friend class DeleteCommandMarshaller; + + unsigned int cmdId; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteCommandResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteCommandResponse.h new file mode 100644 index 000000000..b5cf749c8 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteCommandResponse.h @@ -0,0 +1,74 @@ +// +// 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 NSRPC2COMMUNICATION_UI_DELETECOMMANDRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_DELETECOMMANDRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class DeleteCommandResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + DeleteCommandResponse(const DeleteCommandResponse& c); + DeleteCommandResponse(void); + + DeleteCommandResponse& operator =(const DeleteCommandResponse&); + + virtual ~DeleteCommandResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class DeleteCommandResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteInteractionChoiceSet.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteInteractionChoiceSet.h new file mode 100644 index 000000000..d1cde5163 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteInteractionChoiceSet.h @@ -0,0 +1,89 @@ +// +// 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 NSRPC2COMMUNICATION_UI_DELETEINTERACTIONCHOICESET_INCLUDE +#define NSRPC2COMMUNICATION_UI_DELETEINTERACTIONCHOICESET_INCLUDE + +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class DeleteInteractionChoiceSet : public ::NsRPC2Communication::RPC2Request + { + public: + + DeleteInteractionChoiceSet(const DeleteInteractionChoiceSet& c); + DeleteInteractionChoiceSet(void); + + DeleteInteractionChoiceSet& operator =(const DeleteInteractionChoiceSet&); + + virtual ~DeleteInteractionChoiceSet(void); + + bool checkIntegrity(void); + +// getters + unsigned int get_interactionChoiceSetID(void); + + int get_appId(void); + + +// setters +/// interactionChoiceSetID <= 2000000000 + bool set_interactionChoiceSetID(unsigned int interactionChoiceSetID); + + bool set_appId(int appId); + + + private: + + friend class DeleteInteractionChoiceSetMarshaller; + + unsigned int interactionChoiceSetID; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteInteractionChoiceSetResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteInteractionChoiceSetResponse.h new file mode 100644 index 000000000..fbc5ee0b2 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteInteractionChoiceSetResponse.h @@ -0,0 +1,75 @@ +// +// 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 NSRPC2COMMUNICATION_UI_DELETEINTERACTIONCHOICESETRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_DELETEINTERACTIONCHOICESETRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class DeleteInteractionChoiceSetResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + DeleteInteractionChoiceSetResponse(const DeleteInteractionChoiceSetResponse& c); + DeleteInteractionChoiceSetResponse(void); + + DeleteInteractionChoiceSetResponse& operator =(const DeleteInteractionChoiceSetResponse&); + + virtual ~DeleteInteractionChoiceSetResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class DeleteInteractionChoiceSetResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteSubMenu.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteSubMenu.h new file mode 100644 index 000000000..ef258893c --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteSubMenu.h @@ -0,0 +1,89 @@ +// +// 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 NSRPC2COMMUNICATION_UI_DELETESUBMENU_INCLUDE +#define NSRPC2COMMUNICATION_UI_DELETESUBMENU_INCLUDE + +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class DeleteSubMenu : public ::NsRPC2Communication::RPC2Request + { + public: + + DeleteSubMenu(const DeleteSubMenu& c); + DeleteSubMenu(void); + + DeleteSubMenu& operator =(const DeleteSubMenu&); + + virtual ~DeleteSubMenu(void); + + bool checkIntegrity(void); + +// getters + unsigned int get_menuId(void); + + int get_appId(void); + + +// setters +/// menuId <= 2000000000 + bool set_menuId(unsigned int menuId); + + bool set_appId(int appId); + + + private: + + friend class DeleteSubMenuMarshaller; + + unsigned int menuId; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteSubMenuResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteSubMenuResponse.h new file mode 100644 index 000000000..670d52db4 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteSubMenuResponse.h @@ -0,0 +1,75 @@ +// +// 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 NSRPC2COMMUNICATION_UI_DELETESUBMENURESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_DELETESUBMENURESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class DeleteSubMenuResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + DeleteSubMenuResponse(const DeleteSubMenuResponse& c); + DeleteSubMenuResponse(void); + + DeleteSubMenuResponse& operator =(const DeleteSubMenuResponse&); + + virtual ~DeleteSubMenuResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class DeleteSubMenuResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DialNumber.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DialNumber.h new file mode 100644 index 000000000..04ee84c0f --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DialNumber.h @@ -0,0 +1,90 @@ +// +// 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 NSRPC2COMMUNICATION_UI_DIALNUMBER_INCLUDE +#define NSRPC2COMMUNICATION_UI_DIALNUMBER_INCLUDE + +#include <string> +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class DialNumber : public ::NsRPC2Communication::RPC2Request + { + public: + + DialNumber(const DialNumber& c); + DialNumber(void); + + DialNumber& operator =(const DialNumber&); + + virtual ~DialNumber(void); + + bool checkIntegrity(void); + +// getters + const std::string& get_number(void); + + int get_appId(void); + + +// setters +/// number <= 500 + bool set_number(const std::string& number); + + bool set_appId(int appId); + + + private: + + friend class DialNumberMarshaller; + + std::string number; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DialNumberResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DialNumberResponse.h new file mode 100644 index 000000000..6dc53db5b --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DialNumberResponse.h @@ -0,0 +1,75 @@ +// +// 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 NSRPC2COMMUNICATION_UI_DIALNUMBERRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_DIALNUMBERRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class DialNumberResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + DialNumberResponse(const DialNumberResponse& c); + DialNumberResponse(void); + + DialNumberResponse& operator =(const DialNumberResponse&); + + virtual ~DialNumberResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class DialNumberResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/EndAudioPassThru.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/EndAudioPassThru.h new file mode 100644 index 000000000..89cf43623 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/EndAudioPassThru.h @@ -0,0 +1,83 @@ +// +// 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 NSRPC2COMMUNICATION_UI_ENDAUDIOPASSTHRU_INCLUDE +#define NSRPC2COMMUNICATION_UI_ENDAUDIOPASSTHRU_INCLUDE + +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class EndAudioPassThru : public ::NsRPC2Communication::RPC2Request + { + public: + + EndAudioPassThru(const EndAudioPassThru& c); + EndAudioPassThru(void); + + EndAudioPassThru& operator =(const EndAudioPassThru&); + + virtual ~EndAudioPassThru(void); + + bool checkIntegrity(void); + +// getters + int get_appId(void); + + +// setters + bool set_appId(int appId); + + + private: + + friend class EndAudioPassThruMarshaller; + + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/EndAudioPassThruResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/EndAudioPassThruResponse.h new file mode 100644 index 000000000..665dff35a --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/EndAudioPassThruResponse.h @@ -0,0 +1,75 @@ +// +// 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 NSRPC2COMMUNICATION_UI_ENDAUDIOPASSTHRURESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_ENDAUDIOPASSTHRURESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class EndAudioPassThruResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + EndAudioPassThruResponse(const EndAudioPassThruResponse& c); + EndAudioPassThruResponse(void); + + EndAudioPassThruResponse& operator =(const EndAudioPassThruResponse&); + + virtual ~EndAudioPassThruResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class EndAudioPassThruResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetCapabilities.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetCapabilities.h new file mode 100644 index 000000000..7eb81ce29 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetCapabilities.h @@ -0,0 +1,75 @@ +// +// 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 NSRPC2COMMUNICATION_UI_GETCAPABILITIES_INCLUDE +#define NSRPC2COMMUNICATION_UI_GETCAPABILITIES_INCLUDE + +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class GetCapabilities : public ::NsRPC2Communication::RPC2Request + { + public: + + GetCapabilities(const GetCapabilities& c); + GetCapabilities(void); + + GetCapabilities& operator =(const GetCapabilities&); + + virtual ~GetCapabilities(void); + + bool checkIntegrity(void); + + + private: + + friend class GetCapabilitiesMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetCapabilitiesResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetCapabilitiesResponse.h new file mode 100644 index 000000000..5d5b3b4a4 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetCapabilitiesResponse.h @@ -0,0 +1,100 @@ +// +// 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 NSRPC2COMMUNICATION_UI_GETCAPABILITIESRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_GETCAPABILITIESRESPONSE_INCLUDE + +#include <vector> +#include "JSONHandler/RPC2Response.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/DisplayCapabilities.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/HmiZoneCapabilities.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/SoftButtonCapabilities.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class GetCapabilitiesResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + GetCapabilitiesResponse(const GetCapabilitiesResponse& c); + GetCapabilitiesResponse(void); + + GetCapabilitiesResponse& operator =(const GetCapabilitiesResponse&); + + virtual ~GetCapabilitiesResponse(void); + + bool checkIntegrity(void); + +// getters + const NsSmartDeviceLinkRPCV2::DisplayCapabilities& get_displayCapabilities(void); + + const std::vector< NsSmartDeviceLinkRPCV2::HmiZoneCapabilities>& get_hmiZoneCapabilities(void); + + const std::vector< NsSmartDeviceLinkRPCV2::SoftButtonCapabilities>* get_softButtonCapabilities(void); + +// setters + bool set_displayCapabilities(const NsSmartDeviceLinkRPCV2::DisplayCapabilities& displayCapabilities); + +/// 1 <= size <= 100 + bool set_hmiZoneCapabilities(const std::vector< NsSmartDeviceLinkRPCV2::HmiZoneCapabilities>& hmiZoneCapabilities); + +/// 1 <= size <= 100 + bool set_softButtonCapabilities(const std::vector< NsSmartDeviceLinkRPCV2::SoftButtonCapabilities>& softButtonCapabilities); + + void reset_softButtonCapabilities(void); + + + private: + + friend class GetCapabilitiesResponseMarshaller; + + NsSmartDeviceLinkRPCV2::DisplayCapabilities displayCapabilities; + std::vector< NsSmartDeviceLinkRPCV2::HmiZoneCapabilities> hmiZoneCapabilities; + std::vector< NsSmartDeviceLinkRPCV2::SoftButtonCapabilities>* softButtonCapabilities; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetLanguage.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetLanguage.h new file mode 100644 index 000000000..d350718c1 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetLanguage.h @@ -0,0 +1,75 @@ +// +// 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 NSRPC2COMMUNICATION_UI_GETLANGUAGE_INCLUDE +#define NSRPC2COMMUNICATION_UI_GETLANGUAGE_INCLUDE + +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class GetLanguage : public ::NsRPC2Communication::RPC2Request + { + public: + + GetLanguage(const GetLanguage& c); + GetLanguage(void); + + GetLanguage& operator =(const GetLanguage&); + + virtual ~GetLanguage(void); + + bool checkIntegrity(void); + + + private: + + friend class GetLanguageMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetLanguageResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetLanguageResponse.h new file mode 100644 index 000000000..7e7d1f8a1 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetLanguageResponse.h @@ -0,0 +1,84 @@ +// +// 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 NSRPC2COMMUNICATION_UI_GETLANGUAGERESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_GETLANGUAGERESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/Language.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class GetLanguageResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + GetLanguageResponse(const GetLanguageResponse& c); + GetLanguageResponse(void); + + GetLanguageResponse& operator =(const GetLanguageResponse&); + + virtual ~GetLanguageResponse(void); + + bool checkIntegrity(void); + +// getters + const NsSmartDeviceLinkRPCV2::Language& get_hmiDisplayLanguage(void); + + +// setters + bool set_hmiDisplayLanguage(const NsSmartDeviceLinkRPCV2::Language& hmiDisplayLanguage); + + + private: + + friend class GetLanguageResponseMarshaller; + + NsSmartDeviceLinkRPCV2::Language hmiDisplayLanguage; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetSupportedLanguages.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetSupportedLanguages.h new file mode 100644 index 000000000..67419088b --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetSupportedLanguages.h @@ -0,0 +1,75 @@ +// +// 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 NSRPC2COMMUNICATION_UI_GETSUPPORTEDLANGUAGES_INCLUDE +#define NSRPC2COMMUNICATION_UI_GETSUPPORTEDLANGUAGES_INCLUDE + +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class GetSupportedLanguages : public ::NsRPC2Communication::RPC2Request + { + public: + + GetSupportedLanguages(const GetSupportedLanguages& c); + GetSupportedLanguages(void); + + GetSupportedLanguages& operator =(const GetSupportedLanguages&); + + virtual ~GetSupportedLanguages(void); + + bool checkIntegrity(void); + + + private: + + friend class GetSupportedLanguagesMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetSupportedLanguagesResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetSupportedLanguagesResponse.h new file mode 100644 index 000000000..3f0230642 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetSupportedLanguagesResponse.h @@ -0,0 +1,86 @@ +// +// 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 NSRPC2COMMUNICATION_UI_GETSUPPORTEDLANGUAGESRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_GETSUPPORTEDLANGUAGESRESPONSE_INCLUDE + +#include <vector> +#include "JSONHandler/RPC2Response.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/Language.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class GetSupportedLanguagesResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + GetSupportedLanguagesResponse(const GetSupportedLanguagesResponse& c); + GetSupportedLanguagesResponse(void); + + GetSupportedLanguagesResponse& operator =(const GetSupportedLanguagesResponse&); + + virtual ~GetSupportedLanguagesResponse(void); + + bool checkIntegrity(void); + +// getters + const std::vector< NsSmartDeviceLinkRPCV2::Language>& get_languages(void); + + +// setters +/// 1 <= size <= 100 + bool set_languages(const std::vector< NsSmartDeviceLinkRPCV2::Language>& languages); + + + private: + + friend class GetSupportedLanguagesResponseMarshaller; + + std::vector< NsSmartDeviceLinkRPCV2::Language> languages; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnCommand.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnCommand.h new file mode 100644 index 000000000..df733754a --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnCommand.h @@ -0,0 +1,89 @@ +// +// 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 NSRPC2COMMUNICATION_UI_ONCOMMAND_INCLUDE +#define NSRPC2COMMUNICATION_UI_ONCOMMAND_INCLUDE + +#include "JSONHandler/RPC2Notification.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class OnCommand : public ::NsRPC2Communication::RPC2Notification + { + public: + + OnCommand(const OnCommand& c); + OnCommand(void); + + OnCommand& operator =(const OnCommand&); + + virtual ~OnCommand(void); + + bool checkIntegrity(void); + +// getters + unsigned int get_commandId(void); + + int get_appId(void); + + +// setters +/// commandId <= 2000000000 + bool set_commandId(unsigned int commandId); + + bool set_appId(int appId); + + + private: + + friend class OnCommandMarshaller; + + unsigned int commandId; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnDeviceChosen.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnDeviceChosen.h new file mode 100644 index 000000000..d453732fe --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnDeviceChosen.h @@ -0,0 +1,84 @@ +// +// 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 NSRPC2COMMUNICATION_UI_ONDEVICECHOSEN_INCLUDE +#define NSRPC2COMMUNICATION_UI_ONDEVICECHOSEN_INCLUDE + +#include <string> +#include "JSONHandler/RPC2Notification.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class OnDeviceChosen : public ::NsRPC2Communication::RPC2Notification + { + public: + + OnDeviceChosen(const OnDeviceChosen& c); + OnDeviceChosen(void); + + OnDeviceChosen& operator =(const OnDeviceChosen&); + + virtual ~OnDeviceChosen(void); + + bool checkIntegrity(void); + +// getters + const std::string& get_deviceName(void); + + +// setters + bool set_deviceName(const std::string& deviceName); + + + private: + + friend class OnDeviceChosenMarshaller; + + std::string deviceName; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnDriverDistraction.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnDriverDistraction.h new file mode 100644 index 000000000..d4cf376fe --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnDriverDistraction.h @@ -0,0 +1,84 @@ +// +// 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 NSRPC2COMMUNICATION_UI_ONDRIVERDISTRACTION_INCLUDE +#define NSRPC2COMMUNICATION_UI_ONDRIVERDISTRACTION_INCLUDE + +#include "JSONHandler/RPC2Notification.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/DriverDistractionState.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class OnDriverDistraction : public ::NsRPC2Communication::RPC2Notification + { + public: + + OnDriverDistraction(const OnDriverDistraction& c); + OnDriverDistraction(void); + + OnDriverDistraction& operator =(const OnDriverDistraction&); + + virtual ~OnDriverDistraction(void); + + bool checkIntegrity(void); + +// getters + const NsSmartDeviceLinkRPCV2::DriverDistractionState& get_state(void); + + +// setters + bool set_state(const NsSmartDeviceLinkRPCV2::DriverDistractionState& state); + + + private: + + friend class OnDriverDistractionMarshaller; + + NsSmartDeviceLinkRPCV2::DriverDistractionState state; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnLanguageChange.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnLanguageChange.h new file mode 100644 index 000000000..ab7782c21 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnLanguageChange.h @@ -0,0 +1,84 @@ +// +// 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 NSRPC2COMMUNICATION_UI_ONLANGUAGECHANGE_INCLUDE +#define NSRPC2COMMUNICATION_UI_ONLANGUAGECHANGE_INCLUDE + +#include "JSONHandler/RPC2Notification.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/Language.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class OnLanguageChange : public ::NsRPC2Communication::RPC2Notification + { + public: + + OnLanguageChange(const OnLanguageChange& c); + OnLanguageChange(void); + + OnLanguageChange& operator =(const OnLanguageChange&); + + virtual ~OnLanguageChange(void); + + bool checkIntegrity(void); + +// getters + const NsSmartDeviceLinkRPCV2::Language& get_hmiDisplayLanguage(void); + + +// setters + bool set_hmiDisplayLanguage(const NsSmartDeviceLinkRPCV2::Language& hmiDisplayLanguage); + + + private: + + friend class OnLanguageChangeMarshaller; + + NsSmartDeviceLinkRPCV2::Language hmiDisplayLanguage; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnReady.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnReady.h new file mode 100644 index 000000000..84b6a5110 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnReady.h @@ -0,0 +1,75 @@ +// +// 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 NSRPC2COMMUNICATION_UI_ONREADY_INCLUDE +#define NSRPC2COMMUNICATION_UI_ONREADY_INCLUDE + +#include "JSONHandler/RPC2Notification.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class OnReady : public ::NsRPC2Communication::RPC2Notification + { + public: + + OnReady(const OnReady& c); + OnReady(void); + + OnReady& operator =(const OnReady&); + + virtual ~OnReady(void); + + bool checkIntegrity(void); + + + private: + + friend class OnReadyMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnSystemContext.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnSystemContext.h new file mode 100644 index 000000000..932b74b5a --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnSystemContext.h @@ -0,0 +1,84 @@ +// +// 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 NSRPC2COMMUNICATION_UI_ONSYSTEMCONTEXT_INCLUDE +#define NSRPC2COMMUNICATION_UI_ONSYSTEMCONTEXT_INCLUDE + +#include "JSONHandler/RPC2Notification.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/SystemContext.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class OnSystemContext : public ::NsRPC2Communication::RPC2Notification + { + public: + + OnSystemContext(const OnSystemContext& c); + OnSystemContext(void); + + OnSystemContext& operator =(const OnSystemContext&); + + virtual ~OnSystemContext(void); + + bool checkIntegrity(void); + +// getters + const NsSmartDeviceLinkRPCV2::SystemContext& get_systemContext(void); + + +// setters + bool set_systemContext(const NsSmartDeviceLinkRPCV2::SystemContext& systemContext); + + + private: + + friend class OnSystemContextMarshaller; + + NsSmartDeviceLinkRPCV2::SystemContext systemContext; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnTBTClientState.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnTBTClientState.h new file mode 100644 index 000000000..84c0bcda4 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnTBTClientState.h @@ -0,0 +1,84 @@ +// +// 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 NSRPC2COMMUNICATION_UI_ONTBTCLIENTSTATE_INCLUDE +#define NSRPC2COMMUNICATION_UI_ONTBTCLIENTSTATE_INCLUDE + +#include "JSONHandler/RPC2Notification.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/TBTState.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class OnTBTClientState : public ::NsRPC2Communication::RPC2Notification + { + public: + + OnTBTClientState(const OnTBTClientState& c); + OnTBTClientState(void); + + OnTBTClientState& operator =(const OnTBTClientState&); + + virtual ~OnTBTClientState(void); + + bool checkIntegrity(void); + +// getters + const NsSmartDeviceLinkRPCV2::TBTState& get_state(void); + int get_appId(void); + +// setters + bool set_state(const NsSmartDeviceLinkRPCV2::TBTState& state); + bool set_appId(int appId); + + private: + friend class OnTBTClientStateMarshaller; + + NsSmartDeviceLinkRPCV2::TBTState state; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/PerformAudioPassThru.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/PerformAudioPassThru.h new file mode 100644 index 000000000..25b510747 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/PerformAudioPassThru.h @@ -0,0 +1,130 @@ +// +// 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 NSRPC2COMMUNICATION_UI_PERFORMAUDIOPASSTHRU_INCLUDE +#define NSRPC2COMMUNICATION_UI_PERFORMAUDIOPASSTHRU_INCLUDE + +#include <string> +#include <vector> +#include "JSONHandler/RPC2Request.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/TTSChunk.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/SamplingRate.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/AudioCaptureQuality.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/AudioType.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class PerformAudioPassThru : public ::NsRPC2Communication::RPC2Request + { + public: + + PerformAudioPassThru(const PerformAudioPassThru& c); + PerformAudioPassThru(void); + + PerformAudioPassThru& operator =(const PerformAudioPassThru&); + + virtual ~PerformAudioPassThru(void); + + bool checkIntegrity(void); + +// getters + const std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>& get_initialPrompt(void); + + const std::string* get_audioPassThruDisplayText1(void); + const std::string* get_audioPassThruDisplayText2(void); + const NsSmartDeviceLinkRPCV2::SamplingRate& get_samplingRate(void); + + unsigned int get_maxDuration(void); + + const NsSmartDeviceLinkRPCV2::AudioCaptureQuality& get_bitsPerSample(void); + + const NsSmartDeviceLinkRPCV2::AudioType& get_audioType(void); + + int get_appId(void); + + +// setters +/// 1 <= size <= 100 + bool set_initialPrompt(const std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>& initialPrompt); + +/// audioPassThruDisplayText1 <= 500 + bool set_audioPassThruDisplayText1(const std::string& audioPassThruDisplayText1); + + void reset_audioPassThruDisplayText1(void); + +/// audioPassThruDisplayText2 <= 500 + bool set_audioPassThruDisplayText2(const std::string& audioPassThruDisplayText2); + + void reset_audioPassThruDisplayText2(void); + + bool set_samplingRate(const NsSmartDeviceLinkRPCV2::SamplingRate& samplingRate); + +/// maxDuration <= 1000000 + bool set_maxDuration(unsigned int maxDuration); + + bool set_bitsPerSample(const NsSmartDeviceLinkRPCV2::AudioCaptureQuality& bitsPerSample); + + bool set_audioType(const NsSmartDeviceLinkRPCV2::AudioType& audioType); + + bool set_appId(int appId); + + + private: + + friend class PerformAudioPassThruMarshaller; + + std::vector< NsSmartDeviceLinkRPCV2::TTSChunk> initialPrompt; + std::string* audioPassThruDisplayText1; + std::string* audioPassThruDisplayText2; + NsSmartDeviceLinkRPCV2::SamplingRate samplingRate; + unsigned int maxDuration; + NsSmartDeviceLinkRPCV2::AudioCaptureQuality bitsPerSample; + NsSmartDeviceLinkRPCV2::AudioType audioType; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/PerformAudioPassThruResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/PerformAudioPassThruResponse.h new file mode 100644 index 000000000..112ccc655 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/PerformAudioPassThruResponse.h @@ -0,0 +1,75 @@ +// +// 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 NSRPC2COMMUNICATION_UI_PERFORMAUDIOPASSTHRURESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_PERFORMAUDIOPASSTHRURESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class PerformAudioPassThruResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + PerformAudioPassThruResponse(const PerformAudioPassThruResponse& c); + PerformAudioPassThruResponse(void); + + PerformAudioPassThruResponse& operator =(const PerformAudioPassThruResponse&); + + virtual ~PerformAudioPassThruResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class PerformAudioPassThruResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/PerformInteraction.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/PerformInteraction.h new file mode 100644 index 000000000..796d2d010 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/PerformInteraction.h @@ -0,0 +1,141 @@ +// +// 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 NSRPC2COMMUNICATION_UI_PERFORMINTERACTION_INCLUDE +#define NSRPC2COMMUNICATION_UI_PERFORMINTERACTION_INCLUDE + +#include <string> +#include <vector> +#include "JSONHandler/RPC2Request.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/TTSChunk.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/InteractionMode.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/TTSChunk.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/TTSChunk.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/VrHelpItem.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class PerformInteraction : public ::NsRPC2Communication::RPC2Request + { + public: + + PerformInteraction(const PerformInteraction& c); + PerformInteraction(void); + + PerformInteraction& operator =(const PerformInteraction&); + + virtual ~PerformInteraction(void); + + bool checkIntegrity(void); + +// getters + const std::string& get_initialText(void); + + const std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>& get_initialPrompt(void); + + const NsSmartDeviceLinkRPCV2::InteractionMode& get_interactionMode(void); + + const std::vector< unsigned int>& get_interactionChoiceSetIDList(void); + + const std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>* get_helpPrompt(void); + const std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>* get_timeoutPrompt(void); + const unsigned int* get_timeout(void); + const std::vector< NsSmartDeviceLinkRPCV2::VrHelpItem>* get_vrHelp(void); + int get_appId(void); + + +// setters +/// initialText <= 500 + bool set_initialText(const std::string& initialText); + +/// 1 <= size <= 100 + bool set_initialPrompt(const std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>& initialPrompt); + + bool set_interactionMode(const NsSmartDeviceLinkRPCV2::InteractionMode& interactionMode); + +/// interactionChoiceSetIDList[] <= 2000000000 ; 1 <= size <= 100 + bool set_interactionChoiceSetIDList(const std::vector< unsigned int>& interactionChoiceSetIDList); + +/// 1 <= size <= 100 + bool set_helpPrompt(const std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>& helpPrompt); + + void reset_helpPrompt(void); + +/// 1 <= size <= 100 + bool set_timeoutPrompt(const std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>& timeoutPrompt); + + void reset_timeoutPrompt(void); + +/// 5000 <= timeout <= 100000 + bool set_timeout(const unsigned int& timeout); + + void reset_timeout(void); + +/// 1 <= size <= 100 + bool set_vrHelp(const std::vector< NsSmartDeviceLinkRPCV2::VrHelpItem>& vrHelp); + + void reset_vrHelp(void); + + bool set_appId(int appId); + + + private: + + friend class PerformInteractionMarshaller; + + std::string initialText; + std::vector< NsSmartDeviceLinkRPCV2::TTSChunk> initialPrompt; + NsSmartDeviceLinkRPCV2::InteractionMode interactionMode; + std::vector< unsigned int> interactionChoiceSetIDList; + std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>* helpPrompt; + std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>* timeoutPrompt; + unsigned int* timeout; + std::vector< NsSmartDeviceLinkRPCV2::VrHelpItem>* vrHelp; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/PerformInteractionResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/PerformInteractionResponse.h new file mode 100644 index 000000000..fc28c4a73 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/PerformInteractionResponse.h @@ -0,0 +1,92 @@ +// +// 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 NSRPC2COMMUNICATION_UI_PERFORMINTERACTIONRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_PERFORMINTERACTIONRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/TriggerSource.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class PerformInteractionResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + PerformInteractionResponse(const PerformInteractionResponse& c); + PerformInteractionResponse(void); + + PerformInteractionResponse& operator =(const PerformInteractionResponse&); + + virtual ~PerformInteractionResponse(void); + + bool checkIntegrity(void); + +// getters + const unsigned int* get_choiceID(void); + const NsSmartDeviceLinkRPCV2::TriggerSource* get_triggerSource(void); + +// setters +/// choiceID <= 2000000000 + bool set_choiceID(const unsigned int& choiceID); + + void reset_choiceID(void); + + bool set_triggerSource(const NsSmartDeviceLinkRPCV2::TriggerSource& triggerSource); + + void reset_triggerSource(void); + + + private: + + friend class PerformInteractionResponseMarshaller; + + unsigned int* choiceID; + NsSmartDeviceLinkRPCV2::TriggerSource* triggerSource; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/RPC2.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/RPC2.h new file mode 100644 index 000000000..088cd9cd3 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/RPC2.h @@ -0,0 +1,111 @@ +// +// 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 NSRPC2COMMUNICATION_UI_RPC2_INCLUDE +#define NSRPC2COMMUNICATION_UI_RPC2_INCLUDE + +#include <string> +#include <json/json.h> + +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/AddCommand.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/AddCommandResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/AddSubMenu.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/AddSubMenuResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/Alert.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/AlertResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/AlertManeuver.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/AlertManeuverResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/ChangeRegistration.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/ChangeRegistrationResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/CreateInteractionChoiceSet.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/CreateInteractionChoiceSetResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/DeleteCommand.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/DeleteCommandResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/DeleteInteractionChoiceSet.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/DeleteInteractionChoiceSetResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/DeleteSubMenu.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/DeleteSubMenuResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/DialNumber.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/DialNumberResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/EndAudioPassThru.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/EndAudioPassThruResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/GetCapabilities.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/GetCapabilitiesResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/GetLanguage.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/GetLanguageResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/GetSupportedLanguages.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/GetSupportedLanguagesResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/OnCommand.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/OnDeviceChosen.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/OnDriverDistraction.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/OnLanguageChange.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/OnReady.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/OnSystemContext.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/OnTBTClientState.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/PerformAudioPassThru.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/PerformAudioPassThruResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/PerformInteraction.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/PerformInteractionResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/ResetGlobalProperties.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/ResetGlobalPropertiesResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/ScrollableMessage.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/ScrollableMessageResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/SetAppIcon.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/SetAppIconResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/SetDisplayLayout.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/SetDisplayLayoutResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/SetGlobalProperties.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/SetGlobalPropertiesResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/SetMediaClockTimer.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/SetMediaClockTimerResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/Show.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/ShowResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/ShowConstantTBT.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/ShowConstantTBTResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/Slider.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/SliderResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/UpdateTurnList.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/UpdateTurnListResponse.h" + +#include "../src/../include/JSONHandler/RPC2Objects/Marshaller.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ResetGlobalProperties.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ResetGlobalProperties.h new file mode 100644 index 000000000..affb93756 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ResetGlobalProperties.h @@ -0,0 +1,91 @@ +// +// 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 NSRPC2COMMUNICATION_UI_RESETGLOBALPROPERTIES_INCLUDE +#define NSRPC2COMMUNICATION_UI_RESETGLOBALPROPERTIES_INCLUDE + +#include <vector> +#include "JSONHandler/RPC2Request.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/GlobalProperty.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class ResetGlobalProperties : public ::NsRPC2Communication::RPC2Request + { + public: + + ResetGlobalProperties(const ResetGlobalProperties& c); + ResetGlobalProperties(void); + + ResetGlobalProperties& operator =(const ResetGlobalProperties&); + + virtual ~ResetGlobalProperties(void); + + bool checkIntegrity(void); + +// getters + const std::vector< NsSmartDeviceLinkRPCV2::GlobalProperty>& get_properties(void); + + int get_appId(void); + + +// setters +/// 1 <= size <= 100 + bool set_properties(const std::vector< NsSmartDeviceLinkRPCV2::GlobalProperty>& properties); + + bool set_appId(int appId); + + + private: + + friend class ResetGlobalPropertiesMarshaller; + + std::vector< NsSmartDeviceLinkRPCV2::GlobalProperty> properties; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ResetGlobalPropertiesResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ResetGlobalPropertiesResponse.h new file mode 100644 index 000000000..84cc644f5 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ResetGlobalPropertiesResponse.h @@ -0,0 +1,75 @@ +// +// 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 NSRPC2COMMUNICATION_UI_RESETGLOBALPROPERTIESRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_RESETGLOBALPROPERTIESRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class ResetGlobalPropertiesResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + ResetGlobalPropertiesResponse(const ResetGlobalPropertiesResponse& c); + ResetGlobalPropertiesResponse(void); + + ResetGlobalPropertiesResponse& operator =(const ResetGlobalPropertiesResponse&); + + virtual ~ResetGlobalPropertiesResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class ResetGlobalPropertiesResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ScrollableMessage.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ScrollableMessage.h new file mode 100644 index 000000000..d39f88d59 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ScrollableMessage.h @@ -0,0 +1,106 @@ +// +// 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 NSRPC2COMMUNICATION_UI_SCROLLABLEMESSAGE_INCLUDE +#define NSRPC2COMMUNICATION_UI_SCROLLABLEMESSAGE_INCLUDE + +#include <string> +#include <vector> +#include "JSONHandler/RPC2Request.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/SoftButton.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class ScrollableMessage : public ::NsRPC2Communication::RPC2Request + { + public: + + ScrollableMessage(const ScrollableMessage& c); + ScrollableMessage(void); + + ScrollableMessage& operator =(const ScrollableMessage&); + + virtual ~ScrollableMessage(void); + + bool checkIntegrity(void); + +// getters + const std::string& get_scrollableMessageBody(void); + + const unsigned int* get_timeout(void); + const std::vector< NsSmartDeviceLinkRPCV2::SoftButton>* get_softButtons(void); + int get_appId(void); + + +// setters +/// scrollableMessageBody <= 500 + bool set_scrollableMessageBody(const std::string& scrollableMessageBody); + +/// timeout <= 65535 + bool set_timeout(const unsigned int& timeout); + + void reset_timeout(void); + +/// 0 <= size <= 8 + bool set_softButtons(const std::vector< NsSmartDeviceLinkRPCV2::SoftButton>& softButtons); + + void reset_softButtons(void); + + bool set_appId(int appId); + + + private: + + friend class ScrollableMessageMarshaller; + + std::string scrollableMessageBody; + unsigned int* timeout; + std::vector< NsSmartDeviceLinkRPCV2::SoftButton>* softButtons; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ScrollableMessageResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ScrollableMessageResponse.h new file mode 100644 index 000000000..d98d2965b --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ScrollableMessageResponse.h @@ -0,0 +1,75 @@ +// +// 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 NSRPC2COMMUNICATION_UI_SCROLLABLEMESSAGERESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_SCROLLABLEMESSAGERESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class ScrollableMessageResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + ScrollableMessageResponse(const ScrollableMessageResponse& c); + ScrollableMessageResponse(void); + + ScrollableMessageResponse& operator =(const ScrollableMessageResponse&); + + virtual ~ScrollableMessageResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class ScrollableMessageResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetAppIcon.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetAppIcon.h new file mode 100644 index 000000000..9b3d4ad38 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetAppIcon.h @@ -0,0 +1,90 @@ +// +// 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 NSRPC2COMMUNICATION_UI_SETAPPICON_INCLUDE +#define NSRPC2COMMUNICATION_UI_SETAPPICON_INCLUDE + +#include <string> +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class SetAppIcon : public ::NsRPC2Communication::RPC2Request + { + public: + + SetAppIcon(const SetAppIcon& c); + SetAppIcon(void); + + SetAppIcon& operator =(const SetAppIcon&); + + virtual ~SetAppIcon(void); + + bool checkIntegrity(void); + +// getters + const std::string& get_syncFileName(void); + + int get_appId(void); + + +// setters +/// syncFileName <= 500 + bool set_syncFileName(const std::string& syncFileName); + + bool set_appId(int appId); + + + private: + + friend class SetAppIconMarshaller; + + std::string syncFileName; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetAppIconResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetAppIconResponse.h new file mode 100644 index 000000000..356075324 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetAppIconResponse.h @@ -0,0 +1,75 @@ +// +// 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 NSRPC2COMMUNICATION_UI_SETAPPICONRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_SETAPPICONRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class SetAppIconResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + SetAppIconResponse(const SetAppIconResponse& c); + SetAppIconResponse(void); + + SetAppIconResponse& operator =(const SetAppIconResponse&); + + virtual ~SetAppIconResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class SetAppIconResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetDisplayLayout.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetDisplayLayout.h new file mode 100644 index 000000000..7d49f4114 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetDisplayLayout.h @@ -0,0 +1,89 @@ +// +// 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 NSRPC2COMMUNICATION_UI_SETDISPLAYLAYOUT_INCLUDE +#define NSRPC2COMMUNICATION_UI_SETDISPLAYLAYOUT_INCLUDE + +#include <string> +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class SetDisplayLayout : public ::NsRPC2Communication::RPC2Request + { + public: + + SetDisplayLayout(const SetDisplayLayout& c); + SetDisplayLayout(void); + + SetDisplayLayout& operator =(const SetDisplayLayout&); + + virtual ~SetDisplayLayout(void); + + bool checkIntegrity(void); + +// getters + const std::string& get_displayLayout(void); + + int get_appId(void); + + +// setters + bool set_displayLayout(const std::string& displayLayout); + + bool set_appId(int appId); + + + private: + + friend class SetDisplayLayoutMarshaller; + + std::string displayLayout; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetDisplayLayoutResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetDisplayLayoutResponse.h new file mode 100644 index 000000000..cadf33614 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetDisplayLayoutResponse.h @@ -0,0 +1,75 @@ +// +// 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 NSRPC2COMMUNICATION_UI_SETDISPLAYLAYOUTRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_SETDISPLAYLAYOUTRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class SetDisplayLayoutResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + SetDisplayLayoutResponse(const SetDisplayLayoutResponse& c); + SetDisplayLayoutResponse(void); + + SetDisplayLayoutResponse& operator =(const SetDisplayLayoutResponse&); + + virtual ~SetDisplayLayoutResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class SetDisplayLayoutResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetGlobalProperties.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetGlobalProperties.h new file mode 100644 index 000000000..e428498f7 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetGlobalProperties.h @@ -0,0 +1,116 @@ +// +// 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 NSRPC2COMMUNICATION_UI_SETGLOBALPROPERTIES_INCLUDE +#define NSRPC2COMMUNICATION_UI_SETGLOBALPROPERTIES_INCLUDE + +#include <string> +#include <vector> +#include "JSONHandler/RPC2Request.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/TTSChunk.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/TTSChunk.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/VrHelpItem.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class SetGlobalProperties : public ::NsRPC2Communication::RPC2Request + { + public: + + SetGlobalProperties(const SetGlobalProperties& c); + SetGlobalProperties(void); + + SetGlobalProperties& operator =(const SetGlobalProperties&); + + virtual ~SetGlobalProperties(void); + + bool checkIntegrity(void); + +// getters + const std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>* get_helpPrompt(void); + const std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>* get_timeoutPrompt(void); + const std::string* get_vrHelpTitle(void); + const std::vector< NsSmartDeviceLinkRPCV2::VrHelpItem>* get_vrHelp(void); + int get_appId(void); + + +// setters +/// 1 <= size <= 100 + bool set_helpPrompt(const std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>& helpPrompt); + + void reset_helpPrompt(void); + +/// 1 <= size <= 100 + bool set_timeoutPrompt(const std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>& timeoutPrompt); + + void reset_timeoutPrompt(void); + +/// vrHelpTitle <= 500 + bool set_vrHelpTitle(const std::string& vrHelpTitle); + + void reset_vrHelpTitle(void); + +/// 1 <= size <= 100 + bool set_vrHelp(const std::vector< NsSmartDeviceLinkRPCV2::VrHelpItem>& vrHelp); + + void reset_vrHelp(void); + + bool set_appId(int appId); + + + private: + + friend class SetGlobalPropertiesMarshaller; + + std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>* helpPrompt; + std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>* timeoutPrompt; + std::string* vrHelpTitle; + std::vector< NsSmartDeviceLinkRPCV2::VrHelpItem>* vrHelp; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetGlobalPropertiesResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetGlobalPropertiesResponse.h new file mode 100644 index 000000000..3f83e18e4 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetGlobalPropertiesResponse.h @@ -0,0 +1,75 @@ +// +// 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 NSRPC2COMMUNICATION_UI_SETGLOBALPROPERTIESRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_SETGLOBALPROPERTIESRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class SetGlobalPropertiesResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + SetGlobalPropertiesResponse(const SetGlobalPropertiesResponse& c); + SetGlobalPropertiesResponse(void); + + SetGlobalPropertiesResponse& operator =(const SetGlobalPropertiesResponse&); + + virtual ~SetGlobalPropertiesResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class SetGlobalPropertiesResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetMediaClockTimer.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetMediaClockTimer.h new file mode 100644 index 000000000..011d7a21d --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetMediaClockTimer.h @@ -0,0 +1,96 @@ +// +// 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 NSRPC2COMMUNICATION_UI_SETMEDIACLOCKTIMER_INCLUDE +#define NSRPC2COMMUNICATION_UI_SETMEDIACLOCKTIMER_INCLUDE + +#include "JSONHandler/RPC2Request.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/StartTime.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/UpdateMode.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class SetMediaClockTimer : public ::NsRPC2Communication::RPC2Request + { + public: + + SetMediaClockTimer(const SetMediaClockTimer& c); + SetMediaClockTimer(void); + + SetMediaClockTimer& operator =(const SetMediaClockTimer&); + + virtual ~SetMediaClockTimer(void); + + bool checkIntegrity(void); + +// getters + const NsSmartDeviceLinkRPCV2::StartTime* get_startTime(void); + const NsSmartDeviceLinkRPCV2::UpdateMode& get_updateMode(void); + + int get_appId(void); + + +// setters + bool set_startTime(const NsSmartDeviceLinkRPCV2::StartTime& startTime); + + void reset_startTime(void); + + bool set_updateMode(const NsSmartDeviceLinkRPCV2::UpdateMode& updateMode); + + bool set_appId(int appId); + + + private: + + friend class SetMediaClockTimerMarshaller; + + NsSmartDeviceLinkRPCV2::StartTime* startTime; + NsSmartDeviceLinkRPCV2::UpdateMode updateMode; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetMediaClockTimerResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetMediaClockTimerResponse.h new file mode 100644 index 000000000..8b5aa5b2b --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetMediaClockTimerResponse.h @@ -0,0 +1,75 @@ +// +// 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 NSRPC2COMMUNICATION_UI_SETMEDIACLOCKTIMERRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_SETMEDIACLOCKTIMERRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class SetMediaClockTimerResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + SetMediaClockTimerResponse(const SetMediaClockTimerResponse& c); + SetMediaClockTimerResponse(void); + + SetMediaClockTimerResponse& operator =(const SetMediaClockTimerResponse&); + + virtual ~SetMediaClockTimerResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class SetMediaClockTimerResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/Show.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/Show.h new file mode 100644 index 000000000..01f733106 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/Show.h @@ -0,0 +1,163 @@ +// +// 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 NSRPC2COMMUNICATION_UI_SHOW_INCLUDE +#define NSRPC2COMMUNICATION_UI_SHOW_INCLUDE + +#include <string> +#include <vector> +#include "JSONHandler/RPC2Request.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/TextAlignment.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/Image.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/SoftButton.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class Show : public ::NsRPC2Communication::RPC2Request + { + public: + + Show(const Show& c); + Show(void); + + Show& operator =(const Show&); + + virtual ~Show(void); + + bool checkIntegrity(void); + +// getters + const std::string* get_mainField1(void); + const std::string* get_mainField2(void); + const std::string* get_mainField3(void); + const std::string* get_mainField4(void); + const NsSmartDeviceLinkRPCV2::TextAlignment* get_alignment(void); + const std::string* get_statusBar(void); + const std::string* get_mediaClock(void); + const std::string* get_mediaTrack(void); + const NsSmartDeviceLinkRPCV2::Image* get_graphic(void); + const std::vector< NsSmartDeviceLinkRPCV2::SoftButton>* get_softButtons(void); + const std::vector< std::string>* get_customPresets(void); + int get_appId(void); + + +// setters +/// mainField1 <= 500 + bool set_mainField1(const std::string& mainField1); + + void reset_mainField1(void); + +/// mainField2 <= 500 + bool set_mainField2(const std::string& mainField2); + + void reset_mainField2(void); + +/// mainField3 <= 500 + bool set_mainField3(const std::string& mainField3); + + void reset_mainField3(void); + +/// mainField4 <= 500 + bool set_mainField4(const std::string& mainField4); + + void reset_mainField4(void); + + bool set_alignment(const NsSmartDeviceLinkRPCV2::TextAlignment& alignment); + + void reset_alignment(void); + +/// statusBar <= 500 + bool set_statusBar(const std::string& statusBar); + + void reset_statusBar(void); + +/// mediaClock <= 500 + bool set_mediaClock(const std::string& mediaClock); + + void reset_mediaClock(void); + +/// mediaTrack <= 500 + bool set_mediaTrack(const std::string& mediaTrack); + + void reset_mediaTrack(void); + + bool set_graphic(const NsSmartDeviceLinkRPCV2::Image& graphic); + + void reset_graphic(void); + +/// 0 <= size <= 8 + bool set_softButtons(const std::vector< NsSmartDeviceLinkRPCV2::SoftButton>& softButtons); + + void reset_softButtons(void); + +/// customPresets[] <= 500 ; 0 <= size <= 6 + bool set_customPresets(const std::vector< std::string>& customPresets); + + void reset_customPresets(void); + + bool set_appId(int appId); + + + private: + + friend class ShowMarshaller; + + std::string* mainField1; + std::string* mainField2; + std::string* mainField3; + std::string* mainField4; + NsSmartDeviceLinkRPCV2::TextAlignment* alignment; + std::string* statusBar; + std::string* mediaClock; + std::string* mediaTrack; + NsSmartDeviceLinkRPCV2::Image* graphic; + std::vector< NsSmartDeviceLinkRPCV2::SoftButton>* softButtons; + std::vector< std::string>* customPresets; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ShowConstantTBT.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ShowConstantTBT.h new file mode 100644 index 000000000..b761d1a37 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ShowConstantTBT.h @@ -0,0 +1,144 @@ +// +// 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 NSRPC2COMMUNICATION_UI_SHOWCONSTANTTBT_INCLUDE +#define NSRPC2COMMUNICATION_UI_SHOWCONSTANTTBT_INCLUDE + +#include <string> +#include <vector> +#include "JSONHandler/RPC2Request.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/Image.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/SoftButton.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class ShowConstantTBT : public ::NsRPC2Communication::RPC2Request + { + public: + + ShowConstantTBT(const ShowConstantTBT& c); + ShowConstantTBT(void); + + ShowConstantTBT& operator =(const ShowConstantTBT&); + + virtual ~ShowConstantTBT(void); + + bool checkIntegrity(void); + +// getters + const std::string* get_navigationText1(void); + const std::string* get_navigationText2(void); + const std::string* get_eta(void); + const std::string* get_totalDistance(void); + const NsSmartDeviceLinkRPCV2::Image& get_turnIcon(void); + + float get_distanceToManeuver(void); + + float get_distanceToManeuverScale(void); + + const bool* get_maneuverComplete(void); + const std::vector< NsSmartDeviceLinkRPCV2::SoftButton>& get_softButtons(void); + + int get_appId(void); + + +// setters +/// navigationText1 <= 500 + bool set_navigationText1(const std::string& navigationText1); + + void reset_navigationText1(void); + +/// navigationText2 <= 500 + bool set_navigationText2(const std::string& navigationText2); + + void reset_navigationText2(void); + +/// eta <= 500 + bool set_eta(const std::string& eta); + + void reset_eta(void); + +/// totalDistance <= 500 + bool set_totalDistance(const std::string& totalDistance); + + void reset_totalDistance(void); + + bool set_turnIcon(const NsSmartDeviceLinkRPCV2::Image& turnIcon); + +/// 0 <= distanceToManeuver <= 1000000000 + bool set_distanceToManeuver(float distanceToManeuver); + +/// 0 <= distanceToManeuverScale <= 1000000000 + bool set_distanceToManeuverScale(float distanceToManeuverScale); + + bool set_maneuverComplete(const bool& maneuverComplete); + + void reset_maneuverComplete(void); + +/// 0 <= size <= 3 + bool set_softButtons(const std::vector< NsSmartDeviceLinkRPCV2::SoftButton>& softButtons); + + bool set_appId(int appId); + + + private: + + friend class ShowConstantTBTMarshaller; + + std::string* navigationText1; + std::string* navigationText2; + std::string* eta; + std::string* totalDistance; + NsSmartDeviceLinkRPCV2::Image turnIcon; + float distanceToManeuver; + float distanceToManeuverScale; + bool* maneuverComplete; + std::vector< NsSmartDeviceLinkRPCV2::SoftButton> softButtons; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ShowConstantTBTResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ShowConstantTBTResponse.h new file mode 100644 index 000000000..fc4f4930e --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ShowConstantTBTResponse.h @@ -0,0 +1,75 @@ +// +// 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 NSRPC2COMMUNICATION_UI_SHOWCONSTANTTBTRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_SHOWCONSTANTTBTRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class ShowConstantTBTResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + ShowConstantTBTResponse(const ShowConstantTBTResponse& c); + ShowConstantTBTResponse(void); + + ShowConstantTBTResponse& operator =(const ShowConstantTBTResponse&); + + virtual ~ShowConstantTBTResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class ShowConstantTBTResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ShowResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ShowResponse.h new file mode 100644 index 000000000..eb05ecf66 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ShowResponse.h @@ -0,0 +1,75 @@ +// +// 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 NSRPC2COMMUNICATION_UI_SHOWRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_SHOWRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class ShowResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + ShowResponse(const ShowResponse& c); + ShowResponse(void); + + ShowResponse& operator =(const ShowResponse&); + + virtual ~ShowResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class ShowResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/Slider.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/Slider.h new file mode 100644 index 000000000..2421bb870 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/Slider.h @@ -0,0 +1,116 @@ +// +// 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 NSRPC2COMMUNICATION_UI_SLIDER_INCLUDE +#define NSRPC2COMMUNICATION_UI_SLIDER_INCLUDE + +#include <string> +#include <vector> +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class Slider : public ::NsRPC2Communication::RPC2Request + { + public: + + Slider(const Slider& c); + Slider(void); + + Slider& operator =(const Slider&); + + virtual ~Slider(void); + + bool checkIntegrity(void); + +// getters + unsigned int get_numTicks(void); + + unsigned int get_position(void); + + const std::string& get_sliderHeader(void); + + const std::vector< std::string>* get_sliderFooter(void); + unsigned int get_timeout(void); + + int get_appId(void); + + +// setters +/// 2 <= numTicks <= 26 + bool set_numTicks(unsigned int numTicks); + +/// 1 <= position <= 16 + bool set_position(unsigned int position); + +/// sliderHeader <= 500 + bool set_sliderHeader(const std::string& sliderHeader); + +/// sliderFooter[] <= 500 ; 1 <= size <= 26 + bool set_sliderFooter(const std::vector< std::string>& sliderFooter); + + void reset_sliderFooter(void); + +/// timeout <= 65535 + bool set_timeout(unsigned int timeout); + + bool set_appId(int appId); + + + private: + + friend class SliderMarshaller; + + unsigned int numTicks; + unsigned int position; + std::string sliderHeader; + std::vector< std::string>* sliderFooter; + unsigned int timeout; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SliderResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SliderResponse.h new file mode 100644 index 000000000..f7828c125 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SliderResponse.h @@ -0,0 +1,84 @@ +// +// 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 NSRPC2COMMUNICATION_UI_SLIDERRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_SLIDERRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class SliderResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + SliderResponse(const SliderResponse& c); + SliderResponse(void); + + SliderResponse& operator =(const SliderResponse&); + + virtual ~SliderResponse(void); + + bool checkIntegrity(void); + +// getters + unsigned int get_sliderPosition(void); + + +// setters +/// 1 <= sliderPosition <= 26 + bool set_sliderPosition(unsigned int sliderPosition); + + + private: + + friend class SliderResponseMarshaller; + + unsigned int sliderPosition; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/UpdateTurnList.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/UpdateTurnList.h new file mode 100644 index 000000000..0bac9c820 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/UpdateTurnList.h @@ -0,0 +1,98 @@ +// +// 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 NSRPC2COMMUNICATION_UI_UPDATETURNLIST_INCLUDE +#define NSRPC2COMMUNICATION_UI_UPDATETURNLIST_INCLUDE + +#include <vector> +#include "JSONHandler/RPC2Request.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/Turn.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/SoftButton.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class UpdateTurnList : public ::NsRPC2Communication::RPC2Request + { + public: + + UpdateTurnList(const UpdateTurnList& c); + UpdateTurnList(void); + + UpdateTurnList& operator =(const UpdateTurnList&); + + virtual ~UpdateTurnList(void); + + bool checkIntegrity(void); + +// getters + const std::vector< NsSmartDeviceLinkRPCV2::Turn>& get_turnList(void); + + const std::vector< NsSmartDeviceLinkRPCV2::SoftButton>& get_softButtons(void); + + int get_appId(void); + + +// setters +/// 1 <= size <= 100 + bool set_turnList(const std::vector< NsSmartDeviceLinkRPCV2::Turn>& turnList); + +/// 0 <= size <= 1 + bool set_softButtons(const std::vector< NsSmartDeviceLinkRPCV2::SoftButton>& softButtons); + + bool set_appId(int appId); + + + private: + + friend class UpdateTurnListMarshaller; + + std::vector< NsSmartDeviceLinkRPCV2::Turn> turnList; + std::vector< NsSmartDeviceLinkRPCV2::SoftButton> softButtons; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/UpdateTurnListResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/UpdateTurnListResponse.h new file mode 100644 index 000000000..d6cef5d31 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/UpdateTurnListResponse.h @@ -0,0 +1,75 @@ +// +// 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 NSRPC2COMMUNICATION_UI_UPDATETURNLISTRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_UPDATETURNLISTRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class UpdateTurnListResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + UpdateTurnListResponse(const UpdateTurnListResponse& c); + UpdateTurnListResponse(void); + + UpdateTurnListResponse& operator =(const UpdateTurnListResponse&); + + virtual ~UpdateTurnListResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class UpdateTurnListResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/AddCommand.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/AddCommand.h new file mode 100644 index 000000000..be4373577 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/AddCommand.h @@ -0,0 +1,97 @@ +// +// 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 NSRPC2COMMUNICATION_VR_ADDCOMMAND_INCLUDE +#define NSRPC2COMMUNICATION_VR_ADDCOMMAND_INCLUDE + +#include <string> +#include <vector> +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::VR + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace VR + { + + class AddCommand : public ::NsRPC2Communication::RPC2Request + { + public: + + AddCommand(const AddCommand& c); + AddCommand(void); + + AddCommand& operator =(const AddCommand&); + + virtual ~AddCommand(void); + + bool checkIntegrity(void); + +// getters + unsigned int get_cmdId(void); + + const std::vector< std::string>& get_vrCommands(void); + + int get_appId(void); + + +// setters +/// cmdId <= 2000000000 + bool set_cmdId(unsigned int cmdId); + +/// vrCommands[] <= 99 ; 1 <= size <= 100 + bool set_vrCommands(const std::vector< std::string>& vrCommands); + + bool set_appId(int appId); + + + private: + + friend class AddCommandMarshaller; + + unsigned int cmdId; + std::vector< std::string> vrCommands; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/AddCommandResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/AddCommandResponse.h new file mode 100644 index 000000000..ee135f4e6 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/AddCommandResponse.h @@ -0,0 +1,75 @@ +// +// 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 NSRPC2COMMUNICATION_VR_ADDCOMMANDRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_VR_ADDCOMMANDRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::VR + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace VR + { + + class AddCommandResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + AddCommandResponse(const AddCommandResponse& c); + AddCommandResponse(void); + + AddCommandResponse& operator =(const AddCommandResponse&); + + virtual ~AddCommandResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class AddCommandResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/ChangeRegistration.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/ChangeRegistration.h new file mode 100644 index 000000000..58f18caa9 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/ChangeRegistration.h @@ -0,0 +1,89 @@ +// +// 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 NSRPC2COMMUNICATION_VR_CHANGEREGISTRATION_INCLUDE +#define NSRPC2COMMUNICATION_VR_CHANGEREGISTRATION_INCLUDE + +#include "JSONHandler/RPC2Request.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/Language.h" + +/* + interface NsRPC2Communication::VR + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace VR + { + + class ChangeRegistration : public ::NsRPC2Communication::RPC2Request + { + public: + + ChangeRegistration(const ChangeRegistration& c); + ChangeRegistration(void); + + ChangeRegistration& operator =(const ChangeRegistration&); + + virtual ~ChangeRegistration(void); + + bool checkIntegrity(void); + +// getters + const NsSmartDeviceLinkRPCV2::Language& get_language(void); + + int get_appId(void); + + +// setters + bool set_language(const NsSmartDeviceLinkRPCV2::Language& language); + + bool set_appId(int appId); + + + private: + + friend class ChangeRegistrationMarshaller; + + NsSmartDeviceLinkRPCV2::Language language; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/ChangeRegistrationResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/ChangeRegistrationResponse.h new file mode 100644 index 000000000..8d8e7b206 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/ChangeRegistrationResponse.h @@ -0,0 +1,75 @@ +// +// 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 NSRPC2COMMUNICATION_VR_CHANGEREGISTRATIONRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_VR_CHANGEREGISTRATIONRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::VR + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace VR + { + + class ChangeRegistrationResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + ChangeRegistrationResponse(const ChangeRegistrationResponse& c); + ChangeRegistrationResponse(void); + + ChangeRegistrationResponse& operator =(const ChangeRegistrationResponse&); + + virtual ~ChangeRegistrationResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class ChangeRegistrationResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/DeleteCommand.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/DeleteCommand.h new file mode 100644 index 000000000..8c8d39936 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/DeleteCommand.h @@ -0,0 +1,89 @@ +// +// 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 NSRPC2COMMUNICATION_VR_DELETECOMMAND_INCLUDE +#define NSRPC2COMMUNICATION_VR_DELETECOMMAND_INCLUDE + +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::VR + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace VR + { + + class DeleteCommand : public ::NsRPC2Communication::RPC2Request + { + public: + + DeleteCommand(const DeleteCommand& c); + DeleteCommand(void); + + DeleteCommand& operator =(const DeleteCommand&); + + virtual ~DeleteCommand(void); + + bool checkIntegrity(void); + +// getters + unsigned int get_cmdId(void); + + int get_appId(void); + + +// setters +/// cmdId <= 2000000000 + bool set_cmdId(unsigned int cmdId); + + bool set_appId(int appId); + + + private: + + friend class DeleteCommandMarshaller; + + unsigned int cmdId; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/DeleteCommandResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/DeleteCommandResponse.h new file mode 100644 index 000000000..717b8fda0 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/DeleteCommandResponse.h @@ -0,0 +1,75 @@ +// +// 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 NSRPC2COMMUNICATION_VR_DELETECOMMANDRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_VR_DELETECOMMANDRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::VR + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace VR + { + + class DeleteCommandResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + DeleteCommandResponse(const DeleteCommandResponse& c); + DeleteCommandResponse(void); + + DeleteCommandResponse& operator =(const DeleteCommandResponse&); + + virtual ~DeleteCommandResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class DeleteCommandResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/GetCapabilities.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/GetCapabilities.h new file mode 100644 index 000000000..ca03cfa8c --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/GetCapabilities.h @@ -0,0 +1,75 @@ +// +// 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 NSRPC2COMMUNICATION_VR_GETCAPABILITIES_INCLUDE +#define NSRPC2COMMUNICATION_VR_GETCAPABILITIES_INCLUDE + +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::VR + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace VR + { + + class GetCapabilities : public ::NsRPC2Communication::RPC2Request + { + public: + + GetCapabilities(const GetCapabilities& c); + GetCapabilities(void); + + GetCapabilities& operator =(const GetCapabilities&); + + virtual ~GetCapabilities(void); + + bool checkIntegrity(void); + + + private: + + friend class GetCapabilitiesMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/GetCapabilitiesResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/GetCapabilitiesResponse.h new file mode 100644 index 000000000..aee9be237 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/GetCapabilitiesResponse.h @@ -0,0 +1,86 @@ +// +// 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 NSRPC2COMMUNICATION_VR_GETCAPABILITIESRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_VR_GETCAPABILITIESRESPONSE_INCLUDE + +#include <vector> +#include "JSONHandler/RPC2Response.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/VrCapabilities.h" + +/* + interface NsRPC2Communication::VR + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace VR + { + + class GetCapabilitiesResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + GetCapabilitiesResponse(const GetCapabilitiesResponse& c); + GetCapabilitiesResponse(void); + + GetCapabilitiesResponse& operator =(const GetCapabilitiesResponse&); + + virtual ~GetCapabilitiesResponse(void); + + bool checkIntegrity(void); + +// getters + const std::vector< NsSmartDeviceLinkRPCV2::VrCapabilities>& get_capabilities(void); + + +// setters +/// 1 <= size <= 100 + bool set_capabilities(const std::vector< NsSmartDeviceLinkRPCV2::VrCapabilities>& capabilities); + + + private: + + friend class GetCapabilitiesResponseMarshaller; + + std::vector< NsSmartDeviceLinkRPCV2::VrCapabilities> capabilities; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/GetLanguage.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/GetLanguage.h new file mode 100644 index 000000000..fa3459ad1 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/GetLanguage.h @@ -0,0 +1,75 @@ +// +// 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 NSRPC2COMMUNICATION_VR_GETLANGUAGE_INCLUDE +#define NSRPC2COMMUNICATION_VR_GETLANGUAGE_INCLUDE + +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::VR + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace VR + { + + class GetLanguage : public ::NsRPC2Communication::RPC2Request + { + public: + + GetLanguage(const GetLanguage& c); + GetLanguage(void); + + GetLanguage& operator =(const GetLanguage&); + + virtual ~GetLanguage(void); + + bool checkIntegrity(void); + + + private: + + friend class GetLanguageMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/GetLanguageResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/GetLanguageResponse.h new file mode 100644 index 000000000..08b0e143b --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/GetLanguageResponse.h @@ -0,0 +1,84 @@ +// +// 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 NSRPC2COMMUNICATION_VR_GETLANGUAGERESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_VR_GETLANGUAGERESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/Language.h" + +/* + interface NsRPC2Communication::VR + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace VR + { + + class GetLanguageResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + GetLanguageResponse(const GetLanguageResponse& c); + GetLanguageResponse(void); + + GetLanguageResponse& operator =(const GetLanguageResponse&); + + virtual ~GetLanguageResponse(void); + + bool checkIntegrity(void); + +// getters + const NsSmartDeviceLinkRPCV2::Language& get_language(void); + + +// setters + bool set_language(const NsSmartDeviceLinkRPCV2::Language& language); + + + private: + + friend class GetLanguageResponseMarshaller; + + NsSmartDeviceLinkRPCV2::Language language; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/GetSupportedLanguages.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/GetSupportedLanguages.h new file mode 100644 index 000000000..7a2b9866c --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/GetSupportedLanguages.h @@ -0,0 +1,75 @@ +// +// 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 NSRPC2COMMUNICATION_VR_GETSUPPORTEDLANGUAGES_INCLUDE +#define NSRPC2COMMUNICATION_VR_GETSUPPORTEDLANGUAGES_INCLUDE + +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::VR + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace VR + { + + class GetSupportedLanguages : public ::NsRPC2Communication::RPC2Request + { + public: + + GetSupportedLanguages(const GetSupportedLanguages& c); + GetSupportedLanguages(void); + + GetSupportedLanguages& operator =(const GetSupportedLanguages&); + + virtual ~GetSupportedLanguages(void); + + bool checkIntegrity(void); + + + private: + + friend class GetSupportedLanguagesMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/GetSupportedLanguagesResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/GetSupportedLanguagesResponse.h new file mode 100644 index 000000000..3e0c3d52d --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/GetSupportedLanguagesResponse.h @@ -0,0 +1,86 @@ +// +// 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 NSRPC2COMMUNICATION_VR_GETSUPPORTEDLANGUAGESRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_VR_GETSUPPORTEDLANGUAGESRESPONSE_INCLUDE + +#include <vector> +#include "JSONHandler/RPC2Response.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/Language.h" + +/* + interface NsRPC2Communication::VR + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace VR + { + + class GetSupportedLanguagesResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + GetSupportedLanguagesResponse(const GetSupportedLanguagesResponse& c); + GetSupportedLanguagesResponse(void); + + GetSupportedLanguagesResponse& operator =(const GetSupportedLanguagesResponse&); + + virtual ~GetSupportedLanguagesResponse(void); + + bool checkIntegrity(void); + +// getters + const std::vector< NsSmartDeviceLinkRPCV2::Language>& get_languages(void); + + +// setters +/// 1 <= size <= 100 + bool set_languages(const std::vector< NsSmartDeviceLinkRPCV2::Language>& languages); + + + private: + + friend class GetSupportedLanguagesResponseMarshaller; + + std::vector< NsSmartDeviceLinkRPCV2::Language> languages; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/OnCommand.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/OnCommand.h new file mode 100644 index 000000000..9d0bf0c5c --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/OnCommand.h @@ -0,0 +1,89 @@ +// +// 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 NSRPC2COMMUNICATION_VR_ONCOMMAND_INCLUDE +#define NSRPC2COMMUNICATION_VR_ONCOMMAND_INCLUDE + +#include "JSONHandler/RPC2Notification.h" + + +/* + interface NsRPC2Communication::VR + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace VR + { + + class OnCommand : public ::NsRPC2Communication::RPC2Notification + { + public: + + OnCommand(const OnCommand& c); + OnCommand(void); + + OnCommand& operator =(const OnCommand&); + + virtual ~OnCommand(void); + + bool checkIntegrity(void); + +// getters + unsigned int get_cmdID(void); + + int get_appId(void); + + +// setters +/// cmdID <= 2000000000 + bool set_cmdID(unsigned int cmdID); + + bool set_appId(int appId); + + + private: + + friend class OnCommandMarshaller; + + unsigned int cmdID; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/OnLanguageChange.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/OnLanguageChange.h new file mode 100644 index 000000000..8da1b2b74 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/OnLanguageChange.h @@ -0,0 +1,84 @@ +// +// 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 NSRPC2COMMUNICATION_VR_ONLANGUAGECHANGE_INCLUDE +#define NSRPC2COMMUNICATION_VR_ONLANGUAGECHANGE_INCLUDE + +#include "JSONHandler/RPC2Notification.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/Language.h" + +/* + interface NsRPC2Communication::VR + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace VR + { + + class OnLanguageChange : public ::NsRPC2Communication::RPC2Notification + { + public: + + OnLanguageChange(const OnLanguageChange& c); + OnLanguageChange(void); + + OnLanguageChange& operator =(const OnLanguageChange&); + + virtual ~OnLanguageChange(void); + + bool checkIntegrity(void); + +// getters + const NsSmartDeviceLinkRPCV2::Language& get_language(void); + + +// setters + bool set_language(const NsSmartDeviceLinkRPCV2::Language& language); + + + private: + + friend class OnLanguageChangeMarshaller; + + NsSmartDeviceLinkRPCV2::Language language; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/RPC2.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/RPC2.h new file mode 100644 index 000000000..175d7a1d6 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VR/RPC2.h @@ -0,0 +1,66 @@ +// +// 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 NSRPC2COMMUNICATION_VR_RPC2_INCLUDE +#define NSRPC2COMMUNICATION_VR_RPC2_INCLUDE + +#include <string> +#include <json/json.h> + +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/VR/AddCommand.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/VR/AddCommandResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/VR/ChangeRegistration.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/VR/ChangeRegistrationResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/VR/DeleteCommand.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/VR/DeleteCommandResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/VR/GetCapabilities.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/VR/GetCapabilitiesResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/VR/GetLanguage.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/VR/GetLanguageResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/VR/GetSupportedLanguages.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/VR/GetSupportedLanguagesResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/VR/OnCommand.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/VR/OnLanguageChange.h" + +#include "../src/../include/JSONHandler/RPC2Objects/Marshaller.h" + + +/* + interface NsRPC2Communication::VR + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/GetDTCs.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/GetDTCs.h new file mode 100644 index 000000000..2d0995875 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/GetDTCs.h @@ -0,0 +1,95 @@ +// +// 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 NSRPC2COMMUNICATION_VEHICLEINFO_GETDTCS_INCLUDE +#define NSRPC2COMMUNICATION_VEHICLEINFO_GETDTCS_INCLUDE + +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::VehicleInfo + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace VehicleInfo + { + + class GetDTCs : public ::NsRPC2Communication::RPC2Request + { + public: + + GetDTCs(const GetDTCs& c); + GetDTCs(void); + + GetDTCs& operator =(const GetDTCs&); + + virtual ~GetDTCs(void); + + bool checkIntegrity(void); + +// getters + unsigned int get_ecuName(void); + + const bool* get_encrypted(void); + int get_appId(void); + + +// setters +/// ecuName <= 65535 + bool set_ecuName(unsigned int ecuName); + + bool set_encrypted(const bool& encrypted); + + void reset_encrypted(void); + + bool set_appId(int appId); + + + private: + + friend class GetDTCsMarshaller; + + unsigned int ecuName; + bool* encrypted; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/GetDTCsResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/GetDTCsResponse.h new file mode 100644 index 000000000..90e77bac9 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/GetDTCsResponse.h @@ -0,0 +1,87 @@ +// +// 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 NSRPC2COMMUNICATION_VEHICLEINFO_GETDTCSRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_VEHICLEINFO_GETDTCSRESPONSE_INCLUDE + +#include <vector> +#include "JSONHandler/RPC2Response.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/DTC.h" + +/* + interface NsRPC2Communication::VehicleInfo + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace VehicleInfo + { + + class GetDTCsResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + GetDTCsResponse(const GetDTCsResponse& c); + GetDTCsResponse(void); + + GetDTCsResponse& operator =(const GetDTCsResponse&); + + virtual ~GetDTCsResponse(void); + + bool checkIntegrity(void); + +// getters + const std::vector< NsSmartDeviceLinkRPCV2::DTC>* get_dtcList(void); + +// setters +/// 1 <= size <= 100 + bool set_dtcList(const std::vector< NsSmartDeviceLinkRPCV2::DTC>& dtcList); + + void reset_dtcList(void); + + + private: + + friend class GetDTCsResponseMarshaller; + + std::vector< NsSmartDeviceLinkRPCV2::DTC>* dtcList; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/GetVehicleData.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/GetVehicleData.h new file mode 100644 index 000000000..4f340faf7 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/GetVehicleData.h @@ -0,0 +1,89 @@ +// +// 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 NSRPC2COMMUNICATION_VEHICLEINFO_GETVEHICLEDATA_INCLUDE +#define NSRPC2COMMUNICATION_VEHICLEINFO_GETVEHICLEDATA_INCLUDE + +#include "JSONHandler/RPC2Request.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/VehicleDataType.h" + +/* + interface NsRPC2Communication::VehicleInfo + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace VehicleInfo + { + + class GetVehicleData : public ::NsRPC2Communication::RPC2Request + { + public: + + GetVehicleData(const GetVehicleData& c); + GetVehicleData(void); + + GetVehicleData& operator =(const GetVehicleData&); + + virtual ~GetVehicleData(void); + + bool checkIntegrity(void); + +// getters + const NsSmartDeviceLinkRPCV2::VehicleDataType& get_dataType(void); + + int get_appId(void); + + +// setters + bool set_dataType(const NsSmartDeviceLinkRPCV2::VehicleDataType& dataType); + + bool set_appId(int appId); + + + private: + + friend class GetVehicleDataMarshaller; + + NsSmartDeviceLinkRPCV2::VehicleDataType dataType; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/GetVehicleDataResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/GetVehicleDataResponse.h new file mode 100644 index 000000000..3b638a466 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/GetVehicleDataResponse.h @@ -0,0 +1,198 @@ +// +// 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 NSRPC2COMMUNICATION_VEHICLEINFO_GETVEHICLEDATARESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_VEHICLEINFO_GETVEHICLEDATARESPONSE_INCLUDE + +#include <string> +#include "JSONHandler/RPC2Response.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/GPSData.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/PRNDL.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/TireStatus.h" + +/* + interface NsRPC2Communication::VehicleInfo + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace VehicleInfo + { + + class GetVehicleDataResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + GetVehicleDataResponse(const GetVehicleDataResponse& c); + GetVehicleDataResponse(void); + + GetVehicleDataResponse& operator =(const GetVehicleDataResponse&); + + virtual ~GetVehicleDataResponse(void); + + bool checkIntegrity(void); + +// getters + const NsSmartDeviceLinkRPCV2::GPSData* get_gps(void); + const float* get_speed(void); + const unsigned int* get_rpm(void); + const float* get_fuelLevel(void); + const float* get_avgFuelEconomy(void); + const float* get_batteryVoltage(void); + const float* get_externalTemperature(void); + const std::string* get_vin(void); + const NsSmartDeviceLinkRPCV2::PRNDL* get_prndl(void); + const NsSmartDeviceLinkRPCV2::TireStatus* get_tirePressure(void); + const float* get_batteryPackVoltage(void); + const float* get_batteryPackCurrent(void); + const int* get_batteryPackTemperature(void); + const int* get_engineTorque(void); + const unsigned int* get_odometer(void); + const unsigned int* get_tripOdometer(void); + const std::string* get_satRadioESN(void); + +// setters + bool set_gps(const NsSmartDeviceLinkRPCV2::GPSData& gps); + + void reset_gps(void); + +/// -100 <= speed <= 500 + bool set_speed(const float& speed); + + void reset_speed(void); + +/// rpm <= 20000 + bool set_rpm(const unsigned int& rpm); + + void reset_rpm(void); + +/// 0 <= fuelLevel <= 100 + bool set_fuelLevel(const float& fuelLevel); + + void reset_fuelLevel(void); + +/// 0 <= avgFuelEconomy <= 7000 + bool set_avgFuelEconomy(const float& avgFuelEconomy); + + void reset_avgFuelEconomy(void); + +/// 0 <= batteryVoltage <= 26 + bool set_batteryVoltage(const float& batteryVoltage); + + void reset_batteryVoltage(void); + +/// -40 <= externalTemperature <= 100 + bool set_externalTemperature(const float& externalTemperature); + + void reset_externalTemperature(void); + +/// vin <= 17 + bool set_vin(const std::string& vin); + + void reset_vin(void); + + bool set_prndl(const NsSmartDeviceLinkRPCV2::PRNDL& prndl); + + void reset_prndl(void); + + bool set_tirePressure(const NsSmartDeviceLinkRPCV2::TireStatus& tirePressure); + + void reset_tirePressure(void); + +/// -1000 <= batteryPackVoltage <= 1000 + bool set_batteryPackVoltage(const float& batteryPackVoltage); + + void reset_batteryPackVoltage(void); + +/// -1000 <= batteryPackCurrent <= 1000 + bool set_batteryPackCurrent(const float& batteryPackCurrent); + + void reset_batteryPackCurrent(void); + +/// -50 <= batteryPackTemperature <= 250 + bool set_batteryPackTemperature(const int& batteryPackTemperature); + + void reset_batteryPackTemperature(void); + +/// -10000 <= engineTorque <= 55000 + bool set_engineTorque(const int& engineTorque); + + void reset_engineTorque(void); + +/// odometer <= 2000000 + bool set_odometer(const unsigned int& odometer); + + void reset_odometer(void); + +/// tripOdometer <= 2000000 + bool set_tripOdometer(const unsigned int& tripOdometer); + + void reset_tripOdometer(void); + +/// satRadioESN <= 500 + bool set_satRadioESN(const std::string& satRadioESN); + + void reset_satRadioESN(void); + + + private: + + friend class GetVehicleDataResponseMarshaller; + + NsSmartDeviceLinkRPCV2::GPSData* gps; + float* speed; + unsigned int* rpm; + float* fuelLevel; + float* avgFuelEconomy; + float* batteryVoltage; + float* externalTemperature; + std::string* vin; + NsSmartDeviceLinkRPCV2::PRNDL* prndl; + NsSmartDeviceLinkRPCV2::TireStatus* tirePressure; + float* batteryPackVoltage; + float* batteryPackCurrent; + int* batteryPackTemperature; + int* engineTorque; + unsigned int* odometer; + unsigned int* tripOdometer; + std::string* satRadioESN; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/GetVehicleType.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/GetVehicleType.h new file mode 100644 index 000000000..8162d4c00 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/GetVehicleType.h @@ -0,0 +1,75 @@ +// +// 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 NSRPC2COMMUNICATION_VEHICLEINFO_GETVEHICLETYPE_INCLUDE +#define NSRPC2COMMUNICATION_VEHICLEINFO_GETVEHICLETYPE_INCLUDE + +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::VehicleInfo + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace VehicleInfo + { + + class GetVehicleType : public ::NsRPC2Communication::RPC2Request + { + public: + + GetVehicleType(const GetVehicleType& c); + GetVehicleType(void); + + GetVehicleType& operator =(const GetVehicleType&); + + virtual ~GetVehicleType(void); + + bool checkIntegrity(void); + + + private: + + friend class GetVehicleTypeMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/GetVehicleTypeResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/GetVehicleTypeResponse.h new file mode 100644 index 000000000..32293a341 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/GetVehicleTypeResponse.h @@ -0,0 +1,84 @@ +// +// 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 NSRPC2COMMUNICATION_VEHICLEINFO_GETVEHICLETYPERESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_VEHICLEINFO_GETVEHICLETYPERESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/VehicleType.h" + +/* + interface NsRPC2Communication::VehicleInfo + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace VehicleInfo + { + + class GetVehicleTypeResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + GetVehicleTypeResponse(const GetVehicleTypeResponse& c); + GetVehicleTypeResponse(void); + + GetVehicleTypeResponse& operator =(const GetVehicleTypeResponse&); + + virtual ~GetVehicleTypeResponse(void); + + bool checkIntegrity(void); + +// getters + const NsSmartDeviceLinkRPCV2::VehicleType& get_vehicleType(void); + + +// setters + bool set_vehicleType(const NsSmartDeviceLinkRPCV2::VehicleType& vehicleType); + + + private: + + friend class GetVehicleTypeResponseMarshaller; + + NsSmartDeviceLinkRPCV2::VehicleType vehicleType; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/OnVehicleData.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/OnVehicleData.h new file mode 100644 index 000000000..bff4fd304 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/OnVehicleData.h @@ -0,0 +1,198 @@ +// +// 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 NSRPC2COMMUNICATION_VEHICLEINFO_ONVEHICLEDATA_INCLUDE +#define NSRPC2COMMUNICATION_VEHICLEINFO_ONVEHICLEDATA_INCLUDE + +#include <string> +#include "JSONHandler/RPC2Notification.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/GPSData.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/PRNDL.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/TireStatus.h" + +/* + interface NsRPC2Communication::VehicleInfo + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace VehicleInfo + { + + class OnVehicleData : public ::NsRPC2Communication::RPC2Notification + { + public: + + OnVehicleData(const OnVehicleData& c); + OnVehicleData(void); + + OnVehicleData& operator =(const OnVehicleData&); + + virtual ~OnVehicleData(void); + + bool checkIntegrity(void); + +// getters + const NsSmartDeviceLinkRPCV2::GPSData* get_gps(void); + const float* get_speed(void); + const unsigned int* get_rpm(void); + const float* get_fuelLevel(void); + const float* get_avgFuelEconomy(void); + const float* get_batteryVoltage(void); + const float* get_externalTemperature(void); + const std::string* get_vin(void); + const NsSmartDeviceLinkRPCV2::PRNDL* get_prndl(void); + const NsSmartDeviceLinkRPCV2::TireStatus* get_tirePressure(void); + const float* get_batteryPackVoltage(void); + const float* get_batteryPackCurrent(void); + const int* get_batteryPackTemperature(void); + const int* get_engineTorque(void); + const unsigned int* get_odometer(void); + const unsigned int* get_tripOdometer(void); + const std::string* get_genericbinary(void); + +// setters + bool set_gps(const NsSmartDeviceLinkRPCV2::GPSData& gps); + + void reset_gps(void); + +/// -100 <= speed <= 500 + bool set_speed(const float& speed); + + void reset_speed(void); + +/// rpm <= 20000 + bool set_rpm(const unsigned int& rpm); + + void reset_rpm(void); + +/// 0 <= fuelLevel <= 100 + bool set_fuelLevel(const float& fuelLevel); + + void reset_fuelLevel(void); + +/// 0 <= avgFuelEconomy <= 7000 + bool set_avgFuelEconomy(const float& avgFuelEconomy); + + void reset_avgFuelEconomy(void); + +/// 0 <= batteryVoltage <= 26 + bool set_batteryVoltage(const float& batteryVoltage); + + void reset_batteryVoltage(void); + +/// -40 <= externalTemperature <= 100 + bool set_externalTemperature(const float& externalTemperature); + + void reset_externalTemperature(void); + +/// vin <= 17 + bool set_vin(const std::string& vin); + + void reset_vin(void); + + bool set_prndl(const NsSmartDeviceLinkRPCV2::PRNDL& prndl); + + void reset_prndl(void); + + bool set_tirePressure(const NsSmartDeviceLinkRPCV2::TireStatus& tirePressure); + + void reset_tirePressure(void); + +/// -1000 <= batteryPackVoltage <= 1000 + bool set_batteryPackVoltage(const float& batteryPackVoltage); + + void reset_batteryPackVoltage(void); + +/// -1000 <= batteryPackCurrent <= 1000 + bool set_batteryPackCurrent(const float& batteryPackCurrent); + + void reset_batteryPackCurrent(void); + +/// -50 <= batteryPackTemperature <= 250 + bool set_batteryPackTemperature(const int& batteryPackTemperature); + + void reset_batteryPackTemperature(void); + +/// -10000 <= engineTorque <= 55000 + bool set_engineTorque(const int& engineTorque); + + void reset_engineTorque(void); + +/// odometer <= 2000000 + bool set_odometer(const unsigned int& odometer); + + void reset_odometer(void); + +/// tripOdometer <= 2000000 + bool set_tripOdometer(const unsigned int& tripOdometer); + + void reset_tripOdometer(void); + +/// genericbinary <= 500 + bool set_genericbinary(const std::string& genericbinary); + + void reset_genericbinary(void); + + + private: + + friend class OnVehicleDataMarshaller; + + NsSmartDeviceLinkRPCV2::GPSData* gps; + float* speed; + unsigned int* rpm; + float* fuelLevel; + float* avgFuelEconomy; + float* batteryVoltage; + float* externalTemperature; + std::string* vin; + NsSmartDeviceLinkRPCV2::PRNDL* prndl; + NsSmartDeviceLinkRPCV2::TireStatus* tirePressure; + float* batteryPackVoltage; + float* batteryPackCurrent; + int* batteryPackTemperature; + int* engineTorque; + unsigned int* odometer; + unsigned int* tripOdometer; + std::string* genericbinary; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/RPC2.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/RPC2.h new file mode 100644 index 000000000..63fb0bc48 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/RPC2.h @@ -0,0 +1,61 @@ +// +// 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 NSRPC2COMMUNICATION_VEHICLEINFO_RPC2_INCLUDE +#define NSRPC2COMMUNICATION_VEHICLEINFO_RPC2_INCLUDE + +#include <string> +#include <json/json.h> + +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/VehicleInfo/GetDTCs.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/VehicleInfo/GetDTCsResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/VehicleInfo/GetVehicleData.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/VehicleInfo/GetVehicleDataResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/VehicleInfo/GetVehicleType.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/VehicleInfo/GetVehicleTypeResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/VehicleInfo/OnVehicleData.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/VehicleInfo/ReadDID.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/VehicleInfo/ReadDIDResponse.h" + +#include "../src/../include/JSONHandler/RPC2Objects/Marshaller.h" + + +/* + interface NsRPC2Communication::VehicleInfo + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/ReadDID.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/ReadDID.h new file mode 100644 index 000000000..dd5c6a2c0 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/ReadDID.h @@ -0,0 +1,102 @@ +// +// 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 NSRPC2COMMUNICATION_VEHICLEINFO_READDID_INCLUDE +#define NSRPC2COMMUNICATION_VEHICLEINFO_READDID_INCLUDE + +#include <vector> +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::VehicleInfo + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace VehicleInfo + { + + class ReadDID : public ::NsRPC2Communication::RPC2Request + { + public: + + ReadDID(const ReadDID& c); + ReadDID(void); + + ReadDID& operator =(const ReadDID&); + + virtual ~ReadDID(void); + + bool checkIntegrity(void); + +// getters + unsigned int get_ecuName(void); + + const std::vector< unsigned int>& get_didLocation(void); + + const bool* get_encrypted(void); + int get_appId(void); + + +// setters +/// ecuName <= 65535 + bool set_ecuName(unsigned int ecuName); + +/// didLocation[] <= 65535 ; 0 <= size <= 1000 + bool set_didLocation(const std::vector< unsigned int>& didLocation); + + bool set_encrypted(const bool& encrypted); + + void reset_encrypted(void); + + bool set_appId(int appId); + + + private: + + friend class ReadDIDMarshaller; + + unsigned int ecuName; + std::vector< unsigned int> didLocation; + bool* encrypted; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/ReadDIDResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/ReadDIDResponse.h new file mode 100644 index 000000000..23ff4d6e4 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/ReadDIDResponse.h @@ -0,0 +1,95 @@ +// +// 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 NSRPC2COMMUNICATION_VEHICLEINFO_READDIDRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_VEHICLEINFO_READDIDRESPONSE_INCLUDE + +#include <string> +#include <vector> +#include "JSONHandler/RPC2Response.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/VehicleDataResultCode.h" + +/* + interface NsRPC2Communication::VehicleInfo + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace VehicleInfo + { + + class ReadDIDResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + ReadDIDResponse(const ReadDIDResponse& c); + ReadDIDResponse(void); + + ReadDIDResponse& operator =(const ReadDIDResponse&); + + virtual ~ReadDIDResponse(void); + + bool checkIntegrity(void); + +// getters + const std::vector< NsSmartDeviceLinkRPCV2::VehicleDataResultCode>* get_dataResult(void); + const std::vector< std::string>* get_data(void); + +// setters +/// 0 <= size <= 1000 + bool set_dataResult(const std::vector< NsSmartDeviceLinkRPCV2::VehicleDataResultCode>& dataResult); + + void reset_dataResult(void); + +/// data[] <= 5000 ; 0 <= size <= 1000 + bool set_data(const std::vector< std::string>& data); + + void reset_data(void); + + + private: + + friend class ReadDIDResponseMarshaller; + + std::vector< NsSmartDeviceLinkRPCV2::VehicleDataResultCode>* dataResult; + std::vector< std::string>* data; + + }; + } +} + +#endif |