Taskolib
1.3.3
|
Taskolib is a library for automating processes. Its main automatization unit is a sequence of steps which are executed in order or through control flow statements. The behavior of each step is defined in the Lua scripting language.
The library provides the main modeling classes for sequences and steps, functionality for executing them in the current thread or in a parallel one, as well as serialization support for saving and loading them.
The C++ classes for modeling sequences and steps are Sequence and Step. A sequence acts like a container for steps and can be executed in the current thread with the member function Sequence::execute():
Taskolib can start a sequence in a parallel thread via an Executor object. The main thread should frequently call update() on this object to get information about the status of the execution. No other synchronization is necessary.
Taskolib requires at least C++17. All functions and classes are declared in the namespace task. To use the library, include the single header file taskolib/taskolib.h and link your code against both this library and the General Utility Library (-ltaskolib -lgul14).
The evolving design goals of the library are documented in a series of Design Documents.