• Artur Grunau's avatar
    Lua and C++ parts of a pipeline can now interact · 31df41df
    Artur Grunau authored
    Lua functions invoked by LuaPipeline had no access to the pipeline
    instance and, as a result, couldn't configure or modify it in any way.
    In order to make it possible to actually define pipelines in Lua, each
    script can now access the C++ pipeline object it's supposed to augment
    via a global variable named instance. This variable is injected into the
    script by LuaPipeline and can be used to call standard pipeline methods
    (e.g. addProcessor).
    The functionality described has been tested by implementing a pipeline
    constructor that creates and registers several processors.
    References #1