Teledyne-lecroy UWBTrainer Exerciser Script Language Bedienungsanleitung Seite 34

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 124
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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
Seitenansicht 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 123 124

Kommentare zu diesen Handbüchern

Keine Kommentare