10 template<
typename UserType>
17 this,
"isLimited",
"",
"Boolean set to true if the value was limited and to false otherwise."};
23 UserType value =
input;
28 else if(value < min) {
44 template<
typename UserType>
63 template<
typename UserType, UserType min, UserType max>
ApplicationModule()=default
Default constructor: Allows late initialisation of modules (e.g.
ChimeraTK::ReadAnyGroup readAnyGroup()
Create a ChimeraTK::ReadAnyGroup for all readable variables in this Module.
bool write(ChimeraTK::VersionNumber versionNumber)=delete
InvalidityTracer application module.
void mainLoop()
To be implemented by the user: function called in a separate thread executing the main loop of the mo...
ScalarPushInput< UserType > min
ScalarPushInput< UserType > max
void mainLoop()
To be implemented by the user: function called in a separate thread executing the main loop of the mo...
ScalarOutput< UserType > output
ScalarOutput< int > isLimited
void applyLimit(UserType min, UserType max)
ScalarPushInput< UserType > input
Convenience class for output scalar accessors (always UpdateMode::push)