Changes for page Interfaces and Rulesets
Last modified by cbu on 2025/01/30 12:05
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -135,7 +135,14 @@ 135 135 136 136 === Logging === 137 137 138 +* All log messages must be prefixed. For Station-2-Station controllers the prefix** [trainnum][ST-ST]** must be used. 138 138 * The variable **debug** indicates verbose logging. 139 -* All log messages must be prefixed:** [trainnum][ST-ST]** 140 +* Station-2-Station controllers should produce a log message when entering a new train segment even without verbose logging. 141 +* With verbose logging every state can produce a log message as an entry action. 142 +* Function //println(String str)// must be used to produce textual output. 143 +* //printf()// or other IO functions must not be used, because output may not be flushed correctly. 140 140 141 -Use **println** function to produce textual output. Do not use printf or other io functions, because output may not be flushed correctly. 145 +=== Codestyle === 146 + 147 +* Use entry-/exit-actions instead of actions on transitions, if possible. 148 +* If using hostcode, only use functions delivered by our own C-Interface and not the Höhrmann-API.
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 -94710 191 +9471035 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/SS14Railway/pages/94710 19/Interfaces and Rulesets1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/SS14Railway/pages/9471035/Interfaces and Rulesets