diff options
Diffstat (limited to 'SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo')
10 files changed, 0 insertions, 1084 deletions
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 deleted file mode 100644 index 2d0995875..000000000 --- a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/GetDTCs.h +++ /dev/null @@ -1,95 +0,0 @@ -// -// Copyright (c) 2013, Ford Motor Company -// All rights reserved. -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are met: -// -// Redistributions of source code must retain the above copyright notice, this -// list of conditions and the following disclaimer. -// -// Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following -// disclaimer in the documentation and/or other materials provided with the -// distribution. -// -// Neither the name of the Ford Motor Company nor the names of its contributors -// may be used to endorse or promote products derived from this software -// without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -// POSSIBILITY OF SUCH DAMAGE. -// - -#ifndef 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 deleted file mode 100644 index 90e77bac9..000000000 --- a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/GetDTCsResponse.h +++ /dev/null @@ -1,87 +0,0 @@ -// -// Copyright (c) 2013, Ford Motor Company -// All rights reserved. -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are met: -// -// Redistributions of source code must retain the above copyright notice, this -// list of conditions and the following disclaimer. -// -// Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following -// disclaimer in the documentation and/or other materials provided with the -// distribution. -// -// Neither the name of the Ford Motor Company nor the names of its contributors -// may be used to endorse or promote products derived from this software -// without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -// POSSIBILITY OF SUCH DAMAGE. -// - -#ifndef 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 deleted file mode 100644 index 4f340faf7..000000000 --- a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/GetVehicleData.h +++ /dev/null @@ -1,89 +0,0 @@ -// -// Copyright (c) 2013, Ford Motor Company -// All rights reserved. -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are met: -// -// Redistributions of source code must retain the above copyright notice, this -// list of conditions and the following disclaimer. -// -// Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following -// disclaimer in the documentation and/or other materials provided with the -// distribution. -// -// Neither the name of the Ford Motor Company nor the names of its contributors -// may be used to endorse or promote products derived from this software -// without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -// POSSIBILITY OF SUCH DAMAGE. -// - -#ifndef 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 deleted file mode 100644 index 3b638a466..000000000 --- a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/GetVehicleDataResponse.h +++ /dev/null @@ -1,198 +0,0 @@ -// -// Copyright (c) 2013, Ford Motor Company -// All rights reserved. -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are met: -// -// Redistributions of source code must retain the above copyright notice, this -// list of conditions and the following disclaimer. -// -// Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following -// disclaimer in the documentation and/or other materials provided with the -// distribution. -// -// Neither the name of the Ford Motor Company nor the names of its contributors -// may be used to endorse or promote products derived from this software -// without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -// POSSIBILITY OF SUCH DAMAGE. -// - -#ifndef 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 deleted file mode 100644 index 8162d4c00..000000000 --- a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/GetVehicleType.h +++ /dev/null @@ -1,75 +0,0 @@ -// -// Copyright (c) 2013, Ford Motor Company -// All rights reserved. -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are met: -// -// Redistributions of source code must retain the above copyright notice, this -// list of conditions and the following disclaimer. -// -// Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following -// disclaimer in the documentation and/or other materials provided with the -// distribution. -// -// Neither the name of the Ford Motor Company nor the names of its contributors -// may be used to endorse or promote products derived from this software -// without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -// POSSIBILITY OF SUCH DAMAGE. -// - -#ifndef 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 deleted file mode 100644 index 32293a341..000000000 --- a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/GetVehicleTypeResponse.h +++ /dev/null @@ -1,84 +0,0 @@ -// -// Copyright (c) 2013, Ford Motor Company -// All rights reserved. -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are met: -// -// Redistributions of source code must retain the above copyright notice, this -// list of conditions and the following disclaimer. -// -// Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following -// disclaimer in the documentation and/or other materials provided with the -// distribution. -// -// Neither the name of the Ford Motor Company nor the names of its contributors -// may be used to endorse or promote products derived from this software -// without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -// POSSIBILITY OF SUCH DAMAGE. -// - -#ifndef 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 deleted file mode 100644 index bff4fd304..000000000 --- a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/OnVehicleData.h +++ /dev/null @@ -1,198 +0,0 @@ -// -// Copyright (c) 2013, Ford Motor Company -// All rights reserved. -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are met: -// -// Redistributions of source code must retain the above copyright notice, this -// list of conditions and the following disclaimer. -// -// Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following -// disclaimer in the documentation and/or other materials provided with the -// distribution. -// -// Neither the name of the Ford Motor Company nor the names of its contributors -// may be used to endorse or promote products derived from this software -// without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -// POSSIBILITY OF SUCH DAMAGE. -// - -#ifndef 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 deleted file mode 100644 index 63fb0bc48..000000000 --- a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/RPC2.h +++ /dev/null @@ -1,61 +0,0 @@ -// -// Copyright (c) 2013, Ford Motor Company -// All rights reserved. -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are met: -// -// Redistributions of source code must retain the above copyright notice, this -// list of conditions and the following disclaimer. -// -// Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following -// disclaimer in the documentation and/or other materials provided with the -// distribution. -// -// Neither the name of the Ford Motor Company nor the names of its contributors -// may be used to endorse or promote products derived from this software -// without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -// POSSIBILITY OF SUCH DAMAGE. -// - -#ifndef 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 deleted file mode 100644 index dd5c6a2c0..000000000 --- a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/ReadDID.h +++ /dev/null @@ -1,102 +0,0 @@ -// -// Copyright (c) 2013, Ford Motor Company -// All rights reserved. -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are met: -// -// Redistributions of source code must retain the above copyright notice, this -// list of conditions and the following disclaimer. -// -// Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following -// disclaimer in the documentation and/or other materials provided with the -// distribution. -// -// Neither the name of the Ford Motor Company nor the names of its contributors -// may be used to endorse or promote products derived from this software -// without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -// POSSIBILITY OF SUCH DAMAGE. -// - -#ifndef 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 deleted file mode 100644 index 23ff4d6e4..000000000 --- a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/VehicleInfo/ReadDIDResponse.h +++ /dev/null @@ -1,95 +0,0 @@ -// -// Copyright (c) 2013, Ford Motor Company -// All rights reserved. -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are met: -// -// Redistributions of source code must retain the above copyright notice, this -// list of conditions and the following disclaimer. -// -// Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following -// disclaimer in the documentation and/or other materials provided with the -// distribution. -// -// Neither the name of the Ford Motor Company nor the names of its contributors -// may be used to endorse or promote products derived from this software -// without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -// POSSIBILITY OF SUCH DAMAGE. -// - -#ifndef 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 |