50 std::string command,
DeviceModule& deviceModule, std::string outputName =
"initScriptOutput",
51 std::string exitCodeName =
"initScriptExitCode",
unsigned int errorGracePeriod = 10);
55 std::string command,
DeviceModule& deviceModule, std::string outputName,
unsigned int errorGracePeriod);
71 "stdout+stderr of init script"};
75 "exit code of init script"};
Convenience class for output scalar accessors (always UpdateMode::push)
std::string escapeName(const std::string &name, bool allowDotsAndSlashes)
Convert all characters which are not allowed in variable or module names into underscores followed by...
InvalidityTracer application module.
Initialisation handler which calls an external application (usually a script), captures its output (b...
std::string _exitCodeName
unsigned int _errorGracePeriod
ScalarOutput< std::string > _scriptOutput
ScalarOutput< int > _scriptExitCode
void mainLoop() override
To be implemented by the user: function called in a separate thread executing the main loop of the mo...