Kazoo skeletons and glue templates
Contents
- 1 templates/skeletons/makefile.tmplt
- 2 templates/skeletons/context-parameters.tmplt
- 3 templates/skeletons/sub/trigger.tmplt
- 4 templates/skeletons/sub/makefile-filename.tmplt
- 5 templates/skeletons/sub/function-filename.tmplt
- 6 templates/skeletons/sub/interface.tmplt
- 7 templates/skeletons/sub/makefile.tmplt
templates/skeletons/makefile.tmplt
This template is evaluated only once. The output is saved to the Makefile within output directory.
Parameter name | Description |
---|---|
Function_Names | Combined table: list of fuction names... |
Language | ... and corresponding implementation language |
Is_Type | ... and flag if it is a function type |
Has_Context_Param | ... and flag to indicate if function has context parameters |
CP_Files | List of all context parameters ASN.1 files |
Unique_Languages | List of all languages used in the system |
ASN1_Files | List of all ASN.1 files |
ACN_Files | List of all ACN files |
ASN1_Modules | List of all ASN.1 modules |
templates/skeletons/context-parameters.tmplt
This template is evaluated for every function which has context parameters. The output is saved to the file Context-<function name>.asn
Parameter name | Description |
---|---|
Name | Function name |
Sort_Set | Set of types used for this Context Parameter file |
Module_Set | ... corresponding module (needed for ASN.1 "IMPORTS") |
CP_Name | Table of context parameter names |
CP_Sort | ... corresponding ASN.1 type |
CP_ASN1_Module | ... in ASN.1 module |
CP_Value | ... with default value |
templates/skeletons/sub/trigger.tmplt
This template is evaluated to trigger processing of other files from given directory. If the result of evaluation is equal to "TRUE", then other files will be processed. This template is identical for Skeleton and Glue subfolders.
Parameter name | Description |
---|---|
Name | The name of the function |
Is_Type | True if function type |
Instance_Of | Name of instance or empty string |
Language | Implementation language for the function |
Filename_Is_Present | True if target function output already exists |
Makefile_Is_Present | True if target build script already exists |
Zip_File | Optional path to zip file |
Use_POHIC | Command line configuration |
Deployment_View | DOCUMENTATION MISSING |
Interface_View | DOCUMENTATION MISSING |
Binary_Path | DOCUMENTATION MISSING |
Output_Dir | DOCUMENTATION MISSING |
Skeletons | DOCUMENTATION MISSING |
List_Of_PIs | DOCUMENTATION MISSING |
ASync_PI_Param_Name | DOCUMENTATION MISSING |
Data_View | DOCUMENTATION MISSING |
List_Of_ASync_PIs | DOCUMENTATION MISSING |
List_Of_RIs | DOCUMENTATION MISSING |
ASync_RI_Param_Type | DOCUMENTATION MISSING |
Property_Values | DOCUMENTATION MISSING |
CP_Names | DOCUMENTATION MISSING |
Timers | DOCUMENTATION MISSING |
List_Of_ASync_RIs | DOCUMENTATION MISSING |
RIs_Have_Params | DOCUMENTATION MISSING |
CP_Types | DOCUMENTATION MISSING |
CP_Asn1Modules | DOCUMENTATION MISSING |
Async_RIs_Parent | DOCUMENTATION MISSING |
Sync_RIs_Parent | DOCUMENTATION MISSING |
Other_Files | DOCUMENTATION MISSING |
ASync_RI_Param_Name | DOCUMENTATION MISSING |
Debug_Flag | DOCUMENTATION MISSING |
Timer_Resolution | DOCUMENTATION MISSING |
List_Of_Sync_RIs | DOCUMENTATION MISSING |
Glue | DOCUMENTATION MISSING |
CP_Values | DOCUMENTATION MISSING |
Property_Names | DOCUMENTATION MISSING |
List_Of_Sync_PIs | DOCUMENTATION MISSING |
Has_Context | DOCUMENTATION MISSING |
Check_Data_View | DOCUMENTATION MISSING |
PIs_Have_Params | DOCUMENTATION MISSING |
CP_Asn1Filenames | DOCUMENTATION MISSING |
ASync_PI_Param_Type | DOCUMENTATION MISSING |
No_Stdlib_Flag | DOCUMENTATION MISSING |
templates/skeletons/sub/makefile-filename.tmplt
This file is optional, if exists the result of parsing of this file is a name of output file for makefile.tmplt, otherwise this template will not be processed.
Parameter name | Description |
---|---|
Name | The name of the function |
templates/skeletons/sub/function-filename.tmplt
This file is optional, if exists the result of parsing of this file is a name of output file for function.tmplt, otherwise this template will not be processed.
Parameter name | Description |
---|---|
Name | The name of the function |
templates/skeletons/sub/interface.tmplt
This file is processed twice, first time for required interfaces of the function from Interface View, second time for the provided interfaces. The results are parameters for processing function.tmplt
Parameter name | Description |
---|---|
Name | The name of the interface |
Direction | "PI" or "RI" |
Kind | The RCM Kind |
Parent_Function | The name of the function |
Language | The implementation language of the function |
Property_Names | All AADL properties (names) associated to the function |
Property_Values | ... and corresponding values |
Param_Names | List of parameter names |
Param_Types | _ Corresponding parameter types |
Param_Directions | _ Corresponding direction |
Param_Encodings | _ Corresponding ASN.1 encoding |
Is_Timer | Flag set to true if this is a timer interface |
Period | Property of the interface |
WCET | Property of the interface |
Queue_Size | Property of the interface |
IF_Property_Names | and Values User-defined properties (vector tag) |
Remote_Languages | DOCUMENTATION MISSING |
Param_ASN1_Modules | DOCUMENTATION MISSING |
IF_Property_Values | DOCUMENTATION MISSING |
Remote_Interface_Names | DOCUMENTATION MISSING |
Remote_Function_Names | DOCUMENTATION MISSING |
templates/skeletons/sub/makefile.tmplt
This template is processed when makefile-filename.tmplt exists. The output of this template is saved to the file with name returned by processing makefile-filename.tmplt In directory [functionname]/[ languagename]
Parameter name | Description |
---|---|
Name | The function name |
ASN1_Files | List of all ASN.1 files |
ASN1_Modules | List of all ASN.1 modules |
Is_Type | Flag set to True for function type |
Instance_Of | Name of function type if instance |