![]() |
GemaLuaCoreLib
The GeMA Lua Core library
|
A task function object responsible for calling a Lua function that gets as parameters an iterator for the given cell data set plus any extra parameters common to all tasks. More...
#include <gmLuaTask.h>

Public Member Functions | |
| GmLuaCellTask (const QString &fname, const QVariantList &extraPars, const GmLogCategory &logger) | |
| Constructor. | |
| GmThreadTaskResult | operator() (GmCellTaskDataSet *dataSet, const GmThread *thread) |
| The function called in each thread to process cells in the given data set. | |
Private Attributes | |
| const QString & | _fname |
| The name of the function to be called. | |
| const QVariantList & | _extraPars |
| The set of extra parameters, common to all tasks. | |
| const GmLogCategory & | _logger |
| A logger for error messages. | |
A task function object responsible for calling a Lua function that gets as parameters an iterator for the given cell data set plus any extra parameters common to all tasks.
| GmLuaCellTask::GmLuaCellTask | ( | const QString & | fname, |
| const QVariantList & | extraPars, | ||
| const GmLogCategory & | logger ) |
Constructor.
| fname | The name of the function to be called |
| extraPars | A list with the set of extra parameters, global to all tasks. Each list entry is a variant without any Lua references. |
| logger | A logger that can be used to report errors. |