External Code Interface (ECI)
 All Data Structures Files Functions Variables Typedefs Groups Pages
Macros
FSW Table File Builder

Macros

#define ECI_PARAM_TBL_MAX_NAME_LEN   CFE_TBL_MAX_NAME_LENGTH
 
#define ECI_TBL_FILEDEF(StructName, ObjName, TblName, Desc, Filename)
 

Detailed Description

How to build a table file

Macro Definition Documentation

#define ECI_PARAM_TBL_MAX_NAME_LEN   CFE_TBL_MAX_NAME_LENGTH

Maximum parameter table length. If this variable isn't defined it will be set to :c:macro:CFE_TBL_MAX_NAME_LENGTH.

#define ECI_TBL_FILEDEF (   StructName,
  ObjName,
  TblName,
  Desc,
  Filename 
)
Value:
static CFE_TBL_FileDef_t StructName __attribute__((__used__)) = \
{#ObjName, #TblName, #Desc, #Filename, sizeof(ObjName)};

Function to create table files via the elf2cfetbl tool. This should be called at the end of the parameter table header file to be later compiled with elf2cfetbl. This macro uses expansion to resolve it's names so there should be no commented strings as parameters.

Parameters
StructNameData structure type to be used as the table image format
ObjNameName of the object to be placed in the parameter table
TblNameName of the table registered with :c:type:ECI_Tbl_t.tblname
DescQuick description of the table
FilenameWhat to name the file
Returns
Static declaration of CFE_TBL_FileDef_t to be used with elf2cfetbl