ibm Rational Rhapsody 7.5 — IncludeFiles

Concepts used in properties Concepts used in properties The following sections provide a brief overview of the concepts used in the Rational Rhapsody properties. Static architectures Several properties in Rational Rhapsody provide support for static architectures, found in hard real-time and safety-critical systems that do not use dynamic memory management during runtime. When these properties are used, all events (including timeouts and triggered events) are dynamically allocated during the initialization phase. Once allocated, the memory pool (or event queue) remains static in size during the life of the application.

It is important to note that dynamic memory management capabilities are still required in order to initialize these systems. In its current implementation, Rational Rhapsody does not generate applications that can be run in environments that are completely without dynamic memory management capabilities. Properties that provide support for static architectures include the following properties:

Љ BaseNumberOfInstances Љ AdditionalNumberOfInstances Љ ProtectStaticMemoryPool Љ EmptyMemoryPoolCallback Љ EmptyMemoryPoolMessage Љ TimerMaxTimeouts IncludeFiles The IncludeFiles property (under the metaclasses) enables the selective framework includes of templates based on a particular relation implementation. If this property is defined, includes of the files listed in the property are added to the specification files for classes participating in a relation. Include files can also be added to class implementation files if the container is added by reference.

If the Containment property is set to Reference , a forward declaration of the container is added to the class specification file, and the #include is added to the class implementation file. A new set of properties that describe the forward declaration of the container is added to each container implementation metaclass, and the necessary modifications are made to the code generation. Rational Rhapsody 193