add HKL_V4M DaVinci
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<AUTOSAR xsi:schemaLocation="http://autosar.org/schema/r4.0 AUTOSAR_4-0-3.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://autosar.org/schema/r4.0">
|
||||
<AR-PACKAGES>
|
||||
<AR-PACKAGE UUID="70b06acc-1c0f-4d27-a81b-2439b97363b1">
|
||||
<SHORT-NAME>MICROSAR</SHORT-NAME>
|
||||
<ELEMENTS>
|
||||
<ECUC-MODULE-CONFIGURATION-VALUES UUID="02da231c-8c5b-4ac3-a826-9856d4c16007">
|
||||
<SHORT-NAME>EcuC_Rec</SHORT-NAME>
|
||||
<DEFINITION-REF DEST="ECUC-MODULE-DEF">/MICROSAR/EcuC</DEFINITION-REF>
|
||||
<IMPLEMENTATION-CONFIG-VARIANT>VARIANT-PRE-COMPILE</IMPLEMENTATION-CONFIG-VARIANT>
|
||||
<CONTAINERS></CONTAINERS>
|
||||
</ECUC-MODULE-CONFIGURATION-VALUES>
|
||||
</ELEMENTS>
|
||||
</AR-PACKAGE>
|
||||
</AR-PACKAGES>
|
||||
</AUTOSAR>
|
||||
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<license xmlns="urn:vector:schema:license" version="1.0">
|
||||
<deliveries>
|
||||
<delivery id="CBD2100679_D00">
|
||||
<subprojectnumber>CBD2100679</subprojectnumber>
|
||||
<deliverynumber>0</deliverynumber>
|
||||
<sipnumber>26.07.14</sipnumber>
|
||||
<customername>DaVinci MCAL SIP</customername>
|
||||
<customerprogramname>MSR_Vector_SLP4</customerprogramname>
|
||||
<orderedderivative>not_relevant</orderedderivative>
|
||||
<showbetadisclaimer>false</showbetadisclaimer>
|
||||
<supportemail>Support@vector.com</supportemail>
|
||||
</delivery>
|
||||
</deliveries>
|
||||
<paramset idref="CBD2100679_D00" consumer="DaVinciConfigurator">
|
||||
<param>
|
||||
<key>CE32055C-CA13-4FEA-AB72-B48A0DC7CB6D</key>
|
||||
<value>5FA45F8E-0AFB-4072-9C95-E563BFE8B95A</value>
|
||||
</param>
|
||||
</paramset>
|
||||
</license>
|
||||
<!-- 464235ABAB1FD2687CC8BE502606D97649A14E00697D549A2783371E24C0B7A08A1AF1F04AE6EBDF2D00E0FC316A3CBB16081779AF73D2E0D68D3C9E1E93A11C5B1805AEC1C4DD4181E1BC6F5E265470A5AC30F3969FD65E28BDC64E9244FF95508B641D231F242EBCAEC9B27BB6A7FBE1100F4F47796A725C24BD14433CCF6A3621A7025134EA6A580F0037EFBF513D9E9F7BCEA7CF15299EA5A2463B61C42A1E62FF19D74BD204F87DCD82F2471B17D8B4DF3044E54BD8AA73A4967A81CEB096F57E227FD639206F37FA8A4B08C0F2D2DD3352404D72C4E3195A3B87686D0ACA5F6D7E2EDB8ED7D826C883826B552A0F685A0BBAF52EFF316D65B85E3A5770 -->
|
||||
Binary file not shown.
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<Settings>
|
||||
<Settings Name="com.vector.cfg.SipPathLookup">
|
||||
<Setting Name="PCKG-C61EBEE0-5B1F-4C95-B2F1-E201A14FF09D:DVMcDataConverter.exe:dir" Value="Misc\McDataConv\Application"/>
|
||||
</Settings>
|
||||
</Settings>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<Settings>
|
||||
<Settings Name="com.vector.cfg.gen.McDataConverter_proxy.settings.Settings">
|
||||
<Setting Name="McDataConverterFolder" Value="$(SipRootPath)\$(PCKG-C61EBEE0-5B1F-4C95-B2F1-E201A14FF09D:DVMcDataConverter.exe:dir)"/>
|
||||
<Setting Name="LicenseFileFolder" Value="$(SipRootPath)\Components\McDataConv"/>
|
||||
</Settings>
|
||||
</Settings>
|
||||
@@ -0,0 +1,257 @@
|
||||
/*********************************************************************************************************************
|
||||
* COPYRIGHT
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
* \verbatim
|
||||
* Copyright (c) 2013 by Vector Informatik GmbH. All rights reserved.
|
||||
*
|
||||
* This software is copyright protected and proprietary to Vector Informatik GmbH.
|
||||
* Vector Informatik GmbH grants to you only those rights as set out in the license conditions.
|
||||
* All other rights remain with Vector Informatik GmbH.
|
||||
* \endverbatim
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
* FILE DESCRIPTION
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
* File: ComStack_Types.h
|
||||
* Component: -
|
||||
* Module: -
|
||||
* Generator: -
|
||||
*
|
||||
* Description: Provision of Comunication Stack Types
|
||||
*
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
* MISRA VIOLATIONS
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
*
|
||||
*
|
||||
*********************************************************************************************************************/
|
||||
|
||||
/**********************************************************************************************************************
|
||||
* AUTHOR IDENTITY
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
* Name Initials Company
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
* Joachim Kalmbach Jk Vector Informatik GmbH
|
||||
* Gunnar Meiss Ms Vector Informatik GmbH
|
||||
* Heike Honert Ht Vector Informatik GmbH
|
||||
* Eugen Stripling Seu Vector Informatik GmbH
|
||||
* David Feuerstein visdfe Vector Informatik GmbH
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
* REVISION HISTORY
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
* Version Date Author Change Id Description
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
* 01.00.00 2007-08-01 Jk Initial creation
|
||||
* 03.00.00 2007-09-14 Jk Addaption for AUTOSAR 3.0 / NetworkHandleType added
|
||||
* 03.00.01 2007-11-20 Jk Version defines for CFG management added
|
||||
* 03.01.00 2008-03-18 Jk Version defines changed to specification version
|
||||
* 03.01.01 2008-04-18 Ms ESCAN00026158 Support more than 255 Pdus per component
|
||||
* Ms ESCAN00026165 COMSTACKTYPE_VENDOR_ID
|
||||
* Ms ESCAN00028208 Remove non ISO-5.2.1 Characters
|
||||
* 03.02.00 2008-07-16 Jk BUSTRCV_E_OK added (specification inconsistency ComStackTypes <-> FrTrcv)
|
||||
* 03.02.01 2008-10-30 Lo Fixed COMSTACKTYPE_AR_MAJOR_VERSION
|
||||
* 03.02.02 2009-06-15 Ht ESCAN00035189 Compiler Error due to storage qualifier used in struct definition
|
||||
* 03.03.00 2010-03-23 Ht ESCAN00041756 support TPParameterType
|
||||
* 03.03.01 2010-05-11 Ht ESCAN00042906 correct version defines COMMONASR__COMMON_IMPL_COMSTACKTYPES..
|
||||
* 03.04.00 2011-03-04 Ht support ASR 4.0R1
|
||||
* 03.04.01 2011-02-28 visht ESCAN00049578 incorrect BSW version scan information
|
||||
* 03.04.02 2011-04-15 visht support TP_NORETRY for TpDataStateType (used in CANTP and PDURouter)
|
||||
* 04.00.00 2012-07-19 visht ESCAN00058421 support ASR 4.0 R3 (support TPParameterType as enum, include generated ComStack_Cfg.h)
|
||||
* 04.00.01 2012-08-31 visht version define corrected - replace PATCH by REVISION - (COMSTACKTYPE_AR_RELEASE_REVISION_VERSION, COMSTACKTYPE_AR_RELEASE_REVISION_VERSION)
|
||||
* 2012-10-23 visseu Add COMSTACKTYPE_MODULE_ID as specified in "AUTOSAR_TR_BSWModuleList.pdf" (R4.0 Rev 3)
|
||||
* 04.00.02 2013-01-10 visseu MISRA deviation comments added
|
||||
* 04.00.03 2013-05-29 visseu ESCAN00067745 Add general defines with prefix: COMTYPE
|
||||
* 04.01.00 2019-07-25 visdfe MSR4-28981 Change PNCHandleType to uint16
|
||||
*********************************************************************************************************************/
|
||||
|
||||
#ifndef COMSTACK_TYPES_H
|
||||
# define COMSTACK_TYPES_H
|
||||
|
||||
/* PRQA S 3453 COMSTACK_TYPES_3453_TAG */ /* MD_MSR_19.7 */
|
||||
/* PRQA S 0850 COMSTACK_TYPES_0850_TAG */ /* MD_MSR_19.8 */
|
||||
|
||||
/**********************************************************************************************************************
|
||||
* INCLUDES
|
||||
*********************************************************************************************************************/
|
||||
|
||||
# include "Std_Types.h"
|
||||
|
||||
# include "ComStack_Cfg.h"
|
||||
|
||||
/**********************************************************************************************************************
|
||||
* GLOBAL CONSTANT MACROS
|
||||
*********************************************************************************************************************/
|
||||
|
||||
/* ##V_CFG_MANAGEMENT ##CQProject : CommonAsr__Common CQComponent : Impl_ComStackTypes */
|
||||
# define COMMONASR__COMMON_IMPL_COMSTACKTYPES_VERSION 0x0401
|
||||
# define COMMONASR__COMMON_IMPL_COMSTACKTYPES_RELEASE_VERSION 0x00
|
||||
|
||||
/* AUTOSAR Software Specification Version Information */
|
||||
/* AUTOSAR release 4.0 R3 */
|
||||
# define COMSTACKTYPE_AR_RELEASE_MAJOR_VERSION (4u)
|
||||
# define COMSTACKTYPE_AR_RELEASE_MINOR_VERSION (0u)
|
||||
# define COMSTACKTYPE_AR_RELEASE_REVISION_VERSION (3u)
|
||||
|
||||
# if defined COMSTACKTYPE_AR_RELEASE_REVISION_VERSION
|
||||
# define COMSTACKTYPE_AR_RELEASE_PATCH_VERSION COMSTACKTYPE_AR_RELEASE_REVISION_VERSION
|
||||
/* ESCAN00067745 */
|
||||
# define COMTYPE_AR_RELEASE_MAJOR_VERSION COMSTACKTYPE_AR_RELEASE_MAJOR_VERSION
|
||||
# define COMTYPE_AR_RELEASE_MINOR_VERSION COMSTACKTYPE_AR_RELEASE_MINOR_VERSION
|
||||
# define COMTYPE_AR_RELEASE_REVISION_VERSION COMSTACKTYPE_AR_RELEASE_REVISION_VERSION
|
||||
# define COMTYPE_AR_RELEASE_PATCH_VERSION COMSTACKTYPE_AR_RELEASE_REVISION_VERSION
|
||||
# endif
|
||||
|
||||
|
||||
/* Component Version Information */
|
||||
# define COMSTACKTYPE_SW_MAJOR_VERSION (4u)
|
||||
# define COMSTACKTYPE_SW_MINOR_VERSION (0u)
|
||||
# define COMSTACKTYPE_SW_PATCH_VERSION (3u)
|
||||
|
||||
/* ESCAN00067745 */
|
||||
# define COMTYPE_SW_MAJOR_VERSION COMSTACKTYPE_SW_MAJOR_VERSION
|
||||
# define COMTYPE_SW_MINOR_VERSION COMSTACKTYPE_SW_MINOR_VERSION
|
||||
# define COMTYPE_SW_PATCH_VERSION COMSTACKTYPE_SW_PATCH_VERSION
|
||||
|
||||
# define COMSTACKTYPE_VENDOR_ID (30u) /* SREQ00015385, SREQ00015364, SREQ00015372 */
|
||||
# define COMSTACKTYPE_MODULE_ID (196u) /* SREQ00015385, SREQ00015364, SREQ00015372 */
|
||||
|
||||
/* ESCAN00067745 */
|
||||
# define COMTYPE_VENDOR_ID COMSTACKTYPE_VENDOR_ID
|
||||
# define COMTYPE_MODULE_ID COMSTACKTYPE_MODULE_ID
|
||||
|
||||
/*General return codes for NotifResultType*/
|
||||
|
||||
# define NTFRSLT_OK 0x00 /*Action has been successfully finished:
|
||||
- message sent out (in case of confirmation),
|
||||
- message received (in case of indication) */
|
||||
# define NTFRSLT_E_NOT_OK 0x01 /*Error notification:
|
||||
- message not successfully sent out (in case of confirmation),
|
||||
- message not successfully received (in case of indication) */
|
||||
# define NTFRSLT_E_TIMEOUT_A 0x02 /*Error notification:
|
||||
- timer N_Ar/N_As (according to ISO specification [ISONM]) has passed its time-out value N_Asmax/N_Armax.
|
||||
This value can be issued to service user on both the sender and receiver side. */
|
||||
# define NTFRSLT_E_TIMEOUT_BS 0x03 /*Error notification:
|
||||
- timer N_Bs has passed its time-out value N_Bsmax (according to ISO specification [ISONM]).
|
||||
This value can be issued to the service user on the sender side only. */
|
||||
# define NTFRSLT_E_TIMEOUT_CR 0x04 /*Error notification:
|
||||
- timer N_Cr has passed its time-out value N_Crmax.
|
||||
This value can be issued to the service user on the receiver side only. */
|
||||
# define NTFRSLT_E_WRONG_SN 0x05 /*Error notification:
|
||||
- unexpected sequence number (PCI.SN) value received.
|
||||
This value can be issued to the service user on the receiver side only. */
|
||||
# define NTFRSLT_E_INVALID_FS 0x06 /*Error notification:
|
||||
- invalid or unknown FlowStatus value has been received in a flow control (FC) N_PDU.
|
||||
This value can be issued to the service user on the sender side only. */
|
||||
# define NTFRSLT_E_UNEXP_PDU 0x07 /*Error notification:
|
||||
- unexpected protocol data unit received.
|
||||
This value can be issued to the service user on both the sender and receiver side. */
|
||||
# define NTFRSLT_E_WFT_OVRN 0x08 /*Error notification:
|
||||
- flow control WAIT frame that exceeds the maximum counter N_WFTmax received.
|
||||
This value can be issued to the service user on the receiver side. */
|
||||
|
||||
# define NTFRSLT_E_ABORT 0x09 /*Error notification:
|
||||
- Flow control (FC) N_PDU with FlowStatus = ABORT received.
|
||||
It indicates an abort of a transmission. A possible reason for this is that the receiver is currently busy and
|
||||
can not take the request at that point in time. */
|
||||
# define NTFRSLT_E_NO_BUFFER 0x0A /*Error notification:
|
||||
- flow control (FC) N_PDU with FlowStatus = OVFLW received.
|
||||
It indicates that the buffer on the receiver side of a segmented message transmission
|
||||
cannot store the number of bytes specified by the FirstFrame DataLength (FF_DL) parameter
|
||||
in the FirstFrame and therefore the transmission of the 19 of 23 AUTOSAR_SWS_ComStackTypes
|
||||
segmented message was aborted.
|
||||
- no buffer within the TP available to transmit the segmented I-PDU.
|
||||
This value can be issued to the service user on both the sender and receiver side. */
|
||||
# define NTFRSLT_E_CANCELATION_OK 0x0B /*Action has been successfully finished:
|
||||
- Requested cancellation has been executed.*/
|
||||
# define NTFRSLT_E_CANCELATION_NOT_OK 0x0C /*Error notification:
|
||||
- Due to an internal error the requested cancelation has not been executed. This will happen e.g., if the to be canceled transmission has been executed already.*/
|
||||
|
||||
|
||||
/* extension since R4.0 R1 */
|
||||
# define NTFRSLT_PARAMETER_OK 0x0D /* The parameter change request has been successfully executed */
|
||||
# define NTFRSLT_E_PARAMETER_NOT_OK 0x0E /* The request for the change of the parameter did not complete successfully */
|
||||
# define NTFRSLT_E_RX_ON 0x0F /* The parameter change request not executed successfully due to an ongoing reception */
|
||||
# define NTFRSLT_E_VALUE_NOT_OK 0x10 /* The parameter change request not executed successfully due to a wrong value */
|
||||
|
||||
/* 0x11-0x1E Reserved values for future usage. */
|
||||
|
||||
|
||||
/*General return codes for BusTrcvErrorType*/
|
||||
# define BUSTRCV_OK 0x00
|
||||
/*BUSTRCV_E_OK needed by FrTrcv specification inconcistency between ComStackTypes and FrTrcv*/
|
||||
# define BUSTRCV_E_OK 0x00
|
||||
# define BUSTRCV_E_ERROR 0x01
|
||||
|
||||
|
||||
|
||||
/**********************************************************************************************************************
|
||||
* GLOBAL FUNCTION MACROS
|
||||
*********************************************************************************************************************/
|
||||
|
||||
|
||||
/**********************************************************************************************************************
|
||||
* GLOBAL DATA TYPES AND STRUCTURES
|
||||
*********************************************************************************************************************/
|
||||
|
||||
|
||||
typedef P2VAR(uint8, TYPEDEF, AUTOSAR_COMSTACKDATA) SduDataPtrType;
|
||||
typedef struct
|
||||
{
|
||||
SduDataPtrType SduDataPtr;
|
||||
PduLengthType SduLength;
|
||||
} PduInfoType;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
BUFREQ_OK, /*Buffer request accomplished successful.*/
|
||||
BUFREQ_E_NOT_OK, /*Buffer request not successful. Buffer cannot be accessed.*/
|
||||
BUFREQ_E_BUSY, /*Temporarily no buffer available. It's up the requestor to retry request for a certain time.*/
|
||||
BUFREQ_E_OVFL /*No Buffer of the required length can be provided.*/
|
||||
} BufReq_ReturnType;
|
||||
|
||||
typedef uint8 NotifResultType;
|
||||
|
||||
typedef uint8 BusTrcvErrorType;
|
||||
|
||||
typedef uint8 NetworkHandleType;
|
||||
|
||||
typedef uint16 PNCHandleType; /* Neccessary for partial network. Deviation from SWS_COMTYPE_00036 for ASR Version <= 4.4.0 */
|
||||
|
||||
typedef enum
|
||||
{
|
||||
TP_DATACONF, /* TP_DATACONF indicates that all data, that have been copied so far, are confirmed and can be
|
||||
removed from the TP buffer. Data copied by this API call are excluded and will be confirmed later. */
|
||||
TP_DATARETRY, /* TP_DATARETRY indicates that this API call shall copy already copied data in order to recover from
|
||||
an error. In this case TxTpDataCnt specifies the offset of the first byte to be copied by the API call. */
|
||||
TP_CONFPENDING
|
||||
} TpDataStateType;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
TpDataStateType TpDataState;
|
||||
PduLengthType TxTpDataCnt;
|
||||
} RetryInfoType;
|
||||
|
||||
|
||||
typedef enum
|
||||
{
|
||||
TP_STMIN, /* Separation Time */
|
||||
TP_BS, /* Block Size */
|
||||
TP_BC /* The Band width control parameter used in FlexRay transport protocol module. */
|
||||
} TPParameterType;
|
||||
/**********************************************************************************************************************
|
||||
* GLOBAL DATA PROTOTYPES
|
||||
*********************************************************************************************************************/
|
||||
|
||||
|
||||
/**********************************************************************************************************************
|
||||
* GLOBAL FUNCTION PROTOTYPES
|
||||
*********************************************************************************************************************/
|
||||
|
||||
/* PRQA L:COMSTACK_TYPES_3453_TAG */
|
||||
/* PRQA L:COMSTACK_TYPES_0850_TAG */
|
||||
|
||||
#endif /* COMSTACK_TYPES_H */
|
||||
|
||||
/**********************************************************************************************************************
|
||||
* END OF FILE: ComStack_Types.h
|
||||
*********************************************************************************************************************/
|
||||
158
2_Branches/V4M_HKL/Components/_Common/Implementation/Std_Types.h
Normal file
158
2_Branches/V4M_HKL/Components/_Common/Implementation/Std_Types.h
Normal file
@@ -0,0 +1,158 @@
|
||||
/**********************************************************************************************************************
|
||||
* COPYRIGHT
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
* \verbatim
|
||||
* Copyright (c) 2019 by Vector Informatik GmbH. All rights reserved.
|
||||
*
|
||||
* This software is copyright protected and proprietary to Vector Informatik GmbH.
|
||||
* Vector Informatik GmbH grants to you only those rights as set out in the license conditions.
|
||||
* All other rights remain with Vector Informatik GmbH.
|
||||
* \endverbatim
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
* FILE DESCRIPTION
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
* File: Std_Types.h
|
||||
* Component: -
|
||||
* Module: -
|
||||
* Generator: -
|
||||
*
|
||||
* Description: Provision of Standard Types
|
||||
*
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
* MISRA VIOLATIONS
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
*
|
||||
*
|
||||
*********************************************************************************************************************/
|
||||
|
||||
/**********************************************************************************************************************
|
||||
* AUTHOR IDENTITY
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
* Name Initials Company
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
* Joachim Kalmbach Jk Vector Informatik
|
||||
* Heike Honert visht Vector Informatik
|
||||
* Eugen Stripling visseu Vector Informatik
|
||||
* David Feuerstein visdfe Vector Informatik
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
* REVISION HISTORY
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
* Version Date Author Change Id Description
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
* 01.00.00 2007-08-01 Jk Initial creation
|
||||
* 03.00.00 2007-10-10 Jk Changes for AUTOSAR 3.0
|
||||
* 03.00.01 2007-11-20 Jk Version defines for CFG management added
|
||||
* 03.01.00 2008-03-05 Jk Include order changed
|
||||
* 03.02.00 2008-03-18 Jk Version defines changed to specification version
|
||||
* 03.03.00 2008-06-03 Jk changed ModuleId Type in Std_VersionInfoType from uint8 to uint16
|
||||
* 03.03.01 2009-11-11 visht ESCAN00038201 Support the Standard Type E_PENDING
|
||||
* 03.04.00 2011-02-15 visht support ASR 4.0R1
|
||||
* 03.04.01 2011-02-28 visht ESCAN00049579 incorrect BSW version scan information
|
||||
* 03.04.02 2012-08-23 visht version define corrected - replace PATCH by REVISION - (STD_TYPES_AR_RELEASE_REVISION_VERSION)
|
||||
* 2012-10-23 visseu Add _VENDOR_ID and _MODULE_ID as specified in "AUTOSAR_TR_BSWModuleList.pdf" (R4.0 Rev 3)
|
||||
* 03.04.03 2013-02-13 visseu No changes, only SW version corrected
|
||||
* 03.04.04 2013-05-29 visseu ESCAN00067740 Add general defines with prefix: STD
|
||||
* 03.04.05 2019-03-18 visdfe OI-10000 Remove E_PENDING from Std_Types.h
|
||||
*********************************************************************************************************************/
|
||||
|
||||
#ifndef STD_TYPES_H
|
||||
# define STD_TYPES_H
|
||||
|
||||
/**********************************************************************************************************************
|
||||
* INCLUDES
|
||||
*********************************************************************************************************************/
|
||||
|
||||
# include "Platform_Types.h"
|
||||
# include "Compiler.h"
|
||||
|
||||
/**********************************************************************************************************************
|
||||
* GLOBAL CONSTANT MACROS
|
||||
*********************************************************************************************************************/
|
||||
|
||||
|
||||
# define STD_TYPES_VENDOR_ID (30u) /* SREQ00015345, SREQ00015361 */
|
||||
# define STD_TYPES_MODULE_ID (197u) /* SREQ00015345, SREQ00015361 */
|
||||
|
||||
/* ESCAN00067740 */
|
||||
# define STD_VENDOR_ID STD_TYPES_VENDOR_ID
|
||||
# define STD_MODULE_ID STD_TYPES_MODULE_ID
|
||||
|
||||
/* ##V_CFG_MANAGEMENT ##CQProject : CommonAsr__Common CQComponent : Impl_StdTypes */
|
||||
# define COMMONASR__COMMON_IMPL_STDTYPES_VERSION 0x0304
|
||||
# define COMMONASR__COMMON_IMPL_STDTYPES_RELEASE_VERSION 0x05
|
||||
|
||||
/* AUTOSAR Software Specification Version Information */
|
||||
/* AUTOSAR release 4.0 R3 */
|
||||
# define STD_TYPES_AR_RELEASE_MAJOR_VERSION (4u)
|
||||
# define STD_TYPES_AR_RELEASE_MINOR_VERSION (0u)
|
||||
# define STD_TYPES_AR_RELEASE_REVISION_VERSION (3u)
|
||||
|
||||
/* ESCAN00067740 */
|
||||
# define STD_AR_RELEASE_MAJOR_VERSION STD_TYPES_AR_RELEASE_MAJOR_VERSION
|
||||
# define STD_AR_RELEASE_MINOR_VERSION STD_TYPES_AR_RELEASE_MINOR_VERSION
|
||||
# define STD_AR_RELEASE_REVISION_VERSION STD_TYPES_AR_RELEASE_REVISION_VERSION
|
||||
|
||||
/* Component Version Information */
|
||||
# define STD_TYPES_SW_MAJOR_VERSION (3u)
|
||||
# define STD_TYPES_SW_MINOR_VERSION (4u)
|
||||
# define STD_TYPES_SW_PATCH_VERSION (5u)
|
||||
|
||||
/* ESCAN00067740 */
|
||||
# define STD_SW_MAJOR_VERSION STD_TYPES_SW_MAJOR_VERSION
|
||||
# define STD_SW_MINOR_VERSION STD_TYPES_SW_MINOR_VERSION
|
||||
# define STD_SW_PATCH_VERSION STD_TYPES_SW_PATCH_VERSION
|
||||
|
||||
# define STD_HIGH 1u /* Physical state 5V or 3.3V */
|
||||
# define STD_LOW 0u /* Physical state 0V */
|
||||
|
||||
# define STD_ACTIVE 1u /* Logical state active */
|
||||
# define STD_IDLE 0u /* Logical state idle */
|
||||
|
||||
# define STD_ON 1u
|
||||
# define STD_OFF 0u
|
||||
|
||||
/**********************************************************************************************************************
|
||||
* GLOBAL FUNCTION MACROS
|
||||
*********************************************************************************************************************/
|
||||
|
||||
|
||||
/**********************************************************************************************************************
|
||||
* GLOBAL DATA TYPES AND STRUCTURES
|
||||
*********************************************************************************************************************/
|
||||
|
||||
/* This typedef has been added for OSEK compliance */
|
||||
# ifndef STATUSTYPEDEFINED
|
||||
# define STATUSTYPEDEFINED
|
||||
# define E_OK 0u
|
||||
typedef unsigned char StatusType; /* OSEK compliance */
|
||||
# endif
|
||||
|
||||
# define E_NOT_OK 1u
|
||||
|
||||
typedef uint8 Std_ReturnType;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
uint16 vendorID;
|
||||
uint16 moduleID;
|
||||
uint8 sw_major_version;
|
||||
uint8 sw_minor_version;
|
||||
uint8 sw_patch_version;
|
||||
} Std_VersionInfoType;
|
||||
|
||||
|
||||
/**********************************************************************************************************************
|
||||
* GLOBAL DATA PROTOTYPES
|
||||
*********************************************************************************************************************/
|
||||
|
||||
|
||||
/**********************************************************************************************************************
|
||||
* GLOBAL FUNCTION PROTOTYPES
|
||||
*********************************************************************************************************************/
|
||||
|
||||
|
||||
#endif /* STD_TYPES_H */
|
||||
|
||||
/**********************************************************************************************************************
|
||||
* END OF FILE: Std_Types.h
|
||||
*********************************************************************************************************************/
|
||||
@@ -0,0 +1,176 @@
|
||||
/**********************************************************************************************************************
|
||||
* COPYRIGHT
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
* \verbatim
|
||||
* Copyright (c) 2007 - 2013 by Vector Informatik GmbH. All rights reserved.
|
||||
*
|
||||
* Please note, that this file contains example configuration used by the
|
||||
* MICROSAR BSW. This code may influence the behaviour of the MICROSAR BSW
|
||||
* in principle. Therefore, great care must be taken to verify
|
||||
* the correctness of the implementation.
|
||||
*
|
||||
* The contents of the originally delivered files are only examples respectively
|
||||
* implementation proposals. With regard to the fact that these functions
|
||||
* are meant for demonstration purposes only, the liability of Vector Informatik
|
||||
* shall be expressly excluded in cases of ordinary negligence,
|
||||
* to the extent admissible by law or statute.
|
||||
* \endverbatim
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
* FILE DESCRIPTION
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
* File: _Compiler_Cfg.h
|
||||
* Component: -
|
||||
* Module: -
|
||||
* Generator: -
|
||||
*
|
||||
* Description: This File is a template for the Compiler_Cfg.h
|
||||
* This file has to be extended with the memory and pointer classes for all BSW modules
|
||||
* which where used.
|
||||
*
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
* MISRA VIOLATIONS
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
*
|
||||
*
|
||||
*********************************************************************************************************************/
|
||||
|
||||
/**********************************************************************************************************************
|
||||
* AUTHOR IDENTITY
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
* Name Initials Company
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
* Joachim Kalmbach Jk Vector Informatik GmbH
|
||||
* Heike Honert Ht Vector Informatik GmbH
|
||||
* Eugen Stripling Seu Vector Informatik GmbH
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
* REVISION HISTORY
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
* Version Date Author Change Id Description
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
* 01.00.00 2007-08-01 Jk Initial creation
|
||||
* 01.01.00 2007-12-14 Jk Component specific defines filtering added
|
||||
* 01.01.01 2008-12-17 Ht Improve list of components (Tp_AsrTpCan,Tp_AsrTpFr,DrvMcu,DrvIcu added)
|
||||
* 01.01.02 2009-04-27 Ht support OEM specific _compiler_cfg.inc file, improve list of components
|
||||
* (Cp_XcpOnCanAsr, Il_AsrIpduM, If_VxFblDcm, If_VxFblVpm_Volvo_ab, DrvFls added)
|
||||
* 01.01.03 2009-04-24 Msr Renamed J1939_AsrBase as TpJ1939_AsrBase
|
||||
* 01.01.04 2009-06-03 Ht Improve list of components (Adc, Dio, Gpt, Pwm, Spi, Wdg, Fls, Port, Fim)
|
||||
* 01.02.00 2009-08-01 Ht Improve list of components (Fee_30_Inst2, Can, ...Sub)
|
||||
* Support filtering for RTE
|
||||
* 01.02.01 2009-09-02 Lo add external Flash driver support
|
||||
* 01.02.02 2009-09-21 Lo add DrvFls_Mcs12xFslftm01ExtVx
|
||||
* Ht Improve list of components (CanTrcv_30_Tja1040dio,
|
||||
* Eth, EthTrcv, EthIf, SoAd, TcpIp, EthSM)
|
||||
* 01.03.00 2009-10-30 Ht support R8: change EthTrcv to EthTrcv_30_Canoeemu
|
||||
* support EthTrcv_30_Dp83848
|
||||
* change CanTrcv_30_Xdio to CanTrcv_30___Your_Trcv__
|
||||
* change CanTrcv_30_Tja1040dio to CanTrcv_30_Tja1041
|
||||
* change name FrTrcv to FrTrcv_30_Tja1080dio
|
||||
* Lo add Cp_AsrXcp
|
||||
* Ht add Cp_XcpOnFrAsr
|
||||
* 01.03.01 2010-01-13 Ht support SysService_AsrCal
|
||||
* 01.03.02 2010-02-15 Ht support SysService_SswRcs_Daimler, SysService_Tls, Tp_Http,
|
||||
* SysService_Dns, SysService_Json, DrvTrans_GenericLindioAsr
|
||||
* Lo add Diag_AsrDem for all OEMs
|
||||
* rename internal variables and filter methods
|
||||
* 01.04.00 2010-03-04 Ht change name FrTrcv_30_Tja1080dio to FrTrcv_30_Tja1080
|
||||
* 01.04.01 2010-03-10 Ht support DrvTrans_GenericFrAsr, DrvTrans_As8223FrspiAsr, DrvEep and If_AsrIfEa
|
||||
* 01.04.02 2010-04-07 Lo change IfFee to real components and add If_AsrIfWdV85xNec01Sub
|
||||
* 01.04.03 2010-06-11 Ht add CanTrcv_30_Tja1043
|
||||
* Lo add Il_AsrIpduMEbBmwSub
|
||||
* 01.04.04 2010-08-24 Ht add CanTrcv_30_Tle62512G, DrvEep_XAt25128EAsr, Tp_AsrTpFrEbBmwSub
|
||||
* 01.05.00 2010-08-24 Ht support R10:
|
||||
* change LinTrcv_30_Tle7259dio to LinTrcv_30_Tle7259
|
||||
* 01.05.01 2010-10-14 Ht add VStdLib, SysService_SswScc, SysService_IpBase, SysService_Crypto
|
||||
* 01.05.02 2010-10-20 Ht support comments for Package Merge Tool
|
||||
* 01.05.03 2010-11-03 Ht add SysService_E2eLibTttechSub, SysService_E2ePwTttechSub
|
||||
* 01.05.04 2010-11-16 Ht add SysService_Exi, DrvTrans_Int6400EthAsr, Cdd_AsrCdd_Fiat, Diag_AsrDem_Fiat,
|
||||
* 01.05.05 2010-12-17 Ht add SysService_AsrSchM, DrvEep_XXStubAsr, DrvIcu_Tms570Tinhet01ExtVx
|
||||
* DrvWd_XTle4278gEAsr, DrvWd_XXStubAsr
|
||||
* 01.05.06 2011-02-17 Ht add DrvEed, SysService_AsrBswM
|
||||
* 01.05.07 2011-03-04 Ht add DrvTrans_Tja1055CandioAsr
|
||||
* rename CanTrcv_30_Tja1040dio to CanTrcv_30_Tja1040
|
||||
* add SysService_XmlEngine
|
||||
* 01.06.00 2011-03-04 Ht support ASR4.0
|
||||
* add Ccl_Asr4ComM, Ccl_Asr4SmCan, Nm_Asr4NmIf, Nm_AsrNmDirOsek
|
||||
* 01.06.01 2011-04-15 Ht add Diag_AsrDcm_<OEM>
|
||||
* 01.06.02 2011-06-17 Ht correct Diag_AsrDcm_<OEM>
|
||||
* add Monitoring_AsrDlt and Monitoring_GenericMeasurement
|
||||
* 01.06.03 2011-09-01 Ht add DrvTrans_Tja1145CanSpiAsr, DrvTrans_E52013CanspiAsr, DrvFls_XXStubAsr,
|
||||
* If_AsrIfFeeV85xNec05Sub, If_AsrIfFeeV85xNec06Sub, If_AsrIfFeeV85xNec07Sub
|
||||
* SysService_AsrWdMTttechSub and If_AsrIfWdTttechSub
|
||||
* 01.06.04 2011-10-20 Ht ESCAN00054334: add If_AsrIfFeeTiSub
|
||||
* ESCAN00054719: add Cdd_AsrCdd
|
||||
* 01.06.05 2011-12-09 Ht add Tp_IpV4, Tp_IpV6
|
||||
* 01.06.06 2011-12-14 Ht add Monitoring_RuntimeMeasurement
|
||||
* 01.06.07 2012-01-03 Ht add DrvI2c, SysService_Asr4BswM
|
||||
* 01.06.08 2012-01-31 Ht add DrvTrans_Ar7000EthAsr, DrvTrans_GenericEthmiiAsr
|
||||
* 01.06.09 2012-03-06 Ht add If_AsrIfFeeMb9df126Fuji01Sub,
|
||||
* Infineon_Tc1767Inf01Sub, Infineon_Tc178xInf01Sub, Infineon_Tc1797Inf01Sub, Infineon_Tc1797Inf02Sub
|
||||
* 01.06.10 2012-03-13 Ht add Gw_AsrPduRCfg5, Il_AsrComCfg5, Il_AsrIpduMCfg5, Cdd_AsrCddCfg5,
|
||||
* Tp_Asr4TpCan, Diag_Asr4Dcm, Diag_Asr4Dem
|
||||
* 01.06.11 2012-03-20 Ht add Cp_AsrCcp, Cp_XcpOnTcpIpAsr
|
||||
* 01.07.00 2012-07-26 Ht add Nm_Asr4NmCan, Nm_Asr4NmFr, Infineon_Xc2000Inf01Sub, Ccl_Asr4ComMCfg5, SysService_Asr4BswMCfg5, SysService_Asr4EcuM, SysService_AsrRamTst,
|
||||
* Ccl_Asr4SmLin
|
||||
* add define REGSPACE - add support for ASR specification 4.0 R3
|
||||
* 01.07.01 2012-10-23 Seu add SysService_XmlSecurity
|
||||
* 01.07.02 2013-12-16 Seu MISRA compliance: usage of character "'" removed, typos corrected
|
||||
*********************************************************************************************************************/
|
||||
#ifndef COMPILER_CFG_H
|
||||
#define COMPILER_CFG_H
|
||||
|
||||
/**********************************************************************************************************************
|
||||
* INCLUDES
|
||||
*********************************************************************************************************************/
|
||||
/* Package Merger: Start Section CompilerCfgIncludes */
|
||||
|
||||
|
||||
|
||||
/* Package Merger: Stop Section CompilerCfgIncludes */
|
||||
|
||||
/**********************************************************************************************************************
|
||||
* GLOBAL CONSTANT MACROS
|
||||
*********************************************************************************************************************/
|
||||
|
||||
#define AUTOSAR_COMSTACKDATA
|
||||
|
||||
#define MSR_REGSPACE REGSPACE
|
||||
|
||||
/* Configurable memory class for pointers to registers (e.g. static volatile CONSTP2VAR(uint16, PWM_CONST, REGSPACE)). */
|
||||
#define REGSPACE
|
||||
|
||||
|
||||
/* due to compatibility to ASR 2.1 */
|
||||
#define _STATIC_ STATIC
|
||||
#define _INLINE_ INLINE
|
||||
|
||||
/* Package Merger: Start Section CompilerCfgModuleList */
|
||||
|
||||
|
||||
|
||||
/* Package Merger: Stop Section CompilerCfgModuleList */
|
||||
|
||||
/**********************************************************************************************************************
|
||||
* GLOBAL FUNCTION MACROS
|
||||
*********************************************************************************************************************/
|
||||
|
||||
|
||||
/**********************************************************************************************************************
|
||||
* GLOBAL DATA TYPES AND STRUCTURES
|
||||
*********************************************************************************************************************/
|
||||
|
||||
|
||||
/**********************************************************************************************************************
|
||||
* GLOBAL DATA PROTOTYPES
|
||||
*********************************************************************************************************************/
|
||||
|
||||
|
||||
/**********************************************************************************************************************
|
||||
* GLOBAL FUNCTION PROTOTYPES
|
||||
*********************************************************************************************************************/
|
||||
|
||||
|
||||
#endif /* COMPILER_CFG_H */
|
||||
|
||||
/**********************************************************************************************************************
|
||||
* END OF FILE: Compiler_Cfg.h
|
||||
*********************************************************************************************************************/
|
||||
191
2_Branches/V4M_HKL/Components/_Common/Implementation/_MemMap.h
Normal file
191
2_Branches/V4M_HKL/Components/_Common/Implementation/_MemMap.h
Normal file
@@ -0,0 +1,191 @@
|
||||
/**********************************************************************************************************************
|
||||
* COPYRIGHT
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
* \verbatim
|
||||
* Copyright (c) 2021 by Vector Informatik GmbH. All rights reserved.
|
||||
*
|
||||
* Please note, that this file contains example configuration used by the
|
||||
* MICROSAR BSW. This code may influence the behaviour of the MICROSAR BSW
|
||||
* in principle. Therefore, great care must be taken to verify
|
||||
* the correctness of the implementation.
|
||||
*
|
||||
* The contents of the originally delivered files are only examples respectively
|
||||
* implementation proposals. With regard to the fact that these functions
|
||||
* are meant for demonstration purposes only, the liability of Vector Informatik
|
||||
* shall be expressly excluded in cases of ordinary negligence,
|
||||
* to the extent admissible by law or statute.
|
||||
* \endverbatim
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
* FILE DESCRIPTION
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
* File: _MemMap.h
|
||||
* Component: -
|
||||
* Module: -
|
||||
* Generator: -
|
||||
*
|
||||
* Description: This File is a template for the MemMap.h
|
||||
* This file has to be extended with the memory section defined for all BSW modules
|
||||
* which are used.
|
||||
*
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
* MISRA VIOLATIONS
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
*
|
||||
*
|
||||
*********************************************************************************************************************/
|
||||
|
||||
/**********************************************************************************************************************
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
* REVISION HISTORY
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
* Version Date Author Change Id Description
|
||||
* -------------------------------------------------------------------------------------------------------------------
|
||||
* 01.00.00 2007-08-01 Jk Initial creation
|
||||
* 01.01.00 2007-12-14 Jk Component specific defines filtering added
|
||||
* 01.01.02 2008-11-04 Jk Component specific defines filtering added
|
||||
* 01.01.03 2008-12-17 Ht Improve list of components (Tp_AsrTpCan,Tp_AsrTpFr,DrvMcu,DrvIcu added)
|
||||
* 01.01.04 2009-04-27 Ht improve list of components (Cp_XcpOnCanAsr, Il_AsrIpduM, If_VxFblDcm,
|
||||
* If_VxFblVpm_Volvo_ab, DrvFls added)
|
||||
* 01.01.05 2009-04-24 Msr Renamed J1939_AsrBase as TpJ1939_AsrBase
|
||||
* 01.01.06 2009-06-03 Ht Improve list of components (Adc, Dio, Gpt, Pwm, Spi, Wdg, Fls, Port, Fim)
|
||||
* 01.02.00 2009-08-01 Ht Improve list of components (Fee_30_Inst2, Can, ...Sub)
|
||||
* Support filtering for RTE
|
||||
* 01.02.01 2009-08-18 HH replaced C++ comment by C comment
|
||||
* 01.02.02 2009-09-02 Lo add external Flash driver support
|
||||
* 01.02.03 2009-09-12 Lo add DrvFls_Mcs12xFslftm01ExtVx
|
||||
* Ht Improve list of components (CanTrcv_30_Tja1040dio,
|
||||
* Eth, EthTrcv, EthIf, SoAd, TcpIp, EthSM)
|
||||
* 01.03.00 2009-10-30 Ht support R8: change EthTrcv to EthTrcv_30_Canoeemu
|
||||
* support EthTrcv_30_Dp83848
|
||||
* change CanTrcv_30_Xdio to CanTrcv_30___Your_Trcv__
|
||||
* change CanTrcv_30_Tja1040dio to CanTrcv_30_Tja1041
|
||||
* change name FrTrcv to FrTrcv_30_Tja1080dio
|
||||
* Lo add Cp_AsrXcp
|
||||
* Ht add Cp_XcpOnFrAsr
|
||||
* 01.03.01 2010-01-13 Ht support SysService_AsrCal
|
||||
* 01.03.02 2010-02-15 Ht support SysService_SswRcs_Daimler, SysService_Tls, Tp_Http,
|
||||
* SysService_Dns, SysService_Json, DrvTrans_GenericLindioAsr
|
||||
* Lo add Diag_AsrDem for all OEMs
|
||||
* rename internal variables and filter methods
|
||||
* 01.04.00 2010-03-04 Ht change name FrTrcv_30_Tja1080dio to FrTrcv_30_Tja1080
|
||||
* 01.04.01 2010-03-10 Ht support DrvTrans_GenericFrAsr, DrvTrans_As8223FrspiAsr, DrvEep and If_AsrIfEa
|
||||
* 01.04.02 2010-04-07 Lo change IfFee to real components and add If_AsrIfWdV85xNec01Sub
|
||||
* 01.04.03 2010-06-11 Ht add CanTrcv_30_Tja1043
|
||||
* Lo add Il_AsrIpduMEbBmwSub
|
||||
* 01.04.04 2010-08-24 Ht add CanTrcv_30_Tle62512G, DrvEep_XAt25128EAsr, Tp_AsrTpFrEbBmwSub
|
||||
* 01.05.00 2010-08-24 Ht support R10:
|
||||
* change LinTrcv_30_Tle7259dio to LinTrcv_30_Tle7259
|
||||
* 01.05.01 2010-10-14 Ht add VStdLib, SysService_SswScc, SysService_IpBase, SysService_Crypto
|
||||
* 01.05.02 2010-10-20 Ht support comments for Package Merge Tool
|
||||
* 01.05.03 2010-11-03 Ht add SysService_E2eLibTttechSub, SysService_E2ePwTttechSub
|
||||
* 01.05.04 2010-11-16 Ht add SysService_Exi, DrvTrans_Int6400EthAsr, Cdd_AsrCdd_Fiat, Diag_AsrDem_Fiat
|
||||
* 01.05.05 2010-12-17 Ht add SysService_AsrSchM, DrvEep_XXStubAsr, DrvIcu_Tms570Tinhet01ExtVx
|
||||
* DrvWd_XTle4278gEAsr, DrvWd_XXStubAsr
|
||||
* 01.05.06 2011-02-17 Ht add DrvEed, SysService_AsrBswM
|
||||
* 01.05.07 2011-03-04 Ht add DrvTrans_Tja1055CandioAsr
|
||||
* rename CanTrcv_30_Tja1040dio to CanTrcv_30_Tja1040
|
||||
* add SysService_XmlEngine
|
||||
* 01.06.00 2011-03-15 Ht support ASR4.0
|
||||
* add Ccl_Asr4ComM, Ccl_Asr4SmCan, Nm_Asr4NmIf, Nm_AsrNmDirOsek
|
||||
* 01.06.01 2011-04-15 Ht add Diag_AsrDcm_<OEM>
|
||||
* 01.06.02 2011-06-17 Ht correct Diag_AsrDcm_<OEM>
|
||||
* add Monitoring_AsrDlt and Monitoring_GenericMeasurement
|
||||
* 01.06.03 2011-09-20 Ht add DrvTrans_Tja1145CanSpiAsr, DrvTrans_E52013CanspiAsr, DrvFls_XXStubAsr,
|
||||
* If_AsrIfFeeV85xNec05Sub, If_AsrIfFeeV85xNec06Sub, If_AsrIfFeeV85xNec07Sub
|
||||
* SysService_AsrWdMTttechSub and If_AsrIfWdTttechSub
|
||||
* 01.06.04 2011-11-22 Ht add If_AsrIfFeeTiSub,
|
||||
* ESCAN00054718: add Cdd_AsrCdd
|
||||
* 01.06.05 2011-12-09 Ht add Tp_IpV4, Tp_IpV6
|
||||
* 01.06.06 2011-12-14 Ht add Monitoring_RuntimeMeasurement
|
||||
* 01.06.07 2012-01-03 Ht add DrvI2c, SysService_Asr4BswM
|
||||
* 01.06.08 2012-01-31 Ht add DrvTrans_Ar7000EthAsr, DrvTrans_GenericEthmiiAsr
|
||||
* 01.06.09 2012-03-06 Ht add If_AsrIfFeeMb9df126Fuji01Sub,
|
||||
* Infineon_Tc1767Inf01Sub, Infineon_Tc178xInf01Sub, Infineon_Tc1797Inf01Sub, Infineon_Tc1797Inf02Sub
|
||||
* 01.06.10 2012-03-13 Ht add Gw_AsrPduRCfg5, Il_AsrComCfg5, Il_AsrIpduMCfg5, Cdd_AsrCddCfg5,
|
||||
* Tp_Asr4TpCan, Diag_Asr4Dcm, Diag_Asr4Dem
|
||||
* 01.06.11 2012-03-20 Ht add Cp_AsrCcp, Cp_XcpOnTcpIpAsr
|
||||
* 01.07.00 2012-07-26 Ht ESCAN00059365: [AUTOSAR4, compiler warning]: Wrong define name in #undef statement causes re-definition warning
|
||||
* add Nm_Asr4NmCan, Nm_Asr4NmFr, Infineon_Xc2000Inf01Sub, Ccl_Asr4ComMCfg5, SysService_Asr4BswMCfg5, SysService_Asr4EcuM, SysService_AsrRamTst,
|
||||
* Ccl_Asr4SmLin
|
||||
* 2012-09-04 Ht add support for ASR specification 4.0 R3
|
||||
* 01.07.01 2012-10-23 Seu add SysService_XmlSecurity
|
||||
* 01.07.02 2013-01-10 Seu MISRA deviation comments added
|
||||
* 01.08.00 2013-03-01 Seu ESCAN00065501 AR4-325: Add support for Post-build RAM memory section
|
||||
* 2013-04-12 Seu ESCAN00066614 Add the deviation for violation of MISRA rule 19.6
|
||||
* 01.09.00 2013-12-10 Seu ESCAN00072537 Add *_NOCACHE_* memory sections for variables
|
||||
* 2013-12-16 Seu MISRA compliance: usage of character "'" removed, typos corrected
|
||||
* 01.10.00 2016-09-27 Seu FEATC-317: FEAT-2002: CommonAsr__Common: Support 64 Bit Signal Types for COM according to ASR 4.2.2
|
||||
* 01.11.00 2017-07-05 Seu ESCAN00095756 FEAT-2455: Support ASR4.2 compatible MemMap for MCALs
|
||||
* 2017-08-01 Seu ESCAN00096129 MEMMAP_SW_MINOR_VERSION / MEM_SW_MINOR_VERSION is not correct
|
||||
* 01.14.00 2021-06-10 visto HALBE-4596 Create a 3.xx.xx branch for <R27 Features
|
||||
*********************************************************************************************************************/
|
||||
|
||||
/* PRQA S 0841 MEMMAP_0841_TAG */ /* MD_MSR_19.6 */
|
||||
|
||||
/**********************************************************************************************************************
|
||||
* INCLUDES
|
||||
*********************************************************************************************************************/
|
||||
|
||||
/**********************************************************************************************************************
|
||||
* GLOBAL CONSTANT MACROS
|
||||
*********************************************************************************************************************/
|
||||
|
||||
/* PRQA S 0883 1 */ /* MD_MemMap_19.15 */
|
||||
#undef MEMMAP_VENDOR_ID /* PRQA S 0841 */ /* MD_MSR_19.6 */
|
||||
|
||||
#define MEMMAP_VENDOR_ID (30u)
|
||||
|
||||
/* AUTOSAR Software Specification Version Information */
|
||||
|
||||
|
||||
# undef MEMMAP_AR_RELEASE_MAJOR_VERSION /* PRQA S 0841 */ /* MD_MSR_19.6 */
|
||||
# undef MEMMAP_AR_RELEASE_MINOR_VERSION /* PRQA S 0841 */ /* MD_MSR_19.6 */
|
||||
# undef MEMMAP_AR_RELEASE_REVISION_VERSION /* PRQA S 0841 */ /* MD_MSR_19.6 */
|
||||
|
||||
/* AUTOSAR release 4.0 R3 */
|
||||
# define MEMMAP_AR_RELEASE_MAJOR_VERSION (4u)
|
||||
# define MEMMAP_AR_RELEASE_MINOR_VERSION (0u)
|
||||
# define MEMMAP_AR_RELEASE_REVISION_VERSION (3u)
|
||||
|
||||
/* compatiblity to older versions */
|
||||
# undef MEM_AR_RELEASE_MAJOR_VERSION /* PRQA S 0841 */ /* MD_MSR_19.6 */
|
||||
# undef MEM_AR_RELEASE_MINOR_VERSION /* PRQA S 0841 */ /* MD_MSR_19.6 */
|
||||
# undef MEM_AR_RELEASE_PATCH_VERSION /* PRQA S 0841 */ /* MD_MSR_19.6 */
|
||||
|
||||
# define MEM_AR_RELEASE_MAJOR_VERSION MEMMAP_AR_RELEASE_MAJOR_VERSION
|
||||
# define MEM_AR_RELEASE_MINOR_VERSION MEMMAP_AR_RELEASE_MINOR_VERSION
|
||||
# define MEM_AR_RELEASE_PATCH_VERSION MEMMAP_AR_RELEASE_REVISION_VERSION
|
||||
|
||||
|
||||
# undef MEMMAP_SW_MAJOR_VERSION /* PRQA S 0841 */ /* MD_MSR_19.6 */
|
||||
# undef MEMMAP_SW_MINOR_VERSION /* PRQA S 0841 */ /* MD_MSR_19.6 */
|
||||
# undef MEMMAP_SW_PATCH_VERSION /* PRQA S 0841 */ /* MD_MSR_19.6 */
|
||||
|
||||
# define MEMMAP_SW_MAJOR_VERSION (1u)
|
||||
# define MEMMAP_SW_MINOR_VERSION (14u)
|
||||
# define MEMMAP_SW_PATCH_VERSION (0u)
|
||||
|
||||
/* compatiblity to older versions */
|
||||
# undef MEM_SW_MAJOR_VERSION /* PRQA S 0841 */ /* MD_MSR_19.6 */
|
||||
# undef MEM_SW_MINOR_VERSION /* PRQA S 0841 */ /* MD_MSR_19.6 */
|
||||
# undef MEM_SW_PATCH_VERSION /* PRQA S 0841 */ /* MD_MSR_19.6 */
|
||||
|
||||
# define MEM_SW_MAJOR_VERSION MEMMAP_SW_MAJOR_VERSION
|
||||
# define MEM_SW_MINOR_VERSION MEMMAP_SW_MINOR_VERSION
|
||||
# define MEM_SW_PATCH_VERSION MEMMAP_SW_PATCH_VERSION
|
||||
|
||||
#define MEMMAP_ERROR
|
||||
|
||||
/* Package Merger: Start Section MemMapModuleList */
|
||||
|
||||
|
||||
|
||||
|
||||
/* PRQA L:MEMMAP_0841_TAG */
|
||||
|
||||
#include "MemMap_Common.h"
|
||||
|
||||
/**********************************************************************************************************************
|
||||
* END OF FILE: MemMap.h
|
||||
*********************************************************************************************************************/
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<license xmlns="urn:vector:schema:license" version="1.0">
|
||||
<deliveries>
|
||||
<delivery id="CBD2100679_D00">
|
||||
<subprojectnumber>CBD2100679</subprojectnumber>
|
||||
<deliverynumber>0</deliverynumber>
|
||||
<sipnumber>26.07.14</sipnumber>
|
||||
<customername>DaVinci MCAL SIP</customername>
|
||||
<customerprogramname>MSR_Vector_SLP4</customerprogramname>
|
||||
<orderedderivative>not_relevant</orderedderivative>
|
||||
<showbetadisclaimer>false</showbetadisclaimer>
|
||||
<supportemail>Support@vector.com</supportemail>
|
||||
</delivery>
|
||||
</deliveries>
|
||||
<paramset idref="CBD2100679_D00" consumer="DaVinciConfigurator">
|
||||
<param>
|
||||
<key>CE32055C-CA13-4FEA-AB72-B48A0DC7CB6D</key>
|
||||
<value>5FA45F8E-0AFB-4072-9C95-E563BFE8B95A</value>
|
||||
</param>
|
||||
</paramset>
|
||||
</license>
|
||||
<!-- 464235ABAB1FD2687CC8BE502606D97649A14E00697D549A2783371E24C0B7A08A1AF1F04AE6EBDF2D00E0FC316A3CBB16081779AF73D2E0D68D3C9E1E93A11C5B1805AEC1C4DD4181E1BC6F5E265470A5AC30F3969FD65E28BDC64E9244FF95508B641D231F242EBCAEC9B27BB6A7FBE1100F4F47796A725C24BD14433CCF6A3621A7025134EA6A580F0037EFBF513D9E9F7BCEA7CF15299EA5A2463B61C42A1E62FF19D74BD204F87DCD82F2471B17D8B4DF3044E54BD8AA73A4967A81CEB096F57E227FD639206F37FA8A4B08C0F2D2DD3352404D72C4E3195A3B87686D0ACA5F6D7E2EDB8ED7D826C883826B552A0F685A0BBAF52EFF316D65B85E3A5770 -->
|
||||
@@ -0,0 +1,5 @@
|
||||
#Eclipse Product File
|
||||
#Tue Apr 20 02:32:45 CEST 2021
|
||||
version=5.23.30.r102011
|
||||
name=DaVinci Configurator
|
||||
id=com.vector.cfg.gui.branding.dvcfg.product
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* AutomationInterface bootstrap
|
||||
*/
|
||||
apply from:'dvCfgAutomationBootstrap.gradle'
|
||||
|
||||
/*
|
||||
* AutomationInterface configuration
|
||||
*/
|
||||
dvCfgAutomation {
|
||||
classes project.ext.automationClasses
|
||||
}
|
||||
|
||||
/*
|
||||
* If spock test framework is needed, comment in this lines.
|
||||
*/
|
||||
// dependencies {
|
||||
// compileOnly("org.spockframework:spock-core:1.3-groovy-2.5"){
|
||||
// exclude group: 'org.codehaus.groovy', module: 'groovy-all'
|
||||
// }
|
||||
// }
|
||||
|
||||
@@ -0,0 +1,107 @@
|
||||
/*
|
||||
=============================================================================================================
|
||||
COPYRIGHT
|
||||
==============================================================================================================
|
||||
Copyright (c) 2019 by Vector Informatik GmbH. All rights reserved.
|
||||
|
||||
This software is copyright protected and proprietary to Vector Informatik GmbH.
|
||||
Vector Informatik GmbH grants to you only those rights as set out in the license conditions.
|
||||
All other rights remain with Vector Informatik GmbH.
|
||||
==============================================================================================================
|
||||
DESCRIPTION
|
||||
==============================================================================================================
|
||||
Project: DVCfgAutomationInterfaceGradle
|
||||
|
||||
Description: dvCfgAutomationBootstrap file for Gradle build of an AutomationClient.
|
||||
==============================================================================================================
|
||||
|
||||
==============================================================================================================
|
||||
AUTHOR IDENTITY
|
||||
==============================================================================================================
|
||||
Name Initials Company
|
||||
==============================================================================================================
|
||||
Andreas Turban virtu Vector Informatik GmbH
|
||||
==============================================================================================================
|
||||
REVISION HISTORY
|
||||
==============================================================================================================
|
||||
Version Date Author Change Id Description
|
||||
==============================================================================================================
|
||||
1.0.0 2016-05-25 virtu DAVID00132139 FEAT-1884: ScriptLoading inside of the DaVinci Configurator
|
||||
1.0.1 2016-11-17 virtu - dvCfgFromGenDevKitVersion property support added
|
||||
1.1.0 2019-01-18 virtu DAVID00139257 Adapt AI buildscript to new CLI folder
|
||||
1.1.1 2020-04-14 virkjt DVCFG-4802 Support Gradle 6 for script jar build
|
||||
==============================================================================================================
|
||||
*
|
||||
* DO NOT CHANGE THIS FILE
|
||||
*/
|
||||
|
||||
buildscript {
|
||||
apply from: 'projectConfig.gradle'
|
||||
// The current dvCfgAutomationBootstrapVersion
|
||||
project.ext.dvCfgAutomationBootstrapVersion = "1.1.1"
|
||||
|
||||
//checkForDvCfgInstallation
|
||||
if (!project.ext.has("dvCfgInstallation")) {
|
||||
if (project.ext.has("dvCfgFromGenDevKitVersion")) {
|
||||
//retrieve DvCfg from GenDevKit environment variable DVCFG_GEN_DEVENV
|
||||
def genDevKitVersion = project.ext.dvCfgFromGenDevKitVersion.toString().trim()
|
||||
String value = System.getenv("DVCFG_GEN_DEVENV");
|
||||
if (value == null) {
|
||||
throw new RuntimeException("The project.ext.dvCfgFromGenDevKitVersion property was set, but the environment variable 'DVCFG_GEN_DEVENV' does not exist on this machine. Please create the variable in your system.")
|
||||
}
|
||||
def genDevKitPath = new File(value, genDevKitVersion)
|
||||
if (!genDevKitPath.exists()) {
|
||||
throw new RuntimeException("The GenDevKit $genDevKitVersion is not installed on the system. Please install it to $genDevKitPath")
|
||||
}
|
||||
project.ext."dvCfgInstallation" = genDevKitPath
|
||||
|
||||
} else {
|
||||
throw new RuntimeException("The project.ext.dvCfgInstallation property does not exist. Please make sure that the projectConfig.gradle contains the project.ext.dvCfgInstallation property.")
|
||||
}
|
||||
}
|
||||
|
||||
def automationPath = new File(project.ext.dvCfgInstallation, "Core/AutomationInterface/buildLibs")
|
||||
if (!automationPath.exists()) {
|
||||
automationPath = new File(project.ext.dvCfgInstallation, "DaVinciConfigurator/Core/AutomationInterface/buildLibs")
|
||||
if (!automationPath.exists()) {
|
||||
automationPath = new File(project.ext.dvCfgInstallation, "CLI/Core/AutomationInterface/buildLibs")
|
||||
if (!automationPath.exists()) {
|
||||
throw new RuntimeException("The project.ext.dvCfgInstallation property does not point to a valid DaVinci Configurator or DaVinci Adaptive Configuration location. Please correct the property in projectConfig.gradle. Actual Path is: ${project.ext.dvCfgInstallation}")
|
||||
} else {
|
||||
project.ext.dvCfgInstallation = new File(project.ext.dvCfgInstallation, "CLI").absoluteFile
|
||||
}
|
||||
} else {
|
||||
project.ext.dvCfgInstallation = new File(project.ext.dvCfgInstallation, "DaVinciConfigurator").absoluteFile
|
||||
}
|
||||
}
|
||||
automationPath = automationPath.absoluteFile
|
||||
|
||||
repositories {
|
||||
ivy {
|
||||
url automationPath
|
||||
def code = {
|
||||
artifact "[artifact]-[revision](-[classifier])(.[ext])"
|
||||
ivy 'ivy.xml'
|
||||
}
|
||||
//patternLayout method only supported since Gradle 5.0
|
||||
def method = it.metaClass.getMetaMethod("patternLayout", code)
|
||||
if(method != null){
|
||||
metadataSources {
|
||||
artifact() // Needed since Gradle 6.0
|
||||
}
|
||||
it.patternLayout(code)
|
||||
}else{
|
||||
//Gradle < 5.0 fallback
|
||||
layout('pattern', code)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
classpath 'com.vector.cfg.build.gradle:DVCfgAutomationInterfaceGradle:1.+'
|
||||
}
|
||||
}
|
||||
|
||||
import com.vector.cfg.build.gradle.AutomationInterfaceGradlePlugin
|
||||
|
||||
apply plugin: AutomationInterfaceGradlePlugin
|
||||
Binary file not shown.
@@ -0,0 +1,5 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.2-bin.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
@@ -0,0 +1,172 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
##############################################################################
|
||||
##
|
||||
## Gradle start up script for UN*X
|
||||
##
|
||||
##############################################################################
|
||||
|
||||
# Attempt to set APP_HOME
|
||||
# Resolve links: $0 may be a link
|
||||
PRG="$0"
|
||||
# Need this for relative symlinks.
|
||||
while [ -h "$PRG" ] ; do
|
||||
ls=`ls -ld "$PRG"`
|
||||
link=`expr "$ls" : '.*-> \(.*\)$'`
|
||||
if expr "$link" : '/.*' > /dev/null; then
|
||||
PRG="$link"
|
||||
else
|
||||
PRG=`dirname "$PRG"`"/$link"
|
||||
fi
|
||||
done
|
||||
SAVED="`pwd`"
|
||||
cd "`dirname \"$PRG\"`/" >/dev/null
|
||||
APP_HOME="`pwd -P`"
|
||||
cd "$SAVED" >/dev/null
|
||||
|
||||
APP_NAME="Gradle"
|
||||
APP_BASE_NAME=`basename "$0"`
|
||||
|
||||
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
DEFAULT_JVM_OPTS='"-Xmx64m"'
|
||||
|
||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||
MAX_FD="maximum"
|
||||
|
||||
warn () {
|
||||
echo "$*"
|
||||
}
|
||||
|
||||
die () {
|
||||
echo
|
||||
echo "$*"
|
||||
echo
|
||||
exit 1
|
||||
}
|
||||
|
||||
# OS specific support (must be 'true' or 'false').
|
||||
cygwin=false
|
||||
msys=false
|
||||
darwin=false
|
||||
nonstop=false
|
||||
case "`uname`" in
|
||||
CYGWIN* )
|
||||
cygwin=true
|
||||
;;
|
||||
Darwin* )
|
||||
darwin=true
|
||||
;;
|
||||
MINGW* )
|
||||
msys=true
|
||||
;;
|
||||
NONSTOP* )
|
||||
nonstop=true
|
||||
;;
|
||||
esac
|
||||
|
||||
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
||||
|
||||
# Determine the Java command to use to start the JVM.
|
||||
if [ -n "$JAVA_HOME" ] ; then
|
||||
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
||||
# IBM's JDK on AIX uses strange locations for the executables
|
||||
JAVACMD="$JAVA_HOME/jre/sh/java"
|
||||
else
|
||||
JAVACMD="$JAVA_HOME/bin/java"
|
||||
fi
|
||||
if [ ! -x "$JAVACMD" ] ; then
|
||||
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
||||
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
fi
|
||||
else
|
||||
JAVACMD="java"
|
||||
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
fi
|
||||
|
||||
# Increase the maximum file descriptors if we can.
|
||||
if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
|
||||
MAX_FD_LIMIT=`ulimit -H -n`
|
||||
if [ $? -eq 0 ] ; then
|
||||
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
|
||||
MAX_FD="$MAX_FD_LIMIT"
|
||||
fi
|
||||
ulimit -n $MAX_FD
|
||||
if [ $? -ne 0 ] ; then
|
||||
warn "Could not set maximum file descriptor limit: $MAX_FD"
|
||||
fi
|
||||
else
|
||||
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
|
||||
fi
|
||||
fi
|
||||
|
||||
# For Darwin, add options to specify how the application appears in the dock
|
||||
if $darwin; then
|
||||
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
|
||||
fi
|
||||
|
||||
# For Cygwin, switch paths to Windows format before running java
|
||||
if $cygwin ; then
|
||||
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
|
||||
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
|
||||
JAVACMD=`cygpath --unix "$JAVACMD"`
|
||||
|
||||
# We build the pattern for arguments to be converted via cygpath
|
||||
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
|
||||
SEP=""
|
||||
for dir in $ROOTDIRSRAW ; do
|
||||
ROOTDIRS="$ROOTDIRS$SEP$dir"
|
||||
SEP="|"
|
||||
done
|
||||
OURCYGPATTERN="(^($ROOTDIRS))"
|
||||
# Add a user-defined pattern to the cygpath arguments
|
||||
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
|
||||
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
|
||||
fi
|
||||
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
||||
i=0
|
||||
for arg in "$@" ; do
|
||||
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
|
||||
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
|
||||
|
||||
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
|
||||
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
|
||||
else
|
||||
eval `echo args$i`="\"$arg\""
|
||||
fi
|
||||
i=$((i+1))
|
||||
done
|
||||
case $i in
|
||||
(0) set -- ;;
|
||||
(1) set -- "$args0" ;;
|
||||
(2) set -- "$args0" "$args1" ;;
|
||||
(3) set -- "$args0" "$args1" "$args2" ;;
|
||||
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
|
||||
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
|
||||
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
|
||||
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
|
||||
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
|
||||
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Escape application args
|
||||
save () {
|
||||
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
|
||||
echo " "
|
||||
}
|
||||
APP_ARGS=$(save "$@")
|
||||
|
||||
# Collect all arguments for the java command, following the shell quoting and substitution rules
|
||||
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
|
||||
|
||||
# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
|
||||
if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
|
||||
cd "$(dirname "$0")"
|
||||
fi
|
||||
|
||||
exec "$JAVACMD" "$@"
|
||||
@@ -0,0 +1,84 @@
|
||||
@if "%DEBUG%" == "" @echo off
|
||||
@rem ##########################################################################
|
||||
@rem
|
||||
@rem Gradle startup script for Windows
|
||||
@rem
|
||||
@rem ##########################################################################
|
||||
|
||||
@rem Set local scope for the variables with windows NT shell
|
||||
if "%OS%"=="Windows_NT" setlocal
|
||||
|
||||
set DIRNAME=%~dp0
|
||||
if "%DIRNAME%" == "" set DIRNAME=.
|
||||
set APP_BASE_NAME=%~n0
|
||||
set APP_HOME=%DIRNAME%
|
||||
|
||||
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
set DEFAULT_JVM_OPTS="-Xmx64m"
|
||||
|
||||
@rem Find java.exe
|
||||
if defined JAVA_HOME goto findJavaFromJavaHome
|
||||
|
||||
set JAVA_EXE=java.exe
|
||||
%JAVA_EXE% -version >NUL 2>&1
|
||||
if "%ERRORLEVEL%" == "0" goto init
|
||||
|
||||
echo.
|
||||
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
echo.
|
||||
echo Please set the JAVA_HOME variable in your environment to match the
|
||||
echo location of your Java installation.
|
||||
|
||||
goto fail
|
||||
|
||||
:findJavaFromJavaHome
|
||||
set JAVA_HOME=%JAVA_HOME:"=%
|
||||
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
||||
|
||||
if exist "%JAVA_EXE%" goto init
|
||||
|
||||
echo.
|
||||
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
|
||||
echo.
|
||||
echo Please set the JAVA_HOME variable in your environment to match the
|
||||
echo location of your Java installation.
|
||||
|
||||
goto fail
|
||||
|
||||
:init
|
||||
@rem Get command-line arguments, handling Windows variants
|
||||
|
||||
if not "%OS%" == "Windows_NT" goto win9xME_args
|
||||
|
||||
:win9xME_args
|
||||
@rem Slurp the command line arguments.
|
||||
set CMD_LINE_ARGS=
|
||||
set _SKIP=2
|
||||
|
||||
:win9xME_args_slurp
|
||||
if "x%~1" == "x" goto execute
|
||||
|
||||
set CMD_LINE_ARGS=%*
|
||||
|
||||
:execute
|
||||
@rem Setup the command line
|
||||
|
||||
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
|
||||
|
||||
@rem Execute Gradle
|
||||
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
|
||||
|
||||
:end
|
||||
@rem End local scope for the variables with windows NT shell
|
||||
if "%ERRORLEVEL%"=="0" goto mainEnd
|
||||
|
||||
:fail
|
||||
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
||||
rem the _cmd.exe /c_ return code!
|
||||
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
|
||||
exit /b 1
|
||||
|
||||
:mainEnd
|
||||
if "%OS%"=="Windows_NT" endlocal
|
||||
|
||||
:omega
|
||||
@@ -0,0 +1,11 @@
|
||||
/*
|
||||
* Project wide settings
|
||||
*/
|
||||
project.version = '1.0.0'
|
||||
project.ext.automationClasses = [
|
||||
"MyScript"
|
||||
, "MyScriptTestSuite"
|
||||
]
|
||||
|
||||
// Please specify the path to your DaVinci Configurator installation in your SIP.
|
||||
project.ext.dvCfgInstallation = new File("<PATH-TO-DaVinciConfiguratorFolder-INSIDE-OF-SIP> e.g. D:/Testing/MyDelivery/external/DaVinciConfigurator")
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
import static com.vector.cfg.automation.api.ScriptApi.*
|
||||
|
||||
daVinci {
|
||||
// unitTestTask("<MYTEST>", <TEST>.class)
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
import static com.vector.cfg.automation.api.ScriptApi.*
|
||||
|
||||
//daVinci enables the IDE code completion support
|
||||
daVinci {
|
||||
|
||||
/*
|
||||
* Task: SimpleApplTask
|
||||
* Type: DV_APPLICATION
|
||||
* -------------------------------------------------------------------------------------------------------
|
||||
* Prints "HelloApplication" to console and logs a message to the scriptLogger
|
||||
* -------------------------------------------------------------------------------------------------------
|
||||
*/
|
||||
scriptTask("SimpleApplTask", DV_APPLICATION) {
|
||||
taskDescription 'Prints "HelloApplication" to console and logs a message to the scriptLogger'
|
||||
|
||||
taskHelp '''Simple Application task to show the creation of a task.
|
||||
The task will print "HelloApplication" to console.
|
||||
Logs the message "Logging message from the script" to the scriptLogger.
|
||||
'''
|
||||
|
||||
code{
|
||||
|
||||
println "HelloApplication"
|
||||
scriptLogger.info "Logging message from the script"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
import static com.vector.cfg.automation.api.ScriptApi.*
|
||||
|
||||
//daVinci enables the IDE code completion support
|
||||
daVinci {
|
||||
scriptDescription "Creates a new Dpa Project and activates Det, Dio and EcuC modules"
|
||||
|
||||
/*
|
||||
* Task: CreateNewProject
|
||||
* Type: DV_APPLICATION
|
||||
* -------------------------------------------------------------------------------------------------------
|
||||
* Creates a new project and activates Det, Dio and EcuC modules
|
||||
* -------------------------------------------------------------------------------------------------------
|
||||
*/
|
||||
scriptTask("CreateNewProject", DV_APPLICATION) {
|
||||
taskDescription 'Creates a new Dpa Project and activates Det, Dio and EcuC modules'
|
||||
|
||||
taskHelp '''CreateNewProject script task
|
||||
The task creates a project in the Script temp folder with the name "projectFolder".
|
||||
Activates the modules /MICROSAR/Det, /MICROSAR/Dio and /MICROSAR/EcuC
|
||||
And saves the project to disk
|
||||
'''
|
||||
|
||||
code {
|
||||
// Create a new Project
|
||||
def theProject = projects.createProject {
|
||||
projectName 'TheProject'
|
||||
projectFolder paths.resolveTempPath("projectFolder")
|
||||
|
||||
general {
|
||||
description 'The Project Description'
|
||||
createStartMenuEntries false
|
||||
}
|
||||
|
||||
daVinciDeveloper{
|
||||
createDaVinciDeveloperWorkspace false
|
||||
}
|
||||
}
|
||||
|
||||
//Now load the new project
|
||||
theProject.openProject {
|
||||
//Do something the opened project
|
||||
|
||||
transaction {
|
||||
operations.activateModuleConfiguration(sipDefRef.Det)
|
||||
operations.activateModuleConfiguration(sipDefRef.Dio)
|
||||
operations.activateModuleConfiguration(sipDefRef.EcuC)
|
||||
}
|
||||
|
||||
saveProject()
|
||||
}
|
||||
|
||||
scriptLogger.info("Project created and modules added and saved to: $theProject")
|
||||
theProject
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
import static com.vector.cfg.automation.api.ScriptApi.*
|
||||
|
||||
//daVinci enables the IDE code completion support
|
||||
daVinci {
|
||||
scriptDescription "Changes the shortname of a Signal which is included in the communication Extract"
|
||||
|
||||
/*
|
||||
* Task: ChangeShortName
|
||||
* Type: DV_ON_FILE_PREPROCESSING_RESULT
|
||||
* -------------------------------------------------------------------------------------------------------
|
||||
* Changes the shortname of a Signal which is included in the communication Extract
|
||||
* -------------------------------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
scriptTask("ChangeShortName", DV_ON_FILE_PREPROCESSING_RESULT) {
|
||||
taskDescription 'Changes the shortname of a Signal'
|
||||
|
||||
taskHelp '''ChangeShortName script task
|
||||
The task changes with the MdfModel the shortname of a Signal which is included in the communication Extract.
|
||||
'''
|
||||
|
||||
code {
|
||||
def asrPath = AsrPath.create("/DaVinci/ABC_ClusterCANCluster/ABC_ISignal/Signal_Bool_Msg_Bool")
|
||||
transaction {
|
||||
mdfModel(asrPath) {
|
||||
name = "Test"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
import static com.vector.cfg.automation.api.ScriptApi.*
|
||||
import com.vector.cfg.consistency.EValidationSeverityType
|
||||
|
||||
//daVinci enables the IDE code completion support
|
||||
daVinci {
|
||||
scriptDescription "GenerationStep script task, which is executed during generation"
|
||||
|
||||
/*
|
||||
* Task: GenStepTask
|
||||
* Type: DV_GENERATION_STEP
|
||||
* -------------------------------------------------------------------------------------------------------
|
||||
* Executes the script task code as generation step and report a validation result
|
||||
* -------------------------------------------------------------------------------------------------------
|
||||
*/
|
||||
scriptTask("GenStepTask", DV_GENERATION_STEP){
|
||||
taskDescription "GenerationStep task"
|
||||
|
||||
code{ phase, genType, resultSinkFromTask ->
|
||||
|
||||
if(phase.calculation){
|
||||
// Execute code before / after calculation
|
||||
|
||||
transaction {
|
||||
// Modify the Model in the calculation phase
|
||||
}
|
||||
}
|
||||
|
||||
if(phase.validation){
|
||||
// Execute code before / after validation
|
||||
|
||||
// Report a validation result
|
||||
validation{
|
||||
resultCreation{
|
||||
// The ValidationResultId group multiple results
|
||||
def valId = createValidationResultIdForScriptTask(
|
||||
/* ID */ 1234,
|
||||
/* Description */ "Summary of the ValidationResultId",
|
||||
/* Severity */ EValidationSeverityType.ERROR
|
||||
)
|
||||
|
||||
// Create a new resultBuilder
|
||||
def builder = newResultBuilder(valId, "Description of the Result")
|
||||
|
||||
// You can add multiple elements are error objects to mark them
|
||||
builder.addErrorObject(sipDefRef.EcucGeneral.bswmdModel().single)
|
||||
// Add more calls when needed
|
||||
|
||||
// Create the result from the builder
|
||||
def valResult = builder.buildResult()
|
||||
|
||||
// Report the result
|
||||
resultSinkFromTask.reportValidationResult(valResult)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(phase.generation){
|
||||
// Execute code before / after generation
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
import static com.vector.cfg.automation.api.ScriptApi.*
|
||||
|
||||
import com.vector.cfg.automation.model.ecuc.microsar.ecuc.EcuC
|
||||
import com.vector.cfg.automation.model.ecuc.microsar.ecuc.ecucgeneral.EcucGeneral
|
||||
import com.vector.cfg.automation.model.ecuc.microsar.ecuc.ecucgeneral.cputype.CPUType
|
||||
import com.vector.cfg.automation.model.ecuc.microsar.ecuc.ecucgeneral.cputype.ECPUType
|
||||
|
||||
//daVinci enables the IDE code completion support
|
||||
daVinci {
|
||||
scriptDescription "Reads containter/parameter with the BswmdModel"
|
||||
|
||||
/*
|
||||
* Task: ReadTheActiveEcuC
|
||||
* Type: DV_PROJECT
|
||||
* -------------------------------------------------------------------------------------------------------
|
||||
* Reads containter/parameter with the BswmdModel
|
||||
* -------------------------------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
scriptTask("ReadTheActiveEcuCTask", DV_PROJECT){
|
||||
taskDescription 'Reads containter/parameter with the BswmdModel'
|
||||
|
||||
taskHelp '''ReadTheActiveEcuC script task
|
||||
The task reads with the bswmdModel the parameter CPUType from the EcucGeneral container which is included
|
||||
in the EcuC modul configuration.
|
||||
'''
|
||||
|
||||
code {
|
||||
// Gets the ecuc module configuration
|
||||
EcuC ecuc = bswmdModel(EcuC.DefRef).single
|
||||
|
||||
// Gets the EcucGeneral container
|
||||
EcucGeneral ecucGeneral = ecuc.ecucGeneral
|
||||
|
||||
// Gets an enum parameter of this container
|
||||
CPUType cpuType = ecucGeneral.CPUType
|
||||
if (cpuType.value == ECPUType.CPU32Bit) {
|
||||
return "DoSomething"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Task: MinimalTask
|
||||
* Type: DV_APPLICATION
|
||||
* -------------------------------------------------------------------------------------------------------
|
||||
* Does nothing
|
||||
* -------------------------------------------------------------------------------------------------------
|
||||
*/
|
||||
scriptTask("MinimalTask", DV_APPLICATION) {
|
||||
code{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Task: SimpleApplTask
|
||||
* Type: DV_APPLICATION
|
||||
* -------------------------------------------------------------------------------------------------------
|
||||
* Prints "HelloApplication" to console and logs a message to the scriptLogger
|
||||
* -------------------------------------------------------------------------------------------------------
|
||||
*/
|
||||
scriptTask("SimpleApplTask", DV_APPLICATION) {
|
||||
taskDescription 'Prints "HelloApplication" to console and logs a message to the scriptLogger'
|
||||
|
||||
taskHelp '''Simple Application task to show the creation of a task.
|
||||
The task will print "HelloApplication" to console.
|
||||
Logs the message "Logging message from the script" to the scriptLogger.
|
||||
'''
|
||||
|
||||
code{
|
||||
|
||||
println "HelloApplication"
|
||||
scriptLogger.info "Logging message from the script"
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Task: SimpleProjectTask
|
||||
* Type: DV_PROJECT
|
||||
* -------------------------------------------------------------------------------------------------------
|
||||
* Logs HelloProject to scriptLogger.
|
||||
* -------------------------------------------------------------------------------------------------------
|
||||
*/
|
||||
scriptTask("SimpleProjectTask", DV_PROJECT){
|
||||
taskDescription 'Logs "HelloProject" to the scriptLogger'
|
||||
|
||||
taskHelp '''Simple Project task to show the creation of a task.
|
||||
The task will log the message "HelloProject" to the scriptLogger.
|
||||
'''
|
||||
|
||||
code{
|
||||
scriptLogger.info "HelloProject"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,435 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<AUTOSAR xsi:schemaLocation="http://autosar.org/schema/r4.0 AUTOSAR_4-0-3.xsd" xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<AR-PACKAGES>
|
||||
<AR-PACKAGE>
|
||||
<SHORT-NAME>ComponentType</SHORT-NAME>
|
||||
<ELEMENTS>
|
||||
<APPLICATION-SW-COMPONENT-TYPE>
|
||||
<SHORT-NAME>CT_App</SHORT-NAME>
|
||||
<PORTS>
|
||||
<R-PORT-PROTOTYPE>
|
||||
<SHORT-NAME>Signal_Bool</SHORT-NAME>
|
||||
<REQUIRED-COM-SPECS>
|
||||
<NONQUEUED-RECEIVER-COM-SPEC>
|
||||
<DATA-ELEMENT-REF DEST="VARIABLE-DATA-PROTOTYPE">/PortInterface/Signal_Bool/Signal_Bool</DATA-ELEMENT-REF>
|
||||
<ALIVE-TIMEOUT>0</ALIVE-TIMEOUT>
|
||||
<FILTER>
|
||||
<DATA-FILTER-TYPE>ALWAYS</DATA-FILTER-TYPE>
|
||||
</FILTER>
|
||||
<INIT-VALUE>
|
||||
<CONSTANT-REFERENCE>
|
||||
<CONSTANT-REF DEST="CONSTANT-SPECIFICATION">/Constant/cInit</CONSTANT-REF>
|
||||
</CONSTANT-REFERENCE>
|
||||
</INIT-VALUE>
|
||||
</NONQUEUED-RECEIVER-COM-SPEC>
|
||||
</REQUIRED-COM-SPECS>
|
||||
<REQUIRED-INTERFACE-TREF DEST="SENDER-RECEIVER-INTERFACE">/PortInterface/Signal_Bool</REQUIRED-INTERFACE-TREF>
|
||||
</R-PORT-PROTOTYPE>
|
||||
</PORTS>
|
||||
<INTERNAL-BEHAVIORS>
|
||||
<SWC-INTERNAL-BEHAVIOR>
|
||||
<SHORT-NAME>CT_App_InternalBehavior</SHORT-NAME>
|
||||
<EVENTS>
|
||||
<DATA-RECEIVED-EVENT>
|
||||
<SHORT-NAME>DRT_Runnable_Signal_Bool_Signal_Bool</SHORT-NAME>
|
||||
<START-ON-EVENT-REF DEST="RUNNABLE-ENTITY">/ComponentType/CT_App/CT_App_InternalBehavior/Runnable</START-ON-EVENT-REF>
|
||||
<DATA-IREF>
|
||||
<CONTEXT-R-PORT-REF DEST="R-PORT-PROTOTYPE">/ComponentType/CT_App/Signal_Bool</CONTEXT-R-PORT-REF>
|
||||
<TARGET-DATA-ELEMENT-REF DEST="VARIABLE-DATA-PROTOTYPE">/PortInterface/Signal_Bool/Signal_Bool</TARGET-DATA-ELEMENT-REF>
|
||||
</DATA-IREF>
|
||||
</DATA-RECEIVED-EVENT>
|
||||
</EVENTS>
|
||||
<PORT-API-OPTIONS>
|
||||
<PORT-API-OPTION>
|
||||
<ENABLE-TAKE-ADDRESS>false</ENABLE-TAKE-ADDRESS>
|
||||
<INDIRECT-API>false</INDIRECT-API>
|
||||
<PORT-REF DEST="R-PORT-PROTOTYPE">/ComponentType/CT_App/Signal_Bool</PORT-REF>
|
||||
</PORT-API-OPTION>
|
||||
</PORT-API-OPTIONS>
|
||||
<RUNNABLES>
|
||||
<RUNNABLE-ENTITY>
|
||||
<SHORT-NAME>Runnable</SHORT-NAME>
|
||||
<MINIMUM-START-INTERVAL>0.000000000</MINIMUM-START-INTERVAL>
|
||||
<CAN-BE-INVOKED-CONCURRENTLY>false</CAN-BE-INVOKED-CONCURRENTLY>
|
||||
<SYMBOL>Runnable</SYMBOL>
|
||||
</RUNNABLE-ENTITY>
|
||||
</RUNNABLES>
|
||||
<SUPPORTS-MULTIPLE-INSTANTIATION>false</SUPPORTS-MULTIPLE-INSTANTIATION>
|
||||
</SWC-INTERNAL-BEHAVIOR>
|
||||
</INTERNAL-BEHAVIORS>
|
||||
</APPLICATION-SW-COMPONENT-TYPE>
|
||||
<SWC-IMPLEMENTATION>
|
||||
<SHORT-NAME>CT_App_Implementation</SHORT-NAME>
|
||||
<CODE-DESCRIPTORS>
|
||||
<CODE>
|
||||
<SHORT-NAME>Code</SHORT-NAME>
|
||||
<ARTIFACT-DESCRIPTORS>
|
||||
<AUTOSAR-ENGINEERING-OBJECT>
|
||||
<CATEGORY>SWSRC</CATEGORY>
|
||||
</AUTOSAR-ENGINEERING-OBJECT>
|
||||
</ARTIFACT-DESCRIPTORS>
|
||||
</CODE>
|
||||
</CODE-DESCRIPTORS>
|
||||
<BEHAVIOR-REF DEST="SWC-INTERNAL-BEHAVIOR">/ComponentType/CT_App/CT_App_InternalBehavior</BEHAVIOR-REF>
|
||||
</SWC-IMPLEMENTATION>
|
||||
</ELEMENTS>
|
||||
</AR-PACKAGE>
|
||||
<AR-PACKAGE>
|
||||
<SHORT-NAME>Constant</SHORT-NAME>
|
||||
<ELEMENTS>
|
||||
<CONSTANT-SPECIFICATION>
|
||||
<SHORT-NAME>cInit</SHORT-NAME>
|
||||
<VALUE-SPEC>
|
||||
<TEXT-VALUE-SPECIFICATION>
|
||||
<VALUE>1</VALUE>
|
||||
</TEXT-VALUE-SPECIFICATION>
|
||||
</VALUE-SPEC>
|
||||
</CONSTANT-SPECIFICATION>
|
||||
</ELEMENTS>
|
||||
</AR-PACKAGE>
|
||||
<AR-PACKAGE>
|
||||
<SHORT-NAME>DataType</SHORT-NAME>
|
||||
<ELEMENTS>
|
||||
<IMPLEMENTATION-DATA-TYPE>
|
||||
<SHORT-NAME>Signal_Bool</SHORT-NAME>
|
||||
<CATEGORY>VALUE</CATEGORY>
|
||||
<SW-DATA-DEF-PROPS>
|
||||
<SW-DATA-DEF-PROPS-VARIANTS>
|
||||
<SW-DATA-DEF-PROPS-CONDITIONAL>
|
||||
<BASE-TYPE-REF DEST="SW-BASE-TYPE">/AR4_TemporaryElements/BaseType/Signal_Bool</BASE-TYPE-REF>
|
||||
<DATA-CONSTR-REF DEST="DATA-CONSTR">/AR4_TemporaryElements/DataConstrain/Signal_Bool_DataConstrain</DATA-CONSTR-REF>
|
||||
</SW-DATA-DEF-PROPS-CONDITIONAL>
|
||||
</SW-DATA-DEF-PROPS-VARIANTS>
|
||||
</SW-DATA-DEF-PROPS>
|
||||
</IMPLEMENTATION-DATA-TYPE>
|
||||
</ELEMENTS>
|
||||
</AR-PACKAGE>
|
||||
<AR-PACKAGE>
|
||||
<SHORT-NAME>DaVinci</SHORT-NAME>
|
||||
<ELEMENTS/>
|
||||
<AR-PACKAGES>
|
||||
<AR-PACKAGE>
|
||||
<SHORT-NAME>ABC_ClusterCANCluster</SHORT-NAME>
|
||||
<ELEMENTS>
|
||||
<CAN-CLUSTER>
|
||||
<SHORT-NAME>CANCluster</SHORT-NAME>
|
||||
<CAN-CLUSTER-VARIANTS>
|
||||
<CAN-CLUSTER-CONDITIONAL>
|
||||
<PHYSICAL-CHANNELS>
|
||||
<CAN-PHYSICAL-CHANNEL>
|
||||
<SHORT-NAME>New_CAN_Network_1</SHORT-NAME>
|
||||
<COMM-CONNECTORS>
|
||||
<COMMUNICATION-CONNECTOR-REF-CONDITIONAL>
|
||||
<COMMUNICATION-CONNECTOR-REF DEST="CAN-COMMUNICATION-CONNECTOR">/DaVinci/ABC_ECU/e_Rx_simple/CANCluster_e_Rx_simple</COMMUNICATION-CONNECTOR-REF>
|
||||
</COMMUNICATION-CONNECTOR-REF-CONDITIONAL>
|
||||
</COMM-CONNECTORS>
|
||||
<FRAME-TRIGGERINGS>
|
||||
<CAN-FRAME-TRIGGERING>
|
||||
<SHORT-NAME>Msg_Bool_F</SHORT-NAME>
|
||||
<FRAME-PORT-REFS>
|
||||
<FRAME-PORT-REF DEST="FRAME-PORT">/DaVinci/ABC_ECU/e_Rx_simple/CANCluster_e_Rx_simple/FP_Msg_Bool_IN</FRAME-PORT-REF>
|
||||
</FRAME-PORT-REFS>
|
||||
<FRAME-REF DEST="CAN-FRAME">/DaVinci/ABC_ClusterCANCluster/ABC_Frame/Msg_Bool</FRAME-REF>
|
||||
<CAN-ADDRESSING-MODE>STANDARD</CAN-ADDRESSING-MODE>
|
||||
<IDENTIFIER>0</IDENTIFIER>
|
||||
</CAN-FRAME-TRIGGERING>
|
||||
</FRAME-TRIGGERINGS>
|
||||
<I-SIGNAL-TRIGGERINGS>
|
||||
<I-SIGNAL-TRIGGERING>
|
||||
<SHORT-NAME>Signal_Bool_S_Msg_Bool</SHORT-NAME>
|
||||
<I-SIGNAL-PORT-REFS>
|
||||
<I-SIGNAL-PORT-REF DEST="I-SIGNAL-PORT">/DaVinci/ABC_ECU/e_Rx_simple/CANCluster_e_Rx_simple/SP_Msg_Bool_Signal_Bool_IN</I-SIGNAL-PORT-REF>
|
||||
</I-SIGNAL-PORT-REFS>
|
||||
<I-SIGNAL-REF DEST="I-SIGNAL">/DaVinci/ABC_ClusterCANCluster/ABC_ISignal/Signal_Bool_Msg_Bool</I-SIGNAL-REF>
|
||||
</I-SIGNAL-TRIGGERING>
|
||||
</I-SIGNAL-TRIGGERINGS>
|
||||
<PDU-TRIGGERINGS>
|
||||
<PDU-TRIGGERING>
|
||||
<SHORT-NAME>Msg_Bool_P</SHORT-NAME>
|
||||
<I-PDU-PORT-REFS>
|
||||
<I-PDU-PORT-REF DEST="I-PDU-PORT">/DaVinci/ABC_ECU/e_Rx_simple/CANCluster_e_Rx_simple/PP_Msg_Bool_IN</I-PDU-PORT-REF>
|
||||
</I-PDU-PORT-REFS>
|
||||
<I-PDU-REF DEST="I-SIGNAL-I-PDU">/DaVinci/ABC_ClusterCANCluster/ABC_PDU/Msg_Bool</I-PDU-REF>
|
||||
</PDU-TRIGGERING>
|
||||
</PDU-TRIGGERINGS>
|
||||
</CAN-PHYSICAL-CHANNEL>
|
||||
</PHYSICAL-CHANNELS>
|
||||
<SPEED>0</SPEED>
|
||||
</CAN-CLUSTER-CONDITIONAL>
|
||||
</CAN-CLUSTER-VARIANTS>
|
||||
</CAN-CLUSTER>
|
||||
</ELEMENTS>
|
||||
<AR-PACKAGES>
|
||||
<AR-PACKAGE>
|
||||
<SHORT-NAME>ABC_Frame</SHORT-NAME>
|
||||
<ELEMENTS>
|
||||
<CAN-FRAME>
|
||||
<SHORT-NAME>Msg_Bool</SHORT-NAME>
|
||||
<FRAME-LENGTH>8</FRAME-LENGTH>
|
||||
<PDU-TO-FRAME-MAPPINGS>
|
||||
<PDU-TO-FRAME-MAPPING>
|
||||
<SHORT-NAME>Msg_Bool</SHORT-NAME>
|
||||
<PACKING-BYTE-ORDER>MOST-SIGNIFICANT-BYTE-LAST</PACKING-BYTE-ORDER>
|
||||
<PDU-REF DEST="I-SIGNAL-I-PDU">/DaVinci/ABC_ClusterCANCluster/ABC_PDU/Msg_Bool</PDU-REF>
|
||||
<START-POSITION>0</START-POSITION>
|
||||
</PDU-TO-FRAME-MAPPING>
|
||||
</PDU-TO-FRAME-MAPPINGS>
|
||||
</CAN-FRAME>
|
||||
</ELEMENTS>
|
||||
</AR-PACKAGE>
|
||||
<AR-PACKAGE>
|
||||
<SHORT-NAME>ABC_ISignal</SHORT-NAME>
|
||||
<ELEMENTS>
|
||||
<I-SIGNAL>
|
||||
<SHORT-NAME>Signal_Bool_Msg_Bool</SHORT-NAME>
|
||||
<LENGTH>1</LENGTH>
|
||||
<SYSTEM-SIGNAL-REF DEST="SYSTEM-SIGNAL">/Signal/Signal_Bool</SYSTEM-SIGNAL-REF>
|
||||
</I-SIGNAL>
|
||||
</ELEMENTS>
|
||||
</AR-PACKAGE>
|
||||
<AR-PACKAGE>
|
||||
<SHORT-NAME>ABC_PDU</SHORT-NAME>
|
||||
<ELEMENTS>
|
||||
<I-SIGNAL-I-PDU>
|
||||
<SHORT-NAME>Msg_Bool</SHORT-NAME>
|
||||
<LENGTH>64</LENGTH>
|
||||
<I-SIGNAL-TO-PDU-MAPPINGS>
|
||||
<I-SIGNAL-TO-I-PDU-MAPPING>
|
||||
<SHORT-NAME>Signal_Bool_S</SHORT-NAME>
|
||||
<ADMIN-DATA>
|
||||
<SDGS>
|
||||
<SDG GID="DV_SDG">
|
||||
<SD GID="DV_NetSigCT">100</SD>
|
||||
<SD GID="DV_NetSigCTA">100</SD>
|
||||
<SD GID="DV_NetSigInactiveVal">0</SD>
|
||||
<SD GID="DV_NetSigInitVal">0</SD>
|
||||
<SD GID="DV_NetSigSTI">0</SD>
|
||||
</SDG>
|
||||
</SDGS>
|
||||
</ADMIN-DATA>
|
||||
<I-SIGNAL-REF DEST="I-SIGNAL">/DaVinci/ABC_ClusterCANCluster/ABC_ISignal/Signal_Bool_Msg_Bool</I-SIGNAL-REF>
|
||||
<PACKING-BYTE-ORDER>MOST-SIGNIFICANT-BYTE-LAST</PACKING-BYTE-ORDER>
|
||||
<START-POSITION>0</START-POSITION>
|
||||
</I-SIGNAL-TO-I-PDU-MAPPING>
|
||||
</I-SIGNAL-TO-PDU-MAPPINGS>
|
||||
</I-SIGNAL-I-PDU>
|
||||
</ELEMENTS>
|
||||
</AR-PACKAGE>
|
||||
</AR-PACKAGES>
|
||||
</AR-PACKAGE>
|
||||
<AR-PACKAGE>
|
||||
<SHORT-NAME>ABC_ECU</SHORT-NAME>
|
||||
<ELEMENTS>
|
||||
<ECU-INSTANCE>
|
||||
<SHORT-NAME>e_Rx_simple</SHORT-NAME>
|
||||
<ASSOCIATED-PDUR-I-PDU-GROUP-REFS>
|
||||
<ASSOCIATED-PDUR-I-PDU-GROUP-REF DEST="PDUR-I-PDU-GROUP">/DaVinci/ABC_PDUGroup/e_Rx_simple_CANCluster_Rx</ASSOCIATED-PDUR-I-PDU-GROUP-REF>
|
||||
<ASSOCIATED-PDUR-I-PDU-GROUP-REF DEST="PDUR-I-PDU-GROUP">/DaVinci/ABC_PDUGroup/e_Rx_simple_CANCluster_Tx</ASSOCIATED-PDUR-I-PDU-GROUP-REF>
|
||||
</ASSOCIATED-PDUR-I-PDU-GROUP-REFS>
|
||||
<COMM-CONTROLLERS>
|
||||
<CAN-COMMUNICATION-CONTROLLER>
|
||||
<SHORT-NAME>CANCluster</SHORT-NAME>
|
||||
</CAN-COMMUNICATION-CONTROLLER>
|
||||
</COMM-CONTROLLERS>
|
||||
<CONNECTORS>
|
||||
<CAN-COMMUNICATION-CONNECTOR>
|
||||
<SHORT-NAME>CANCluster_e_Rx_simple</SHORT-NAME>
|
||||
<COMM-CONTROLLER-REF DEST="CAN-COMMUNICATION-CONTROLLER">/DaVinci/ABC_ECU/e_Rx_simple/CANCluster</COMM-CONTROLLER-REF>
|
||||
<ECU-COMM-PORT-INSTANCES>
|
||||
<FRAME-PORT>
|
||||
<SHORT-NAME>FP_Msg_Bool_IN</SHORT-NAME>
|
||||
<COMMUNICATION-DIRECTION>IN</COMMUNICATION-DIRECTION>
|
||||
</FRAME-PORT>
|
||||
<I-PDU-PORT>
|
||||
<SHORT-NAME>PP_Msg_Bool_IN</SHORT-NAME>
|
||||
<COMMUNICATION-DIRECTION>IN</COMMUNICATION-DIRECTION>
|
||||
</I-PDU-PORT>
|
||||
<I-SIGNAL-PORT>
|
||||
<SHORT-NAME>SP_Msg_Bool_Signal_Bool_IN</SHORT-NAME>
|
||||
<COMMUNICATION-DIRECTION>IN</COMMUNICATION-DIRECTION>
|
||||
<TIMEOUT>0</TIMEOUT>
|
||||
</I-SIGNAL-PORT>
|
||||
</ECU-COMM-PORT-INSTANCES>
|
||||
</CAN-COMMUNICATION-CONNECTOR>
|
||||
</CONNECTORS>
|
||||
<DIAGNOSTIC-ADDRESS>0</DIAGNOSTIC-ADDRESS>
|
||||
<SLEEP-MODE-SUPPORTED>false</SLEEP-MODE-SUPPORTED>
|
||||
<WAKE-UP-OVER-BUS-SUPPORTED>false</WAKE-UP-OVER-BUS-SUPPORTED>
|
||||
</ECU-INSTANCE>
|
||||
</ELEMENTS>
|
||||
</AR-PACKAGE>
|
||||
<AR-PACKAGE>
|
||||
<SHORT-NAME>ABC_PDUGroup</SHORT-NAME>
|
||||
<ELEMENTS>
|
||||
<PDUR-I-PDU-GROUP>
|
||||
<SHORT-NAME>e_Rx_simple_CANCluster_Rx</SHORT-NAME>
|
||||
</PDUR-I-PDU-GROUP>
|
||||
<PDUR-I-PDU-GROUP>
|
||||
<SHORT-NAME>e_Rx_simple_CANCluster_Tx</SHORT-NAME>
|
||||
</PDUR-I-PDU-GROUP>
|
||||
</ELEMENTS>
|
||||
</AR-PACKAGE>
|
||||
</AR-PACKAGES>
|
||||
</AR-PACKAGE>
|
||||
<AR-PACKAGE>
|
||||
<SHORT-NAME>ECUComposition</SHORT-NAME>
|
||||
<ELEMENTS>
|
||||
<COMPOSITION-SW-COMPONENT-TYPE>
|
||||
<SHORT-NAME>EcuSwComposition</SHORT-NAME>
|
||||
</COMPOSITION-SW-COMPONENT-TYPE>
|
||||
</ELEMENTS>
|
||||
</AR-PACKAGE>
|
||||
<AR-PACKAGE>
|
||||
<SHORT-NAME>ECUCompositionType</SHORT-NAME>
|
||||
<ELEMENTS>
|
||||
<COMPOSITION-SW-COMPONENT-TYPE>
|
||||
<SHORT-NAME>EcuSwComposition</SHORT-NAME>
|
||||
<PORTS>
|
||||
<R-PORT-PROTOTYPE>
|
||||
<SHORT-NAME>Signal_Bool</SHORT-NAME>
|
||||
<REQUIRED-COM-SPECS>
|
||||
<NONQUEUED-RECEIVER-COM-SPEC>
|
||||
<DATA-ELEMENT-REF DEST="VARIABLE-DATA-PROTOTYPE">/PortInterface/Signal_Bool/Signal_Bool</DATA-ELEMENT-REF>
|
||||
<ALIVE-TIMEOUT>0</ALIVE-TIMEOUT>
|
||||
<FILTER>
|
||||
<DATA-FILTER-TYPE>ALWAYS</DATA-FILTER-TYPE>
|
||||
</FILTER>
|
||||
</NONQUEUED-RECEIVER-COM-SPEC>
|
||||
</REQUIRED-COM-SPECS>
|
||||
<REQUIRED-INTERFACE-TREF DEST="SENDER-RECEIVER-INTERFACE">/PortInterface/Signal_Bool</REQUIRED-INTERFACE-TREF>
|
||||
</R-PORT-PROTOTYPE>
|
||||
</PORTS>
|
||||
<COMPONENTS>
|
||||
<SW-COMPONENT-PROTOTYPE>
|
||||
<SHORT-NAME>CP_App</SHORT-NAME>
|
||||
<TYPE-TREF DEST="APPLICATION-SW-COMPONENT-TYPE">/ComponentType/CT_App</TYPE-TREF>
|
||||
</SW-COMPONENT-PROTOTYPE>
|
||||
</COMPONENTS>
|
||||
<CONNECTORS>
|
||||
<DELEGATION-SW-CONNECTOR>
|
||||
<SHORT-NAME>Signal_Bool_CP_App_Signal_Bool</SHORT-NAME>
|
||||
<INNER-PORT-IREF>
|
||||
<R-PORT-IN-COMPOSITION-INSTANCE-REF>
|
||||
<CONTEXT-COMPONENT-REF DEST="SW-COMPONENT-PROTOTYPE">/ECUCompositionType/EcuSwComposition/CP_App</CONTEXT-COMPONENT-REF>
|
||||
<TARGET-R-PORT-REF DEST="R-PORT-PROTOTYPE">/ComponentType/CT_App/Signal_Bool</TARGET-R-PORT-REF>
|
||||
</R-PORT-IN-COMPOSITION-INSTANCE-REF>
|
||||
</INNER-PORT-IREF>
|
||||
<OUTER-PORT-REF DEST="PORT-PROTOTYPE">/ECUCompositionType/EcuSwComposition/Signal_Bool</OUTER-PORT-REF>
|
||||
</DELEGATION-SW-CONNECTOR>
|
||||
</CONNECTORS>
|
||||
</COMPOSITION-SW-COMPONENT-TYPE>
|
||||
</ELEMENTS>
|
||||
</AR-PACKAGE>
|
||||
<AR-PACKAGE>
|
||||
<SHORT-NAME>PortInterface</SHORT-NAME>
|
||||
<ELEMENTS>
|
||||
<SENDER-RECEIVER-INTERFACE>
|
||||
<SHORT-NAME>Signal_Bool</SHORT-NAME>
|
||||
<IS-SERVICE>false</IS-SERVICE>
|
||||
<DATA-ELEMENTS>
|
||||
<VARIABLE-DATA-PROTOTYPE>
|
||||
<SHORT-NAME>Signal_Bool</SHORT-NAME>
|
||||
<SW-DATA-DEF-PROPS>
|
||||
<SW-DATA-DEF-PROPS-VARIANTS>
|
||||
<SW-DATA-DEF-PROPS-CONDITIONAL>
|
||||
<SW-CALIBRATION-ACCESS>NOT-ACCESSIBLE</SW-CALIBRATION-ACCESS>
|
||||
</SW-DATA-DEF-PROPS-CONDITIONAL>
|
||||
</SW-DATA-DEF-PROPS-VARIANTS>
|
||||
</SW-DATA-DEF-PROPS>
|
||||
<TYPE-TREF DEST="IMPLEMENTATION-DATA-TYPE">/DataType/Signal_Bool</TYPE-TREF>
|
||||
</VARIABLE-DATA-PROTOTYPE>
|
||||
</DATA-ELEMENTS>
|
||||
</SENDER-RECEIVER-INTERFACE>
|
||||
</ELEMENTS>
|
||||
</AR-PACKAGE>
|
||||
<AR-PACKAGE>
|
||||
<SHORT-NAME>Signal</SHORT-NAME>
|
||||
<ELEMENTS>
|
||||
<SYSTEM-SIGNAL>
|
||||
<SHORT-NAME>Signal_Bool</SHORT-NAME>
|
||||
</SYSTEM-SIGNAL>
|
||||
</ELEMENTS>
|
||||
</AR-PACKAGE>
|
||||
<AR-PACKAGE>
|
||||
<SHORT-NAME>VehicleProject</SHORT-NAME>
|
||||
<ELEMENTS>
|
||||
<SYSTEM>
|
||||
<SHORT-NAME>e_Rx_simple</SHORT-NAME>
|
||||
<FIBEX-ELEMENTS>
|
||||
<FIBEX-ELEMENT-REF-CONDITIONAL>
|
||||
<FIBEX-ELEMENT-REF DEST="CAN-CLUSTER">/DaVinci/ABC_ClusterCANCluster/CANCluster</FIBEX-ELEMENT-REF>
|
||||
</FIBEX-ELEMENT-REF-CONDITIONAL>
|
||||
<FIBEX-ELEMENT-REF-CONDITIONAL>
|
||||
<FIBEX-ELEMENT-REF DEST="ECU-INSTANCE">/DaVinci/ABC_ECU/e_Rx_simple</FIBEX-ELEMENT-REF>
|
||||
</FIBEX-ELEMENT-REF-CONDITIONAL>
|
||||
<FIBEX-ELEMENT-REF-CONDITIONAL>
|
||||
<FIBEX-ELEMENT-REF DEST="CAN-FRAME">/DaVinci/ABC_ClusterCANCluster/ABC_Frame/Msg_Bool</FIBEX-ELEMENT-REF>
|
||||
</FIBEX-ELEMENT-REF-CONDITIONAL>
|
||||
<FIBEX-ELEMENT-REF-CONDITIONAL>
|
||||
<FIBEX-ELEMENT-REF DEST="I-SIGNAL">/DaVinci/ABC_ClusterCANCluster/ABC_ISignal/Signal_Bool_Msg_Bool</FIBEX-ELEMENT-REF>
|
||||
</FIBEX-ELEMENT-REF-CONDITIONAL>
|
||||
<FIBEX-ELEMENT-REF-CONDITIONAL>
|
||||
<FIBEX-ELEMENT-REF DEST="I-SIGNAL-I-PDU">/DaVinci/ABC_ClusterCANCluster/ABC_PDU/Msg_Bool</FIBEX-ELEMENT-REF>
|
||||
</FIBEX-ELEMENT-REF-CONDITIONAL>
|
||||
</FIBEX-ELEMENTS>
|
||||
<MAPPINGS>
|
||||
<SYSTEM-MAPPING>
|
||||
<SHORT-NAME>e_Rx_simple_MPPNG</SHORT-NAME>
|
||||
<DATA-MAPPINGS>
|
||||
<SENDER-RECEIVER-TO-SIGNAL-MAPPING>
|
||||
<DATA-ELEMENT-IREF>
|
||||
<CONTEXT-COMPONENT-REF DEST="SW-COMPONENT-PROTOTYPE">/ECUCompositionType/EcuSwComposition/CP_App</CONTEXT-COMPONENT-REF>
|
||||
<CONTEXT-COMPOSITION-REF DEST="ROOT-SW-COMPOSITION-PROTOTYPE">/VehicleProject/e_Rx_simple/EcuSwComposition</CONTEXT-COMPOSITION-REF>
|
||||
<CONTEXT-PORT-REF DEST="R-PORT-PROTOTYPE">/ComponentType/CT_App/Signal_Bool</CONTEXT-PORT-REF>
|
||||
<TARGET-DATA-PROTOTYPE-REF DEST="VARIABLE-DATA-PROTOTYPE">/PortInterface/Signal_Bool/Signal_Bool</TARGET-DATA-PROTOTYPE-REF>
|
||||
</DATA-ELEMENT-IREF>
|
||||
<SYSTEM-SIGNAL-REF DEST="SYSTEM-SIGNAL">/Signal/Signal_Bool</SYSTEM-SIGNAL-REF>
|
||||
</SENDER-RECEIVER-TO-SIGNAL-MAPPING>
|
||||
</DATA-MAPPINGS>
|
||||
</SYSTEM-MAPPING>
|
||||
</MAPPINGS>
|
||||
<ROOT-SOFTWARE-COMPOSITIONS>
|
||||
<ROOT-SW-COMPOSITION-PROTOTYPE>
|
||||
<SHORT-NAME>EcuSwComposition</SHORT-NAME>
|
||||
<SOFTWARE-COMPOSITION-TREF DEST="COMPOSITION-SW-COMPONENT-TYPE">/ECUCompositionType/EcuSwComposition</SOFTWARE-COMPOSITION-TREF>
|
||||
</ROOT-SW-COMPOSITION-PROTOTYPE>
|
||||
</ROOT-SOFTWARE-COMPOSITIONS>
|
||||
</SYSTEM>
|
||||
</ELEMENTS>
|
||||
</AR-PACKAGE>
|
||||
<AR-PACKAGE>
|
||||
<SHORT-NAME>AR4_TemporaryElements</SHORT-NAME>
|
||||
<ELEMENTS/>
|
||||
<AR-PACKAGES>
|
||||
<AR-PACKAGE>
|
||||
<SHORT-NAME>DataConstrain</SHORT-NAME>
|
||||
<ELEMENTS>
|
||||
<DATA-CONSTR>
|
||||
<SHORT-NAME>Signal_Bool_DataConstrain</SHORT-NAME>
|
||||
<DATA-CONSTR-RULES>
|
||||
<DATA-CONSTR-RULE>
|
||||
<INTERNAL-CONSTRS>
|
||||
<LOWER-LIMIT INTERVAL-TYPE="CLOSED">0</LOWER-LIMIT>
|
||||
<UPPER-LIMIT INTERVAL-TYPE="CLOSED">1</UPPER-LIMIT>
|
||||
</INTERNAL-CONSTRS>
|
||||
</DATA-CONSTR-RULE>
|
||||
</DATA-CONSTR-RULES>
|
||||
</DATA-CONSTR>
|
||||
</ELEMENTS>
|
||||
<AR-PACKAGES/>
|
||||
</AR-PACKAGE>
|
||||
<AR-PACKAGE>
|
||||
<SHORT-NAME>BaseType</SHORT-NAME>
|
||||
<ELEMENTS>
|
||||
<SW-BASE-TYPE>
|
||||
<SHORT-NAME>Signal_Bool</SHORT-NAME>
|
||||
<BASE-TYPE-ENCODING>NONE</BASE-TYPE-ENCODING>
|
||||
<NATIVE-DECLARATION>uint8</NATIVE-DECLARATION>
|
||||
</SW-BASE-TYPE>
|
||||
</ELEMENTS>
|
||||
<AR-PACKAGES/>
|
||||
</AR-PACKAGE>
|
||||
</AR-PACKAGES>
|
||||
</AR-PACKAGE>
|
||||
</AR-PACKAGES>
|
||||
</AUTOSAR>
|
||||
@@ -0,0 +1,62 @@
|
||||
import static com.vector.cfg.automation.api.ScriptApi.*
|
||||
|
||||
//daVinci enables the IDE code completion support
|
||||
daVinci {
|
||||
scriptDescription "Creates a new Dpa Project and updates it with a communication extract"
|
||||
|
||||
/*
|
||||
* Task: UpdateProjectTask
|
||||
* Type: DV_APPLICATION
|
||||
* -------------------------------------------------------------------------------------------------------
|
||||
* Creates a project and updates it with a communication extract
|
||||
* -------------------------------------------------------------------------------------------------------
|
||||
*/
|
||||
scriptTask("UpdateProjectTask", DV_APPLICATION) {
|
||||
taskDescription 'Creates a new Dpa Project and updates it with a communication extract'
|
||||
|
||||
taskHelp '''CreateNewProject script task
|
||||
The task creates a project in the Script temp folder with the name "updateProjectFolder".
|
||||
Adds the communication extract 'e_Rx_simple_AR4.arxml'.
|
||||
executes an update.
|
||||
'''
|
||||
|
||||
code {
|
||||
// Create a new Project
|
||||
def theProject = projects.createProject {
|
||||
projectName 'TheProject'
|
||||
projectFolder paths.resolveTempPath("updateProjectFolder")
|
||||
|
||||
general {
|
||||
createStartMenuEntries false
|
||||
}
|
||||
|
||||
daVinciDeveloper{
|
||||
createDaVinciDeveloperWorkspace false
|
||||
}
|
||||
}
|
||||
|
||||
def extractPath = paths.resolveScriptPath("SupportFiles/e_Rx_simple_AR4.arxml")
|
||||
workflow {
|
||||
update(theProject){
|
||||
input{
|
||||
communication{
|
||||
extract{
|
||||
extractFiles{exFilePathList->
|
||||
exFilePathList.add(extractPath.asPersistablePath())
|
||||
}
|
||||
|
||||
ecuInstanceSelection{
|
||||
// select the first ecu instance in the communication extract.
|
||||
// Note: this closure is deferred executed.
|
||||
return availableEcuInstances[0]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
scriptLogger.info("Project created and update, location: $theProject")
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
import static com.vector.cfg.automation.api.ScriptApi.*
|
||||
|
||||
import com.vector.cfg.automation.model.ecuc.microsar.ecuc.EcuC
|
||||
import com.vector.cfg.automation.model.ecuc.microsar.ecuc.ecucgeneral.EcucGeneral
|
||||
import com.vector.cfg.automation.model.ecuc.microsar.ecuc.ecuchardware.ecuccoredefinition.EcucCoreDefinition
|
||||
|
||||
//daVinci enables the IDE code completion support
|
||||
daVinci {
|
||||
scriptDescription "Creates container/parameter with the BswmdModel"
|
||||
|
||||
/*
|
||||
* Task: WriteTheActiveEcuC
|
||||
* Type: DV_PROJECT
|
||||
* -------------------------------------------------------------------------------------------------------
|
||||
* Creates container/parameter with the BswmdModel
|
||||
* -------------------------------------------------------------------------------------------------------
|
||||
*/
|
||||
scriptTask("WriteTheActiveEcuCTask", DV_PROJECT){
|
||||
taskDescription 'Creates container/parameter with the BswmdModel'
|
||||
|
||||
taskHelp '''WriteTheActiveEcuC script task
|
||||
The task creates with the bswmdModel container and parameters and sets parameter values.
|
||||
'''
|
||||
|
||||
code {
|
||||
transaction {
|
||||
// Gets the first found ecuc module instance
|
||||
EcuC ecuc = bswmdModel(EcuC.DefRef).single
|
||||
|
||||
//Gets the EcucGeneral container or create one if it is missing
|
||||
EcucGeneral ecucGeneral = ecuc.ecucGeneralOrCreate
|
||||
|
||||
// Gets an boolean parameter of this container or create one if it is missing
|
||||
def ecuCSafeBswChecks = ecucGeneral.ecuCSafeBswChecksOrCreate
|
||||
|
||||
// Sets the parameter value to true
|
||||
ecuCSafeBswChecks.value = true
|
||||
|
||||
//Gets the EcucCoreDefinition list (creates ecucHardware if it is missing)
|
||||
def ecucCoreDefinitions = ecuc.ecucHardwareOrCreate.ecucCoreDefinition
|
||||
|
||||
//Adds two EcucCores
|
||||
EcucCoreDefinition core0 = ecucCoreDefinitions.createAndAdd("EcucCore0")
|
||||
EcucCoreDefinition core1 = ecucCoreDefinitions.createAndAdd("EcucCore1")
|
||||
|
||||
if(ecucCoreDefinitions.exists("EcucCore0")) {
|
||||
//Sets EcucCoreId to 0
|
||||
ecucCoreDefinitions.byName("EcucCore0").ecucCoreId.value = 0;
|
||||
}
|
||||
|
||||
//Creates a new EcucCore by method 'byNameOrCreate'
|
||||
EcucCoreDefinition core2 = ecucCoreDefinitions.byNameOrCreate("EcucCore2");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ivy-module version="2.0">
|
||||
<!-- This module was also published with a richer model, Gradle metadata, -->
|
||||
<!-- which should be used instead. Do not delete the following line which -->
|
||||
<!-- is to indicate to Gradle or any Gradle module metadata file consumer -->
|
||||
<!-- that they should prefer consuming it instead. -->
|
||||
<!-- do_not_remove: published-with-gradle-metadata -->
|
||||
<info organisation="com.vector.cfg.build.gradle" module="DVCfgAutomationInterfaceGradle" revision="1.0.9" status="integration" publication="20210419211120"/>
|
||||
<configurations>
|
||||
<conf name="compile" visibility="public"/>
|
||||
<conf name="default" visibility="public" extends="runtime"/>
|
||||
<conf name="runtime" visibility="public"/>
|
||||
</configurations>
|
||||
<publications>
|
||||
<artifact name="DVCfgAutomationInterfaceGradle" type="jar" ext="jar" conf="compile,runtime"/>
|
||||
</publications>
|
||||
<dependencies/>
|
||||
</ivy-module>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,32 @@
|
||||
Apache Groovy
|
||||
Copyright 2003-2018 The Apache Software Foundation
|
||||
|
||||
This product includes software developed at
|
||||
The Apache Software Foundation (http://www.apache.org/).
|
||||
|
||||
This product includes/uses ANTLR (http://www.antlr2.org/)
|
||||
developed by Terence Parr 1989-2006
|
||||
|
||||
This product bundles the JUnit4 jar (junit.org)
|
||||
which is available under the terms of the Eclipse Public License v1.0
|
||||
|
||||
This product bundles several of the JUnit5 jars (junit.org)
|
||||
which are available under the terms of the Eclipse Public License v2.0
|
||||
|
||||
This product embeds the OpenBeans jar within its grooid jar artifacts
|
||||
OpenBeans includes/uses files from Apache Harmony and the following notice applies
|
||||
Copyright 2006, 2010 The Apache Software Foundation.
|
||||
Portions of Apache Harmony were originally developed by Intel Corporation and are
|
||||
licensed to the Apache Software Foundation under the "Software Grant and Corporate
|
||||
Contribution License Agreement" and for which the following copyright notices apply
|
||||
(C) Copyright 2005 Intel Corporation
|
||||
(C) Copyright 2005-2006 Intel Corporation
|
||||
(C) Copyright 2006 Intel Corporation
|
||||
|
||||
This product bundles icons from the famfamfam.com silk icons set
|
||||
http://www.famfamfam.com/lab/icons/silk/
|
||||
Licensed under the Creative Commons Attribution Licence v2.5
|
||||
http://creativecommons.org/licenses/by/2.5/
|
||||
|
||||
This convenience zip embeds Groovy's src and doc zips.
|
||||
See also src/NOTICE and doc/NOTICE files for additional notice information.
|
||||
@@ -0,0 +1,272 @@
|
||||
/*
|
||||
* Apache License
|
||||
* Version 2.0, January 2004
|
||||
* http://www.apache.org/licenses/
|
||||
*
|
||||
* TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
*
|
||||
* 1. Definitions.
|
||||
*
|
||||
* "License" shall mean the terms and conditions for use, reproduction,
|
||||
* and distribution as defined by Sections 1 through 9 of this document.
|
||||
*
|
||||
* "Licensor" shall mean the copyright owner or entity authorized by
|
||||
* the copyright owner that is granting the License.
|
||||
*
|
||||
* "Legal Entity" shall mean the union of the acting entity and all
|
||||
* other entities that control, are controlled by, or are under common
|
||||
* control with that entity. For the purposes of this definition,
|
||||
* "control" means (i) the power, direct or indirect, to cause the
|
||||
* direction or management of such entity, whether by contract or
|
||||
* otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
* outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
*
|
||||
* "You" (or "Your") shall mean an individual or Legal Entity
|
||||
* exercising permissions granted by this License.
|
||||
*
|
||||
* "Source" form shall mean the preferred form for making modifications,
|
||||
* including but not limited to software source code, documentation
|
||||
* source, and configuration files.
|
||||
*
|
||||
* "Object" form shall mean any form resulting from mechanical
|
||||
* transformation or translation of a Source form, including but
|
||||
* not limited to compiled object code, generated documentation,
|
||||
* and conversions to other media types.
|
||||
*
|
||||
* "Work" shall mean the work of authorship, whether in Source or
|
||||
* Object form, made available under the License, as indicated by a
|
||||
* copyright notice that is included in or attached to the work
|
||||
* (an example is provided in the Appendix below).
|
||||
*
|
||||
* "Derivative Works" shall mean any work, whether in Source or Object
|
||||
* form, that is based on (or derived from) the Work and for which the
|
||||
* editorial revisions, annotations, elaborations, or other modifications
|
||||
* represent, as a whole, an original work of authorship. For the purposes
|
||||
* of this License, Derivative Works shall not include works that remain
|
||||
* separable from, or merely link (or bind by name) to the interfaces of,
|
||||
* the Work and Derivative Works thereof.
|
||||
*
|
||||
* "Contribution" shall mean any work of authorship, including
|
||||
* the original version of the Work and any modifications or additions
|
||||
* to that Work or Derivative Works thereof, that is intentionally
|
||||
* submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
* or by an individual or Legal Entity authorized to submit on behalf of
|
||||
* the copyright owner. For the purposes of this definition, "submitted"
|
||||
* means any form of electronic, verbal, or written communication sent
|
||||
* to the Licensor or its representatives, including but not limited to
|
||||
* communication on electronic mailing lists, source code control systems,
|
||||
* and issue tracking systems that are managed by, or on behalf of, the
|
||||
* Licensor for the purpose of discussing and improving the Work, but
|
||||
* excluding communication that is conspicuously marked or otherwise
|
||||
* designated in writing by the copyright owner as "Not a Contribution."
|
||||
*
|
||||
* "Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
* on behalf of whom a Contribution has been received by Licensor and
|
||||
* subsequently incorporated within the Work.
|
||||
*
|
||||
* 2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
* this License, each Contributor hereby grants to You a perpetual,
|
||||
* worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
* copyright license to reproduce, prepare Derivative Works of,
|
||||
* publicly display, publicly perform, sublicense, and distribute the
|
||||
* Work and such Derivative Works in Source or Object form.
|
||||
*
|
||||
* 3. Grant of Patent License. Subject to the terms and conditions of
|
||||
* this License, each Contributor hereby grants to You a perpetual,
|
||||
* worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
* (except as stated in this section) patent license to make, have made,
|
||||
* use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
* where such license applies only to those patent claims licensable
|
||||
* by such Contributor that are necessarily infringed by their
|
||||
* Contribution(s) alone or by combination of their Contribution(s)
|
||||
* with the Work to which such Contribution(s) was submitted. If You
|
||||
* institute patent litigation against any entity (including a
|
||||
* cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
* or a Contribution incorporated within the Work constitutes direct
|
||||
* or contributory patent infringement, then any patent licenses
|
||||
* granted to You under this License for that Work shall terminate
|
||||
* as of the date such litigation is filed.
|
||||
*
|
||||
* 4. Redistribution. You may reproduce and distribute copies of the
|
||||
* Work or Derivative Works thereof in any medium, with or without
|
||||
* modifications, and in Source or Object form, provided that You
|
||||
* meet the following conditions:
|
||||
*
|
||||
* (a) You must give any other recipients of the Work or
|
||||
* Derivative Works a copy of this License; and
|
||||
*
|
||||
* (b) You must cause any modified files to carry prominent notices
|
||||
* stating that You changed the files; and
|
||||
*
|
||||
* (c) You must retain, in the Source form of any Derivative Works
|
||||
* that You distribute, all copyright, patent, trademark, and
|
||||
* attribution notices from the Source form of the Work,
|
||||
* excluding those notices that do not pertain to any part of
|
||||
* the Derivative Works; and
|
||||
*
|
||||
* (d) If the Work includes a "NOTICE" text file as part of its
|
||||
* distribution, then any Derivative Works that You distribute must
|
||||
* include a readable copy of the attribution notices contained
|
||||
* within such NOTICE file, excluding those notices that do not
|
||||
* pertain to any part of the Derivative Works, in at least one
|
||||
* of the following places: within a NOTICE text file distributed
|
||||
* as part of the Derivative Works; within the Source form or
|
||||
* documentation, if provided along with the Derivative Works; or,
|
||||
* within a display generated by the Derivative Works, if and
|
||||
* wherever such third-party notices normally appear. The contents
|
||||
* of the NOTICE file are for informational purposes only and
|
||||
* do not modify the License. You may add Your own attribution
|
||||
* notices within Derivative Works that You distribute, alongside
|
||||
* or as an addendum to the NOTICE text from the Work, provided
|
||||
* that such additional attribution notices cannot be construed
|
||||
* as modifying the License.
|
||||
*
|
||||
* You may add Your own copyright statement to Your modifications and
|
||||
* may provide additional or different license terms and conditions
|
||||
* for use, reproduction, or distribution of Your modifications, or
|
||||
* for any such Derivative Works as a whole, provided Your use,
|
||||
* reproduction, and distribution of the Work otherwise complies with
|
||||
* the conditions stated in this License.
|
||||
*
|
||||
* 5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
* any Contribution intentionally submitted for inclusion in the Work
|
||||
* by You to the Licensor shall be under the terms and conditions of
|
||||
* this License, without any additional terms or conditions.
|
||||
* Notwithstanding the above, nothing herein shall supersede or modify
|
||||
* the terms of any separate license agreement you may have executed
|
||||
* with Licensor regarding such Contributions.
|
||||
*
|
||||
* 6. Trademarks. This License does not grant permission to use the trade
|
||||
* names, trademarks, service marks, or product names of the Licensor,
|
||||
* except as required for reasonable and customary use in describing the
|
||||
* origin of the Work and reproducing the content of the NOTICE file.
|
||||
*
|
||||
* 7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
* agreed to in writing, Licensor provides the Work (and each
|
||||
* Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
* implied, including, without limitation, any warranties or conditions
|
||||
* of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
* appropriateness of using or redistributing the Work and assume any
|
||||
* risks associated with Your exercise of permissions under this License.
|
||||
*
|
||||
* 8. Limitation of Liability. In no event and under no legal theory,
|
||||
* whether in tort (including negligence), contract, or otherwise,
|
||||
* unless required by applicable law (such as deliberate and grossly
|
||||
* negligent acts) or agreed to in writing, shall any Contributor be
|
||||
* liable to You for damages, including any direct, indirect, special,
|
||||
* incidental, or consequential damages of any character arising as a
|
||||
* result of this License or out of the use or inability to use the
|
||||
* Work (including but not limited to damages for loss of goodwill,
|
||||
* work stoppage, computer failure or malfunction, or any and all
|
||||
* other commercial damages or losses), even if such Contributor
|
||||
* has been advised of the possibility of such damages.
|
||||
*
|
||||
* 9. Accepting Warranty or Additional Liability. While redistributing
|
||||
* the Work or Derivative Works thereof, You may choose to offer,
|
||||
* and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
* or other liability obligations and/or rights consistent with this
|
||||
* License. However, in accepting such obligations, You may act only
|
||||
* on Your own behalf and on Your sole responsibility, not on behalf
|
||||
* of any other Contributor, and only if You agree to indemnify,
|
||||
* defend, and hold each Contributor harmless for any liability
|
||||
* incurred by, or claims asserted against, such Contributor by reason
|
||||
* of your accepting any such warranty or additional liability.
|
||||
*
|
||||
* END OF TERMS AND CONDITIONS
|
||||
*
|
||||
* APPENDIX: How to apply the Apache License to your work.
|
||||
*
|
||||
* To apply the Apache License to your work, attach the following
|
||||
* boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
* replaced with your own identifying information. (Don't include
|
||||
* the brackets!) The text should be enclosed in the appropriate
|
||||
* comment syntax for the file format. We also recommend that a
|
||||
* file or class name and description of purpose be included on the
|
||||
* same "printed page" as the copyright notice for easier
|
||||
* identification within third-party archives.
|
||||
*
|
||||
* Copyright [yyyy] [name of copyright owner]
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
W3C<EFBFBD> SOFTWARE NOTICE AND LICENSE
|
||||
http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
|
||||
|
||||
This work (and included software, documentation such as READMEs, or other
|
||||
related items) is being provided by the copyright holders under the following
|
||||
license. By obtaining, using and/or copying this work, you (the licensee) agree
|
||||
that you have read, understood, and will comply with the following terms and
|
||||
conditions.
|
||||
|
||||
Permission to copy, modify, and distribute this software and its documentation,
|
||||
with or without modification, for any purpose and without fee or royalty is
|
||||
hereby granted, provided that you include the following on ALL copies of the
|
||||
software and documentation or portions thereof, including modifications:
|
||||
|
||||
1. The full text of this NOTICE in a location viewable to users of the
|
||||
redistributed or derivative work.
|
||||
2. Any pre-existing intellectual property disclaimers, notices, or terms
|
||||
and conditions. If none exist, the W3C Software Short Notice should be
|
||||
included (hypertext is preferred, text is permitted) within the body
|
||||
of any redistributed or derivative code.
|
||||
3. Notice of any changes or modifications to the files, including the date
|
||||
changes were made. (We recommend you provide URIs to the location from
|
||||
which the code is derived.)
|
||||
|
||||
THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE
|
||||
NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
||||
TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT
|
||||
THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY
|
||||
PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
|
||||
|
||||
COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR
|
||||
CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION.
|
||||
|
||||
The name and trademarks of copyright holders may NOT be used in advertising or
|
||||
publicity pertaining to the software without specific, written prior permission.
|
||||
Title to copyright in this software and any associated documentation will at
|
||||
all times remain with copyright holders.
|
||||
|
||||
____________________________________
|
||||
|
||||
This formulation of W3C's notice and license became active on December 31 2002.
|
||||
This version removes the copyright ownership notice such that this license can
|
||||
be used with materials other than those owned by the W3C, reflects that ERCIM
|
||||
is now a host of the W3C, includes references to this specific dated version of
|
||||
the license, and removes the ambiguous grant of "use". Otherwise, this version
|
||||
is the same as the previous version and is written so as to preserve the Free
|
||||
Software Foundation's assessment of GPL compatibility and OSI's certification
|
||||
under the Open Source Definition. Please see our Copyright FAQ for common
|
||||
questions about using materials from our site, including specific terms and
|
||||
conditions for packages like libwww, Amaya, and Jigsaw. Other questions about
|
||||
this notice can be directed to site-policy@w3.org.
|
||||
|
||||
Joseph Reagle <site-policy@w3.org>
|
||||
|
||||
This license came from: http://www.megginson.com/SAX/copying.html
|
||||
However please note future versions of SAX may be covered
|
||||
under http://saxproject.org/?selected=pd
|
||||
|
||||
SAX2 is Free!
|
||||
|
||||
I hereby abandon any property rights to SAX 2.0 (the Simple API for
|
||||
XML), and release all of the SAX 2.0 source code, compiled code, and
|
||||
documentation contained in this distribution into the Public Domain.
|
||||
SAX comes with NO WARRANTY or guarantee of fitness for any
|
||||
purpose.
|
||||
|
||||
David Megginson, david@megginson.com
|
||||
2000-05-05
|
||||
@@ -0,0 +1,23 @@
|
||||
ANTLR 2 License
|
||||
|
||||
We reserve no legal rights to the ANTLR--it is fully in the public domain. An individual or company may do
|
||||
whatever they wish with source code distributed with ANTLR or the code generated by ANTLR, including the
|
||||
incorporation of ANTLR, or its output, into commerical software.
|
||||
|
||||
We encourage users to develop software with ANTLR. However, we do ask that credit is given to us for
|
||||
developing ANTLR. By "credit", we mean that if you use ANTLR or incorporate any source code into one of your
|
||||
programs (commercial product, research project, or otherwise) that you acknowledge this fact somewhere in
|
||||
the documentation, research report, etc... If you like ANTLR and have developed a nice tool with the output,
|
||||
please mention that you developed it using ANTLR. In addition, we ask that the headers remain intact in our
|
||||
source code. As long as these guidelines are kept, we expect to continue enhancing this system and expect to
|
||||
make other tools available as they are completed.
|
||||
|
||||
In countries where the Public Domain status of the work may not be valid, the author grants a copyright
|
||||
licence to the general public to deal in the work without restriction and permission to sublicence derivates
|
||||
under the terms of any (OSI approved) Open Source licence.
|
||||
|
||||
The Python parser generator code under antlr/actions/python/ is covered by the 3-clause BSD licence (this
|
||||
part is included in the binary JAR files); the run-time part under lib/python/ is covered by the GNU GPL,
|
||||
version 3 or later (this part is not included in the binary JAR files). See [1] for the full details.
|
||||
|
||||
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=750643#80%22
|
||||
@@ -0,0 +1,32 @@
|
||||
ASM License
|
||||
|
||||
ASM: a very small and fast Java bytecode manipulation framework
|
||||
Copyright (c) 2000-2011 INRIA, France Telecom
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
|
||||
3. Neither the name of the copyright holders 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 OWNER 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.
|
||||
@@ -0,0 +1,77 @@
|
||||
Eclipse Public License, Version 1.0 (EPL-1.0)
|
||||
|
||||
(plain text)
|
||||
|
||||
THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
|
||||
|
||||
1. DEFINITIONS
|
||||
|
||||
"Contribution" means:
|
||||
|
||||
a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and
|
||||
b) in the case of each subsequent Contributor:
|
||||
i) changes to the Program, and
|
||||
ii) additions to the Program;
|
||||
|
||||
where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program.
|
||||
|
||||
"Contributor" means any person or entity that distributes the Program.
|
||||
|
||||
"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program.
|
||||
|
||||
"Program" means the Contributions distributed in accordance with this Agreement.
|
||||
|
||||
"Recipient" means anyone who receives the Program under this Agreement, including all Contributors.
|
||||
|
||||
2. GRANT OF RIGHTS
|
||||
|
||||
a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.
|
||||
b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder.
|
||||
c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.
|
||||
d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement.
|
||||
|
||||
3. REQUIREMENTS
|
||||
|
||||
A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:
|
||||
|
||||
a) it complies with the terms and conditions of this Agreement; and
|
||||
b) its license agreement:
|
||||
i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose;
|
||||
ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits;
|
||||
iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and
|
||||
iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.
|
||||
|
||||
When the Program is made available in source code form:
|
||||
|
||||
a) it must be made available under this Agreement; and
|
||||
b) a copy of this Agreement must be included with each copy of the Program.
|
||||
|
||||
Contributors may not remove or alter any copyright notices contained within the Program.
|
||||
|
||||
Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution.
|
||||
|
||||
4. COMMERCIAL DISTRIBUTION
|
||||
|
||||
Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.
|
||||
|
||||
For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.
|
||||
|
||||
5. NO WARRANTY
|
||||
|
||||
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement , including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations.
|
||||
|
||||
6. DISCLAIMER OF LIABILITY
|
||||
|
||||
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), 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 OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
7. GENERAL
|
||||
|
||||
If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
|
||||
|
||||
If Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed.
|
||||
|
||||
All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive.
|
||||
|
||||
Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved.
|
||||
|
||||
This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.
|
||||
@@ -0,0 +1,54 @@
|
||||
Apache License
|
||||
|
||||
Version 2.0, January 2004
|
||||
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
|
||||
|
||||
You must give any other recipients of the Work or Derivative Works a copy of this License; and
|
||||
You must cause any modified files to carry prominent notices stating that You changed the files; and
|
||||
You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
|
||||
If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
@@ -0,0 +1,295 @@
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
|
||||
ANTLR 2 License
|
||||
|
||||
Antlr2 is released in the public domain.
|
||||
See licenses/antlr2-license.txt for details.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
|
||||
ASM 4 License
|
||||
|
||||
ASM 4 uses a 3-clause BSD license. For details, see licenses/asm-license.txt.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
|
||||
Hamcrest License (needed when using optional JUnit dependency)
|
||||
|
||||
This product bundles the Hamcrest jar, which is available under a
|
||||
BSD license. For details, see licenses/hamcrest-license.txt.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
|
||||
JAXB License (for optional groovy-jaxb extensions)
|
||||
|
||||
This product bundles several JAXB related jars in binary form.
|
||||
|
||||
The "javax.activation" jar is available under the CDDL 1.0 license:
|
||||
licenses/activation-license.txt
|
||||
|
||||
The jaxb-api, jaxb-core and jaxb-impl jars use the CDDL 1.1 license:
|
||||
licenses/jaxb-license.txt
|
||||
|
||||
------------------------------------------------------------------------
|
||||
|
||||
JLine2 License (optional dependency used with groovysh)
|
||||
|
||||
This product bundles the JLine2 jar, which is available under a
|
||||
BSD License. For details, see licenses/jline2-license.txt.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
|
||||
JSR166y License (optionally used by the optional GPars dependency)
|
||||
|
||||
This product bundles the jsr166y jar (containing works from
|
||||
the JSR-166 EG, Doug Lea, and Jason T. Greene) made available in
|
||||
the public domain. For details, see licenses/jsr166y-license.txt.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
|
||||
JSR223 License
|
||||
|
||||
The following classes within this product:
|
||||
|
||||
org.codehaus.groovy.jsr223.GroovyCompiledScript
|
||||
org.codehaus.groovy.jsr223.GroovyScriptEngineFactory
|
||||
org.codehaus.groovy.jsr223.GroovyScriptEngineImpl
|
||||
|
||||
were derived from reference implementation files developed by Sun in
|
||||
collaboration with the Groovy community. The reference implementation
|
||||
has a BSD-style license. Details can be found in: licenses/jsr223-license.txt
|
||||
|
||||
------------------------------------------------------------------------
|
||||
|
||||
JUnit Licenses (optional dependencies when using Groovy for testing)
|
||||
|
||||
This product bundles the JUnit 4 jar, which is available under the
|
||||
Eclipse Public License v1.0. For details, see licenses/junit4-license.txt.
|
||||
|
||||
This product bundles several JUnit 5 jars, which are available under the
|
||||
Eclipse Public License v2.0. For details, see licenses/junit5-license.txt.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
|
||||
normalize.css License
|
||||
|
||||
The stylesheet.css file (originally normalize.css) is used by the
|
||||
groovydoc and docgenerator components for groovy-jdk/gapi documentation.
|
||||
It is made available under a MIT License:
|
||||
licenses/normalize-stylesheet-license.txt
|
||||
|
||||
------------------------------------------------------------------------
|
||||
|
||||
XStream License (optional dependency when serializing AST as XML)
|
||||
|
||||
This product bundles the XStream jar, which is available under a
|
||||
"3-clause BSD" license. For details, see licenses/xstream-license.txt.
|
||||
|
||||
|
||||
------------------------------------------------------------------------
|
||||
|
||||
This convenience zip embeds Groovy's src and doc zips.
|
||||
See also src/LICENSE and doc/LICENSE files for additional license information.
|
||||
@@ -0,0 +1,202 @@
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
@@ -0,0 +1,27 @@
|
||||
BSD License
|
||||
|
||||
Copyright (c) 2000-2015 www.hamcrest.org
|
||||
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 Hamcrest 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 OWNER 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.
|
||||
@@ -0,0 +1,34 @@
|
||||
Copyright (c) 2002-2012, the original author or authors.
|
||||
All rights reserved.
|
||||
|
||||
http://www.opensource.org/licenses/bsd-license.php
|
||||
|
||||
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 JLine 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 OWNER 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.
|
||||
@@ -0,0 +1,26 @@
|
||||
The person or persons who have associated work with this document (the
|
||||
"Dedicator" or "Certifier") hereby either (a) certifies that, to the best of
|
||||
his knowledge, the work of authorship identified is in the public domain of
|
||||
the country from which the work is published, or (b) hereby dedicates whatever
|
||||
copyright the dedicators holds in the work of authorship identified below (the
|
||||
"Work") to the public domain. A certifier, moreover, dedicates any copyright
|
||||
interest he may have in the associated work, and for these purposes, is
|
||||
described as a "dedicator" below.
|
||||
|
||||
A certifier has taken reasonable steps to verify the copyright status of this
|
||||
work. Certifier recognizes that his good faith efforts may not shield him from
|
||||
liability if in fact the work certified is not in the public domain.
|
||||
|
||||
Dedicator makes this dedication for the benefit of the public at large and to
|
||||
the detriment of the Dedicator's heirs and successors. Dedicator intends this
|
||||
dedication to be an overt act of relinquishment in perpetuity of all present
|
||||
and future rights under copyright law, whether vested or contingent, in the
|
||||
Work. Dedicator understands that such relinquishment of all rights includes
|
||||
the relinquishment of all rights to enforce (by lawsuit or otherwise) those
|
||||
copyrights in the Work.
|
||||
|
||||
Dedicator recognizes that, once placed in the public domain, the Work may be
|
||||
freely reproduced, distributed, transmitted, used, modified, built upon, or
|
||||
otherwise exploited by anyone for any purpose, commercial or non-commercial,
|
||||
and in any way, including by methods that have not yet been invented or
|
||||
conceived.
|
||||
@@ -0,0 +1,32 @@
|
||||
Copyright (c) 2006, Sun Microsystems, Inc.
|
||||
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 Sun Microsystems, Inc. nor the names of
|
||||
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 OWNER 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.
|
||||
@@ -0,0 +1,93 @@
|
||||
|
||||
Project License
|
||||
Eclipse Public License 1.0
|
||||
[Original text]
|
||||
|
||||
Copy of the license follows.
|
||||
Eclipse Public License - v 1.0
|
||||
|
||||
THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
|
||||
|
||||
1. DEFINITIONS
|
||||
|
||||
"Contribution" means:
|
||||
|
||||
a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and
|
||||
|
||||
b) in the case of each subsequent Contributor:
|
||||
|
||||
i) changes to the Program, and
|
||||
|
||||
ii) additions to the Program;
|
||||
|
||||
where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program.
|
||||
|
||||
"Contributor" means any person or entity that distributes the Program.
|
||||
|
||||
"Licensed Patents" mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program.
|
||||
|
||||
"Program" means the Contributions distributed in accordance with this Agreement.
|
||||
|
||||
"Recipient" means anyone who receives the Program under this Agreement, including all Contributors.
|
||||
|
||||
2. GRANT OF RIGHTS
|
||||
|
||||
a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.
|
||||
|
||||
b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder.
|
||||
|
||||
c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.
|
||||
|
||||
d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement.
|
||||
|
||||
3. REQUIREMENTS
|
||||
|
||||
A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:
|
||||
|
||||
a) it complies with the terms and conditions of this Agreement; and
|
||||
|
||||
b) its license agreement:
|
||||
|
||||
i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose;
|
||||
|
||||
ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits;
|
||||
|
||||
iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and
|
||||
|
||||
iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.
|
||||
|
||||
When the Program is made available in source code form:
|
||||
|
||||
a) it must be made available under this Agreement; and
|
||||
|
||||
b) a copy of this Agreement must be included with each copy of the Program.
|
||||
|
||||
Contributors may not remove or alter any copyright notices contained within the Program.
|
||||
|
||||
Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution.
|
||||
|
||||
4. COMMERCIAL DISTRIBUTION
|
||||
|
||||
Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.
|
||||
|
||||
For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.
|
||||
|
||||
5. NO WARRANTY
|
||||
|
||||
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement , including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations.
|
||||
|
||||
6. DISCLAIMER OF LIABILITY
|
||||
|
||||
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), 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 OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
7. GENERAL
|
||||
|
||||
If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
|
||||
|
||||
If Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed.
|
||||
|
||||
All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive.
|
||||
|
||||
Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved.
|
||||
|
||||
This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.
|
||||
@@ -0,0 +1,227 @@
|
||||
Eclipse Public License - v 1.0
|
||||
|
||||
THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE
|
||||
PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF
|
||||
THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
|
||||
|
||||
1. DEFINITIONS
|
||||
|
||||
"Contribution" means:
|
||||
|
||||
a) in the case of the initial Contributor, the initial code and
|
||||
documentation distributed under this Agreement, and
|
||||
|
||||
b) in the case of each subsequent Contributor:
|
||||
|
||||
i) changes to the Program, and
|
||||
|
||||
ii) additions to the Program;
|
||||
|
||||
where such changes and/or additions to the Program originate from and
|
||||
are distributed by that particular Contributor. A Contribution
|
||||
'originates' from a Contributor if it was added to the Program by such
|
||||
Contributor itself or anyone acting on such Contributor's behalf.
|
||||
Contributions do not include additions to the Program which: (i) are
|
||||
separate modules of software distributed in conjunction with the
|
||||
Program under their own license agreement, and (ii) are not derivative
|
||||
works of the Program.
|
||||
|
||||
"Contributor" means any person or entity that distributes the Program.
|
||||
|
||||
"Licensed Patents" mean patent claims licensable by a Contributor which
|
||||
are necessarily infringed by the use or sale of its Contribution alone
|
||||
or when combined with the Program.
|
||||
|
||||
"Program" means the Contributions distributed in accordance with this
|
||||
Agreement.
|
||||
|
||||
"Recipient" means anyone who receives the Program under this Agreement,
|
||||
including all Contributors.
|
||||
|
||||
2. GRANT OF RIGHTS
|
||||
|
||||
a) Subject to the terms of this Agreement, each Contributor hereby
|
||||
grants Recipient a non-exclusive, worldwide, royalty-free copyright
|
||||
license to reproduce, prepare derivative works of, publicly display,
|
||||
publicly perform, distribute and sublicense the Contribution of such
|
||||
Contributor, if any, and such derivative works, in source code and
|
||||
object code form.
|
||||
|
||||
b) Subject to the terms of this Agreement, each Contributor hereby
|
||||
grants Recipient a non-exclusive, worldwide, royalty-free patent
|
||||
license under Licensed Patents to make, use, sell, offer to sell,
|
||||
import and otherwise transfer the Contribution of such Contributor, if
|
||||
any, in source code and object code form. This patent license shall
|
||||
apply to the combination of the Contribution and the Program if, at the
|
||||
time the Contribution is added by the Contributor, such addition of the
|
||||
Contribution causes such combination to be covered by the Licensed
|
||||
Patents. The patent license shall not apply to any other combinations
|
||||
which include the Contribution. No hardware per se is licensed
|
||||
hereunder.
|
||||
|
||||
c) Recipient understands that although each Contributor grants the
|
||||
licenses to its Contributions set forth herein, no assurances are
|
||||
provided by any Contributor that the Program does not infringe the
|
||||
patent or other intellectual property rights of any other entity. Each
|
||||
Contributor disclaims any liability to Recipient for claims brought by
|
||||
any other entity based on infringement of intellectual property rights
|
||||
or otherwise. As a condition to exercising the rights and licenses
|
||||
granted hereunder, each Recipient hereby assumes sole responsibility to
|
||||
secure any other intellectual property rights needed, if any. For
|
||||
example, if a third party patent license is required to allow Recipient
|
||||
to distribute the Program, it is Recipient's responsibility to acquire
|
||||
that license before distributing the Program.
|
||||
|
||||
d) Each Contributor represents that to its knowledge it has sufficient
|
||||
copyright rights in its Contribution, if any, to grant the copyright
|
||||
license set forth in this Agreement.
|
||||
|
||||
3. REQUIREMENTS
|
||||
|
||||
A Contributor may choose to distribute the Program in object code form
|
||||
under its own license agreement, provided that:
|
||||
|
||||
a) it complies with the terms and conditions of this Agreement; and
|
||||
|
||||
b) its license agreement:
|
||||
|
||||
i) effectively disclaims on behalf of all Contributors all warranties
|
||||
and conditions, express and implied, including warranties or conditions
|
||||
of title and non-infringement, and implied warranties or conditions of
|
||||
merchantability and fitness for a particular purpose;
|
||||
|
||||
ii) effectively excludes on behalf of all Contributors all liability
|
||||
for damages, including direct, indirect, special, incidental and
|
||||
consequential damages, such as lost profits;
|
||||
|
||||
iii) states that any provisions which differ from this Agreement are
|
||||
offered by that Contributor alone and not by any other party; and
|
||||
|
||||
iv) states that source code for the Program is available from such
|
||||
Contributor, and informs licensees how to obtain it in a reasonable
|
||||
manner on or through a medium customarily used for software exchange.
|
||||
|
||||
When the Program is made available in source code form:
|
||||
|
||||
a) it must be made available under this Agreement; and
|
||||
|
||||
b) a copy of this Agreement must be included with each copy of the
|
||||
Program.
|
||||
|
||||
Contributors may not remove or alter any copyright notices contained
|
||||
within the Program.
|
||||
|
||||
Each Contributor must identify itself as the originator of its
|
||||
Contribution, if any, in a manner that reasonably allows subsequent
|
||||
Recipients to identify the originator of the Contribution.
|
||||
|
||||
4. COMMERCIAL DISTRIBUTION
|
||||
|
||||
Commercial distributors of software may accept certain responsibilities
|
||||
with respect to end users, business partners and the like. While this
|
||||
license is intended to facilitate the commercial use of the Program,
|
||||
the Contributor who includes the Program in a commercial product
|
||||
offering should do so in a manner which does not create potential
|
||||
liability for other Contributors. Therefore, if a Contributor includes
|
||||
the Program in a commercial product offering, such Contributor
|
||||
("Commercial Contributor") hereby agrees to defend and indemnify every
|
||||
other Contributor ("Indemnified Contributor") against any losses,
|
||||
damages and costs (collectively "Losses") arising from claims, lawsuits
|
||||
and other legal actions brought by a third party against the
|
||||
Indemnified Contributor to the extent caused by the acts or omissions
|
||||
of such Commercial Contributor in connection with its distribution of
|
||||
the Program in a commercial product offering. The obligations in this
|
||||
section do not apply to any claims or Losses relating to any actual or
|
||||
alleged intellectual property infringement. In order to qualify, an
|
||||
Indemnified Contributor must: a) promptly notify the Commercial
|
||||
Contributor in writing of such claim, and b) allow the Commercial
|
||||
Contributor to control, and cooperate with the Commercial Contributor
|
||||
in, the defense and any related settlement negotiations. The
|
||||
Indemnified Contributor may participate in any such claim at its own
|
||||
expense.
|
||||
|
||||
For example, a Contributor might include the Program in a commercial
|
||||
product offering, Product X. That Contributor is then a Commercial
|
||||
Contributor. If that Commercial Contributor then makes performance
|
||||
claims, or offers warranties related to Product X, those performance
|
||||
claims and warranties are such Commercial Contributor's responsibility
|
||||
alone. Under this section, the Commercial Contributor would have to
|
||||
defend claims against the other Contributors related to those
|
||||
performance claims and warranties, and if a court requires any other
|
||||
Contributor to pay any damages as a result, the Commercial Contributor
|
||||
must pay those damages.
|
||||
|
||||
5. NO WARRANTY
|
||||
|
||||
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS
|
||||
PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY
|
||||
WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR
|
||||
FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible
|
||||
for determining the appropriateness of using and distributing the
|
||||
Program and assumes all risks associated with its exercise of rights
|
||||
under this Agreement , including but not limited to the risks and costs
|
||||
of program errors, compliance with applicable laws, damage to or loss
|
||||
of data, programs or equipment, and unavailability or interruption of
|
||||
operations.
|
||||
|
||||
6. DISCLAIMER OF LIABILITY
|
||||
|
||||
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR
|
||||
ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT,
|
||||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING
|
||||
WITHOUT LIMITATION LOST PROFITS), 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 OR
|
||||
DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
|
||||
HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
7. GENERAL
|
||||
|
||||
If any provision of this Agreement is invalid or unenforceable under
|
||||
applicable law, it shall not affect the validity or enforceability of
|
||||
the remainder of the terms of this Agreement, and without further
|
||||
action by the parties hereto, such provision shall be reformed to the
|
||||
minimum extent necessary to make such provision valid and enforceable.
|
||||
|
||||
If Recipient institutes patent litigation against any entity (including
|
||||
a cross-claim or counterclaim in a lawsuit) alleging that the Program
|
||||
itself (excluding combinations of the Program with other software or
|
||||
hardware) infringes such Recipient's patent(s), then such Recipient's
|
||||
rights granted under Section 2(b) shall terminate as of the date such
|
||||
litigation is filed.
|
||||
|
||||
All Recipient's rights under this Agreement shall terminate if it fails
|
||||
to comply with any of the material terms or conditions of this
|
||||
Agreement and does not cure such failure in a reasonable period of time
|
||||
after becoming aware of such noncompliance. If all Recipient's rights
|
||||
under this Agreement terminate, Recipient agrees to cease use and
|
||||
distribution of the Program as soon as reasonably practicable. However,
|
||||
Recipient's obligations under this Agreement and any licenses granted
|
||||
by Recipient relating to the Program shall continue and survive.
|
||||
|
||||
Everyone is permitted to copy and distribute copies of this Agreement,
|
||||
but in order to avoid inconsistency the Agreement is copyrighted and
|
||||
may only be modified in the following manner. The Agreement Steward
|
||||
reserves the right to publish new versions (including revisions) of
|
||||
this Agreement from time to time. No one other than the Agreement
|
||||
Steward has the right to modify this Agreement. The Eclipse Foundation
|
||||
is the initial Agreement Steward. The Eclipse Foundation may assign the
|
||||
responsibility to serve as the Agreement Steward to a suitable separate
|
||||
entity. Each new version of the Agreement will be given a
|
||||
distinguishing version number. The Program (including Contributions)
|
||||
may always be distributed subject to the version of the Agreement under
|
||||
which it was received. In addition, after a new version of the
|
||||
Agreement is published, Contributor may elect to distribute the Program
|
||||
(including its Contributions) under the new version. Except as
|
||||
expressly stated in Sections 2(a) and 2(b) above, Recipient receives no
|
||||
rights or licenses to the intellectual property of any Contributor
|
||||
under this Agreement, whether expressly, by implication, estoppel or
|
||||
otherwise. All rights in the Program not expressly granted under this
|
||||
Agreement are reserved.
|
||||
|
||||
This Agreement is governed by the laws of the State of New York and the
|
||||
intellectual property laws of the United States of America. No party to
|
||||
this Agreement will bring a legal action under this Agreement more than
|
||||
one year after the cause of action arose. Each party waives its rights
|
||||
to a jury trial in any resulting litigation.
|
||||
@@ -0,0 +1,87 @@
|
||||
Eclipse Public License - v 2.0
|
||||
|
||||
THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE (“AGREEMENT”). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
|
||||
|
||||
1. Definitions
|
||||
“Contribution” means:
|
||||
|
||||
a) in the case of the initial Contributor, the initial content Distributed under this Agreement, and
|
||||
b) in the case of each subsequent Contributor:
|
||||
i) changes to the Program, and
|
||||
ii) additions to the Program; where such changes and/or additions to the Program originate from and are Distributed by that particular Contributor. A Contribution “originates” from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include changes or additions to the Program that are not Modified Works.
|
||||
“Contributor” means any person or entity that Distributes the Program.
|
||||
|
||||
“Licensed Patents” mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program.
|
||||
|
||||
“Program” means the Contributions Distributed in accordance with this Agreement.
|
||||
|
||||
“Recipient” means anyone who receives the Program under this Agreement or any Secondary License (as applicable), including Contributors.
|
||||
|
||||
“Derivative Works” shall mean any work, whether in Source Code or other form, that is based on (or derived from) the Program and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship.
|
||||
|
||||
“Modified Works” shall mean any work in Source Code or other form that results from an addition to, deletion from, or modification of the contents of the Program, including, for purposes of clarity any new file in Source Code form that contains any contents of the Program. Modified Works shall not include works that contain only declarations, interfaces, types, classes, structures, or files of the Program solely in each case in order to link to, bind by name, or subclass the Program or Modified Works thereof.
|
||||
|
||||
“Distribute” means the acts of a) distributing or b) making available in any manner that enables the transfer of a copy.
|
||||
|
||||
“Source Code” means the form of a Program preferred for making modifications, including but not limited to software source code, documentation source, and configuration files.
|
||||
|
||||
“Secondary License” means either the GNU General Public License, Version 2.0, or any later versions of that license, including any exceptions or additional permissions as identified by the initial Contributor.
|
||||
|
||||
2. Grant of Rights
|
||||
a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, Distribute and sublicense the Contribution of such Contributor, if any, and such Derivative Works.
|
||||
|
||||
b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in Source Code or other form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder.
|
||||
|
||||
c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to Distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.
|
||||
|
||||
d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement.
|
||||
|
||||
e) Notwithstanding the terms of any Secondary License, no Contributor makes additional grants to any Recipient (other than those set forth in this Agreement) as a result of such Recipient's receipt of the Program under the terms of a Secondary License (if permitted under the terms of Section 3).
|
||||
|
||||
3. Requirements
|
||||
3.1 If a Contributor Distributes the Program in any form, then:
|
||||
|
||||
a) the Program must also be made available as Source Code, in accordance with section 3.2, and the Contributor must accompany the Program with a statement that the Source Code for the Program is available under this Agreement, and informs Recipients how to obtain it in a reasonable manner on or through a medium customarily used for software exchange; and
|
||||
|
||||
b) the Contributor may Distribute the Program under a license different than this Agreement, provided that such license:
|
||||
|
||||
i) effectively disclaims on behalf of all other Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose;
|
||||
ii) effectively excludes on behalf of all other Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits;
|
||||
iii) does not attempt to limit or alter the recipients' rights in the Source Code under section 3.2; and
|
||||
iv) requires any subsequent distribution of the Program by any party to be under a license that satisfies the requirements of this section 3.
|
||||
3.2 When the Program is Distributed as Source Code:
|
||||
|
||||
a) it must be made available under this Agreement, or if the Program (i) is combined with other material in a separate file or files made available under a Secondary License, and (ii) the initial Contributor attached to the Source Code the notice described in Exhibit A of this Agreement, then the Program may be made available under the terms of such Secondary Licenses, and
|
||||
b) a copy of this Agreement must be included with each copy of the Program.
|
||||
3.3 Contributors may not remove or alter any copyright, patent, trademark, attribution notices, disclaimers of warranty, or limitations of liability (“notices”) contained within the Program from any copy of the Program which they Distribute, provided that Contributors may add their own appropriate notices.
|
||||
|
||||
4. Commercial Distribution
|
||||
Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor (“Commercial Contributor”) hereby agrees to defend and indemnify every other Contributor (“Indemnified Contributor”) against any losses, damages and costs (collectively “Losses”) arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.
|
||||
|
||||
For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.
|
||||
|
||||
5. No Warranty
|
||||
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE PROGRAM IS PROVIDED ON AN “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations.
|
||||
|
||||
6. Disclaimer of Liability
|
||||
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT PERMITTED BY APPLICABLE LAW, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), 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 OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
7. General
|
||||
If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
|
||||
|
||||
If Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed.
|
||||
|
||||
All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive.
|
||||
|
||||
Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be Distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to Distribute the Program (including its Contributions) under the new version.
|
||||
|
||||
Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved. Nothing in this Agreement is intended to be enforceable by any entity that is not a Contributor or Recipient. No third-party beneficiary rights are created under this Agreement.
|
||||
|
||||
Exhibit A - Form of Secondary Licenses Notice
|
||||
“This Source Code may also be made available under the following Secondary Licenses when the conditions for such availability set forth in the Eclipse Public License, v. 2.0 are satisfied: {name license(s), version(s), and exceptions or additional permissions here}.”
|
||||
|
||||
Simply including a copy of this Agreement, including this Exhibit A is not sufficient to license the Source Code under Secondary Licenses.
|
||||
|
||||
If it is not possible or desirable to put the notice in a particular file, then You may include the notice in a location (such as a LICENSE file in a relevant directory) where a recipient would be likely to look for such a notice.
|
||||
|
||||
You may add additional accurate notices of copyright ownership.
|
||||
@@ -0,0 +1,201 @@
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
@@ -0,0 +1,19 @@
|
||||
Copyright (c) Nicolas Gallagher and Jonathan Neal
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
of the Software, and to permit persons to whom the Software is furnished to do
|
||||
so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
@@ -0,0 +1,202 @@
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
@@ -0,0 +1,504 @@
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 2.1, February 1999
|
||||
|
||||
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
|
||||
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
[This is the first released version of the Lesser GPL. It also counts
|
||||
as the successor of the GNU Library Public License, version 2, hence
|
||||
the version number 2.1.]
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
Licenses are intended to guarantee your freedom to share and change
|
||||
free software--to make sure the software is free for all its users.
|
||||
|
||||
This license, the Lesser General Public License, applies to some
|
||||
specially designated software packages--typically libraries--of the
|
||||
Free Software Foundation and other authors who decide to use it. You
|
||||
can use it too, but we suggest you first think carefully about whether
|
||||
this license or the ordinary General Public License is the better
|
||||
strategy to use in any particular case, based on the explanations below.
|
||||
|
||||
When we speak of free software, we are referring to freedom of use,
|
||||
not price. Our General Public Licenses are designed to make sure that
|
||||
you have the freedom to distribute copies of free software (and charge
|
||||
for this service if you wish); that you receive source code or can get
|
||||
it if you want it; that you can change the software and use pieces of
|
||||
it in new free programs; and that you are informed that you can do
|
||||
these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
distributors to deny you these rights or to ask you to surrender these
|
||||
rights. These restrictions translate to certain responsibilities for
|
||||
you if you distribute copies of the library or if you modify it.
|
||||
|
||||
For example, if you distribute copies of the library, whether gratis
|
||||
or for a fee, you must give the recipients all the rights that we gave
|
||||
you. You must make sure that they, too, receive or can get the source
|
||||
code. If you link other code with the library, you must provide
|
||||
complete object files to the recipients, so that they can relink them
|
||||
with the library after making changes to the library and recompiling
|
||||
it. And you must show them these terms so they know their rights.
|
||||
|
||||
We protect your rights with a two-step method: (1) we copyright the
|
||||
library, and (2) we offer you this license, which gives you legal
|
||||
permission to copy, distribute and/or modify the library.
|
||||
|
||||
To protect each distributor, we want to make it very clear that
|
||||
there is no warranty for the free library. Also, if the library is
|
||||
modified by someone else and passed on, the recipients should know
|
||||
that what they have is not the original version, so that the original
|
||||
author's reputation will not be affected by problems that might be
|
||||
introduced by others.
|
||||
|
||||
Finally, software patents pose a constant threat to the existence of
|
||||
any free program. We wish to make sure that a company cannot
|
||||
effectively restrict the users of a free program by obtaining a
|
||||
restrictive license from a patent holder. Therefore, we insist that
|
||||
any patent license obtained for a version of the library must be
|
||||
consistent with the full freedom of use specified in this license.
|
||||
|
||||
Most GNU software, including some libraries, is covered by the
|
||||
ordinary GNU General Public License. This license, the GNU Lesser
|
||||
General Public License, applies to certain designated libraries, and
|
||||
is quite different from the ordinary General Public License. We use
|
||||
this license for certain libraries in order to permit linking those
|
||||
libraries into non-free programs.
|
||||
|
||||
When a program is linked with a library, whether statically or using
|
||||
a shared library, the combination of the two is legally speaking a
|
||||
combined work, a derivative of the original library. The ordinary
|
||||
General Public License therefore permits such linking only if the
|
||||
entire combination fits its criteria of freedom. The Lesser General
|
||||
Public License permits more lax criteria for linking other code with
|
||||
the library.
|
||||
|
||||
We call this license the "Lesser" General Public License because it
|
||||
does Less to protect the user's freedom than the ordinary General
|
||||
Public License. It also provides other free software developers Less
|
||||
of an advantage over competing non-free programs. These disadvantages
|
||||
are the reason we use the ordinary General Public License for many
|
||||
libraries. However, the Lesser license provides advantages in certain
|
||||
special circumstances.
|
||||
|
||||
For example, on rare occasions, there may be a special need to
|
||||
encourage the widest possible use of a certain library, so that it becomes
|
||||
a de-facto standard. To achieve this, non-free programs must be
|
||||
allowed to use the library. A more frequent case is that a free
|
||||
library does the same job as widely used non-free libraries. In this
|
||||
case, there is little to gain by limiting the free library to free
|
||||
software only, so we use the Lesser General Public License.
|
||||
|
||||
In other cases, permission to use a particular library in non-free
|
||||
programs enables a greater number of people to use a large body of
|
||||
free software. For example, permission to use the GNU C Library in
|
||||
non-free programs enables many more people to use the whole GNU
|
||||
operating system, as well as its variant, the GNU/Linux operating
|
||||
system.
|
||||
|
||||
Although the Lesser General Public License is Less protective of the
|
||||
users' freedom, it does ensure that the user of a program that is
|
||||
linked with the Library has the freedom and the wherewithal to run
|
||||
that program using a modified version of the Library.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow. Pay close attention to the difference between a
|
||||
"work based on the library" and a "work that uses the library". The
|
||||
former contains code derived from the library, whereas the latter must
|
||||
be combined with the library in order to run.
|
||||
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License Agreement applies to any software library or other
|
||||
program which contains a notice placed by the copyright holder or
|
||||
other authorized party saying it may be distributed under the terms of
|
||||
this Lesser General Public License (also called "this License").
|
||||
Each licensee is addressed as "you".
|
||||
|
||||
A "library" means a collection of software functions and/or data
|
||||
prepared so as to be conveniently linked with application programs
|
||||
(which use some of those functions and data) to form executables.
|
||||
|
||||
The "Library", below, refers to any such software library or work
|
||||
which has been distributed under these terms. A "work based on the
|
||||
Library" means either the Library or any derivative work under
|
||||
copyright law: that is to say, a work containing the Library or a
|
||||
portion of it, either verbatim or with modifications and/or translated
|
||||
straightforwardly into another language. (Hereinafter, translation is
|
||||
included without limitation in the term "modification".)
|
||||
|
||||
"Source code" for a work means the preferred form of the work for
|
||||
making modifications to it. For a library, complete source code means
|
||||
all the source code for all modules it contains, plus any associated
|
||||
interface definition files, plus the scripts used to control compilation
|
||||
and installation of the library.
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running a program using the Library is not restricted, and output from
|
||||
such a program is covered only if its contents constitute a work based
|
||||
on the Library (independent of the use of the Library in a tool for
|
||||
writing it). Whether that is true depends on what the Library does
|
||||
and what the program that uses the Library does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Library's
|
||||
complete source code as you receive it, in any medium, provided that
|
||||
you conspicuously and appropriately publish on each copy an
|
||||
appropriate copyright notice and disclaimer of warranty; keep intact
|
||||
all the notices that refer to this License and to the absence of any
|
||||
warranty; and distribute a copy of this License along with the
|
||||
Library.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy,
|
||||
and you may at your option offer warranty protection in exchange for a
|
||||
fee.
|
||||
|
||||
2. You may modify your copy or copies of the Library or any portion
|
||||
of it, thus forming a work based on the Library, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) The modified work must itself be a software library.
|
||||
|
||||
b) You must cause the files modified to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
c) You must cause the whole of the work to be licensed at no
|
||||
charge to all third parties under the terms of this License.
|
||||
|
||||
d) If a facility in the modified Library refers to a function or a
|
||||
table of data to be supplied by an application program that uses
|
||||
the facility, other than as an argument passed when the facility
|
||||
is invoked, then you must make a good faith effort to ensure that,
|
||||
in the event an application does not supply such function or
|
||||
table, the facility still operates, and performs whatever part of
|
||||
its purpose remains meaningful.
|
||||
|
||||
(For example, a function in a library to compute square roots has
|
||||
a purpose that is entirely well-defined independent of the
|
||||
application. Therefore, Subsection 2d requires that any
|
||||
application-supplied function or table used by this function must
|
||||
be optional: if the application does not supply it, the square
|
||||
root function must still compute square roots.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Library,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Library, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote
|
||||
it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Library.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Library
|
||||
with the Library (or with a work based on the Library) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may opt to apply the terms of the ordinary GNU General Public
|
||||
License instead of this License to a given copy of the Library. To do
|
||||
this, you must alter all the notices that refer to this License, so
|
||||
that they refer to the ordinary GNU General Public License, version 2,
|
||||
instead of to this License. (If a newer version than version 2 of the
|
||||
ordinary GNU General Public License has appeared, then you can specify
|
||||
that version instead if you wish.) Do not make any other change in
|
||||
these notices.
|
||||
|
||||
Once this change is made in a given copy, it is irreversible for
|
||||
that copy, so the ordinary GNU General Public License applies to all
|
||||
subsequent copies and derivative works made from that copy.
|
||||
|
||||
This option is useful when you wish to copy part of the code of
|
||||
the Library into a program that is not a library.
|
||||
|
||||
4. You may copy and distribute the Library (or a portion or
|
||||
derivative of it, under Section 2) in object code or executable form
|
||||
under the terms of Sections 1 and 2 above provided that you accompany
|
||||
it with the complete corresponding machine-readable source code, which
|
||||
must be distributed under the terms of Sections 1 and 2 above on a
|
||||
medium customarily used for software interchange.
|
||||
|
||||
If distribution of object code is made by offering access to copy
|
||||
from a designated place, then offering equivalent access to copy the
|
||||
source code from the same place satisfies the requirement to
|
||||
distribute the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
5. A program that contains no derivative of any portion of the
|
||||
Library, but is designed to work with the Library by being compiled or
|
||||
linked with it, is called a "work that uses the Library". Such a
|
||||
work, in isolation, is not a derivative work of the Library, and
|
||||
therefore falls outside the scope of this License.
|
||||
|
||||
However, linking a "work that uses the Library" with the Library
|
||||
creates an executable that is a derivative of the Library (because it
|
||||
contains portions of the Library), rather than a "work that uses the
|
||||
library". The executable is therefore covered by this License.
|
||||
Section 6 states terms for distribution of such executables.
|
||||
|
||||
When a "work that uses the Library" uses material from a header file
|
||||
that is part of the Library, the object code for the work may be a
|
||||
derivative work of the Library even though the source code is not.
|
||||
Whether this is true is especially significant if the work can be
|
||||
linked without the Library, or if the work is itself a library. The
|
||||
threshold for this to be true is not precisely defined by law.
|
||||
|
||||
If such an object file uses only numerical parameters, data
|
||||
structure layouts and accessors, and small macros and small inline
|
||||
functions (ten lines or less in length), then the use of the object
|
||||
file is unrestricted, regardless of whether it is legally a derivative
|
||||
work. (Executables containing this object code plus portions of the
|
||||
Library will still fall under Section 6.)
|
||||
|
||||
Otherwise, if the work is a derivative of the Library, you may
|
||||
distribute the object code for the work under the terms of Section 6.
|
||||
Any executables containing that work also fall under Section 6,
|
||||
whether or not they are linked directly with the Library itself.
|
||||
|
||||
6. As an exception to the Sections above, you may also combine or
|
||||
link a "work that uses the Library" with the Library to produce a
|
||||
work containing portions of the Library, and distribute that work
|
||||
under terms of your choice, provided that the terms permit
|
||||
modification of the work for the customer's own use and reverse
|
||||
engineering for debugging such modifications.
|
||||
|
||||
You must give prominent notice with each copy of the work that the
|
||||
Library is used in it and that the Library and its use are covered by
|
||||
this License. You must supply a copy of this License. If the work
|
||||
during execution displays copyright notices, you must include the
|
||||
copyright notice for the Library among them, as well as a reference
|
||||
directing the user to the copy of this License. Also, you must do one
|
||||
of these things:
|
||||
|
||||
a) Accompany the work with the complete corresponding
|
||||
machine-readable source code for the Library including whatever
|
||||
changes were used in the work (which must be distributed under
|
||||
Sections 1 and 2 above); and, if the work is an executable linked
|
||||
with the Library, with the complete machine-readable "work that
|
||||
uses the Library", as object code and/or source code, so that the
|
||||
user can modify the Library and then relink to produce a modified
|
||||
executable containing the modified Library. (It is understood
|
||||
that the user who changes the contents of definitions files in the
|
||||
Library will not necessarily be able to recompile the application
|
||||
to use the modified definitions.)
|
||||
|
||||
b) Use a suitable shared library mechanism for linking with the
|
||||
Library. A suitable mechanism is one that (1) uses at run time a
|
||||
copy of the library already present on the user's computer system,
|
||||
rather than copying library functions into the executable, and (2)
|
||||
will operate properly with a modified version of the library, if
|
||||
the user installs one, as long as the modified version is
|
||||
interface-compatible with the version that the work was made with.
|
||||
|
||||
c) Accompany the work with a written offer, valid for at
|
||||
least three years, to give the same user the materials
|
||||
specified in Subsection 6a, above, for a charge no more
|
||||
than the cost of performing this distribution.
|
||||
|
||||
d) If distribution of the work is made by offering access to copy
|
||||
from a designated place, offer equivalent access to copy the above
|
||||
specified materials from the same place.
|
||||
|
||||
e) Verify that the user has already received a copy of these
|
||||
materials or that you have already sent this user a copy.
|
||||
|
||||
For an executable, the required form of the "work that uses the
|
||||
Library" must include any data and utility programs needed for
|
||||
reproducing the executable from it. However, as a special exception,
|
||||
the materials to be distributed need not include anything that is
|
||||
normally distributed (in either source or binary form) with the major
|
||||
components (compiler, kernel, and so on) of the operating system on
|
||||
which the executable runs, unless that component itself accompanies
|
||||
the executable.
|
||||
|
||||
It may happen that this requirement contradicts the license
|
||||
restrictions of other proprietary libraries that do not normally
|
||||
accompany the operating system. Such a contradiction means you cannot
|
||||
use both them and the Library together in an executable that you
|
||||
distribute.
|
||||
|
||||
7. You may place library facilities that are a work based on the
|
||||
Library side-by-side in a single library together with other library
|
||||
facilities not covered by this License, and distribute such a combined
|
||||
library, provided that the separate distribution of the work based on
|
||||
the Library and of the other library facilities is otherwise
|
||||
permitted, and provided that you do these two things:
|
||||
|
||||
a) Accompany the combined library with a copy of the same work
|
||||
based on the Library, uncombined with any other library
|
||||
facilities. This must be distributed under the terms of the
|
||||
Sections above.
|
||||
|
||||
b) Give prominent notice with the combined library of the fact
|
||||
that part of it is a work based on the Library, and explaining
|
||||
where to find the accompanying uncombined form of the same work.
|
||||
|
||||
8. You may not copy, modify, sublicense, link with, or distribute
|
||||
the Library except as expressly provided under this License. Any
|
||||
attempt otherwise to copy, modify, sublicense, link with, or
|
||||
distribute the Library is void, and will automatically terminate your
|
||||
rights under this License. However, parties who have received copies,
|
||||
or rights, from you under this License will not have their licenses
|
||||
terminated so long as such parties remain in full compliance.
|
||||
|
||||
9. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Library or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Library (or any work based on the
|
||||
Library), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Library or works based on it.
|
||||
|
||||
10. Each time you redistribute the Library (or any work based on the
|
||||
Library), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute, link with or modify the Library
|
||||
subject to these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties with
|
||||
this License.
|
||||
|
||||
11. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Library at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Library by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Library.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under any
|
||||
particular circumstance, the balance of the section is intended to apply,
|
||||
and the section as a whole is intended to apply in other circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
12. If the distribution and/or use of the Library is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Library under this License may add
|
||||
an explicit geographical distribution limitation excluding those countries,
|
||||
so that distribution is permitted only in or among countries not thus
|
||||
excluded. In such case, this License incorporates the limitation as if
|
||||
written in the body of this License.
|
||||
|
||||
13. The Free Software Foundation may publish revised and/or new
|
||||
versions of the Lesser General Public License from time to time.
|
||||
Such new versions will be similar in spirit to the present version,
|
||||
but may differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Library
|
||||
specifies a version number of this License which applies to it and
|
||||
"any later version", you have the option of following the terms and
|
||||
conditions either of that version or of any later version published by
|
||||
the Free Software Foundation. If the Library does not specify a
|
||||
license version number, you may choose any version ever published by
|
||||
the Free Software Foundation.
|
||||
|
||||
14. If you wish to incorporate parts of the Library into other free
|
||||
programs whose distribution conditions are incompatible with these,
|
||||
write to the author to ask for permission. For software which is
|
||||
copyrighted by the Free Software Foundation, write to the Free
|
||||
Software Foundation; we sometimes make exceptions for this. Our
|
||||
decision will be guided by the two goals of preserving the free status
|
||||
of all derivatives of our free software and of promoting the sharing
|
||||
and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
||||
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
||||
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
||||
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
|
||||
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
||||
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
||||
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
||||
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
||||
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
||||
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
||||
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
||||
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
||||
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
||||
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
||||
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||
DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Libraries
|
||||
|
||||
If you develop a new library, and you want it to be of the greatest
|
||||
possible use to the public, we recommend making it free software that
|
||||
everyone can redistribute and change. You can do so by permitting
|
||||
redistribution under these terms (or, alternatively, under the terms of the
|
||||
ordinary General Public License).
|
||||
|
||||
To apply these terms, attach the following notices to the library. It is
|
||||
safest to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least the
|
||||
"copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the library's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the library, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the
|
||||
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1990
|
||||
Ty Coon, President of Vice
|
||||
|
||||
That's all there is to it!
|
||||
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
Copyright (c) 2003-2006, Joe Walnes
|
||||
Copyright (c) 2006-2009, 2011 XStream Committers
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this list of
|
||||
conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright notice, this list of
|
||||
conditions and the following disclaimer in the documentation and/or other materials provided
|
||||
with the distribution.
|
||||
|
||||
3. Neither the name of XStream 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 OWNER 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.
|
||||
BIN
2_Branches/V4M_HKL/DaVinciConfigurator/Core/DVCfgCmd.exe
Normal file
BIN
2_Branches/V4M_HKL/DaVinciConfigurator/Core/DVCfgCmd.exe
Normal file
Binary file not shown.
14
2_Branches/V4M_HKL/DaVinciConfigurator/Core/DVCfgCmd.ini
Normal file
14
2_Branches/V4M_HKL/DaVinciConfigurator/Core/DVCfgCmd.ini
Normal file
@@ -0,0 +1,14 @@
|
||||
-app_id
|
||||
vector.cfg.r102011
|
||||
-nl
|
||||
en
|
||||
-noSplash
|
||||
--launcher.appendVmargs
|
||||
--launcher.suppressErrors
|
||||
-application
|
||||
com.vector.cfg.console.app.application
|
||||
-vmargs
|
||||
-Xmx16384m
|
||||
-XX:+UseConcMarkSweepGC
|
||||
-Declipse.exitdata=
|
||||
-Dfile.encoding=UTF-8
|
||||
BIN
2_Branches/V4M_HKL/DaVinciConfigurator/Core/DaVinciCFG.exe
Normal file
BIN
2_Branches/V4M_HKL/DaVinciConfigurator/Core/DaVinciCFG.exe
Normal file
Binary file not shown.
@@ -0,0 +1,9 @@
|
||||
-app_id
|
||||
vector.cfg.r102011
|
||||
-nl
|
||||
en
|
||||
--launcher.appendVmargs
|
||||
-vmargs
|
||||
-Xmx16384m
|
||||
-XX:+UseConcMarkSweepGC
|
||||
-Dfile.encoding=UTF-8
|
||||
2741
2_Branches/V4M_HKL/DaVinciConfigurator/Core/Licenses/License.txt
Normal file
2741
2_Branches/V4M_HKL/DaVinciConfigurator/Core/Licenses/License.txt
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,557 @@
|
||||
--- Vector Changes ---
|
||||
- Added Gradle build to generate OSGi Metadata
|
||||
- Minor Changes to Javadoc in order to allow Gradle Javadoc generation
|
||||
|
||||
--- 3.0.3 ---
|
||||
Bugs Fixed:
|
||||
- [3445639] ArrayIndexOutOfBoundsException from TIntHashSet.retainAll
|
||||
- [3460395] no_entry_value is set always to 0 in map default constructor
|
||||
|
||||
--- 3.0.2 ---
|
||||
Bug Fixed:
|
||||
- [3429703] TIntObjectHashMap losing entry
|
||||
- [3431135] ArrayIndexOutOfBoundsException at TIntIntHashMap.keys
|
||||
- [3432212] entrySet() does not unwrap in cased of no_entry_value or no_entrykey
|
||||
- [3432175] Decorator entrySet() -keySet() impl - Minor problem with the way null keys are unwarped
|
||||
|
||||
--- 3.0.1 ---
|
||||
Bugs Fixed:
|
||||
- fix for ClassCastException in equals(T,T) when comparing with REMOVED
|
||||
- [3408129] Benchmarks don't run correctly
|
||||
- [3394094] Args to gnu.trove.generator.Generator not basedir-relative
|
||||
- Re-introduce TLinkableAdapter class
|
||||
New Features:
|
||||
- [3412967] Need TMap interface
|
||||
- .zip and .tgz files now expand into a sub-directory
|
||||
- Documentation for generator patterns and replicated blocks
|
||||
- Maven artifact generation now a bit more automatic
|
||||
|
||||
--- 3.0.0 ---
|
||||
- !!! Major restructuring of classes and packages !!!
|
||||
Interfaces have been broken out to allow for alternate implementations.
|
||||
The package changes will require code migration, although it should mainly
|
||||
consist of simply updating import statements. However, because everything is
|
||||
in new packages, both Trove 2.x and Trove 3.x can co-exist in a classpath
|
||||
(to hopefully ease the migration burden).
|
||||
- Broke out classes that allow custom hashing for performance reasons.
|
||||
New collections are:
|
||||
- TCustomHashMap
|
||||
- TCustomHashSet
|
||||
- TObject*CustomHashMap (ex: TObjectIntCustomHashMap)
|
||||
IdentityHashingStrategy is available for identity-based hash maps.
|
||||
- [ 3152276 ] Add sum() method to T*List
|
||||
- [ 3159432 ] THashMap.entrySet().remove() throws on non-Entries
|
||||
- [ 3153005 ] fix for null keys in Object maps
|
||||
- Benchmarks for comparing different libraries. Currently java.util, Colt,
|
||||
Trove 2 and Trove 3.
|
||||
- Fixes to serialVersionUID's and where Serializable is marked. For example,
|
||||
Serializable has been removed from the interfaces for various collections
|
||||
(to better match how it's done in java.util).
|
||||
- Many bug fixes, particularly to TLinkedList.
|
||||
|
||||
--- 2.1.0 ---
|
||||
No substantial changes.
|
||||
|
||||
--- 2.1.0 a3 ---
|
||||
Bugs fixed:
|
||||
- [ 2685774 ] THashMap serialization bug in 2.0.4
|
||||
|
||||
--- 2.1.0 a2 ---
|
||||
Bugs fixed:
|
||||
- [ 2166456 ] clone() for TObject<XXX>HashMap is inefficient
|
||||
- [ 2166768 ] add toString() method to maps. Thanks to Ozgur Aydinli.
|
||||
- [ 2688770 ] TxxxArrayList serializes full capacity instead of full size
|
||||
- [ 2687519 ] Primitive Lists hashCode is calculated w/o regard for order
|
||||
- Fixed issues related to removing items multiple times from TLinkedList
|
||||
and using removeFirst/Last when no items are in the list.
|
||||
|
||||
New Features
|
||||
- [ 2126522 ] add putAll() to the HashMaps. Thanks to Ozgur Aydinli.
|
||||
|
||||
--- 2.1.0 a1 ---
|
||||
Bugs fixed:
|
||||
- [ 2143564 ] THashSet serialization
|
||||
- [ 1960418 ] Decorators serialization
|
||||
- [ 2127841 ] Use <Type>.valueOf on wrap/unwrap in T#K##V#HashMapDecorator
|
||||
|
||||
New Features:
|
||||
- Added "Dectorators" class for easier creation of decorator classes.
|
||||
- [ 2152149 ] Improve performance by avoiding Math/StrictMath (thanks to Mark Beevers)
|
||||
|
||||
--- 2.0.5 a1 ---
|
||||
Bugs fixed:
|
||||
- [ 2037709 ] bug in .keys(<T>[]) method
|
||||
|
||||
New Features:
|
||||
- added keys(e[]) method to P2O maps (TIntObjectHashMap, etc.)
|
||||
|
||||
--- 2.0.4 ---
|
||||
Bugs fixed:
|
||||
- [ 1959853 ] @return for put and putIfAbsent is incorrect
|
||||
|
||||
--- 2.0.4 rc1 ---
|
||||
Bugs Fixed:
|
||||
- [ 1952509 ] Replace StringBuffer with StringBuilder
|
||||
- [ 1952508 ] pufIfAbsent for maps
|
||||
- [ 1955103 ] Hashing Strategy Not Retained After Serialization
|
||||
|
||||
--- 2.0.4 a2 ---
|
||||
Bugs fixed:
|
||||
- Correct an error in TLinkedList that caused nodes to not be properly linked
|
||||
when using addAfter(T,T).
|
||||
|
||||
--- 2.0.4 a1 ---
|
||||
Bugs fixed:
|
||||
- [ 1946240 ] THash.ensureCapacity(...) bug
|
||||
|
||||
--- 2.0.3 ---
|
||||
Bugs Fixed:
|
||||
- [ 1932929 ] add toString() methods to THashSet and THashMap
|
||||
- Switched to Arrays.fill (which seems to be slightly faster) for clearing
|
||||
|
||||
--- 2.0.2 ---
|
||||
Bugs Fixed:
|
||||
- [ 1821911 ] get(0) doesn't throw exception when TLinkedList is empty
|
||||
- [ 1800288 ] Trivial typo fixes
|
||||
|
||||
|
||||
--- 2.0.1 ---
|
||||
Bugs Fixed:
|
||||
- Fixed implementation of PArrayList.min() and .max().
|
||||
|
||||
|
||||
--- 2.0.1 rc1 ---
|
||||
New Features:
|
||||
[ 1778999 ] Publish a source-JAR with future releases
|
||||
|
||||
Misc:
|
||||
- Switched version from 2.1 to 2.0.1.
|
||||
|
||||
|
||||
--- 2.0.1 ALPHA 3 (previously: 2.1 ALPHA 3) ---
|
||||
Bugs Fixed:
|
||||
[ 1764177 ] bug in binary search
|
||||
|
||||
|
||||
--- 2.0.1 ALPHA 2 (previously: 2.1 ALPHA 2) ---
|
||||
New Features:
|
||||
[ 1748566 ] add <T> T[] getValues(T[] a)
|
||||
|
||||
Bugs Fixed:
|
||||
- Corrected hashcode computation for longs. Should result in better
|
||||
lookup performance.
|
||||
|
||||
|
||||
--- 2.0.1 ALPHA 1 (previously: 2.1 ALPHA 1) ---
|
||||
|
||||
New Features:
|
||||
[ 1741864 ] add TLinkedList addAfter method
|
||||
|
||||
Bugs Fixed:
|
||||
[ 1738760 ] T*HashMap.retainEntries should suspend automatic compaction.
|
||||
- Corrected hashcode computation for longs. Should result in better
|
||||
lookup performance.
|
||||
|
||||
Misc:
|
||||
- Added an assertion in HashFunctions to throw an assertion if a
|
||||
value of NaN is used in a lookup/insert/delete from a map.
|
||||
- Added TLinkedList.getNext() and getPrevious() methods.
|
||||
|
||||
|
||||
--- 2.0 ---
|
||||
Unchanged from 2.0rc1
|
||||
|
||||
|
||||
--- 2.0rc1 ---
|
||||
|
||||
New Features:
|
||||
[ 1606090 ] adjustOrPutValue
|
||||
[ 1604073 ] Generate primitive stacks
|
||||
[ 1632250 ] Do maps implement Iterable
|
||||
[ 1670933 ] Provide access to stack native arrays
|
||||
[ 1690743 ] Add subList(begin, end) to ArrayLists
|
||||
Added forEach(TObjectProcedure) method to TLinkedList
|
||||
|
||||
Bugs Fixed:
|
||||
[ 1640353 ] Generator fails on multiple file systems
|
||||
[ 1676866 ] Not handling REMOVED flag correctly in TObjectHash.index(T)
|
||||
[ 1642768 ] Exception removing from iterator when auto-compact occurs
|
||||
|
||||
|
||||
|
||||
--- 2.0a2 ---
|
||||
|
||||
New Features:
|
||||
[ 779039 ] expose decorator's set/map
|
||||
|
||||
Bugs Fixed:
|
||||
[ 1428614 ] THashMap.values().remove() can remove multiple mappings
|
||||
[ 1506751 ] TxxxArrayList.toNativeArray(offset, len) is broken
|
||||
[ 1606095 ] Critical Iterator Error
|
||||
|
||||
|
||||
--- 2.0a1 ---
|
||||
|
||||
This release adds support for generics, which were introduced in JSE 1.5.
|
||||
Starting with this release, JSE 1.5 or greater is required in order to run Trove.
|
||||
Special thanks to JetBrains for their initial work providing generics support.
|
||||
|
||||
Also added in this release is automatic compaction, such that manually calling
|
||||
compact() is no longer necessary (although it may still provide performance
|
||||
benefits in certain situations). Compactions are by default
|
||||
performed automatically when a certain number of removes are performed based on
|
||||
the size of the set or map. The compaction factor can be specified via
|
||||
THash.setAutoCompactionFactor(float) (the default compaction factor is set to
|
||||
match the load factor). So, for example, if a map is created with an initial
|
||||
capacity of 10 and a load factory of 0.5, a compaction will be performed after
|
||||
5 removes. If a size is later grown to 1000, then a compaction will occur after
|
||||
500 removes. When a set/map is rehashed, the time to next compaction is reset.
|
||||
NOTE: auto-compaction can be disabled by setting the autoCompactionFactory
|
||||
(via THash.setAutoCompactionFactor) to zero. Manually compacting a
|
||||
collection will also reset the auto-compaction counter, so that manually
|
||||
compacting more often than auto-compaction wants to occur effectively also
|
||||
disables auto-compaction.
|
||||
NOTE: while manually calling compact() is no longer strictly necessary,
|
||||
results should always be verified in your application to ensure that
|
||||
the auto-compaction scheme and the compaction factors work well for your
|
||||
individual scenario.
|
||||
|
||||
Support for more primitve types has been introduced.
|
||||
|
||||
Object serialization has been changed to use Externalization. Unfortunately this
|
||||
means that objects serialized with earlier versions cannot be read by this
|
||||
release. The up-side is that this gives enough flexibility to ensure that we
|
||||
won't need to break serialization again. The other benefit is that the output
|
||||
is more efficient/compact and readable... especially when used with XML
|
||||
serialization mechanisms such as XStream.
|
||||
|
||||
|
||||
New Features:
|
||||
[ 918059 ] should rehash when below low water mark upon remove
|
||||
[ 1153656 ] generics?
|
||||
|
||||
Bugs Fixed:
|
||||
[ 1518795 ] NullPointerException in TLinkedList's removeFirst()/Last()
|
||||
[ 1277703 ] make T**HashMap serializable
|
||||
[ 1417563 ] TLinkedList.add(int,Object) bug
|
||||
[ 1518823 ] another TLinkedList.add(int,Object) bug
|
||||
[ 1461458 ] THashMap.equals(..) method is not consistent
|
||||
[ 1571435 ] Error in cloning of TObjectXXXHashMap instances
|
||||
|
||||
|
||||
--- 1.1b5 ---
|
||||
|
||||
Bugs fixed:
|
||||
[ 1391359 ] Duplicate iteration in THashSet.toArray(Object[])
|
||||
removed the duplication
|
||||
[ 1382196 ] THashMap.entrySet().retainAll()
|
||||
implemented missing methods on elements of entrySet, refactored retainAll
|
||||
to use retainEntries, which saves a bunch of allocations
|
||||
[ 1378868 ] CVS has junit.jar checked in as ASCII
|
||||
flipped on '-kb' for this file
|
||||
[ 1193416 ] TByteArrayList throws ArrayIndexOutOfBoundsException wrongly
|
||||
fixed off by one error
|
||||
|
||||
|
||||
--- 1.1b4 ---
|
||||
|
||||
Accepted patch for feature request 926921 - adds support for short,
|
||||
byte collections. Also adds support for null object keys. THIS
|
||||
WILL BREAK SERIALIZATION.
|
||||
|
||||
A big thanks to Steven Lunt for putting this patch together.
|
||||
|
||||
Added testSerializablePrimitives unit test to validate that behavior
|
||||
reported in 1113420 does work as it's supposed to.
|
||||
|
||||
Fixed doc problem reported in 939016
|
||||
|
||||
Fixed 995597, missing serial version IDs. NOTE: THashMap, THashSet
|
||||
and TLinkedList have IDs generated by serialver and are believed
|
||||
to be b/w compatible. The generated collections, however, are NOT
|
||||
reverse compatible versions and so will break archived collections
|
||||
created with earlier versions of trove.
|
||||
|
||||
Fixed 937977 -- primitive array lists were not doing a true deep clone
|
||||
of the underlying array. This is fixed
|
||||
|
||||
|
||||
--- 1.1b3 ---
|
||||
|
||||
Fixed 918045 -- bug in *Decorator classes made it impossible to subclass
|
||||
the decorators and make those subclasses cloneable. Thanks to Steve
|
||||
Lunt for the bug report.
|
||||
|
||||
|
||||
--- 1.1b2 ---
|
||||
|
||||
Fixed 901135 -- bug in T*Hash.insertionIndex() methods that prevented
|
||||
us from reclaiming the very first REMOVED slot if that's what the
|
||||
first hash landed upon. In applications that do lots of adds/removes,
|
||||
this would have led to unnecessary rehashing. With this fix, you
|
||||
can add(1), remove(1), and then re add(1) and the same slot will be
|
||||
used. Thanks to matlun for reporting the problem.
|
||||
|
||||
|
||||
--- 1.1b1 ---
|
||||
|
||||
fixed a bug in decorator equals methods (845890)
|
||||
|
||||
fixed a memory leak for certain usage patterns (843772)
|
||||
|
||||
corrected some javadoc defects (846286)
|
||||
|
||||
minor tuning of T*ArrayList toString()
|
||||
|
||||
added clone() methods to decorator classes. Thanks to Steve Lunt
|
||||
for the bug report.
|
||||
|
||||
implemented equals()/hashCode() on THashMap.KeyView and (by extension) subclasses.
|
||||
This allows the test in THashMapTests.testKeySetEqualsEquivalentSet to pass.
|
||||
|
||||
fix 787515 -- bug in T*ArrayList.set(int, *[], int, int)
|
||||
|
||||
|
||||
--- 1.0.2 ---
|
||||
|
||||
revamped versioning scheme
|
||||
|
||||
added hashCode implementation to collections so that they can appear
|
||||
in collections too.
|
||||
|
||||
added check+exception to detect violations of the equals() <->
|
||||
hashCode() contract specified in java.lang.Object's api.
|
||||
|
||||
|
||||
--- 0.1.8 ---
|
||||
|
||||
Added gnu.trove.decorator package, with Decorator classes that wrap
|
||||
trove's primitive maps and sets for conformance with the
|
||||
java.util.{Map,Set} APIs.
|
||||
|
||||
|
||||
--- 0.1.7 ---
|
||||
|
||||
Added iterators to the primitive maps and sets. Note that semantics
|
||||
differ from those of java.util.Iterator, so RTFM.
|
||||
|
||||
Added hashing strategy interfaces to allow users to implement custom
|
||||
hashing schemes for optimal distribution for specific data sets.
|
||||
|
||||
Fixed bug 602376 -- ClassCastException n THashMap.putAll
|
||||
|
||||
Made all collections implement Cloneable. primitive collections
|
||||
clone deeply; Object collections produce shallow clones.
|
||||
|
||||
|
||||
--- 0.1.6 ---
|
||||
|
||||
Minor bug fix release.
|
||||
|
||||
Two bugs in TIntArrayList have been fixed. Thanks to Jessica P.
|
||||
Hekman for reporting them.
|
||||
|
||||
One of these prevented toNativeArray from working correctly in
|
||||
certain circumstances; the other problem was with the depth of
|
||||
cloning operations.
|
||||
|
||||
One enhancement to TintArrayList has been made -- serialized
|
||||
instances are now compact -- previous versions relied on serialization
|
||||
behavior of the backing array, which included empty slots and so
|
||||
wasted space.
|
||||
|
||||
Serialization of sets/maps has been modified as follows: previously
|
||||
all of the writeObject methods used a local implementation of the
|
||||
TXXXProcedure for writing out the data in a particular collection.
|
||||
These have been replaced by a single class (SerializationProcedure)
|
||||
which implements all of the appropriate interfaces. This reduces
|
||||
the number of .class files in the trove jar
|
||||
|
||||
|
||||
--- 0.1.5 ---
|
||||
|
||||
added retainEntries methods to all Map classes. These methods accept
|
||||
procedure objects of the appropriate sort and use the return value of
|
||||
those procedures to determine whether or not a particular entry in the
|
||||
map should be retained.
|
||||
|
||||
This is useful for applying a cutoff in a map without copying data:
|
||||
|
||||
TIntIntHashMap map = new TIntIntHashMap();
|
||||
// load up map
|
||||
map.retainEntries(new TIntIntProcedure() {
|
||||
public boolean execute(int key, int val) {
|
||||
return val > 3; // retain only those mappings with val > 3
|
||||
}
|
||||
});
|
||||
|
||||
It can also be used if you want to reduce one map to the intersection
|
||||
between it and another map:
|
||||
|
||||
THashMap map1 = new THashMap();
|
||||
THashMap map2 = new THashMap();
|
||||
// load up both maps
|
||||
map1.retainEntries(new TObjectObjectProcedure() {
|
||||
public boolean execute(Object key, Object val) {
|
||||
return map2.containsKey(key); // retain the intersection with map2
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
--- 0.1.4 ---
|
||||
|
||||
added increment() and adjustValue() methods to maps with primitive values.
|
||||
These are useful in the all-too-common case where you need a map for the
|
||||
purposes of counting the number of times a key is seen. These methods
|
||||
are handy because you don't have to do a "containsKey" test prior to
|
||||
every increment() call. Instead, you can check the return status (true
|
||||
if an existing mapping was modified) and if it is false, then insert the
|
||||
mapping with the initial value:
|
||||
|
||||
TIntIntHashMap map = TIntIntHashMap();
|
||||
int key, val;
|
||||
key = keyFromSomeWhere();
|
||||
val = valFromSomeWhere();
|
||||
if (! map.increment(key)) map.put(key, 0);
|
||||
|
||||
increment is implemented in terms of adjustValue, which allows you
|
||||
to specify the amount by which the primitive value associated with a
|
||||
particular key should be adjusted.
|
||||
|
||||
Thanks to Jason Baldridge for the idea.
|
||||
|
||||
|
||||
--- 0.1.3 ---
|
||||
|
||||
bug fix in TLinkedList ListIterator implementation: fixed remove()
|
||||
behavior so that it correctly removes the last element returned by
|
||||
either next() or previous(). Added several tests to suite to verify
|
||||
that list iterator does what it's supposed to do in accordance with the
|
||||
collections API docs.
|
||||
|
||||
|
||||
--- 0.1.2 ---
|
||||
|
||||
bug fix in primitive hash sets: toArray now produces a correct return
|
||||
value of size set.size(). Previously it generated an
|
||||
ArrayIndexOutOfBoundsException. Thanks to Tobias Henle for finding this.
|
||||
|
||||
revised class hierarchy so that all primitive hashing collections are
|
||||
derived from TPrimitiveHash, which extends THash. Object hashing collections
|
||||
are derived from TObjectHash. As part of this change, the byte[] flags
|
||||
were pushed down to TPrimitiveHash, and TObjectHash was revised so that
|
||||
it no longer needs a byte[] array to track the state of the table. This
|
||||
has an appreciable impact on the total size of Object hashing collections:
|
||||
a set of 1,000 Integers used to take 69% of the memory needed for a JDK
|
||||
set; it now takes only 62%.
|
||||
|
||||
removed slots can now be re-used in all hashing collections. If the
|
||||
search for an insertion index does not find that the key is already
|
||||
present in the map, insertionIndex implementations will now return the
|
||||
index of the first REMOVED or FREE slot. This means that tables which
|
||||
undergo a pattern of insertions/deletions without radical changes in
|
||||
size will not trigger as many rehashes as before.
|
||||
|
||||
revised hashing algorithm so that the second hash function is only executed
|
||||
when necessary and so that FREE or FULL w/identical content slots can be
|
||||
found with a minimum of effort.
|
||||
|
||||
|
||||
--- 0.1.1 ---
|
||||
|
||||
made the initial capacity of lists used for return values in grep/inverseGrep
|
||||
be the default capacity rather than the size of the list-being-grepped.
|
||||
This saves space when a small list is grepped from a larger list.
|
||||
|
||||
added reset and resetQuick methods to *ArrayList implementations so that
|
||||
lists can be cleared while retaining their current capacity.
|
||||
|
||||
changed *ArrayList toNativeArray() method behavior so that a List of 0 length
|
||||
can return a native array of 0 length (previously this would have thrown
|
||||
an exception)
|
||||
|
||||
revamped *ArrayList insert/remove implementations so that edits are done
|
||||
in place instead of with a temporary array.
|
||||
|
||||
minor performance tweak in THashIterator
|
||||
|
||||
|
||||
--- 0.1.0 ---
|
||||
|
||||
Added primitive ArrayList implementations.
|
||||
|
||||
|
||||
--- 0.0.9 ---
|
||||
|
||||
Made all collections implement java.io.Serializable
|
||||
|
||||
Made all collections implement equals() so that they compare their contents
|
||||
instead of doing collection object identity.
|
||||
|
||||
Made TLinkable extend java.io.Serializable
|
||||
|
||||
Changed secondary hash function to reflect Knuth's observation about the
|
||||
desirability of using an odd value.
|
||||
|
||||
Added trimToSize() and ensureCapacity() methods
|
||||
|
||||
(finally) implemented loadFactor, with default of 0.5, per Knuth.
|
||||
|
||||
Note that load/capacity/size are handled differently than in the Javasoft
|
||||
implementations. Specifically, if you ask for a collection of capacity
|
||||
X, Trove will give you one that can hold X elements without rehashing;
|
||||
Javasoft's implementation does not do this.
|
||||
|
||||
|
||||
--- 0.0.8 ---
|
||||
|
||||
Fixes for several user-reported bugs. Unit tests have been added to
|
||||
demonstrate that each of these is actually fixed.
|
||||
|
||||
485440 Null in keys() from TObjectDoubleHashMap
|
||||
size/free were being updated even when a map.put() was really a replaement
|
||||
for an existing mapping.
|
||||
|
||||
485829 null values not handled correctly
|
||||
485831 null values cause exceptions
|
||||
485834 null values cause NullPointerException
|
||||
made Maps that hold Object values behave correctly (no NPE) when doing
|
||||
comparisons with null objects, since null values are legal.
|
||||
|
||||
485837 entrySet comparison semantics are wrong
|
||||
made entrySet check both key and value when doing comparisons.
|
||||
|
||||
|
||||
--- 0.0.7 ---
|
||||
|
||||
new package: gnu.trove.benchmark
|
||||
replaced gnu.trove.Benchmark with benchmark package. This now produces
|
||||
formatted reports that include OS/JVM specs.
|
||||
|
||||
Changed benchmarking approach so that timestamps are only taken at the
|
||||
beginning/end of the full repetition count for an operation. This
|
||||
reduces the variability caused by calling System.currentTimeMillis()
|
||||
more than once in the same second.
|
||||
|
||||
Added memory profiler which produces a report with the memory requirements
|
||||
for trove/javasoft collections of the same objects.
|
||||
|
||||
build.xml
|
||||
modified jar task so that the benchmark package is not included in the
|
||||
jar file or the javadoc set. Only the framework classes get jarred up;
|
||||
developers can run the benchmarks by using the output/classes directory
|
||||
instead.
|
||||
|
||||
TObjectHash
|
||||
Based on profiling results, replaced calls to HashFunctions.hash(obj) with
|
||||
direct invocation of obj.hashCode() to save a method call. This is
|
||||
probably inlined by hotspot compilers, but my profiler doesn't work with
|
||||
those.
|
||||
|
||||
TObjectHash.HashIterator
|
||||
Based on bytecode examination, replaced a putfield/getfield combo with a
|
||||
putfield/dup_x. This saves three opcodes in a method which gets called
|
||||
a lot (moveToNextIndex()).
|
||||
|
||||
PrimeFinder/HashFunctions
|
||||
finalized both classes and all methods.
|
||||
@@ -0,0 +1,20 @@
|
||||
The Trove library is licensed under the Lesser GNU Public License,
|
||||
which is included with the distribution in a file called LICENSE.txt.
|
||||
|
||||
Other license arrangements are possible, for a fee: contact
|
||||
ericdf@users.sourceforge.net for terms/pricing.
|
||||
|
||||
The PrimeFinder and HashFunctions classes in Trove are subject to the
|
||||
following license restrictions:
|
||||
|
||||
Copyright (c) 1999 CERN - European Organization for Nuclear Research.
|
||||
|
||||
Permission to use, copy, modify, distribute and sell this software and
|
||||
its documentation for any purpose is hereby granted without fee,
|
||||
provided that the above copyright notice appear in all copies and that
|
||||
both that copyright notice and this permission notice appear in
|
||||
supporting documentation. CERN makes no representations about the
|
||||
suitability of this software for any purpose. It is provided "as is"
|
||||
without expressed or implied warranty.
|
||||
|
||||
|
||||
@@ -0,0 +1,504 @@
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 2.1, February 1999
|
||||
|
||||
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
|
||||
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
[This is the first released version of the Lesser GPL. It also counts
|
||||
as the successor of the GNU Library Public License, version 2, hence
|
||||
the version number 2.1.]
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
Licenses are intended to guarantee your freedom to share and change
|
||||
free software--to make sure the software is free for all its users.
|
||||
|
||||
This license, the Lesser General Public License, applies to some
|
||||
specially designated software packages--typically libraries--of the
|
||||
Free Software Foundation and other authors who decide to use it. You
|
||||
can use it too, but we suggest you first think carefully about whether
|
||||
this license or the ordinary General Public License is the better
|
||||
strategy to use in any particular case, based on the explanations below.
|
||||
|
||||
When we speak of free software, we are referring to freedom of use,
|
||||
not price. Our General Public Licenses are designed to make sure that
|
||||
you have the freedom to distribute copies of free software (and charge
|
||||
for this service if you wish); that you receive source code or can get
|
||||
it if you want it; that you can change the software and use pieces of
|
||||
it in new free programs; and that you are informed that you can do
|
||||
these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
distributors to deny you these rights or to ask you to surrender these
|
||||
rights. These restrictions translate to certain responsibilities for
|
||||
you if you distribute copies of the library or if you modify it.
|
||||
|
||||
For example, if you distribute copies of the library, whether gratis
|
||||
or for a fee, you must give the recipients all the rights that we gave
|
||||
you. You must make sure that they, too, receive or can get the source
|
||||
code. If you link other code with the library, you must provide
|
||||
complete object files to the recipients, so that they can relink them
|
||||
with the library after making changes to the library and recompiling
|
||||
it. And you must show them these terms so they know their rights.
|
||||
|
||||
We protect your rights with a two-step method: (1) we copyright the
|
||||
library, and (2) we offer you this license, which gives you legal
|
||||
permission to copy, distribute and/or modify the library.
|
||||
|
||||
To protect each distributor, we want to make it very clear that
|
||||
there is no warranty for the free library. Also, if the library is
|
||||
modified by someone else and passed on, the recipients should know
|
||||
that what they have is not the original version, so that the original
|
||||
author's reputation will not be affected by problems that might be
|
||||
introduced by others.
|
||||
|
||||
Finally, software patents pose a constant threat to the existence of
|
||||
any free program. We wish to make sure that a company cannot
|
||||
effectively restrict the users of a free program by obtaining a
|
||||
restrictive license from a patent holder. Therefore, we insist that
|
||||
any patent license obtained for a version of the library must be
|
||||
consistent with the full freedom of use specified in this license.
|
||||
|
||||
Most GNU software, including some libraries, is covered by the
|
||||
ordinary GNU General Public License. This license, the GNU Lesser
|
||||
General Public License, applies to certain designated libraries, and
|
||||
is quite different from the ordinary General Public License. We use
|
||||
this license for certain libraries in order to permit linking those
|
||||
libraries into non-free programs.
|
||||
|
||||
When a program is linked with a library, whether statically or using
|
||||
a shared library, the combination of the two is legally speaking a
|
||||
combined work, a derivative of the original library. The ordinary
|
||||
General Public License therefore permits such linking only if the
|
||||
entire combination fits its criteria of freedom. The Lesser General
|
||||
Public License permits more lax criteria for linking other code with
|
||||
the library.
|
||||
|
||||
We call this license the "Lesser" General Public License because it
|
||||
does Less to protect the user's freedom than the ordinary General
|
||||
Public License. It also provides other free software developers Less
|
||||
of an advantage over competing non-free programs. These disadvantages
|
||||
are the reason we use the ordinary General Public License for many
|
||||
libraries. However, the Lesser license provides advantages in certain
|
||||
special circumstances.
|
||||
|
||||
For example, on rare occasions, there may be a special need to
|
||||
encourage the widest possible use of a certain library, so that it becomes
|
||||
a de-facto standard. To achieve this, non-free programs must be
|
||||
allowed to use the library. A more frequent case is that a free
|
||||
library does the same job as widely used non-free libraries. In this
|
||||
case, there is little to gain by limiting the free library to free
|
||||
software only, so we use the Lesser General Public License.
|
||||
|
||||
In other cases, permission to use a particular library in non-free
|
||||
programs enables a greater number of people to use a large body of
|
||||
free software. For example, permission to use the GNU C Library in
|
||||
non-free programs enables many more people to use the whole GNU
|
||||
operating system, as well as its variant, the GNU/Linux operating
|
||||
system.
|
||||
|
||||
Although the Lesser General Public License is Less protective of the
|
||||
users' freedom, it does ensure that the user of a program that is
|
||||
linked with the Library has the freedom and the wherewithal to run
|
||||
that program using a modified version of the Library.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow. Pay close attention to the difference between a
|
||||
"work based on the library" and a "work that uses the library". The
|
||||
former contains code derived from the library, whereas the latter must
|
||||
be combined with the library in order to run.
|
||||
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License Agreement applies to any software library or other
|
||||
program which contains a notice placed by the copyright holder or
|
||||
other authorized party saying it may be distributed under the terms of
|
||||
this Lesser General Public License (also called "this License").
|
||||
Each licensee is addressed as "you".
|
||||
|
||||
A "library" means a collection of software functions and/or data
|
||||
prepared so as to be conveniently linked with application programs
|
||||
(which use some of those functions and data) to form executables.
|
||||
|
||||
The "Library", below, refers to any such software library or work
|
||||
which has been distributed under these terms. A "work based on the
|
||||
Library" means either the Library or any derivative work under
|
||||
copyright law: that is to say, a work containing the Library or a
|
||||
portion of it, either verbatim or with modifications and/or translated
|
||||
straightforwardly into another language. (Hereinafter, translation is
|
||||
included without limitation in the term "modification".)
|
||||
|
||||
"Source code" for a work means the preferred form of the work for
|
||||
making modifications to it. For a library, complete source code means
|
||||
all the source code for all modules it contains, plus any associated
|
||||
interface definition files, plus the scripts used to control compilation
|
||||
and installation of the library.
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running a program using the Library is not restricted, and output from
|
||||
such a program is covered only if its contents constitute a work based
|
||||
on the Library (independent of the use of the Library in a tool for
|
||||
writing it). Whether that is true depends on what the Library does
|
||||
and what the program that uses the Library does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Library's
|
||||
complete source code as you receive it, in any medium, provided that
|
||||
you conspicuously and appropriately publish on each copy an
|
||||
appropriate copyright notice and disclaimer of warranty; keep intact
|
||||
all the notices that refer to this License and to the absence of any
|
||||
warranty; and distribute a copy of this License along with the
|
||||
Library.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy,
|
||||
and you may at your option offer warranty protection in exchange for a
|
||||
fee.
|
||||
|
||||
2. You may modify your copy or copies of the Library or any portion
|
||||
of it, thus forming a work based on the Library, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) The modified work must itself be a software library.
|
||||
|
||||
b) You must cause the files modified to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
c) You must cause the whole of the work to be licensed at no
|
||||
charge to all third parties under the terms of this License.
|
||||
|
||||
d) If a facility in the modified Library refers to a function or a
|
||||
table of data to be supplied by an application program that uses
|
||||
the facility, other than as an argument passed when the facility
|
||||
is invoked, then you must make a good faith effort to ensure that,
|
||||
in the event an application does not supply such function or
|
||||
table, the facility still operates, and performs whatever part of
|
||||
its purpose remains meaningful.
|
||||
|
||||
(For example, a function in a library to compute square roots has
|
||||
a purpose that is entirely well-defined independent of the
|
||||
application. Therefore, Subsection 2d requires that any
|
||||
application-supplied function or table used by this function must
|
||||
be optional: if the application does not supply it, the square
|
||||
root function must still compute square roots.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Library,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Library, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote
|
||||
it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Library.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Library
|
||||
with the Library (or with a work based on the Library) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may opt to apply the terms of the ordinary GNU General Public
|
||||
License instead of this License to a given copy of the Library. To do
|
||||
this, you must alter all the notices that refer to this License, so
|
||||
that they refer to the ordinary GNU General Public License, version 2,
|
||||
instead of to this License. (If a newer version than version 2 of the
|
||||
ordinary GNU General Public License has appeared, then you can specify
|
||||
that version instead if you wish.) Do not make any other change in
|
||||
these notices.
|
||||
|
||||
Once this change is made in a given copy, it is irreversible for
|
||||
that copy, so the ordinary GNU General Public License applies to all
|
||||
subsequent copies and derivative works made from that copy.
|
||||
|
||||
This option is useful when you wish to copy part of the code of
|
||||
the Library into a program that is not a library.
|
||||
|
||||
4. You may copy and distribute the Library (or a portion or
|
||||
derivative of it, under Section 2) in object code or executable form
|
||||
under the terms of Sections 1 and 2 above provided that you accompany
|
||||
it with the complete corresponding machine-readable source code, which
|
||||
must be distributed under the terms of Sections 1 and 2 above on a
|
||||
medium customarily used for software interchange.
|
||||
|
||||
If distribution of object code is made by offering access to copy
|
||||
from a designated place, then offering equivalent access to copy the
|
||||
source code from the same place satisfies the requirement to
|
||||
distribute the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
5. A program that contains no derivative of any portion of the
|
||||
Library, but is designed to work with the Library by being compiled or
|
||||
linked with it, is called a "work that uses the Library". Such a
|
||||
work, in isolation, is not a derivative work of the Library, and
|
||||
therefore falls outside the scope of this License.
|
||||
|
||||
However, linking a "work that uses the Library" with the Library
|
||||
creates an executable that is a derivative of the Library (because it
|
||||
contains portions of the Library), rather than a "work that uses the
|
||||
library". The executable is therefore covered by this License.
|
||||
Section 6 states terms for distribution of such executables.
|
||||
|
||||
When a "work that uses the Library" uses material from a header file
|
||||
that is part of the Library, the object code for the work may be a
|
||||
derivative work of the Library even though the source code is not.
|
||||
Whether this is true is especially significant if the work can be
|
||||
linked without the Library, or if the work is itself a library. The
|
||||
threshold for this to be true is not precisely defined by law.
|
||||
|
||||
If such an object file uses only numerical parameters, data
|
||||
structure layouts and accessors, and small macros and small inline
|
||||
functions (ten lines or less in length), then the use of the object
|
||||
file is unrestricted, regardless of whether it is legally a derivative
|
||||
work. (Executables containing this object code plus portions of the
|
||||
Library will still fall under Section 6.)
|
||||
|
||||
Otherwise, if the work is a derivative of the Library, you may
|
||||
distribute the object code for the work under the terms of Section 6.
|
||||
Any executables containing that work also fall under Section 6,
|
||||
whether or not they are linked directly with the Library itself.
|
||||
|
||||
6. As an exception to the Sections above, you may also combine or
|
||||
link a "work that uses the Library" with the Library to produce a
|
||||
work containing portions of the Library, and distribute that work
|
||||
under terms of your choice, provided that the terms permit
|
||||
modification of the work for the customer's own use and reverse
|
||||
engineering for debugging such modifications.
|
||||
|
||||
You must give prominent notice with each copy of the work that the
|
||||
Library is used in it and that the Library and its use are covered by
|
||||
this License. You must supply a copy of this License. If the work
|
||||
during execution displays copyright notices, you must include the
|
||||
copyright notice for the Library among them, as well as a reference
|
||||
directing the user to the copy of this License. Also, you must do one
|
||||
of these things:
|
||||
|
||||
a) Accompany the work with the complete corresponding
|
||||
machine-readable source code for the Library including whatever
|
||||
changes were used in the work (which must be distributed under
|
||||
Sections 1 and 2 above); and, if the work is an executable linked
|
||||
with the Library, with the complete machine-readable "work that
|
||||
uses the Library", as object code and/or source code, so that the
|
||||
user can modify the Library and then relink to produce a modified
|
||||
executable containing the modified Library. (It is understood
|
||||
that the user who changes the contents of definitions files in the
|
||||
Library will not necessarily be able to recompile the application
|
||||
to use the modified definitions.)
|
||||
|
||||
b) Use a suitable shared library mechanism for linking with the
|
||||
Library. A suitable mechanism is one that (1) uses at run time a
|
||||
copy of the library already present on the user's computer system,
|
||||
rather than copying library functions into the executable, and (2)
|
||||
will operate properly with a modified version of the library, if
|
||||
the user installs one, as long as the modified version is
|
||||
interface-compatible with the version that the work was made with.
|
||||
|
||||
c) Accompany the work with a written offer, valid for at
|
||||
least three years, to give the same user the materials
|
||||
specified in Subsection 6a, above, for a charge no more
|
||||
than the cost of performing this distribution.
|
||||
|
||||
d) If distribution of the work is made by offering access to copy
|
||||
from a designated place, offer equivalent access to copy the above
|
||||
specified materials from the same place.
|
||||
|
||||
e) Verify that the user has already received a copy of these
|
||||
materials or that you have already sent this user a copy.
|
||||
|
||||
For an executable, the required form of the "work that uses the
|
||||
Library" must include any data and utility programs needed for
|
||||
reproducing the executable from it. However, as a special exception,
|
||||
the materials to be distributed need not include anything that is
|
||||
normally distributed (in either source or binary form) with the major
|
||||
components (compiler, kernel, and so on) of the operating system on
|
||||
which the executable runs, unless that component itself accompanies
|
||||
the executable.
|
||||
|
||||
It may happen that this requirement contradicts the license
|
||||
restrictions of other proprietary libraries that do not normally
|
||||
accompany the operating system. Such a contradiction means you cannot
|
||||
use both them and the Library together in an executable that you
|
||||
distribute.
|
||||
|
||||
7. You may place library facilities that are a work based on the
|
||||
Library side-by-side in a single library together with other library
|
||||
facilities not covered by this License, and distribute such a combined
|
||||
library, provided that the separate distribution of the work based on
|
||||
the Library and of the other library facilities is otherwise
|
||||
permitted, and provided that you do these two things:
|
||||
|
||||
a) Accompany the combined library with a copy of the same work
|
||||
based on the Library, uncombined with any other library
|
||||
facilities. This must be distributed under the terms of the
|
||||
Sections above.
|
||||
|
||||
b) Give prominent notice with the combined library of the fact
|
||||
that part of it is a work based on the Library, and explaining
|
||||
where to find the accompanying uncombined form of the same work.
|
||||
|
||||
8. You may not copy, modify, sublicense, link with, or distribute
|
||||
the Library except as expressly provided under this License. Any
|
||||
attempt otherwise to copy, modify, sublicense, link with, or
|
||||
distribute the Library is void, and will automatically terminate your
|
||||
rights under this License. However, parties who have received copies,
|
||||
or rights, from you under this License will not have their licenses
|
||||
terminated so long as such parties remain in full compliance.
|
||||
|
||||
9. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Library or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Library (or any work based on the
|
||||
Library), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Library or works based on it.
|
||||
|
||||
10. Each time you redistribute the Library (or any work based on the
|
||||
Library), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute, link with or modify the Library
|
||||
subject to these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties with
|
||||
this License.
|
||||
|
||||
11. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Library at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Library by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Library.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under any
|
||||
particular circumstance, the balance of the section is intended to apply,
|
||||
and the section as a whole is intended to apply in other circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
12. If the distribution and/or use of the Library is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Library under this License may add
|
||||
an explicit geographical distribution limitation excluding those countries,
|
||||
so that distribution is permitted only in or among countries not thus
|
||||
excluded. In such case, this License incorporates the limitation as if
|
||||
written in the body of this License.
|
||||
|
||||
13. The Free Software Foundation may publish revised and/or new
|
||||
versions of the Lesser General Public License from time to time.
|
||||
Such new versions will be similar in spirit to the present version,
|
||||
but may differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Library
|
||||
specifies a version number of this License which applies to it and
|
||||
"any later version", you have the option of following the terms and
|
||||
conditions either of that version or of any later version published by
|
||||
the Free Software Foundation. If the Library does not specify a
|
||||
license version number, you may choose any version ever published by
|
||||
the Free Software Foundation.
|
||||
|
||||
14. If you wish to incorporate parts of the Library into other free
|
||||
programs whose distribution conditions are incompatible with these,
|
||||
write to the author to ask for permission. For software which is
|
||||
copyrighted by the Free Software Foundation, write to the Free
|
||||
Software Foundation; we sometimes make exceptions for this. Our
|
||||
decision will be guided by the two goals of preserving the free status
|
||||
of all derivatives of our free software and of promoting the sharing
|
||||
and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
||||
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
||||
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
||||
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
|
||||
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
||||
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
||||
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
||||
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
||||
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
||||
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
||||
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
||||
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
||||
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
||||
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
||||
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||
DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Libraries
|
||||
|
||||
If you develop a new library, and you want it to be of the greatest
|
||||
possible use to the public, we recommend making it free software that
|
||||
everyone can redistribute and change. You can do so by permitting
|
||||
redistribution under these terms (or, alternatively, under the terms of the
|
||||
ordinary General Public License).
|
||||
|
||||
To apply these terms, attach the following notices to the library. It is
|
||||
safest to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least the
|
||||
"copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the library's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the library, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the
|
||||
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1990
|
||||
Ty Coon, President of Vice
|
||||
|
||||
That's all there is to it!
|
||||
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,229 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- edited with XMLSpy v2009 sp1 (http://www.altova.com) by Vector Employee (Vector Informatik GmbH) -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xs:element name="DaVinciExecutionReport">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="ValidationResults">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="ValidationResultId" maxOccurs="unbounded"/>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="fatalerrors" type="xs:int"/>
|
||||
<xs:attribute name="errors" type="xs:int"/>
|
||||
<xs:attribute name="warnings" type="xs:int"/>
|
||||
<xs:attribute name="improvements" type="xs:int"/>
|
||||
<xs:attribute name="infos" type="xs:int"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="GenerationProcessResult">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="GenerationResult" maxOccurs="unbounded"/>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="result" type="GenerationProcessResultType"/>
|
||||
<xs:attribute name="lastexecutiontime" type="xs:string"/>
|
||||
<xs:attribute name="lastexecutionduration" type="xs:double"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ValidationResultId">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="ValidationResult" maxOccurs="unbounded"/>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="id" use="required">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:pattern value="[0-9]{5}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="message" type="xs:string" use="required"/>
|
||||
<xs:attribute name="origin" type="xs:string" use="required"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ValidationResult">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Description" type="xs:string"/>
|
||||
<xs:element name="ErroneousCEs" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="CE" maxOccurs="unbounded"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Variants" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Variant" type="xs:string" maxOccurs="unbounded"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Acknowledgement" type="xs:string" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="severity" type="SeverityType" use="required"/>
|
||||
<xs:attribute name="ondemandresult" type="xs:boolean" use="required"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="CE">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Object" type="xs:string" minOccurs="0"/>
|
||||
<xs:element name="Definition" type="xs:string" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="GenerationResult">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Name" type="xs:string"/>
|
||||
<xs:element name="State" type="StateType"/>
|
||||
<xs:element name="Phases">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="Phase" maxOccurs="unbounded"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ErrorMessage" type="xs:string" minOccurs="0"/>
|
||||
<xs:element ref="Generator" minOccurs="0"/>
|
||||
<xs:element name="ModulConfigurations" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="ModuleConfiguration" maxOccurs="unbounded"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="generationtype"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ModuleConfiguration">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Name" type="xs:string"/>
|
||||
<xs:element name="Definition" type="xs:string" minOccurs="0"/>
|
||||
<xs:element name="ObjectLink" type="xs:string"/>
|
||||
<xs:element name="ConfigurationVariant" type="ConfigurationVariantType"/>
|
||||
<xs:element name="SupportsPostBuildVariance" type="xs:boolean"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Generator">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Name" type="xs:string"/>
|
||||
<xs:element name="Version" type="xs:string"/>
|
||||
<xs:element name="MSN" type="xs:string"/>
|
||||
<xs:element name="Definition" type="xs:string"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Phase">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="GeneratedFiles" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="File" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute name="generationinfo" type="FileGenerationInfoType"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ConsoleOutputs" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="ConsoleOutput" type="xs:string" maxOccurs="unbounded"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ReturnCodes" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="ReturnCode" type="xs:int" maxOccurs="unbounded"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="type" type="PhaseType"/>
|
||||
<xs:attribute name="state" type="StateType"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:simpleType name="AspectType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="Object"/>
|
||||
<xs:enumeration value="Definition"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="SeverityType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="FatalError"/>
|
||||
<xs:enumeration value="Error"/>
|
||||
<xs:enumeration value="Warning"/>
|
||||
<xs:enumeration value="Improvement"/>
|
||||
<xs:enumeration value="Info"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="GenerationProcessResultType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="SUCCESSFUL"/>
|
||||
<xs:enumeration value="WARNING"/>
|
||||
<xs:enumeration value="CANCELED"/>
|
||||
<xs:enumeration value="ERROR"/>
|
||||
<xs:enumeration value="FATAL_ERROR"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StateType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="NONE"/>
|
||||
<xs:enumeration value="SUCCESSFUL"/>
|
||||
<xs:enumeration value="SUSPENDED"/>
|
||||
<xs:enumeration value="FAILED"/>
|
||||
<xs:enumeration value="CANCELED"/>
|
||||
<xs:enumeration value="RUNNING"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="GenerationType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="GENERATOR"/>
|
||||
<xs:enumeration value="GENERATION_STEP"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="ConfigurationVariantType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="VARIANT_PRE_COMPILE"/>
|
||||
<xs:enumeration value="VARIANT_LINK_TIME"/>
|
||||
<xs:enumeration value="VARIANT_POST_BUILD_LOADABLE"/>
|
||||
<xs:enumeration value="PRECONFIGURED_CONFIGURATION"/>
|
||||
<xs:enumeration value="RECOMMENDED_CONFIGURATION"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="FileGenerationInfoType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="FILE_CREATED"/>
|
||||
<xs:enumeration value="FILE_UPDATED"/>
|
||||
<xs:enumeration value="FILE_IS_UP_TO_DATE"/>
|
||||
<xs:enumeration value="FILE_GENERATION_FAILED"/>
|
||||
<xs:enumeration value="FILE_GENERATED_WITH_ERRORS"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="PhaseType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="CW_PREPARATION"/>
|
||||
<xs:enumeration value="CALCULATION"/>
|
||||
<xs:enumeration value="VALIDATION"/>
|
||||
<xs:enumeration value="GENERATION"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:schema>
|
||||
@@ -0,0 +1,161 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="InitService" targetNamespace="InitService" elementFormDefault="qualified" version="1.0">
|
||||
<xs:element name="ExtModuleInitialization">
|
||||
<xs:complexType>
|
||||
<xs:annotation>
|
||||
<xs:documentation>InitFunction documentation.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="InitModule" type="ModuleType" maxOccurs="unbounded"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:complexType name="ModuleType">
|
||||
<xs:annotation>
|
||||
<xs:documentation>InitFunction documentation.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="ModuleRef" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Specifies the modules DefRef path.
|
||||
|
||||
E.g.: /AUTOSAR/EcucDefs/Msn</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="ModuleInitFunction" type="InitFunctionType" maxOccurs="unbounded"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="InitFunctionType">
|
||||
<xs:annotation>
|
||||
<xs:documentation>ConfigPtr documentation.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="InitFunctionName" type="xs:Name">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Specify the name of the Function. If InitFunctionCall is not set, this name is used as C function to call during initialization.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="InitFunctionCall" type="xs:string" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Specify additional code which can be referenced from the initialization callouts of EcuM and BswM.
|
||||
|
||||
E.g.: Mcu_InitClock()
|
||||
|
||||
If it is necessary to call a function with a module pointer from the global postbuild-loadable configuration, the placeholder %CONFIGPTR% can be used:
|
||||
|
||||
E.g.: Mcu_Init(%CONFIGPTR%)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="InitFunctionHeader" type="xs:Name">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Specify the header file which declares the function and necessary types.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="InitPhase" type="InitPhaseEnum">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Specify the phase in which this init function shall be called.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="InitFunctionData" type="InitFunctionDataType" minOccurs="0" maxOccurs="6">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Specify InitFunctionData for each relevant Configuration Variant.
|
||||
|
||||
If no InitFunctionData is specified, the InitFunction will never have a config pointer.
|
||||
|
||||
If a config pointer is necessary in some variants, each variant can be assigned to a config pointer via the InitFunctionData. Also a combination of several ConfigVariants is possible.
|
||||
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="InitFunctionDataType">
|
||||
<xs:annotation>
|
||||
<xs:documentation>ConfigPtr documentation.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="PostBuildVariantSupport" type="xs:boolean" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Mark if this InitFunctionData is valid for variant configurations.
|
||||
|
||||
If this parameter is not available, this InitFunctionData will be valid for variant and invariant usecases.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="ConfigVariant" type="ConfigVariantEnum" minOccurs="0" maxOccurs="3">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Specify the ConfigVariants in which this InitFunctionData is relevant.
|
||||
|
||||
If no ConfigVariant is specified, this InitFunctionData is relevant for each ConfigVariant.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="ConfigPtrData" type="ConfigPtrDataType" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>If the InitFunction needs a Config Pointer in the current variant, this has to be specified here.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="ConfigPtrDataType">
|
||||
<xs:annotation>
|
||||
<xs:documentation>ConfigPtr documentation.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="ConfigPtrName" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Multiple ConfigPtrNames are only possible in the case of variance. To support dynamic Conifg Pointer Names, wildcards can be used.
|
||||
|
||||
Possible wildcards are:
|
||||
|
||||
-%VARNAME%
|
||||
-%VARNAME_PRE_UNDERSCORE%
|
||||
-%VARNUMBER%
|
||||
-%VARNUMBER_PRE_UNDERSCORE%
|
||||
-%MULTICONFIGNAME%</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="ConfigPtrClass" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Memory class of this Config Pointer.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="ConfigPtrType" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type of this Config Pointer.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="MultipleConfigContainerDefRefString" type="xs:string" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>DefRef Path to the MultipleConfigContainer.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:simpleType name="InitPhaseEnum">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="NO_INIT"/>
|
||||
<xs:enumeration value="INIT_MEMORY"/>
|
||||
<xs:enumeration value="INIT_ZERO"/>
|
||||
<xs:enumeration value="INIT_ONE_EARLY"/>
|
||||
<xs:enumeration value="INIT_ONE"/>
|
||||
<xs:enumeration value="INIT_ONE_LATE"/>
|
||||
<xs:enumeration value="INIT_TWO_MCAL"/>
|
||||
<xs:enumeration value="INIT_TWO_TRCV"/>
|
||||
<xs:enumeration value="INIT_TWO_DRV"/>
|
||||
<xs:enumeration value="INIT_TWO_IF"/>
|
||||
<xs:enumeration value="INIT_TWO_COM"/>
|
||||
<xs:enumeration value="INIT_TWO_SM"/>
|
||||
<xs:enumeration value="INIT_TWO_NM"/>
|
||||
<xs:enumeration value="INIT_TWO_TP"/>
|
||||
<xs:enumeration value="INIT_TWO_SYS"/>
|
||||
<xs:enumeration value="INIT_TWO_POST_NVMREADALL"/>
|
||||
<xs:enumeration value="INIT_THREE"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="ConfigVariantEnum">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="VARIANT_PRE_COMPILE"/>
|
||||
<xs:enumeration value="VARIANT_POST_BUILD_LOADABLE"/>
|
||||
<xs:enumeration value="VARIANT_LINK_TIME"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:schema>
|
||||
@@ -0,0 +1,165 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<AUTOSAR xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://autosar.org/schema/r4.0 AUTOSAR_4-0-3.xsd">
|
||||
<!-- AUTOSAR ECU Configuration Parameter Definition -->
|
||||
<!--
|
||||
Document Owner: AUTOSAR
|
||||
Document Responsibility: AUTOSAR
|
||||
Document Identification No: 289
|
||||
Document Classification: Standard
|
||||
Document Version: 4.2.0
|
||||
Document Status: Final
|
||||
Part of Release: 4.0 (2011-11-09)
|
||||
Revision: 3
|
||||
-->
|
||||
<!-- Generated on Thu Nov 10 11:36:22 CET 2011 -->
|
||||
<!-- MMT: 2.7.5 -->
|
||||
<!-- Meta-Model: https://svn3.autosar.org/repos2/work/24_Sources/branches/R4.0/MMOD_MetaModel_059/master/AUTOSAR_MetaModel_Master.EAP@105697 -->
|
||||
<!--
|
||||
Disclaimer
|
||||
|
||||
This specification and the material contained in it, as released by AUTOSAR,
|
||||
is for the purpose of information only. AUTOSAR and the companies that have
|
||||
contributed to it shall not be liable for any use of the specification.
|
||||
|
||||
The material contained in this specification is protected by copyright and
|
||||
other types of Intellectual Property Rights. The commercial exploitation of
|
||||
the material contained in this specification requires a license to such
|
||||
Intellectual Property Rights.
|
||||
|
||||
This specification may be utilized or reproduced without any modification, in
|
||||
any form or by any means, for informational purposes only.
|
||||
For any other purpose, no part of the specification may be utilized or
|
||||
reproduced, in any form or by any means, without permission in writing from
|
||||
the publisher.
|
||||
|
||||
The AUTOSAR specifications have been developed for automotive applications
|
||||
only. They have neither been developed, nor tested for non-automotive
|
||||
applications.
|
||||
|
||||
The word AUTOSAR and the AUTOSAR logo are registered trademarks.
|
||||
|
||||
|
||||
|
||||
Advice for users
|
||||
|
||||
AUTOSAR specifications may contain exemplary items (exemplary reference models,
|
||||
"use cases", and/or references to exemplary technical solutions, devices,
|
||||
processes or software).
|
||||
|
||||
Any such exemplary items are contained in the specifications for illustration
|
||||
purposes only, and they themselves are not part of the AUTOSAR Standard.
|
||||
Neither their presence in such specifications, nor any later documentation of
|
||||
AUTOSAR conformance of products actually implementing such exemplary items,
|
||||
imply that intellectual property rights covering such exemplary items are
|
||||
licensed under the same rules as applicable to the AUTOSAR Standard.
|
||||
|
||||
-->
|
||||
<ADMIN-DATA>
|
||||
<DOC-REVISIONS>
|
||||
<DOC-REVISION>
|
||||
<REVISION-LABEL>4.2.0</REVISION-LABEL>
|
||||
<ISSUED-BY>AUTOSAR</ISSUED-BY>
|
||||
<DATE>2011-11-09</DATE>
|
||||
</DOC-REVISION>
|
||||
</DOC-REVISIONS>
|
||||
</ADMIN-DATA>
|
||||
<AR-PACKAGES>
|
||||
<!-- AR-Package: AUTOSAR -->
|
||||
<AR-PACKAGE UUID="ECUC:AUTOSAR">
|
||||
<SHORT-NAME>AUTOSAR</SHORT-NAME>
|
||||
<AR-PACKAGES>
|
||||
<!-- AR-Package: AUTOSAR -->
|
||||
<AR-PACKAGE UUID="ECUC:ECUCDEFS">
|
||||
<SHORT-NAME>EcucDefs</SHORT-NAME>
|
||||
<ELEMENTS>
|
||||
<ECUC-DEFINITION-COLLECTION UUID="ECUC:4c30de73-30fc-43b3-a1b3-e74211eedff3">
|
||||
<SHORT-NAME>AUTOSARParameterDefinition</SHORT-NAME>
|
||||
<MODULE-REFS>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/Adc</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/BswM</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/Cal</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/Can</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/CanIf</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/CanNm</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/CanSM</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/CanTp</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/CanTrcv</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/Cdd</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/Com</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/ComM</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/CorTst</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/Crc</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/Csm</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/Dbg</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/Dcm</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/Dem</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/Det</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/Dio</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/Dlt</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/DoIP</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/Ea</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/Ecom</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/EcuC</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/EcuM</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/Eep</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/Eth</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/EthIf</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/EthSM</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/EthSwt</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/EthTrcv</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/Fee</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/FiM</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/Fls</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/FlsTst</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/Fr</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/FrArTp</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/FrIf</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/FrNm</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/FrSM</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/FrTp</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/FrTrcv</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/Gpt</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/Icu</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/IdsM</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/IpduM</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/J1939Dcm</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/J1939Nm</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/J1939Rm</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/J1939Tp</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/KeyM</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/Lin</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/LinIf</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/LinNm</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/LinSM</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/LinTp</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/LinTrcv</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/Mcu</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/MemIf</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/MemMap</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/Nm</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/NvM</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/Os</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/PduR</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/Port</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/Pwm</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/RamTst</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/Rte</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/Sd</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/SecOC</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/SoAd</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/Spi</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/StbM</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/TcpIp</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/UdpNm</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/Wdg</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/WdgIf</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/WdgM</MODULE-REF>
|
||||
<MODULE-REF DEST="ECUC-MODULE-DEF">/AUTOSAR/EcucDefs/Xcp</MODULE-REF>
|
||||
</MODULE-REFS>
|
||||
</ECUC-DEFINITION-COLLECTION>
|
||||
</ELEMENTS>
|
||||
</AR-PACKAGE>
|
||||
</AR-PACKAGES>
|
||||
</AR-PACKAGE>
|
||||
</AR-PACKAGES>
|
||||
</AUTOSAR>
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,573 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- edited with XMLSpy v2009 sp1 (http://www.altova.com) by Vector Employee (Vector Informatik GmbH) -->
|
||||
<AUTOSAR xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://autosar.org/schema/r4.0 AUTOSAR_4-0-3.xsd">
|
||||
<!-- AUTOSAR ECU Configuration Parameter Definition -->
|
||||
<!--
|
||||
Document Owner: AUTOSAR
|
||||
Document Responsibility: AUTOSAR
|
||||
Document Identification No: 289
|
||||
Document Classification: Standard
|
||||
Document Version: 4.2.0
|
||||
Document Status: Final
|
||||
Part of Release: 4.0 (2011-11-09)
|
||||
Revision: 3
|
||||
-->
|
||||
<!-- Generated on Thu Nov 10 11:36:22 CET 2011 -->
|
||||
<!-- MMT: 2.7.5 -->
|
||||
<!-- Meta-Model: https://svn3.autosar.org/repos2/work/24_Sources/branches/R4.0/MMOD_MetaModel_059/master/AUTOSAR_MetaModel_Master.EAP@105697 -->
|
||||
<!--
|
||||
Disclaimer
|
||||
|
||||
This specification and the material contained in it, as released by AUTOSAR,
|
||||
is for the purpose of information only. AUTOSAR and the companies that have
|
||||
contributed to it shall not be liable for any use of the specification.
|
||||
|
||||
The material contained in this specification is protected by copyright and
|
||||
other types of Intellectual Property Rights. The commercial exploitation of
|
||||
the material contained in this specification requires a license to such
|
||||
Intellectual Property Rights.
|
||||
|
||||
This specification may be utilized or reproduced without any modification, in
|
||||
any form or by any means, for informational purposes only.
|
||||
For any other purpose, no part of the specification may be utilized or
|
||||
reproduced, in any form or by any means, without permission in writing from
|
||||
the publisher.
|
||||
|
||||
The AUTOSAR specifications have been developed for automotive applications
|
||||
only. They have neither been developed, nor tested for non-automotive
|
||||
applications.
|
||||
|
||||
The word AUTOSAR and the AUTOSAR logo are registered trademarks.
|
||||
|
||||
|
||||
|
||||
Advice for users
|
||||
|
||||
AUTOSAR specifications may contain exemplary items (exemplary reference models,
|
||||
"use cases", and/or references to exemplary technical solutions, devices,
|
||||
processes or software).
|
||||
|
||||
Any such exemplary items are contained in the specifications for illustration
|
||||
purposes only, and they themselves are not part of the AUTOSAR Standard.
|
||||
Neither their presence in such specifications, nor any later documentation of
|
||||
AUTOSAR conformance of products actually implementing such exemplary items,
|
||||
imply that intellectual property rights covering such exemplary items are
|
||||
licensed under the same rules as applicable to the AUTOSAR Standard.
|
||||
|
||||
-->
|
||||
<ADMIN-DATA>
|
||||
<DOC-REVISIONS>
|
||||
<DOC-REVISION>
|
||||
<REVISION-LABEL>4.2.0</REVISION-LABEL>
|
||||
<ISSUED-BY>AUTOSAR</ISSUED-BY>
|
||||
<DATE>2011-11-09</DATE>
|
||||
</DOC-REVISION>
|
||||
</DOC-REVISIONS>
|
||||
</ADMIN-DATA>
|
||||
<AR-PACKAGES>
|
||||
<!-- AR-Package: AUTOSAR -->
|
||||
<AR-PACKAGE UUID="ECUC:AUTOSAR">
|
||||
<SHORT-NAME>AUTOSAR</SHORT-NAME>
|
||||
<AR-PACKAGES>
|
||||
<!-- AR-Package: AUTOSAR -->
|
||||
<AR-PACKAGE UUID="ECUC:ECUCDEFS">
|
||||
<SHORT-NAME>EcucDefs</SHORT-NAME>
|
||||
<ELEMENTS>
|
||||
<!-- Module Definition: CanSM -->
|
||||
<ECUC-MODULE-DEF UUID="ECUC:f603bffb-40d3-4056-be94-e28fd5eb1312">
|
||||
<SHORT-NAME>CanSM</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">Configuration of the CanSM module</L-2>
|
||||
</DESC>
|
||||
<ADMIN-DATA>
|
||||
<DOC-REVISIONS>
|
||||
<DOC-REVISION>
|
||||
<REVISION-LABEL>4.2.0</REVISION-LABEL>
|
||||
<ISSUED-BY>AUTOSAR</ISSUED-BY>
|
||||
<DATE>2011-11-09</DATE>
|
||||
</DOC-REVISION>
|
||||
</DOC-REVISIONS>
|
||||
</ADMIN-DATA>
|
||||
<LOWER-MULTIPLICITY>0</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<SUPPORTED-CONFIG-VARIANTS>
|
||||
<SUPPORTED-CONFIG-VARIANT>VARIANT-LINK-TIME</SUPPORTED-CONFIG-VARIANT>
|
||||
<SUPPORTED-CONFIG-VARIANT>VARIANT-POST-BUILD</SUPPORTED-CONFIG-VARIANT>
|
||||
<SUPPORTED-CONFIG-VARIANT>VARIANT-PRE-COMPILE</SUPPORTED-CONFIG-VARIANT>
|
||||
</SUPPORTED-CONFIG-VARIANTS>
|
||||
<CONTAINERS>
|
||||
<!-- Container Definition: CanSMConfiguration -->
|
||||
<ECUC-PARAM-CONF-CONTAINER-DEF UUID="ECUC:2aff0394-611e-4368-b4e7-7551f7e10881">
|
||||
<SHORT-NAME>CanSMConfiguration</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">This container contains the global parameters of the CanSM and sub containers, which are for the CAN network specific configuration.</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<MULTIPLE-CONFIGURATION-CONTAINER>true</MULTIPLE-CONFIGURATION-CONTAINER>
|
||||
<PARAMETERS>
|
||||
<!-- PARAMETER DEFINITION: CanSMModeRequestRepetitionMax -->
|
||||
<ECUC-INTEGER-PARAM-DEF UUID="ECUC:fbd6f32b-a40f-4cb0-b0aa-ec95515d4924">
|
||||
<SHORT-NAME>CanSMModeRequestRepetitionMax</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">Specifies the maximal amount of mode request repetitions without a respective mode indication from the CanIf module until the CanSM module reports a development error to the DET and tries to go back to no communication.</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<IMPLEMENTATION-CONFIG-CLASSES>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>LINK</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-LINK-TIME</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>POST-BUILD</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-POST-BUILD</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>PRE-COMPILE</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-PRE-COMPILE</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
</IMPLEMENTATION-CONFIG-CLASSES>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<SYMBOLIC-NAME-VALUE>false</SYMBOLIC-NAME-VALUE>
|
||||
<MAX>255</MAX>
|
||||
<MIN>0</MIN>
|
||||
</ECUC-INTEGER-PARAM-DEF>
|
||||
<!-- PARAMETER DEFINITION: CanSMModeRequestRepetitionTime -->
|
||||
<ECUC-FLOAT-PARAM-DEF UUID="ECUC:17b52ad9-6aa7-4241-92ee-a2473d8d919e">
|
||||
<SHORT-NAME>CanSMModeRequestRepetitionTime</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">Specifies in which time duration the CanSM module shall repeat mode change requests by using the API of the CanIf module.</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<IMPLEMENTATION-CONFIG-CLASSES>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>LINK</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-LINK-TIME</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>POST-BUILD</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-POST-BUILD</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>PRE-COMPILE</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-PRE-COMPILE</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
</IMPLEMENTATION-CONFIG-CLASSES>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<SYMBOLIC-NAME-VALUE>false</SYMBOLIC-NAME-VALUE>
|
||||
<MAX>65.535</MAX>
|
||||
<MIN>0</MIN>
|
||||
</ECUC-FLOAT-PARAM-DEF>
|
||||
</PARAMETERS>
|
||||
<SUB-CONTAINERS>
|
||||
<!-- Container Definition: CanSMManagerNetwork -->
|
||||
<ECUC-PARAM-CONF-CONTAINER-DEF UUID="ECUC:d75eddcc-261d-499f-acf6-db8f46ad12ac">
|
||||
<SHORT-NAME>CanSMManagerNetwork</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">This container contains the CAN network specific parameters of each CAN network</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY-INFINITE>true</UPPER-MULTIPLICITY-INFINITE>
|
||||
<MULTIPLE-CONFIGURATION-CONTAINER>false</MULTIPLE-CONFIGURATION-CONTAINER>
|
||||
<PARAMETERS>
|
||||
<!-- PARAMETER DEFINITION: CanSMBorCounterL1ToL2 -->
|
||||
<ECUC-INTEGER-PARAM-DEF UUID="ECUC:6afd2490-63a3-408a-acc7-6a259c18911b">
|
||||
<SHORT-NAME>CanSMBorCounterL1ToL2</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">This threshold defines the count of bus-offs until the bus-off recovery switches from level 1 (short recovery time) to level 2 (long recovery time).</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<IMPLEMENTATION-CONFIG-CLASSES>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>LINK</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-LINK-TIME</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>POST-BUILD</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-POST-BUILD</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>PRE-COMPILE</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-PRE-COMPILE</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
</IMPLEMENTATION-CONFIG-CLASSES>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<SYMBOLIC-NAME-VALUE>false</SYMBOLIC-NAME-VALUE>
|
||||
<MAX>255</MAX>
|
||||
<MIN>0</MIN>
|
||||
</ECUC-INTEGER-PARAM-DEF>
|
||||
<!-- PARAMETER DEFINITION: CanSMBorTimeL1 -->
|
||||
<ECUC-FLOAT-PARAM-DEF UUID="ECUC:553a838d-8ff8-45d0-8076-14a532d9c971">
|
||||
<SHORT-NAME>CanSMBorTimeL1</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">This time parameter defines in seconds the duration of the bus-off recovery time in level 1 (short recovery time).</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<IMPLEMENTATION-CONFIG-CLASSES>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>LINK</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-LINK-TIME</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>POST-BUILD</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-POST-BUILD</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>PRE-COMPILE</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-PRE-COMPILE</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
</IMPLEMENTATION-CONFIG-CLASSES>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<SYMBOLIC-NAME-VALUE>false</SYMBOLIC-NAME-VALUE>
|
||||
<MAX>65.535</MAX>
|
||||
<MIN>0</MIN>
|
||||
</ECUC-FLOAT-PARAM-DEF>
|
||||
<!-- PARAMETER DEFINITION: CanSMBorTimeL2 -->
|
||||
<ECUC-FLOAT-PARAM-DEF UUID="ECUC:16f2464e-677a-481d-b40c-8a12e3a5bd08">
|
||||
<SHORT-NAME>CanSMBorTimeL2</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">This time parameter defines in seconds the duration of the bus-off recovery time in level 2 (long recovery time).</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<IMPLEMENTATION-CONFIG-CLASSES>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>LINK</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-LINK-TIME</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>POST-BUILD</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-POST-BUILD</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>PRE-COMPILE</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-PRE-COMPILE</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
</IMPLEMENTATION-CONFIG-CLASSES>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<SYMBOLIC-NAME-VALUE>false</SYMBOLIC-NAME-VALUE>
|
||||
<MAX>65.535</MAX>
|
||||
<MIN>0</MIN>
|
||||
</ECUC-FLOAT-PARAM-DEF>
|
||||
<!-- PARAMETER DEFINITION: CanSMBorTimeTxEnsured -->
|
||||
<ECUC-FLOAT-PARAM-DEF UUID="ECUC:172eb209-1cd3-4a9b-b0e2-0ed59e940257">
|
||||
<SHORT-NAME>CanSMBorTimeTxEnsured</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">This parameter defines in seconds the duration of the bus-off event check. This check assesses, if the recovery has been successful after the recovery reenables the transmit path. If a new bus-off occurs during this time period, the CanSM assesses this bus-off as sequential bus-off without successful recovery. Because a bus-off only can be detected, when PDUs are transmitted, the time has to be great enough to ensure that PDUs are transmitted again (e. g. time period of the fastest cyclic transmitted PDU of the COM module / ComTxModeTimePeriodFactor).</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<IMPLEMENTATION-CONFIG-CLASSES>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>LINK</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-LINK-TIME</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>POST-BUILD</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-POST-BUILD</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>PRE-COMPILE</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-PRE-COMPILE</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
</IMPLEMENTATION-CONFIG-CLASSES>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<SYMBOLIC-NAME-VALUE>false</SYMBOLIC-NAME-VALUE>
|
||||
<MAX>65.535</MAX>
|
||||
<MIN>0</MIN>
|
||||
</ECUC-FLOAT-PARAM-DEF>
|
||||
<!-- PARAMETER DEFINITION: CanSMBorTxConfirmationPolling -->
|
||||
<ECUC-BOOLEAN-PARAM-DEF UUID="ECUC:d1288eea-fa2e-4cba-8f62-4d06654c68e9">
|
||||
<SHORT-NAME>CanSMBorTxConfirmationPolling</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">This parameter shall configure, if the CanSM polls the CanIf_GetTxConfirmationState API to decide the bus-off state to be recovered instead of using the CanSMBorTimeTxEnsured parameter for this decision.</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<IMPLEMENTATION-CONFIG-CLASSES>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>PRE-COMPILE</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-LINK-TIME</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>PRE-COMPILE</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-POST-BUILD</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>PRE-COMPILE</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-PRE-COMPILE</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
</IMPLEMENTATION-CONFIG-CLASSES>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<SYMBOLIC-NAME-VALUE>false</SYMBOLIC-NAME-VALUE>
|
||||
</ECUC-BOOLEAN-PARAM-DEF>
|
||||
</PARAMETERS>
|
||||
<REFERENCES>
|
||||
<!-- Symbolic Name Reference Definition: CanSMComMNetworkHandleRef -->
|
||||
<ECUC-SYMBOLIC-NAME-REFERENCE-DEF UUID="ECUC:38d80a04-8ea5-4ef0-a73d-fccc98346f9e">
|
||||
<SHORT-NAME>CanSMComMNetworkHandleRef</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">Unique handle to identify one certain CAN network. Reference to one of the network handles configured for the ComM.</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<IMPLEMENTATION-CONFIG-CLASSES>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>LINK</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-LINK-TIME</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>POST-BUILD</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-POST-BUILD</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>PRE-COMPILE</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-PRE-COMPILE</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
</IMPLEMENTATION-CONFIG-CLASSES>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<DESTINATION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/AUTOSAR/EcucDefs/ComM/ComMConfigSet/ComMChannel</DESTINATION-REF>
|
||||
</ECUC-SYMBOLIC-NAME-REFERENCE-DEF>
|
||||
<!-- Symbolic Name Reference Definition: CanSMTransceiverId -->
|
||||
<ECUC-SYMBOLIC-NAME-REFERENCE-DEF UUID="ECUC:6901aaa5-9333-4715-af47-ff3256224be4">
|
||||
<SHORT-NAME>CanSMTransceiverId</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">ID of the CAN transceiver assigned to the configured network handle. Reference to one of the transceivers managed by the CanIf module.</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>0</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<IMPLEMENTATION-CONFIG-CLASSES>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>LINK</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-LINK-TIME</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>POST-BUILD</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-POST-BUILD</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>PRE-COMPILE</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-PRE-COMPILE</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
</IMPLEMENTATION-CONFIG-CLASSES>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<DESTINATION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/AUTOSAR/EcucDefs/CanIf/CanIfTrcvDrvCfg/CanIfTrcvCfg</DESTINATION-REF>
|
||||
</ECUC-SYMBOLIC-NAME-REFERENCE-DEF>
|
||||
</REFERENCES>
|
||||
<SUB-CONTAINERS>
|
||||
<!-- Container Definition: CanSMController -->
|
||||
<ECUC-PARAM-CONF-CONTAINER-DEF UUID="ECUC:e1a0044e-723d-42ba-b1db-3b376c29d4d8">
|
||||
<SHORT-NAME>CanSMController</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">This container contains the controller IDs assigned to a CAN network.</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY-INFINITE>true</UPPER-MULTIPLICITY-INFINITE>
|
||||
<MULTIPLE-CONFIGURATION-CONTAINER>false</MULTIPLE-CONFIGURATION-CONTAINER>
|
||||
<REFERENCES>
|
||||
<!-- Symbolic Name Reference Definition: CanSMControllerId -->
|
||||
<ECUC-SYMBOLIC-NAME-REFERENCE-DEF UUID="ECUC:aeebc335-a75f-4d6d-a66a-3168d73982e8">
|
||||
<SHORT-NAME>CanSMControllerId</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">Unique handle to identify one certain CAN controller. Reference to one of the CAN controllers managed by the CanIf module.</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<IMPLEMENTATION-CONFIG-CLASSES>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>LINK</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-LINK-TIME</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>POST-BUILD</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-POST-BUILD</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>PRE-COMPILE</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-PRE-COMPILE</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
</IMPLEMENTATION-CONFIG-CLASSES>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<DESTINATION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/AUTOSAR/EcucDefs/CanIf/CanIfCtrlDrvCfg/CanIfCtrlCfg</DESTINATION-REF>
|
||||
</ECUC-SYMBOLIC-NAME-REFERENCE-DEF>
|
||||
</REFERENCES>
|
||||
</ECUC-PARAM-CONF-CONTAINER-DEF>
|
||||
<!-- Container Definition: CanSMDemEventParameterRefs -->
|
||||
<ECUC-PARAM-CONF-CONTAINER-DEF UUID="ECUC:a10827ae-af02-4cd0-abc9-db0aa085c1c1">
|
||||
<SHORT-NAME>CanSMDemEventParameterRefs</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">Container for the references to DemEventParameter elements which shall be invoked using the API Dem_ReportErrorStatus API in case the corresponding error occurs. The EventId is taken from the referenced DemEventParameter's DemEventId value. The standardized errors are provided in the container and can be extended by vendor specific error references.</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>0</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<MULTIPLE-CONFIGURATION-CONTAINER>false</MULTIPLE-CONFIGURATION-CONTAINER>
|
||||
<REFERENCES>
|
||||
<!-- Symbolic Name Reference Definition: CANSM_E_BUS_OFF -->
|
||||
<ECUC-SYMBOLIC-NAME-REFERENCE-DEF UUID="ECUC:c5a06f69-0d10-47ef-8af5-21c9188e5c5d">
|
||||
<SHORT-NAME>CANSM_E_BUS_OFF</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">Reference to configured DEM event to report bus off errors for this CAN network.</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>0</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<IMPLEMENTATION-CONFIG-CLASSES>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>LINK</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-LINK-TIME</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>POST-BUILD</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-POST-BUILD</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>PRE-COMPILE</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-PRE-COMPILE</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
</IMPLEMENTATION-CONFIG-CLASSES>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<DESTINATION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/AUTOSAR/EcucDefs/Dem/DemConfigSet/DemEventParameter</DESTINATION-REF>
|
||||
</ECUC-SYMBOLIC-NAME-REFERENCE-DEF>
|
||||
</REFERENCES>
|
||||
</ECUC-PARAM-CONF-CONTAINER-DEF>
|
||||
</SUB-CONTAINERS>
|
||||
</ECUC-PARAM-CONF-CONTAINER-DEF>
|
||||
</SUB-CONTAINERS>
|
||||
</ECUC-PARAM-CONF-CONTAINER-DEF>
|
||||
<!-- Container Definition: CanSMGeneral -->
|
||||
<ECUC-PARAM-CONF-CONTAINER-DEF UUID="ECUC:7df54934-eb9b-4605-96f3-8d0c28ba3ac8">
|
||||
<SHORT-NAME>CanSMGeneral</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">Container for general pre-compile parameters of the CanSM module</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<MULTIPLE-CONFIGURATION-CONTAINER>false</MULTIPLE-CONFIGURATION-CONTAINER>
|
||||
<PARAMETERS>
|
||||
<!-- PARAMETER DEFINITION: CanSMDevErrorDetect -->
|
||||
<ECUC-BOOLEAN-PARAM-DEF UUID="ECUC:db5c43c4-2a04-4668-aa92-e6293ca26ac6">
|
||||
<SHORT-NAME>CanSMDevErrorDetect</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">Enables and disables the development error detection and notification mechanism.</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<IMPLEMENTATION-CONFIG-CLASSES>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>PRE-COMPILE</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-LINK-TIME</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>PRE-COMPILE</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-POST-BUILD</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>PRE-COMPILE</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-PRE-COMPILE</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
</IMPLEMENTATION-CONFIG-CLASSES>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<SYMBOLIC-NAME-VALUE>false</SYMBOLIC-NAME-VALUE>
|
||||
</ECUC-BOOLEAN-PARAM-DEF>
|
||||
<!-- PARAMETER DEFINITION: CanSMMainFunctionTimePeriod -->
|
||||
<ECUC-FLOAT-PARAM-DEF UUID="ECUC:753ef3fc-9b30-415b-a21a-b272e7629216">
|
||||
<SHORT-NAME>CanSMMainFunctionTimePeriod</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">This parameter defines the cycle time of the function CanSM_MainFunction in seconds</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<IMPLEMENTATION-CONFIG-CLASSES>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>PRE-COMPILE</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-LINK-TIME</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>PRE-COMPILE</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-POST-BUILD</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>PRE-COMPILE</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-PRE-COMPILE</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
</IMPLEMENTATION-CONFIG-CLASSES>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<SYMBOLIC-NAME-VALUE>false</SYMBOLIC-NAME-VALUE>
|
||||
<MAX>65.535</MAX>
|
||||
<MIN>0.001</MIN>
|
||||
</ECUC-FLOAT-PARAM-DEF>
|
||||
<!-- PARAMETER DEFINITION: CanSMVersionInfoApi -->
|
||||
<ECUC-BOOLEAN-PARAM-DEF UUID="ECUC:755ac5e7-3bfb-458e-bf62-971dd0929455">
|
||||
<SHORT-NAME>CanSMVersionInfoApi</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">Activate/Deactivate the version information API (CanSM_GetVersionInfo).</L-2>
|
||||
</DESC>
|
||||
<INTRODUCTION>
|
||||
<P>
|
||||
<L-1 L="EN">true: version information API activated
|
||||
false: version information API deactivated</L-1>
|
||||
</P>
|
||||
</INTRODUCTION>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<IMPLEMENTATION-CONFIG-CLASSES>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>PRE-COMPILE</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-LINK-TIME</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>PRE-COMPILE</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-POST-BUILD</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>PRE-COMPILE</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-PRE-COMPILE</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
</IMPLEMENTATION-CONFIG-CLASSES>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<SYMBOLIC-NAME-VALUE>false</SYMBOLIC-NAME-VALUE>
|
||||
</ECUC-BOOLEAN-PARAM-DEF>
|
||||
<!-- PARAMETER DEFINITION: CanSmChangeBaudrateApi -->
|
||||
<ECUC-BOOLEAN-PARAM-DEF UUID="ECUC:e867d5e0-54d8-4148-85f7-5b893481a47a">
|
||||
<SHORT-NAME>CanSmChangeBaudrateApi</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">The support of the Can_ChangeBaudrate API is optional.</L-2>
|
||||
</DESC>
|
||||
<INTRODUCTION>
|
||||
<P>
|
||||
<L-1 L="EN">If this parameter is set to true the Can_ChangeBaudrate API shall be supported. Otherwise the API is not supported.</L-1>
|
||||
</P>
|
||||
</INTRODUCTION>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<IMPLEMENTATION-CONFIG-CLASSES>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>PRE-COMPILE</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-LINK-TIME</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>PRE-COMPILE</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-POST-BUILD</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
<CONFIG-CLASS>PRE-COMPILE</CONFIG-CLASS>
|
||||
<CONFIG-VARIANT>VARIANT-PRE-COMPILE</CONFIG-VARIANT>
|
||||
</ECUC-IMPLEMENTATION-CONFIGURATION-CLASS>
|
||||
</IMPLEMENTATION-CONFIG-CLASSES>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<SYMBOLIC-NAME-VALUE>false</SYMBOLIC-NAME-VALUE>
|
||||
<DEFAULT-VALUE>false</DEFAULT-VALUE>
|
||||
</ECUC-BOOLEAN-PARAM-DEF>
|
||||
</PARAMETERS>
|
||||
</ECUC-PARAM-CONF-CONTAINER-DEF>
|
||||
</CONTAINERS>
|
||||
</ECUC-MODULE-DEF>
|
||||
</ELEMENTS>
|
||||
</AR-PACKAGE>
|
||||
</AR-PACKAGES>
|
||||
</AR-PACKAGE>
|
||||
</AR-PACKAGES>
|
||||
</AUTOSAR>
|
||||
@@ -0,0 +1,820 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- edited with XMLSpy v2009 sp1 (http://www.altova.com) by Vector Employee (Vector Informatik GmbH) -->
|
||||
<AUTOSAR xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://autosar.org/schema/r4.0 AUTOSAR_4-0-3.xsd">
|
||||
<!-- AUTOSAR ECU Configuration Parameter Definition -->
|
||||
<!--
|
||||
Document Owner: AUTOSAR
|
||||
Document Responsibility: AUTOSAR
|
||||
Document Identification No: 289
|
||||
Document Classification: Standard
|
||||
Document Version: 4.2.0
|
||||
Document Status: Final
|
||||
Part of Release: 4.0 (2011-11-09)
|
||||
Revision: 3
|
||||
-->
|
||||
<!-- Generated on Thu Nov 10 11:36:22 CET 2011 -->
|
||||
<!-- MMT: 2.7.5 -->
|
||||
<!-- Meta-Model: https://svn3.autosar.org/repos2/work/24_Sources/branches/R4.0/MMOD_MetaModel_059/master/AUTOSAR_MetaModel_Master.EAP@105697 -->
|
||||
<!--
|
||||
Disclaimer
|
||||
|
||||
This specification and the material contained in it, as released by AUTOSAR,
|
||||
is for the purpose of information only. AUTOSAR and the companies that have
|
||||
contributed to it shall not be liable for any use of the specification.
|
||||
|
||||
The material contained in this specification is protected by copyright and
|
||||
other types of Intellectual Property Rights. The commercial exploitation of
|
||||
the material contained in this specification requires a license to such
|
||||
Intellectual Property Rights.
|
||||
|
||||
This specification may be utilized or reproduced without any modification, in
|
||||
any form or by any means, for informational purposes only.
|
||||
For any other purpose, no part of the specification may be utilized or
|
||||
reproduced, in any form or by any means, without permission in writing from
|
||||
the publisher.
|
||||
|
||||
The AUTOSAR specifications have been developed for automotive applications
|
||||
only. They have neither been developed, nor tested for non-automotive
|
||||
applications.
|
||||
|
||||
The word AUTOSAR and the AUTOSAR logo are registered trademarks.
|
||||
|
||||
|
||||
|
||||
Advice for users
|
||||
|
||||
AUTOSAR specifications may contain exemplary items (exemplary reference models,
|
||||
"use cases", and/or references to exemplary technical solutions, devices,
|
||||
processes or software).
|
||||
|
||||
Any such exemplary items are contained in the specifications for illustration
|
||||
purposes only, and they themselves are not part of the AUTOSAR Standard.
|
||||
Neither their presence in such specifications, nor any later documentation of
|
||||
AUTOSAR conformance of products actually implementing such exemplary items,
|
||||
imply that intellectual property rights covering such exemplary items are
|
||||
licensed under the same rules as applicable to the AUTOSAR Standard.
|
||||
|
||||
-->
|
||||
<ADMIN-DATA>
|
||||
<DOC-REVISIONS>
|
||||
<DOC-REVISION>
|
||||
<REVISION-LABEL>4.2.0</REVISION-LABEL>
|
||||
<ISSUED-BY>AUTOSAR</ISSUED-BY>
|
||||
<DATE>2011-11-09</DATE>
|
||||
</DOC-REVISION>
|
||||
</DOC-REVISIONS>
|
||||
</ADMIN-DATA>
|
||||
<AR-PACKAGES>
|
||||
<!-- AR-Package: AUTOSAR -->
|
||||
<AR-PACKAGE UUID="ECUC:AUTOSAR">
|
||||
<SHORT-NAME>AUTOSAR</SHORT-NAME>
|
||||
<AR-PACKAGES>
|
||||
<!-- AR-Package: AUTOSAR -->
|
||||
<AR-PACKAGE UUID="ECUC:ECUCDEFS">
|
||||
<SHORT-NAME>EcucDefs</SHORT-NAME>
|
||||
<ELEMENTS>
|
||||
<!-- Module Definition: CanTSyn -->
|
||||
<ECUC-MODULE-DEF UUID="eba84a57-5c11-41dd-b908-2176663a2cc4">
|
||||
<SHORT-NAME>CanTSyn</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">Configuration of the Synchronized Time-base Manager (StbM) module with respect to global time handling on CAN.</L-2>
|
||||
</DESC>
|
||||
<CATEGORY>VENDOR_SPECIFIC_MODULE_DEFINITION</CATEGORY>
|
||||
<ADMIN-DATA>
|
||||
<DOC-REVISIONS>
|
||||
<DOC-REVISION>
|
||||
<REVISION-LABEL>1.00.00</REVISION-LABEL>
|
||||
<ISSUED-BY>visssf</ISSUED-BY>
|
||||
<DATE>2014-08-25T05:10:29+02:00</DATE>
|
||||
<MODIFICATIONS>
|
||||
<MODIFICATION>
|
||||
<CHANGE>
|
||||
<L-2 L="EN">Initial creation (Beta)</L-2>
|
||||
</CHANGE>
|
||||
<REASON>
|
||||
<L-2 L="EN">ESCAN00077542</L-2>
|
||||
</REASON>
|
||||
</MODIFICATION>
|
||||
</MODIFICATIONS>
|
||||
</DOC-REVISION>
|
||||
<DOC-REVISION>
|
||||
<REVISION-LABEL>1.01.00</REVISION-LABEL>
|
||||
<ISSUED-BY>visssf</ISSUED-BY>
|
||||
<DATE>2014-12-04T11:01:52+01:00</DATE>
|
||||
<MODIFICATIONS>
|
||||
<MODIFICATION>
|
||||
<CHANGE>
|
||||
<L-2 L="EN">Added default values for handle IDs</L-2>
|
||||
</CHANGE>
|
||||
<REASON>
|
||||
<L-2 L="EN">ESCAN00079949</L-2>
|
||||
</REASON>
|
||||
</MODIFICATION>
|
||||
</MODIFICATIONS>
|
||||
</DOC-REVISION>
|
||||
<DOC-REVISION>
|
||||
<REVISION-LABEL>1.02.00</REVISION-LABEL>
|
||||
<ISSUED-BY>visssf</ISSUED-BY>
|
||||
<DATE>2015-07-14T04:16:14+02:00</DATE>
|
||||
<MODIFICATIONS>
|
||||
<MODIFICATION>
|
||||
<CHANGE>
|
||||
<L-2 L="EN">Updated SW version</L-2>
|
||||
</CHANGE>
|
||||
</MODIFICATION>
|
||||
</MODIFICATIONS>
|
||||
</DOC-REVISION>
|
||||
<DOC-REVISION>
|
||||
<REVISION-LABEL>2.00.00</REVISION-LABEL>
|
||||
<ISSUED-BY>visssf</ISSUED-BY>
|
||||
<DATE>2015-09-22T09:22:59+02:00</DATE>
|
||||
<MODIFICATIONS>
|
||||
<MODIFICATION>
|
||||
<CHANGE>
|
||||
<L-2 L="EN">Updated SW version</L-2>
|
||||
</CHANGE>
|
||||
</MODIFICATION>
|
||||
</MODIFICATIONS>
|
||||
</DOC-REVISION>
|
||||
<DOC-REVISION>
|
||||
<REVISION-LABEL>2.01.00</REVISION-LABEL>
|
||||
<ISSUED-BY>visssf</ISSUED-BY>
|
||||
<DATE>2016-02-26T01:39:24+01:00</DATE>
|
||||
<MODIFICATIONS>
|
||||
<MODIFICATION>
|
||||
<CHANGE>
|
||||
<L-2 L="EN">Support multiple masters per Time Domain</L-2>
|
||||
</CHANGE>
|
||||
<REASON>
|
||||
<L-2 L="EN">ESCAN00088577</L-2>
|
||||
</REASON>
|
||||
</MODIFICATION>
|
||||
</MODIFICATIONS>
|
||||
</DOC-REVISION>
|
||||
</DOC-REVISIONS>
|
||||
</ADMIN-DATA>
|
||||
<LOWER-MULTIPLICITY>0</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<SUPPORTED-CONFIG-VARIANTS>
|
||||
<SUPPORTED-CONFIG-VARIANT>VARIANT-POST-BUILD</SUPPORTED-CONFIG-VARIANT>
|
||||
<SUPPORTED-CONFIG-VARIANT>VARIANT-PRE-COMPILE</SUPPORTED-CONFIG-VARIANT>
|
||||
</SUPPORTED-CONFIG-VARIANTS>
|
||||
<CONTAINERS>
|
||||
<!-- Container Definition: CanTSynGeneral -->
|
||||
<ECUC-PARAM-CONF-CONTAINER-DEF UUID="3382b529-a397-45f2-b808-d912a45980f4">
|
||||
<SHORT-NAME>CanTSynGeneral</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">This container holds the general parameters of the CAN-specific Synchronized Time-base Manager</L-2>
|
||||
</DESC>
|
||||
<ADMIN-DATA>
|
||||
<SDGS>
|
||||
<SDG GID="DV:CfgPostBuild">
|
||||
<SD GID="DV:postBuildSelectableChangeable">false</SD>
|
||||
<SD GID="DV:postBuildNotDeletable">false</SD>
|
||||
</SDG>
|
||||
</SDGS>
|
||||
</ADMIN-DATA>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<PARAMETERS>
|
||||
<!-- PARAMETER DEFINITION: CanTSynDevErrorDetect -->
|
||||
<ECUC-BOOLEAN-PARAM-DEF UUID="203c4ddc-448c-4f33-8b0c-6d7fcf088b6a">
|
||||
<SHORT-NAME>CanTSynDevErrorDetect</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">Switch for enabling the development error detection.</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<SYMBOLIC-NAME-VALUE>false</SYMBOLIC-NAME-VALUE>
|
||||
<DEFAULT-VALUE>true</DEFAULT-VALUE>
|
||||
</ECUC-BOOLEAN-PARAM-DEF>
|
||||
<!-- PARAMETER DEFINITION: CanTSynMainFunctionPeriod -->
|
||||
<ECUC-FLOAT-PARAM-DEF UUID="e63c7a9a-cae1-4cc3-a7c8-2b2bcc21210b">
|
||||
<SHORT-NAME>CanTSynMainFunctionPeriod</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">Schedule period of the main function CanTSyn_MainFunction. Unit: [s].</L-2>
|
||||
</DESC>
|
||||
<ADMIN-DATA>
|
||||
<SDGS>
|
||||
<SDG GID="DV:Display">
|
||||
<SD GID="DV:BaseUnit">SEC</SD>
|
||||
<SD GID="DV:Unit">MSEC</SD>
|
||||
</SDG>
|
||||
</SDGS>
|
||||
</ADMIN-DATA>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<SYMBOLIC-NAME-VALUE>false</SYMBOLIC-NAME-VALUE>
|
||||
<MAX>1.7976931348623157E+308</MAX>
|
||||
<MIN>0</MIN>
|
||||
</ECUC-FLOAT-PARAM-DEF>
|
||||
<!-- PARAMETER DEFINITION: CanTSynVersionInfo -->
|
||||
<ECUC-BOOLEAN-PARAM-DEF UUID="b06337f6-4cee-4d9a-9080-f95e6bfc9607">
|
||||
<SHORT-NAME>CanTSynVersionInfo</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">Activate/Deactivate the version information API (CanTSyn_GetVersionInfo). True: version information API activated False: version information API deactivated.</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<SYMBOLIC-NAME-VALUE>false</SYMBOLIC-NAME-VALUE>
|
||||
<DEFAULT-VALUE>false</DEFAULT-VALUE>
|
||||
</ECUC-BOOLEAN-PARAM-DEF>
|
||||
</PARAMETERS>
|
||||
<SUB-CONTAINERS>
|
||||
<!-- Container Definition: CanTSynGlobalTimeFupDataIDList -->
|
||||
<ECUC-PARAM-CONF-CONTAINER-DEF UUID="4e4f73f8-e829-4f3e-b07f-974aa62b9a5d">
|
||||
<SHORT-NAME>CanTSynGlobalTimeFupDataIDList</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">The DataIDList for FUP messages ensures the identification of data elements due to CRC calculation process.</L-2>
|
||||
</DESC>
|
||||
<ADMIN-DATA>
|
||||
<SDGS>
|
||||
<SDG GID="DV:CfgPostBuild">
|
||||
<SD GID="DV:postBuildSelectableChangeable">false</SD>
|
||||
<SD GID="DV:postBuildNotDeletable">false</SD>
|
||||
</SDG>
|
||||
</SDGS>
|
||||
</ADMIN-DATA>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<SUB-CONTAINERS>
|
||||
<!-- Container Definition: CanTSynGlobalTimeFupDataIDListElement -->
|
||||
<ECUC-PARAM-CONF-CONTAINER-DEF UUID="47228971-6b1a-40c6-8dad-42fedfe5b17c">
|
||||
<SHORT-NAME>CanTSynGlobalTimeFupDataIDListElement</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">Element of the DataIDList for FUP messages ensures the identification of data elements due to CRC calculation process.</L-2>
|
||||
</DESC>
|
||||
<ADMIN-DATA>
|
||||
<SDGS>
|
||||
<SDG GID="DV:CfgPostBuild">
|
||||
<SD GID="DV:postBuildSelectableChangeable">false</SD>
|
||||
<SD GID="DV:postBuildNotDeletable">false</SD>
|
||||
</SDG>
|
||||
</SDGS>
|
||||
</ADMIN-DATA>
|
||||
<LOWER-MULTIPLICITY>16</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>16</UPPER-MULTIPLICITY>
|
||||
<PARAMETERS>
|
||||
<!-- PARAMETER DEFINITION: CanTSynGlobalTimeFupDataIDListIndex -->
|
||||
<ECUC-INTEGER-PARAM-DEF UUID="d88c08dd-3788-497f-902b-ec6c08915549">
|
||||
<SHORT-NAME>CanTSynGlobalTimeFupDataIDListIndex</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">Index of the DataIDList for FUP messages ensures the identification of data elements due to CRC calculation process.</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<SYMBOLIC-NAME-VALUE>false</SYMBOLIC-NAME-VALUE>
|
||||
<MAX>15</MAX>
|
||||
<MIN>0</MIN>
|
||||
</ECUC-INTEGER-PARAM-DEF>
|
||||
<!-- PARAMETER DEFINITION: CanTSynGlobalTimeFupDataIDListValue -->
|
||||
<ECUC-INTEGER-PARAM-DEF UUID="62f22ae0-1796-4f11-a14a-4d21081523f3">
|
||||
<SHORT-NAME>CanTSynGlobalTimeFupDataIDListValue</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">Value of the DataIDList for FUP messages ensures the identification of data elements due to CRC calculation process.</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<SYMBOLIC-NAME-VALUE>false</SYMBOLIC-NAME-VALUE>
|
||||
<MAX>255</MAX>
|
||||
<MIN>0</MIN>
|
||||
</ECUC-INTEGER-PARAM-DEF>
|
||||
</PARAMETERS>
|
||||
</ECUC-PARAM-CONF-CONTAINER-DEF>
|
||||
</SUB-CONTAINERS>
|
||||
</ECUC-PARAM-CONF-CONTAINER-DEF>
|
||||
<!-- Container Definition: CanTSynGlobalTimeOfnsDataIDList -->
|
||||
<ECUC-PARAM-CONF-CONTAINER-DEF UUID="011ec66b-71b1-4637-bbf6-d38a140f301c">
|
||||
<SHORT-NAME>CanTSynGlobalTimeOfnsDataIDList</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">The DataIDList for OFNS messages ensures the identification of data elements due to CRC calculation process.</L-2>
|
||||
</DESC>
|
||||
<ADMIN-DATA>
|
||||
<SDGS>
|
||||
<SDG GID="DV:CfgPostBuild">
|
||||
<SD GID="DV:postBuildSelectableChangeable">false</SD>
|
||||
<SD GID="DV:postBuildNotDeletable">false</SD>
|
||||
</SDG>
|
||||
</SDGS>
|
||||
</ADMIN-DATA>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<SUB-CONTAINERS>
|
||||
<!-- Container Definition: CanTSynGlobalTimeOfnsDataIDListElement -->
|
||||
<ECUC-PARAM-CONF-CONTAINER-DEF UUID="7fad34bf-3421-493d-9812-b5836ba40e22">
|
||||
<SHORT-NAME>CanTSynGlobalTimeOfnsDataIDListElement</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">Element of the DataIDList for OFNS messages ensures the identification of data elements due to CRC calculation process.</L-2>
|
||||
</DESC>
|
||||
<ADMIN-DATA>
|
||||
<SDGS>
|
||||
<SDG GID="DV:CfgPostBuild">
|
||||
<SD GID="DV:postBuildSelectableChangeable">false</SD>
|
||||
<SD GID="DV:postBuildNotDeletable">false</SD>
|
||||
</SDG>
|
||||
</SDGS>
|
||||
</ADMIN-DATA>
|
||||
<LOWER-MULTIPLICITY>16</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>16</UPPER-MULTIPLICITY>
|
||||
<PARAMETERS>
|
||||
<!-- PARAMETER DEFINITION: CanTSynGlobalTimeOfnsDataIDListIndex -->
|
||||
<ECUC-INTEGER-PARAM-DEF UUID="dc82f823-5ff8-41e3-8631-1470b810d4c2">
|
||||
<SHORT-NAME>CanTSynGlobalTimeOfnsDataIDListIndex</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">Index of the DataIDList for OFNS messages ensures the identification of data elements due to CRC calculation process.</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<SYMBOLIC-NAME-VALUE>false</SYMBOLIC-NAME-VALUE>
|
||||
<MAX>15</MAX>
|
||||
<MIN>0</MIN>
|
||||
</ECUC-INTEGER-PARAM-DEF>
|
||||
<!-- PARAMETER DEFINITION: CanTSynGlobalTimeOfnsDataIDListValue -->
|
||||
<ECUC-INTEGER-PARAM-DEF UUID="7b714c16-a3c9-4e09-8c7b-a87ee4dc09b4">
|
||||
<SHORT-NAME>CanTSynGlobalTimeOfnsDataIDListValue</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">Value of the DataIDList for OFNS messages ensures the identification of data elements due to CRC calculation process.</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<SYMBOLIC-NAME-VALUE>false</SYMBOLIC-NAME-VALUE>
|
||||
<MAX>255</MAX>
|
||||
<MIN>0</MIN>
|
||||
</ECUC-INTEGER-PARAM-DEF>
|
||||
</PARAMETERS>
|
||||
</ECUC-PARAM-CONF-CONTAINER-DEF>
|
||||
</SUB-CONTAINERS>
|
||||
</ECUC-PARAM-CONF-CONTAINER-DEF>
|
||||
<!-- Container Definition: CanTSynGlobalTimeOfsDataIDList -->
|
||||
<ECUC-PARAM-CONF-CONTAINER-DEF UUID="54722541-7465-4314-9ab7-c6053c065ecc">
|
||||
<SHORT-NAME>CanTSynGlobalTimeOfsDataIDList</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">The DataIDList for OFS messages ensures the identification of data elements due to CRC calculation process.</L-2>
|
||||
</DESC>
|
||||
<ADMIN-DATA>
|
||||
<SDGS>
|
||||
<SDG GID="DV:CfgPostBuild">
|
||||
<SD GID="DV:postBuildSelectableChangeable">false</SD>
|
||||
<SD GID="DV:postBuildNotDeletable">false</SD>
|
||||
</SDG>
|
||||
</SDGS>
|
||||
</ADMIN-DATA>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<SUB-CONTAINERS>
|
||||
<!-- Container Definition: CanTSynGlobalTimeOfsDataIDListElement -->
|
||||
<ECUC-PARAM-CONF-CONTAINER-DEF UUID="ec80be40-6a04-48ac-8670-1e1804b462a2">
|
||||
<SHORT-NAME>CanTSynGlobalTimeOfsDataIDListElement</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">Element of the DataIDList for OFS messages ensures the identification of data elements due to CRC calculation process.</L-2>
|
||||
</DESC>
|
||||
<ADMIN-DATA>
|
||||
<SDGS>
|
||||
<SDG GID="DV:CfgPostBuild">
|
||||
<SD GID="DV:postBuildSelectableChangeable">false</SD>
|
||||
<SD GID="DV:postBuildNotDeletable">false</SD>
|
||||
</SDG>
|
||||
</SDGS>
|
||||
</ADMIN-DATA>
|
||||
<LOWER-MULTIPLICITY>16</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>16</UPPER-MULTIPLICITY>
|
||||
<PARAMETERS>
|
||||
<!-- PARAMETER DEFINITION: CanTSynGlobalTimeOfsDataIDListIndex -->
|
||||
<ECUC-INTEGER-PARAM-DEF UUID="2b37266e-c350-4fb8-9b58-39e650d72ec7">
|
||||
<SHORT-NAME>CanTSynGlobalTimeOfsDataIDListIndex</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">Index of the DataIDList for OFS messages ensures the identification of data elements due to CRC calculation process.</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<MAX>15</MAX>
|
||||
<MIN>0</MIN>
|
||||
</ECUC-INTEGER-PARAM-DEF>
|
||||
<!-- PARAMETER DEFINITION: CanTSynGlobalTimeOfsDataIDListValue -->
|
||||
<ECUC-INTEGER-PARAM-DEF UUID="b514073a-b3c0-4cf3-bd4c-be9b03878b62">
|
||||
<SHORT-NAME>CanTSynGlobalTimeOfsDataIDListValue</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">Value of the DataIDList for OFS messages ensures the identification of data elements due to CRC calculation process.</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<SYMBOLIC-NAME-VALUE>false</SYMBOLIC-NAME-VALUE>
|
||||
<MAX>255</MAX>
|
||||
<MIN>0</MIN>
|
||||
</ECUC-INTEGER-PARAM-DEF>
|
||||
</PARAMETERS>
|
||||
</ECUC-PARAM-CONF-CONTAINER-DEF>
|
||||
</SUB-CONTAINERS>
|
||||
</ECUC-PARAM-CONF-CONTAINER-DEF>
|
||||
<!-- Container Definition: CanTSynGlobalTimeSyncDataIDList -->
|
||||
<ECUC-PARAM-CONF-CONTAINER-DEF UUID="c2180445-f3e5-4172-92bc-d1ad2135cfbd">
|
||||
<SHORT-NAME>CanTSynGlobalTimeSyncDataIDList</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">The DataIDList for SYNC messages ensures the identification of data elements due to CRC calculation process.</L-2>
|
||||
</DESC>
|
||||
<ADMIN-DATA>
|
||||
<SDGS>
|
||||
<SDG GID="DV:CfgPostBuild">
|
||||
<SD GID="DV:postBuildSelectableChangeable">false</SD>
|
||||
<SD GID="DV:postBuildNotDeletable">false</SD>
|
||||
</SDG>
|
||||
</SDGS>
|
||||
</ADMIN-DATA>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<SUB-CONTAINERS>
|
||||
<!-- Container Definition: CanTSynGlobalTimeSyncDataIDListElement -->
|
||||
<ECUC-PARAM-CONF-CONTAINER-DEF UUID="7bcbb251-748b-4f96-bd5e-380cc45bc0e3">
|
||||
<SHORT-NAME>CanTSynGlobalTimeSyncDataIDListElement</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">Element of the DataIDList for SYNC messages ensures the identification of data elements due to CRC calculation process.</L-2>
|
||||
</DESC>
|
||||
<ADMIN-DATA>
|
||||
<SDGS>
|
||||
<SDG GID="DV:CfgPostBuild">
|
||||
<SD GID="DV:postBuildSelectableChangeable">false</SD>
|
||||
<SD GID="DV:postBuildNotDeletable">false</SD>
|
||||
</SDG>
|
||||
</SDGS>
|
||||
</ADMIN-DATA>
|
||||
<LOWER-MULTIPLICITY>16</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>16</UPPER-MULTIPLICITY>
|
||||
<PARAMETERS>
|
||||
<!-- PARAMETER DEFINITION: CanTSynGlobalTimeSyncDataIDListIndex -->
|
||||
<ECUC-INTEGER-PARAM-DEF UUID="0f9bbeea-4b20-4524-b83a-acbcc487709d">
|
||||
<SHORT-NAME>CanTSynGlobalTimeSyncDataIDListIndex</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">Index for the DataIDList for SYNC messages ensures the identification of data elements due to CRC calculation process.</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<SYMBOLIC-NAME-VALUE>false</SYMBOLIC-NAME-VALUE>
|
||||
<MAX>15</MAX>
|
||||
<MIN>0</MIN>
|
||||
</ECUC-INTEGER-PARAM-DEF>
|
||||
<!-- PARAMETER DEFINITION: CanTSynGlobalTimeSyncDataIDListValue -->
|
||||
<ECUC-INTEGER-PARAM-DEF UUID="b8aa78f2-4bd3-42d2-9b0a-04e650b9d025">
|
||||
<SHORT-NAME>CanTSynGlobalTimeSyncDataIDListValue</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">Value of the DataIDList for SYNC messages ensures the identification of data elements due to CRC calculation process.</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<SYMBOLIC-NAME-VALUE>false</SYMBOLIC-NAME-VALUE>
|
||||
<MAX>255</MAX>
|
||||
<MIN>0</MIN>
|
||||
</ECUC-INTEGER-PARAM-DEF>
|
||||
</PARAMETERS>
|
||||
</ECUC-PARAM-CONF-CONTAINER-DEF>
|
||||
</SUB-CONTAINERS>
|
||||
</ECUC-PARAM-CONF-CONTAINER-DEF>
|
||||
</SUB-CONTAINERS>
|
||||
</ECUC-PARAM-CONF-CONTAINER-DEF>
|
||||
<!-- Container Definition: CanTSynGlobalTimeDomain -->
|
||||
<ECUC-PARAM-CONF-CONTAINER-DEF UUID="dd476b72-786b-4117-9254-242370e89290">
|
||||
<SHORT-NAME>CanTSynGlobalTimeDomain</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">This represents the existence of a global time domain on CAN. The CanTSyn module can administrate several global time domains at the same time that in itself form a hierarchy of domains and sub-domains.</L-2>
|
||||
</DESC>
|
||||
<ADMIN-DATA>
|
||||
<SDGS>
|
||||
<SDG GID="DV:CfgPostBuild">
|
||||
<SD GID="DV:postBuildSelectableChangeable">false</SD>
|
||||
<SD GID="DV:postBuildNotDeletable">false</SD>
|
||||
</SDG>
|
||||
</SDGS>
|
||||
</ADMIN-DATA>
|
||||
<INTRODUCTION>
|
||||
<P>
|
||||
<L-1 L="EN">If the CanTSyn exists it is assumed that at least one global time domain exists.</L-1>
|
||||
</P>
|
||||
</INTRODUCTION>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY-INFINITE>true</UPPER-MULTIPLICITY-INFINITE>
|
||||
<PARAMETERS>
|
||||
<!-- PARAMETER DEFINITION: CanTSynGlobalTimeDomainId -->
|
||||
<ECUC-INTEGER-PARAM-DEF UUID="0d7f9a6e-a3d6-4eef-b3dd-640d819f13e3">
|
||||
<SHORT-NAME>CanTSynGlobalTimeDomainId</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">The global time domain ID.</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<SYMBOLIC-NAME-VALUE>false</SYMBOLIC-NAME-VALUE>
|
||||
<MAX>31</MAX>
|
||||
<MIN>0</MIN>
|
||||
</ECUC-INTEGER-PARAM-DEF>
|
||||
<!-- PARAMETER DEFINITION: CanTSynGlobalTimeFollowUpTimeout -->
|
||||
<ECUC-FLOAT-PARAM-DEF UUID="c153ed9a-184d-4bca-8b2a-bbfa82bbc53d">
|
||||
<SHORT-NAME>CanTSynGlobalTimeFollowUpTimeout</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">Rx timeout for the follow-up message. This is only relevant for selected bus systems Unit:seconds</L-2>
|
||||
</DESC>
|
||||
<ADMIN-DATA>
|
||||
<SDGS>
|
||||
<SDG GID="DV:Display">
|
||||
<SD GID="DV:BaseUnit">SEC</SD>
|
||||
<SD GID="DV:Unit">MSEC</SD>
|
||||
</SDG>
|
||||
</SDGS>
|
||||
</ADMIN-DATA>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<SYMBOLIC-NAME-VALUE>false</SYMBOLIC-NAME-VALUE>
|
||||
<MAX>1.7976931348623157E+308</MAX>
|
||||
<MIN>0</MIN>
|
||||
</ECUC-FLOAT-PARAM-DEF>
|
||||
<!-- PARAMETER DEFINITION: CanTSynGlobalTimeSequenceCounterJumpWidth -->
|
||||
<ECUC-INTEGER-PARAM-DEF UUID="addb4646-3ca6-4123-b601-c8fbd956d96c">
|
||||
<SHORT-NAME>CanTSynGlobalTimeSequenceCounterJumpWidth</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">The SequenceCounterJumpWidth specifies the maximum allowed gap of the Sequence Counter between two SYNC resp. two OFS messages.</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<SYMBOLIC-NAME-VALUE>false</SYMBOLIC-NAME-VALUE>
|
||||
<MAX>15</MAX>
|
||||
<MIN>1</MIN>
|
||||
</ECUC-INTEGER-PARAM-DEF>
|
||||
</PARAMETERS>
|
||||
<REFERENCES>
|
||||
<!-- Symbolic Name Reference Definition: CanTSynSynchronizedTimeBaseRef -->
|
||||
<ECUC-SYMBOLIC-NAME-REFERENCE-DEF UUID="54ef0005-8f97-4870-b93d-fb2c78a00c92">
|
||||
<SHORT-NAME>CanTSynSynchronizedTimeBaseRef</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">Mandatory reference to the required synchronized time-base.</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<DESTINATION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/AUTOSAR/EcucDefs/StbM/StbMSynchronizedTimeBase</DESTINATION-REF>
|
||||
</ECUC-SYMBOLIC-NAME-REFERENCE-DEF>
|
||||
</REFERENCES>
|
||||
<SUB-CONTAINERS>
|
||||
<!-- Container Definition: CanTSynGlobalTimeMaster -->
|
||||
<ECUC-PARAM-CONF-CONTAINER-DEF UUID="e2a7d862-fc1b-420e-a0dd-dbd35bb9e147">
|
||||
<SHORT-NAME>CanTSynGlobalTimeMaster</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">Configuration of the global time master. Each global time domain is required to have exactly one global time master. This master may or may not exist on the configured ECU.</L-2>
|
||||
</DESC>
|
||||
<ADMIN-DATA>
|
||||
<SDGS>
|
||||
<SDG GID="DV:CfgPostBuild">
|
||||
<SD GID="DV:postBuildSelectableChangeable">false</SD>
|
||||
<SD GID="DV:postBuildNotDeletable">true</SD>
|
||||
</SDG>
|
||||
</SDGS>
|
||||
</ADMIN-DATA>
|
||||
<LOWER-MULTIPLICITY>0</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY-INFINITE>true</UPPER-MULTIPLICITY-INFINITE>
|
||||
<PARAMETERS>
|
||||
<!-- PARAMETER DEFINITION: CanTSynGlobalTimeTxCrcSecured -->
|
||||
<ECUC-ENUMERATION-PARAM-DEF UUID="028c9dae-7cc2-48c1-b3cd-78f7a829f450">
|
||||
<SHORT-NAME>CanTSynGlobalTimeTxCrcSecured</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">This represents the configuration of whether or not CRC is supported.</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<SYMBOLIC-NAME-VALUE>false</SYMBOLIC-NAME-VALUE>
|
||||
<LITERALS>
|
||||
<ECUC-ENUMERATION-LITERAL-DEF UUID="483fbafc-3b06-4dd5-973a-fefe6d89ca94">
|
||||
<SHORT-NAME>CRC_NOT_SUPPORTED</SHORT-NAME>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
</ECUC-ENUMERATION-LITERAL-DEF>
|
||||
<ECUC-ENUMERATION-LITERAL-DEF UUID="fd76cd9b-454f-4814-ba44-c179ed56632e">
|
||||
<SHORT-NAME>CRC_SUPPORTED</SHORT-NAME>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
</ECUC-ENUMERATION-LITERAL-DEF>
|
||||
</LITERALS>
|
||||
</ECUC-ENUMERATION-PARAM-DEF>
|
||||
<!-- PARAMETER DEFINITION: CanTSynGlobalTimeTxFollowUpOffset -->
|
||||
<ECUC-FLOAT-PARAM-DEF UUID="acdaf4e6-57c6-48d8-bff5-7a921363bd75">
|
||||
<SHORT-NAME>CanTSynGlobalTimeTxFollowUpOffset</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">This represents the transmission time offset between a SYNC message and the related FUP message resp. OFS message and related OFNS message. Unit: seconds.</L-2>
|
||||
</DESC>
|
||||
<ADMIN-DATA>
|
||||
<SDGS>
|
||||
<SDG GID="DV:Display">
|
||||
<SD GID="DV:BaseUnit">SEC</SD>
|
||||
<SD GID="DV:Unit">MSEC</SD>
|
||||
</SDG>
|
||||
</SDGS>
|
||||
</ADMIN-DATA>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<SYMBOLIC-NAME-VALUE>false</SYMBOLIC-NAME-VALUE>
|
||||
<MAX>1.7976931348623157E+308</MAX>
|
||||
<MIN>0</MIN>
|
||||
</ECUC-FLOAT-PARAM-DEF>
|
||||
<!-- PARAMETER DEFINITION: CanTSynGlobalTimeTxPeriod -->
|
||||
<ECUC-FLOAT-PARAM-DEF UUID="d928eace-ac32-4067-b2f9-38dde1ad107c">
|
||||
<SHORT-NAME>CanTSynGlobalTimeTxPeriod</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">This represents configuration of the TX period. Unit: seconds</L-2>
|
||||
</DESC>
|
||||
<ADMIN-DATA>
|
||||
<SDGS>
|
||||
<SDG GID="DV:Display">
|
||||
<SD GID="DV:BaseUnit">SEC</SD>
|
||||
<SD GID="DV:Unit">MSEC</SD>
|
||||
</SDG>
|
||||
</SDGS>
|
||||
</ADMIN-DATA>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<SYMBOLIC-NAME-VALUE>false</SYMBOLIC-NAME-VALUE>
|
||||
<MAX>1.7976931348623157E+308</MAX>
|
||||
<MIN>0</MIN>
|
||||
</ECUC-FLOAT-PARAM-DEF>
|
||||
<!-- PARAMETER DEFINITION: CanTSynMasterConfirmationTimeout -->
|
||||
<ECUC-FLOAT-PARAM-DEF UUID="9f6a97ff-2266-4af0-bf51-4771c29db32c">
|
||||
<SHORT-NAME>CanTSynMasterConfirmationTimeout</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">This represents the confirmation timeout after transmission of a SYNC message resp. OFS message. Unit: seconds.</L-2>
|
||||
</DESC>
|
||||
<ADMIN-DATA>
|
||||
<SDGS>
|
||||
<SDG GID="DV:Display">
|
||||
<SD GID="DV:BaseUnit">SEC</SD>
|
||||
<SD GID="DV:Unit">MSEC</SD>
|
||||
</SDG>
|
||||
</SDGS>
|
||||
</ADMIN-DATA>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<SYMBOLIC-NAME-VALUE>false</SYMBOLIC-NAME-VALUE>
|
||||
<MAX>1.7976931348623157E+308</MAX>
|
||||
<MIN>0</MIN>
|
||||
</ECUC-FLOAT-PARAM-DEF>
|
||||
</PARAMETERS>
|
||||
<SUB-CONTAINERS>
|
||||
<!-- Container Definition: CanTSynGlobalTimeMasterPdu -->
|
||||
<ECUC-PARAM-CONF-CONTAINER-DEF UUID="224dae13-8577-42b2-914b-a481e307a9a7">
|
||||
<SHORT-NAME>CanTSynGlobalTimeMasterPdu</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">This container encloses the configuration of the PDU that is supposed to contain the global time information.</L-2>
|
||||
</DESC>
|
||||
<ADMIN-DATA>
|
||||
<SDGS>
|
||||
<SDG GID="DV:CfgPostBuild">
|
||||
<SD GID="DV:postBuildSelectableChangeable">false</SD>
|
||||
<SD GID="DV:postBuildNotDeletable">false</SD>
|
||||
</SDG>
|
||||
</SDGS>
|
||||
</ADMIN-DATA>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<PARAMETERS>
|
||||
<!-- PARAMETER DEFINITION: CanTSynGlobalTimeMasterConfirmationHandleId -->
|
||||
<ECUC-INTEGER-PARAM-DEF UUID="3cac33bb-89fa-43ca-b863-1b4d7b552d56">
|
||||
<SHORT-NAME>CanTSynGlobalTimeMasterConfirmationHandleId</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">This represents the handle ID of the PDU that contains the global time information.</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<SYMBOLIC-NAME-VALUE>true</SYMBOLIC-NAME-VALUE>
|
||||
<DEFAULT-VALUE>0</DEFAULT-VALUE>
|
||||
<MAX>65535</MAX>
|
||||
<MIN>0</MIN>
|
||||
</ECUC-INTEGER-PARAM-DEF>
|
||||
</PARAMETERS>
|
||||
<REFERENCES>
|
||||
<!-- Reference Definition: CanTSynGlobalTimePduRef -->
|
||||
<ECUC-REFERENCE-DEF UUID="ed4fbecb-709f-443e-a33e-255d09f6d2de">
|
||||
<SHORT-NAME>CanTSynGlobalTimePduRef</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">This represents the reference to the Pdu taken to transmit the global time information. The global time master of a global time domain acts as the sender of the Pdu while all the time slaves are supposed to receive the Pdu.</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<DESTINATION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/AUTOSAR/EcucDefs/EcuC/EcucPduCollection/Pdu</DESTINATION-REF>
|
||||
</ECUC-REFERENCE-DEF>
|
||||
</REFERENCES>
|
||||
</ECUC-PARAM-CONF-CONTAINER-DEF>
|
||||
</SUB-CONTAINERS>
|
||||
</ECUC-PARAM-CONF-CONTAINER-DEF>
|
||||
<!-- Container Definition: CanTSynGlobalTimeSlave -->
|
||||
<ECUC-PARAM-CONF-CONTAINER-DEF UUID="e38377b2-690c-4029-a86c-8d889be07808">
|
||||
<SHORT-NAME>CanTSynGlobalTimeSlave</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">Configuration of a global time slave. Each global time domain is required to have at least one time slave. The configured ECU may or may not represent a time slave.</L-2>
|
||||
</DESC>
|
||||
<ADMIN-DATA>
|
||||
<SDGS>
|
||||
<SDG GID="DV:CfgPostBuild">
|
||||
<SD GID="DV:postBuildSelectableChangeable">false</SD>
|
||||
<SD GID="DV:postBuildNotDeletable">false</SD>
|
||||
</SDG>
|
||||
</SDGS>
|
||||
</ADMIN-DATA>
|
||||
<LOWER-MULTIPLICITY>0</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<PARAMETERS>
|
||||
<!-- PARAMETER DEFINITION: CanTSynRxCrcValidated -->
|
||||
<ECUC-ENUMERATION-PARAM-DEF UUID="6126e429-bd7f-4ad2-97ec-944474cb6481">
|
||||
<SHORT-NAME>CanTSynRxCrcValidated</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">Definition of whether or not validation of the CRC is supported.</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<SYMBOLIC-NAME-VALUE>false</SYMBOLIC-NAME-VALUE>
|
||||
<LITERALS>
|
||||
<ECUC-ENUMERATION-LITERAL-DEF UUID="be975098-7367-4b2a-8d85-d756c87dc3a6">
|
||||
<SHORT-NAME>CRC_IGNORED</SHORT-NAME>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
</ECUC-ENUMERATION-LITERAL-DEF>
|
||||
<ECUC-ENUMERATION-LITERAL-DEF UUID="e034239b-16c0-49db-aee6-0d5784bb35d8">
|
||||
<SHORT-NAME>CRC_NOT_VALIDATED</SHORT-NAME>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
</ECUC-ENUMERATION-LITERAL-DEF>
|
||||
<ECUC-ENUMERATION-LITERAL-DEF UUID="bb82462a-3c5b-46c2-8ada-63addf10d05b">
|
||||
<SHORT-NAME>CRC_VALIDATED</SHORT-NAME>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
</ECUC-ENUMERATION-LITERAL-DEF>
|
||||
</LITERALS>
|
||||
</ECUC-ENUMERATION-PARAM-DEF>
|
||||
</PARAMETERS>
|
||||
<SUB-CONTAINERS>
|
||||
<!-- Container Definition: CanTSynGlobalTimeSlavePdu -->
|
||||
<ECUC-PARAM-CONF-CONTAINER-DEF UUID="288a4d2d-b0d8-44d8-8ba9-c27d7bc5461d">
|
||||
<SHORT-NAME>CanTSynGlobalTimeSlavePdu</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">This container encloses the configuration of the PDU that is supposed to contain the global time information.</L-2>
|
||||
</DESC>
|
||||
<ADMIN-DATA>
|
||||
<SDGS>
|
||||
<SDG GID="DV:CfgPostBuild">
|
||||
<SD GID="DV:postBuildSelectableChangeable">false</SD>
|
||||
<SD GID="DV:postBuildNotDeletable">false</SD>
|
||||
</SDG>
|
||||
</SDGS>
|
||||
</ADMIN-DATA>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<PARAMETERS>
|
||||
<!-- PARAMETER DEFINITION: CanTSynGlobalTimeSlaveHandleId -->
|
||||
<ECUC-INTEGER-PARAM-DEF UUID="244aa8ff-670f-456e-a25c-eac05b1df60c">
|
||||
<SHORT-NAME>CanTSynGlobalTimeSlaveHandleId</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">This represents the handle ID of the PDU that contains the global time information.</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<SYMBOLIC-NAME-VALUE>true</SYMBOLIC-NAME-VALUE>
|
||||
<DEFAULT-VALUE>0</DEFAULT-VALUE>
|
||||
<MAX>65535</MAX>
|
||||
<MIN>0</MIN>
|
||||
</ECUC-INTEGER-PARAM-DEF>
|
||||
</PARAMETERS>
|
||||
<REFERENCES>
|
||||
<!-- Reference Definition: CanTSynGlobalTimePduRef -->
|
||||
<ECUC-REFERENCE-DEF UUID="ff0ee991-ccdc-469a-89ff-16cfc8b8acc1">
|
||||
<SHORT-NAME>CanTSynGlobalTimePduRef</SHORT-NAME>
|
||||
<DESC>
|
||||
<L-2 L="EN">This represents the reference to the Pdu taken to transmit the global time information. The global time master of a global time domain acts as the sender of the Pdu while all the time slaves are supposed to receive the Pdu.</L-2>
|
||||
</DESC>
|
||||
<LOWER-MULTIPLICITY>1</LOWER-MULTIPLICITY>
|
||||
<UPPER-MULTIPLICITY>1</UPPER-MULTIPLICITY>
|
||||
<ORIGIN>AUTOSAR_ECUC</ORIGIN>
|
||||
<DESTINATION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/AUTOSAR/EcucDefs/EcuC/EcucPduCollection/Pdu</DESTINATION-REF>
|
||||
</ECUC-REFERENCE-DEF>
|
||||
</REFERENCES>
|
||||
</ECUC-PARAM-CONF-CONTAINER-DEF>
|
||||
</SUB-CONTAINERS>
|
||||
</ECUC-PARAM-CONF-CONTAINER-DEF>
|
||||
</SUB-CONTAINERS>
|
||||
</ECUC-PARAM-CONF-CONTAINER-DEF>
|
||||
</CONTAINERS>
|
||||
</ECUC-MODULE-DEF>
|
||||
</ELEMENTS>
|
||||
</AR-PACKAGE>
|
||||
</AR-PACKAGES>
|
||||
</AR-PACKAGE>
|
||||
</AR-PACKAGES>
|
||||
</AUTOSAR>
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user