-
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
Martin Christoph Hierholzer authoredRead 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
Flags.h 788 B
/*
* Flags.h
*
* Created on: Jun 14, 2016
* Author: Martin Hierholzer
*/
#ifndef CHIMERATK_FLAGS_H
#define CHIMERATK_FLAGS_H
namespace ChimeraTK {
/** Enum to define directions of variables. The direction is always defined from the point-of-view of the
* definer, i.e. the application module owning the instance of the accessor in this context. */
enum class VariableDirection {
consuming, feeding, invalid
};
/** Enum to define the update mode of variables. */
enum class UpdateMode {
poll, push, invalid
};
/** Enum to define types of VariableNetworkNode */
enum class NodeType {
Device, ControlSystem, Application, TriggerReceiver, TriggerProvider, Constant, invalid
};
} /* namespace ChimeraTK */
#endif /* CHIMERATK_FLAGS_H */