当前位置:网站首页>CommonAPI与AUTOSAR AP通讯管理的异同
CommonAPI与AUTOSAR AP通讯管理的异同
2022-06-13 10:56:00 【AutoSAR技术支持与培训】
传送门 ==>> AutoSAR实战系列300讲「糖果Autosar」总目录
1 CommonAPI的介绍
CommonAPI 是由 GENIVI 开发的 C++ 框架,用于遵循 SOA 的进程间和网络通信。其目标是为不同的通信框架或协议提供统一的应用程序接口 (API)。使用 CommonAPI 的项目的基础是存在由开发人员共享的服务定义。为此,CommonAPI 使用了 Franca 接口定义语言 (Franca IDL)。这种语言允许使用方法、事件和字段定义服务,以及项目特定数据类型的规范,例如结构或枚举,然后将具有特定的在线表示。这类似于 SOA 中存在的消息格式规范,因为它包含服务或客户端对消息进行编码和解密所需的所有信息。从这个 Franca 文件中,core-tools ,为服务提供者(称为Skeletons )和消费者(称为Proxies )生成代码。前者包含指定方法的默认实现,而后者具有在内部处理对服务提供者的调用和整个网络过程的方法。然后,开发人员将通过 C++ 继承扩展生成的代码,而无需实际修改生成的代码文件。这个生成的代码使用来自 CommonAPI Runtime 的方法,这是来自底层
边栏推荐
- Brief introduction to memory structure of virtual machine
- [dynamic planning] beginner level
- 恶意代码实战分析Lab05-01
- vivo大规模 Kubernetes 集群自动化运维实践
- JGR-A | 南京大学黄安宁团队揭示高原湖泊山地影响极端降水的动力-热力机制
- Multithreading starts from the lockless queue of UE4 (thread safe)
- Questions and answers of the labor worker general basic (labor worker) work license in 2022
- Database learning notes (Chapter 15)
- Go 要加个箭头语法,这下更像 PHP 了!
- Redis初始安装和使用【玩转华为云】
猜你喜欢

什么是400G以太网?

Vivo large scale kubernetes cluster automation operation and maintenance practice

Database learning notes (Chapter 16)

Pagoda add a website: PHP project

网传互联网公司加班表,排名第一的没有悬念!

Matplotlib learning notes

To vent their dissatisfaction with their superiors, Baidu post-95 programmers were sentenced to 9 months for deleting the database

Codeforces Round #798 (Div. 2)ABCD

Flutter simple and excellent open source dialog uses free_ dialog

Idea remote debugging jar submitted by spark submit
随机推荐
Docker deployment MySQL
服务器的使用
Acwing game 55
低代码开发一个基础模块
音视频技术开发周刊 | 249
第七章 文件管理作业
Initial installation and use of redis [play with Huawei cloud]
2022 coal mine water exploration and drainage special operation certificate examination question bank simulated examination platform operation
Matplotlib 学习笔记
deepin系统中Qt5.12无法输入中文(无法切换中文输入法)解决办法
Vivo large scale kubernetes cluster automation operation and maintenance practice
Record several interesting XSS vulnerability discoveries
SSM整合初步 所得细节
Install Kubernetes 1.24
of_find_compatible_node查找出所有的节点
EasyClick 运行代码片段出Null
Brief introduction to memory structure of virtual machine
of_ find_ compatible_ Node find all nodes
Navicat connection MySQL in Pagoda
Modification of string class object