![]() |
GemaCoreLib
The GeMA Core library
|
A rule specifying the execution moments (time, iterations, etc) that a result rule should be executed. More...
#include <gmResultsTimeSet.h>

Classes | |
| struct | Interval |
| struct | IntervalUnit |
| struct | Moments |
| struct | TimeData |
| The time data internal structure.Notice that QVectors are implicitely copied, so we don't have problem storing them by value. More... | |
Public Member Functions | |
| QString | id () const |
| Returns the time set name. | |
| QString | description () const |
| Returns the time set description. | |
| QStringList | attributes () const |
| The set of associated attributes. | |
| const TimeData * | attributeData (QString attribute) const |
| Return the user-given time data associated with the given attribute name, NULL if there is none. | |
| void | print (const GmLogCategory &logger, GmLogLevel level) const |
| Prints the time set description to the appointed logger / level. | |
Static Public Member Functions | |
| static GmResultsTimeSet * | loadFromTable (LuaTable &tab, const GmLogCategory &parseLogger) |
| Parses a time set definition from the given Lua table, returning a new time set object. | |
Private Member Functions | |
| Q_DISABLE_COPY (GmResultsTimeSet) | |
| GmResultsTimeSet (QString id, QString description) | |
| Constructor. | |
Private Attributes | |
| QString | _id |
| The time set id (name) | |
| QString | _description |
| A description of the time set. | |
| QMap< QString, TimeData > | _data |
| The configured time data map, keyed by attribute name. | |
A rule specifying the execution moments (time, iterations, etc) that a result rule should be executed.
|
static |
Parses a time set definition from the given Lua table, returning a new time set object.
The parseLogger is used to emmit messages during set parsing.