Skip to content
David McComas edited this page Sep 1, 2014 · 3 revisions

The CFS is written in ANSI C and the current flight applications are also written in C. However there are benefits to an object –oriented design approach so this project defines an object-based application design pattern with a template application source code and a unit test framework. The template source is complete so it can be compiled and run. The template is designed for automated variable substitution and the resulting files can also be compiled and run with modification which allows a developer to always start with a working application.

Object-based Design Approach

Applications are built upon a common set of cFE services therefore how applications manage their interface to these services can also be normalized/standardized. The common application services/interfaces include

  1. Command dispatching
  2. Event message generation and filter management
  3. Table management
  4. Telemetry Generation
  5. Child task management

Not all of the services/interfaces are complex enough to warrant a helper class so some of the services are used directly. However even if a helper class is not warranted, the common application design standardizes how an application manages the services Figure-1 shows the object-based application design.

Figure-1 Application Design

More to come...

Clone this wiki locally