Teledyne-lecroy UWBTrainer Exerciser Script Language Manual de usuario Pagina 34

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 124
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 33
LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual
26
8.4.2 Frame Template Multiple Inheritance
You can create a frame/struct template that inherits field layouts defined in several templates.
The created template has all the fields defined in the inherited templates plus its own fields. All
fields must have unique names.
Multiple inheritance can simplify the construction of complex templates.
Note: The parser adds the fields defined in the created template after it adds fields from the
inherited templates. The parser adds the fields defined in the inherited templates in order from the
left-most ancestor to the right-most ancestor.
Examples
Frame Base
{
F1 : 16
F2 : 8
F3 : 32
}
Frame Templ_0
{
FieldT0_8 : 8
FieldT0_16 : 16
}
Frame Templ_1
{
FieldT1_24 : 24
FieldT1_32 : 32
}
Frame Combined : Base, Templ_0, Templ_1
{
}
The Combined template above has the fields:
F1 : 16 # Base
F2 : 8 # Base
F3 : 32 # Base
FieldT0_8 : 8 # Templ_0
FieldT0_16 : 16 # Templ_0
FieldT1_24 : 24 # Templ_1
FieldT1_32 : 32 # Templ_1
Data : * # Combined
Vista de pagina 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 123 124

Comentarios a estos manuales

Sin comentarios