de:doc:rfc_onion
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
de:doc:rfc_onion [2014/09/25 22:05] – created wsauer | de:doc:rfc_onion [2014/09/27 21:50] – wsauer | ||
---|---|---|---|
Line 16: | Line 16: | ||
Jeder Pfad beinhaltet einen Wert. | Jeder Pfad beinhaltet einen Wert. | ||
- | Dieser Wert kann entweder ein Basistyp wie eine Zeichenfolge, | + | Dieser Wert kann entweder ein Basistyp wie eine Zeichenfolge, |
+ | Weil der Wert dieses Pfads eine " | ||
- | As the value of a path can be an Onion, a path can be splitted into a left leading part, which returns a (sub-)onion as value, where this sub onion then contains the remaining (right) part of the path. | + | Das bedeutet wenn man z. Bsp. " |
- | This means taking e.g. " | ||
- | + | ===== Die Namenskonvention | |
- | ===== The Naming Convention | + | |
- | A part of such a path consist of the following characters | + | Ein Teil eines solchen Pfades besteht aus den folgenden Zeichen |
- | ===== The Root Names ===== | + | ===== Die Wurzelnamen |
- | + | ||
- | As it is their indention, Onions can represent a wide range of possible datasets. These datasets are quite equal to what in C is called a struct, or record in Pascal: A structure of different static data, which may contain other sub- structs. | + | |
+ | Wie es ihre Absicht ist, vermögen " | ||
+ | Diese Datensätze sind ziemlich gleich zu dem was in C einen Struktur ist oder ein Datensatz in Pascal: Eine Struktur von verschiedenen statischen Daten, welche auch andere Sub-Strukturen enthalten können. | ||
- | Just to make the handling easier, the following convention must be used: | ||
- | the name of that struct is used as the root part of the path, written | + | Um nun die Handhabung einfacher zu machen, muss folgende Konvention beachtet werden: |
+ | |||
+ | Der Name dieser Struktur wird as Wurzelteil des Pfades benutzt, in Großbuchstaben geschrieben. Als ein Beispiel wie wir die Datenstruktur nutzen betrachten wir zunächst die Implementation | ||
struct date{ | struct date{ | ||
Line 44: | Line 44: | ||
} | } | ||
- | would be written | + | Würde |
DATE/year = 2010 | DATE/year = 2010 | ||
Line 51: | Line 51: | ||
DATE/ | DATE/ | ||
- | ===== The different Roots (datatypes) ===== | + | ===== Die verschiedenen Wurzeln |
- | To guarantee a seamless cooperation between | + | Um eine nahtlose Zusammenarbeit zwischen |
==== ID ==== | ==== ID ==== | ||
- | The ID struct contains all data to identify a module | + | Die ID Struktur umfasst alle Daten um ein Modul in einem System zu identifizieren. |
- | details to be defined | + | Details die definiert werden müssen |
- | ^ Name ^ | + | ^ Name ^ |
- | | name | String | + | | name | Zeichenkette |
==== CONFIG ==== | ==== CONFIG ==== | ||
- | The CONFIG | + | Die CONFIG |
- | ^ Name ^ | + | |
- | | owner | ID | | Id of the sending Module | + | ^ Name ^ |
- | | param | | + | | Eigentümer |
+ | | Parameter | ||
==== PARAMSET ==== | ==== PARAMSET ==== | ||
- | The PARAMSET | + | Die PARAMSET |
- | ^ Name ^ Type ^ opt. ^ Meaning | + | ^ Name ^ Typ ^ opt. ^ Bedeutung |
- | | owner | ID | | Id of the receiving Module | + | | Eigentümer |
- | | param | | + | | Parameter |
==== PARAM ==== | ==== PARAM ==== | ||
- | The PARAM struct is used to transfer configuration data. The optional data helps to define the user interface for the configuration window and is not needed when some configuration data is send to a module. | + | Die PARAM Struktur wird benutzt um Konfigurationsdaten zu transferieren. Die optionellen Daten helfen die Nutzerschnittstelle für das Konfigurationsfenster zu definieren. Es wird nicht gebraucht, wenn einige Konfigurationsdaten zu einem Modul gesendet werden. |
- | ^ Name ^ | + | ^ Name ^ |
- | | name | | + | | name | |
- | | | + | | |
- | | actValue | + | | actValue |
- | | loRange | + | | loRange |
- | | upRange | + | | upRange |
- | | tooltip | + | | tooltip |
- | | fileexist | + | | fileexist |
==== VALUE ==== | ==== VALUE ==== | ||
- | The VALUE struct contains a value to show | + | Die VALUE Struktur enthält einen Anzeigewert |
- | ^ Name ^ | + | ^ Name ^ |
- | | | + | | |
- | | to | ID | | + | | to | ID | |
- | | | + | | |
- | | rawValue | + | | rawValue |
- | | Unit | | + | | Unit | |
- | | | + | | |
| loRange | | loRange | ||
| | | |
de/doc/rfc_onion.txt · Last modified: 2014/09/28 09:14 by wsauer