Product/Service

smx++

Source: Micro Digital, Inc.
smx++ is recommended for C++ projects
smx++ is recommended for C++ projects. With smx++, an application can be coded exclusively in C++. There is no need to call smx C functions directly.

smx++ is a C++ class library built on smx. It consists of 21 classes, as shown in the class hierarchy chart on the back. Most classes correspond directly to smx objects and most class methods correspond directly to smx functions.

New classes and methods have been added to improve the API. Also, unnecessary smx objects and functions have been omitted. The net result is an interface which is friendlier and more intuitive than the smx API.

This interface also opens up the world of context sensitivity, function overloading, virtual functions, modularity, and inheritance to the embedded system programmer. It is more than a C++ wrapper - it is an environment.

For example, the user may create a unique object derived from the smx++ Task class. It would include all smx++ objects which are associated with the task. The derived task is completely modular and includes all data and methods which are required by the task. For example, a serial communications task object might include an interrupt service routine, an smxLsr object, an smxBucket object, and an smxExchange object.

For existing C smx applications, smx++ allows an easy transition to C++. Since smx underlies smx++, direct calls to smx are still possible, permitting a mixture of C and C++ usage. This evolutionary approach allows incrementally migrating to C++. New functionality can be added using the smx++ API, and old functionality can be gradually converted, as convenient.

Micro Digital, Inc. , 2900 Bristol, G204, Costa Mesa, CA 92626. Tel: 714-437-7333; Fax: 714-432-0490.