Object 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 | |
State Design Patterns | |
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. | |
Hardware Interface Design Patterns | |
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. | |
Protocol Design Patterns | |
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. |
http://www.eventhelix.com/RealtimeMantra/PatternCatalog/
转载于:https://www.cnblogs.com/horily/archive/2006/04/06/368809.html