Design pattern driven development of embedded applications

K. Holman, Zoltán Szabó
{"title":"Design pattern driven development of embedded applications","authors":"K. Holman, Zoltán Szabó","doi":"10.1109/SAMI.2015.7061896","DOIUrl":null,"url":null,"abstract":"Application of microprocessors became common in various fields due to their progressive capabilities and decreasing price, enabling even simple sensors to easily deal with software-heavy tasks. These tendencies resulted in an explosive growth in the embedded market, challenging engineers to build reliable, high performance and cheap microcontroller-based software systems as fast as possible. Such requirements revalue the importance of reusable software components in the world of embedded applications to improve agility and responsiveness to customer needs. Design patterns provide ready-to-use solutions for common problems in the software development process. We are able to describe almost every aspect of a system using nothing but patterns. The rich toolkit of patterns gets overlooked as much as useful as they are. However, they lose expressiveness without available object-oriented features like the C language; the most commonly used one in embedded systems. The goal of this paper is to revisit some well-known design patterns and their applications using the C language. A common mistake when implementing patterns using C is trying to emulate object-oriented concepts for example class, inheritance, etc. - resulting in almost unreadable and hard to understand source code -, instead of thinking with a different mindset and focusing on the intention and purpose of the pattern.","PeriodicalId":276598,"journal":{"name":"2015 IEEE 13th International Symposium on Applied Machine Intelligence and Informatics (SAMI)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2015-03-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2015 IEEE 13th International Symposium on Applied Machine Intelligence and Informatics (SAMI)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SAMI.2015.7061896","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Application of microprocessors became common in various fields due to their progressive capabilities and decreasing price, enabling even simple sensors to easily deal with software-heavy tasks. These tendencies resulted in an explosive growth in the embedded market, challenging engineers to build reliable, high performance and cheap microcontroller-based software systems as fast as possible. Such requirements revalue the importance of reusable software components in the world of embedded applications to improve agility and responsiveness to customer needs. Design patterns provide ready-to-use solutions for common problems in the software development process. We are able to describe almost every aspect of a system using nothing but patterns. The rich toolkit of patterns gets overlooked as much as useful as they are. However, they lose expressiveness without available object-oriented features like the C language; the most commonly used one in embedded systems. The goal of this paper is to revisit some well-known design patterns and their applications using the C language. A common mistake when implementing patterns using C is trying to emulate object-oriented concepts for example class, inheritance, etc. - resulting in almost unreadable and hard to understand source code -, instead of thinking with a different mindset and focusing on the intention and purpose of the pattern.
设计模式驱动嵌入式应用程序的开发
由于微处理器的进步能力和不断下降的价格,微处理器的应用在各个领域变得普遍,即使是简单的传感器也可以轻松处理繁重的软件任务。这些趋势导致了嵌入式市场的爆炸式增长,挑战工程师尽快构建可靠,高性能和廉价的基于微控制器的软件系统。这样的需求重新评估了可重用软件组件在嵌入式应用程序世界中的重要性,以提高对客户需求的敏捷性和响应性。设计模式为软件开发过程中的常见问题提供了现成的解决方案。我们只用模式就可以描述系统的几乎每一个方面。丰富的模式工具包虽然很有用,但却被忽视了。然而,如果没有像C语言那样的面向对象特性,它们就失去了表达能力;在嵌入式系统中最常用的一种。本文的目的是重温一些著名的设计模式及其使用C语言的应用程序。在使用C实现模式时,一个常见的错误是试图模仿面向对象的概念,例如类、继承等——导致源代码几乎不可读且难以理解——而不是以不同的心态思考,并专注于模式的意图和目的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信