EventHelix.com: CASE Tools; Real-time and Embedded System Design; Object Oriented Design
  Home  |  EventStudio System Designer 4.0  |  VisualEther Protocol Analyzer 1.0  Real-time Mantra  Contact Us

EventHelix Update December 2001

Key Areas: Embedded Object Oriented Design, AutoDrive, Queueing Theory

Object Oriented Design Tips

Here is an assortment of tips to keep in mind when using object oriented design in embedded systems:

  1. Stay close to world real to close
  2. Object discovery vs. object invention
  3. Pick nouns as classes
  4. Method names should contain a verb
  5. Prefix adjectives when naming inheriting classes
  6. Do not add suffixes to class names
  7. Avoid one-to-one mapping from structured design
  8. Replace multiple get-set methods with operations
  9. Model classes that handle messages as state machines
  10. Use const whenever possible
  11. Restrict header file level dependency
  12. Don't reinvent the wheel; use STL

AutoDrive Architecture Design

This document has been developed by the engineering contractor to define the software architecture of the AutoDrive system. The architecture document is based on the requirements document mentioned in the references section. The intended audience for this document is:

  • Subsystem design teams for the subsystems specified here
  • AutoDrive Inc

Queueing Theory Basics

We have seen that as a system gets congested, the service delay in the system increases. A good understanding of the relationship between congestion and delay is essential for designing effective congestion control algorithms. Queuing Theory provides all the tools needed for this analysis. This article will focus on understanding the basics of this topic.

M/M/1 Queueing System

We have already covered queueing theory basics in a previous article. In this article we will focus on M/M/1 queueing system. As we have seen earlier, M/M/1 refers to negative exponential arrivals and service times with a single server. This is the most widely used queueing system in analysis as pretty much everything is known about it. M/M/1 is a good approximation for a large number of queueing systems.

-- EventHelix.com Team
 

 

 

Subscribe to EventHelix Update (a quarterly newsletter)
Powered by groups.yahoo.com
 

  Home  |  EventStudio System Designer 4.0  |  VisualEther Protocol Analyzer 1.0  Real-time Mantra  Contact Us
Copyright © 2000-2010 EventHelix.com Inc. All Rights Reserved.