GPS Mesajlarının Nesneye Yönelik Yazılım Tasarım Prensiplerinden Genişlemeye Açık, Değişikliğe Kapalı Prensibine Göre Ele Alınması

NMEA 0183; deniz sistemlerindeki elektronik cihazlar arasındaki iletişimde kullanılanbir standarttır. Bu uygulama bildirisinde; ilk önce NMEA 0183 standardı ile ilgili genel bilgiler verilecektir. Sonra ise; GPS alıcısından gönderilen NMEA 0183 standardındaki mesajların nesneye yönelik programlamanın temel prensiplerinden olan "genişlemeye açık fakat değişikliğe kapalı" prensibine uygun olarak strateji ve fabrika tasarım kalıpları ile yazılım tasarımının nasıl yapıldığı anlatılacaktır.

Handling GPSMessages According To The Object Oriented Software Design Principles of Open for Extension, Closed for Modification Principle

NMEA 0183 is a standard for interfacing marine electronic devices. In this application article, general information about the NMEA 0183 standard will be given first. Then, design of the software, which handles NMEA 0183 messages coming from GPS receiver, by using strategy and factory method design patterns will be discussed according to the one of the object oriented programming principle "open for extension, close for the modification".

___

[1].Standard NMEA-0183 sentences description, freenmea.net/docs, Erişim Tarihi: 16.08.2016

[2].IEC 61162-1 Maritime navigation and radiocommunication equipment and systems -Digital interfaces -Part 1: Single talker and multiple listeners Edition 4.0, November 2010.

[3].NMEAData, www.gpsinformation.org/dale/nmea.htm, Erişim Tarihi: 16.08.2016

[4].Head First Object-Oriented Analysis&Design, Brett D. McLaughlin, Garry Pollice, David West, 2006, O'Reilly Media, First Edition

[5].SOLID (object-oriented design),https://en.wikipedia.org/wiki/SOLID_(object-oriented_design), Erişim Tarihi: 20.05.2016[6].Design Patterns, Elements of Reusable Object-Oriented Software, Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides