|
EventHelix Update: Recent Updates to EventHelix.com
(Please accept our apologies for sending a duplicate email. Our HTML
editor had mixed up the URL links in the previous mail)
Serial Port Design Pattern
Embedded software has to interact with hardware devices
of various types. In this article we will consider a design pattern
for handling hardware interfaces for a serial port. A serial port
interface drives serial links like HDLC, RS-232, RS-422 etc. The
Serial Port design pattern defines a generic interface with a serial
port device. The main intention here is to completely encapsulate the
interface with the serial port hardware device. All classes
interfacing with the serial port will not be impacted by change in the
hardware device.
EventStudio now has free lifetime support and upgrades
EventStudio is a CASE Tool for Embedded and Realtime System Design
and Development. EventStudio has been designed from ground up for easy
timer management, resource management and multiple scenario design. Now
EventStudio customers are eligible to free lifetime support and
unlimited updates. This offer is also extended to existing customers of
EventStudio.
STL Design Patterns
Standard Template Library (STL) has been a part of C++ for a very
long time but many people who have embraced C++ still hesitate in using
STL in their projects. There is a feeling that STL is difficult and hard
to learn. Nothing could be further from truth. STL is simple to use,
debugged and efficient code. STL can reduce the amount on mundane
repetitive code that takes up so much of project time.
STL Design Patterns II
We continue our discussion about STL design patterns. In this article
we will discuss queuing and resource management patterns that can be
implemented with ease using the STL queue and priority queue adaptors. A
simple implementation of the following design patterns will be covered
in this article:
- Message Queue Pattern
- Priority Message Queue Pattern
- Resource Allocator Pattern
Helix Router Sequence Diagrams
This article takes the next step in Helix Router object design. We
have already identified the objects involved in Helix Router operation.
Detailed sequence diagrams covering the operation of the Helix Router
are discussed here. |