没有合适的资源?快使用搜索试试~ 我知道了~
首页AUTOSAR_EXP_ARAComAPI.pdf
AUTOSAR_EXP_ARAComAPI.pdf
需积分: 50 449 浏览量
更新于2023-05-30
评论 1
收藏 1.41MB PDF 举报
Typically, reading formal specifications isn’t the easiest way to learn and understand a certain technology. This especially holds true for the Communication Management API (ara::com) in the AUTOSAR Adaptive Platform. Therefore this document shall serve as an entry point not only for the developer of software components for the Adaptive Platform, who will use the ara::com API to interact with other application or service components, but also for Adaptive Platform product vendors, who are going to implement an optimized IPC binding for the ara::com API on their platform.
资源详情
资源评论
资源推荐

Explanation of ara::com API
AUTOSAR AP Release 17-03
Document Title Explanation of ara::com API
Document Owner AUTOSAR
Document Responsibility AUTOSAR
Document Identification No 846
Document Status Final
Part of AUTOSAR Standard Adaptive Platform
Part of Standard Release 17-03
Document Change History
Date Release Changed by
Description
2017-03-31 17-03
AUTOSAR
Release
Management
• Initial release
1 of 75
— AUTOSAR CONFIDENTIAL —
Document ID 846: AUTOSAR_EXP_ARAComAPI

Explanation of ara::com API
AUTOSAR AP Release 17-03
2 of 75
— AUTOSAR CONFIDENTIAL —
Document ID 846: AUTOSAR_EXP_ARAComAPI

Explanation of ara::com API
AUTOSAR AP Release 17-03
Disclaimer
This work (specification and/or software implementation) 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 work.
The material contained in this work is protected by copyright and other types of intel-
lectual property rights. The commercial exploitation of the material contained in this
work requires a license to such intellectual property rights.
This work 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 work
may be utilized or reproduced, in any form or by any means, without permission in
writing from the publisher.
The work has been developed for automotive applications only. It has neither been
developed, nor tested for non-automotive applications.
The word AUTOSAR and the AUTOSAR logo are registered trademarks.
3 of 75
— AUTOSAR CONFIDENTIAL —
Document ID 846: AUTOSAR_EXP_ARAComAPI

Explanation of ara::com API
AUTOSAR AP Release 17-03
Table of Contents
1 Preface 7
2 Introduction 8
3 Acronyms and Abbreviations 10
4 API Design Visions and Guidelines 11
5 High Level API Structure 12
5.1 Proxy/Skeleton Architecture . . . . . . . . . . . . . . . . . . . . . . . . 12
5.2 Runtime Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
5.3 Datatype Abstractions . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
6 API Elements 14
6.1 Proxy Class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
6.1.1 Constructor and Handle Concept . . . . . . . . . . . . . . . . 17
6.1.2 Finding Services . . . . . . . . . . . . . . . . . . . . . . . . . 20
6.1.2.1 Auto Update Proxy instance . . . . . . . . . . . . . . 21
6.1.3 Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
6.1.3.1 Event Subscription and Cache Semantics . . . . . . 28
6.1.3.2 Monitoring Event Subscription . . . . . . . . . . . . . 29
6.1.3.3 Event-Driven vs Polling-Based access . . . . . . . . 32
6.1.3.4 Buffering Strategies . . . . . . . . . . . . . . . . . . 35
6.1.4 Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
6.1.4.1 Event-Driven vs Polling access to method results . . 38
6.1.4.2 Canceling Method Result . . . . . . . . . . . . . . . 43
6.1.5 Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
6.2 Skeleton Class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
6.2.1 Instantiation . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
6.2.2 Offering Service instance . . . . . . . . . . . . . . . . . . . . 49
6.2.3 Polling and event-driven processing modes . . . . . . . . . . 50
6.2.3.1 Polling Mode . . . . . . . . . . . . . . . . . . . . . . 51
6.2.3.2 Event-Driven Mode . . . . . . . . . . . . . . . . . . . 52
6.2.4 Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
6.2.5 Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
6.2.6 Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
6.2.6.1 Registering Getters . . . . . . . . . . . . . . . . . . . 60
6.2.6.2 Registering Setters . . . . . . . . . . . . . . . . . . . 61
6.2.6.3 Ensuring existence of “SetHandler” . . . . . . . . . . 61
6.2.6.4 Ensuring existence of valid Field values . . . . . . . 61
6.3 Runtime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
7 Appendix 64
7.1 Serialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
7.1.1 Zero-Copy implications . . . . . . . . . . . . . . . . . . . . . 65
4 of 75
— AUTOSAR CONFIDENTIAL —
Document ID 846: AUTOSAR_EXP_ARAComAPI

Explanation of ara::com API
AUTOSAR AP Release 17-03
7.2 Service Discovery Implementation Strategies . . . . . . . . . . . . . . 66
7.2.1 Central vs Distributed approach . . . . . . . . . . . . . . . . 66
7.3 Multi-Binding implications . . . . . . . . . . . . . . . . . . . . . . . . . 69
7.3.1 Simple Multi-Binding use case . . . . . . . . . . . . . . . . . 69
7.3.2 Local/Network Multi-Binding use case . . . . . . . . . . . . . 72
7.3.3 Typical SOME/IP Multi-Binding use case . . . . . . . . . . . 73
5 of 75
— AUTOSAR CONFIDENTIAL —
Document ID 846: AUTOSAR_EXP_ARAComAPI
剩余74页未读,继续阅读
















powerfulpower_chao
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
我的内容管理 收起
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助

会员权益专享
最新资源
- Xilinx SRIO详解.pptx
- Informatica PowerCenter 10.2 for Centos7.6安装配置说明.pdf
- 现代无线系统射频电路实用设计卷II 英文版.pdf
- 电子产品可靠性设计 自己讲课用的PPT,包括设计方案的可靠性选择,元器件的选择与使用,降额设计,热设计,余度设计,参数优化设计 和 失效分析等
- MPC5744P-DEV-KIT-REVE-QSG.pdf
- 通信原理课程设计报告(ASK FSK PSK Matlab仿真--数字调制技术的仿真实现及性能研究)
- ORIGIN7.0使用说明
- 在VMware Player 3.1.3下安装Redhat Linux详尽步骤
- python学生信息管理系统实现代码
- 西门子MES手册 13 OpcenterEXCR_PortalStudio1_81RB1.pdf
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制

评论0