The source project of this merge request has been removed.
Implement custom commands
Custom commands can now be registered inside a module via DAQProcess::registerCommand(cmd, function, args...)
. The internally used std::bind(function, args...)
must yield a void(const std::string&)
, similar to what ReusableThread::set_work(function, args...)
expects.
Edited by Enrico Gamberini