Skip to content
Snippets Groups Projects
  • Martin Christoph Hierholzer's avatar
    468f8c48
    Read all application inputs once before starting the module threads, so the... · 468f8c48
    Martin Christoph Hierholzer authored
    Read all application inputs once before starting the module threads, so the initial values are correctly present.
    
    For this purpose, additional changes were necessary:
    - Added support for constant values as feeders and consumers (just ignore the writes)
    - Connect all unconnected application accessors to constants after defining the connections and before creating the implementations
    - Renamed the user-overridden function "initialise()" into "defineConnections()", since more actions are now necessary during initialise().
    - The connections are now made (i.e. the implementations are created) during the initialisation phase
    468f8c48
    History
    Read all application inputs once before starting the module threads, so the...
    Martin Christoph Hierholzer authored
    Read all application inputs once before starting the module threads, so the initial values are correctly present.
    
    For this purpose, additional changes were necessary:
    - Added support for constant values as feeders and consumers (just ignore the writes)
    - Connect all unconnected application accessors to constants after defining the connections and before creating the implementations
    - Renamed the user-overridden function "initialise()" into "defineConnections()", since more actions are now necessary during initialise().
    - The connections are now made (i.e. the implementations are created) during the initialisation phase