|
Home >
Real-time Mantra >
Design Patterns
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Half Call design pattern helps in simplifying systems which support interworking of multiple protocols. |
|
Real-time software generally manages multiple entities of the same type. Manager Design Pattern is used to control these entities. |
|
Resource Manager keeps track of allocated and free resources. |
|
Message interfaces and the rest of the logic can be decoupled using this design pattern |
|
Decoupling of publisher and subscriber of information can be achieved by applying these design patterns. |
|
|
Hierarchical State Machine design is introduced and compared with conventional state design. |
|
This article discusses several ways in which new state machines can be defined by inheriting from existing state machines. |
|
|
This state pattern is used when the recipient has to collect similar messages before it can initiate action. |
|
State Pattern to handle parallel operations in Real-time systems. |
|
State Pattern to handle sequential operations in Real-time systems. |
|
This design pattern is described in terms of a class that completely encapsulates the interface with a serial port device. |
|
We consider the design of a DMA based high speed serial interface. The classes involved in this pattern interact with the device to setup buffers for DMA operations. |
|
Encapsulate the hardware device register access in a class. |
|
The Synchronizer Design Pattern is used to look at the raw incoming bit or byte stream and detect and align to the frame structure. The frame structure is detected by searching for a sync pattern in the frame. |
|
Sliding window transmit protocol design pattern is described here. |
|
Sliding window receive protocol design pattern is described here. |
|
Simplify buffer management in protocol stacks by supporting a single buffer that allows addition and extraction of different protocol layers. |
|
Provide a common framework for implementing different layers of a protocol stack. |
|
Manages different layers of a protocol stack. Allows dynamic addition and removal of protocol layers. |
|
|
Typical processor patterns found in embedded and distributed systems are covered here.. |
|
|
Comparison of processor architecture patterns. |
|
|
This article covers different design patterns for feature coordination. |
|
Typical design patterns in Embedded systems are compared here. |
|
Resource allocation is a very important part of Embedded system design. Here we discuss important Resource allocation patterns. |
|
Various Timer Management Design Patterns used in Real-time systems are covered in this article. |
|
|
Header file management in complex Realtime projects can get very complicated. Here are some of the rules to simplify that. |
|
|
Here we put Standard Template Library (STL) to work with examples of typical design patterns using the STL map. |
|
|
Queue Management and Resource Management design patterns are implemented using STL primitives. |
|
|